source: branches/client-3.0/src/rc/rc.rc_

Last change on this file was 1006, checked in by Paul Smedley, 9 years ago

Add support for enabling/disabling encryption - fixes #289

  • Property svn:eol-style set to native
File size: 2.9 KB
Line 
1#include <ndpl_rc.h>
2
3#include "rc.h"
4
5RCINCLUDE "rc.dlg"
6
7RCINCLUDE "description.rc"
8
9RCDATA NDRC_PLUGIN_NAME
10{
11 "SMBFS"
12}
13
14RCDATA NDRC_PLUGIN_DESC
15{
16"Access to SAMBA resources.\n
17Plugin Version _VERSION_ Build _BUILD_\n
18Maintained by _VENDOR_\n
19See help for more Information.\n
20"
21}
22
23RCDATA NDRC_PLUGIN_HELP
24{
25 "ndpsmb.hlp"
26}
27
28/* if dlg is the same for two types then one dlg id may be specified
29 for both descriptions (this is untested however :) */
30RCDATA NDRC_TYPE_FIRST
31{
32 DLG_ID, "SMBFS."
33}
34
35
36RCDATA NDRC_TYPE_HELP_FIRST
37{
38 "Help for command line utility:\r\n"
39 "\r\n"
40 "nd mount smbfs s:\\mountpoint ;workgroup=...;server=...;share=...;user=...;password=...;master=...;mastertype=...;easupport=...\r\n"
41 "\r\n"
42 " workgroup - name of workgroup\r\n"
43 " server - name or ip address of server\r\n"
44 " share - name of share\r\n"
45 " user - name of user\r\n"
46 " password - user password\r\n"
47 " master - name of master server or master workgroup\r\n"
48 " mastertype - 0 if 'master' is the name of master server, 1 if 'master' is the name of master workgroup\r\n"
49 " encryption - 0 to not support encryption (default), 1 to support\r\n"
50 " NTLMv1 auth support - 0 to not support NTLMv1 authentication (default), 1 to support\r\n"
51 " krb5support - 0 to not support kerberos authentication, 1 to support\r\n"
52 " easupport - 0 to not support EA, 1 to support\r\n"
53 "\r\n"
54}
55
56HELPTABLE DLG_ID
57{
58 HELPITEM DLG_ID, DLG_ID, DLG_ID
59}
60
61HELPSUBTABLE DLG_ID
62SUBITEMSIZE 2
63{
64}
65
66/*
67 * ID, TYPE, REQUIRED, RANGE_LOW, RANGE_HIGH, "NAME", "FORMATSTRING", "DEFAULT" or DEFAULT
68 */
69
70RCDATA DLG_ID
71{
72 ENT_WORKGRP, PARMTYPE_STRING, 1L, 256L, "workgroup", "%s", ""
73}
74
75RCDATA (DLG_ID + 1)
76{
77 ENT_SERVER, PARMTYPE_STRING, 1L, 256L, "server", "%s", ""
78}
79
80RCDATA (DLG_ID + 2)
81{
82 ENT_SHARE, PARMTYPE_STRING, 1L, 256L, "share", "%s", ""
83}
84
85RCDATA (DLG_ID + 3)
86{
87 ENT_USER, PARMTYPE_STRING, 1L, 256L, "user", "%s", "guest"
88}
89
90RCDATA (DLG_ID + 4)
91{
92 ENT_PASS, PARMTYPE_STRING, 1L, 256L, "password", "%s", ""
93}
94
95RCDATA (DLG_ID + 5)
96{
97 ENT_MASTER, PARMTYPE_STRING, 1L, 256L, "master", "%s", "WORKGROUP"
98}
99
100RCDATA (DLG_ID + 6)
101{
102 CMB_MASTER, PARMTYPE_INT, 0L, 1L, "mastertype", "%d", 1L,
103 "server",
104 "workgroup"
105}
106
107RCDATA (DLG_ID + 7)
108{
109 CHK_EASUPPORT, PARMTYPE_INT, 0L, 1L, "easupport", "%d", 1L
110}
111
112RCDATA (DLG_ID + 8)
113{
114 ENT_SPASS, PARMTYPE_STRING, 1L, 255L, "spassword", "%s", ""
115}
116
117RCDATA (DLG_ID + 9)
118{
119 SPIN_CACHETIMEOUT, PARMTYPE_INT, 10L, 600L, "cto", "%d", 10L
120}
121
122RCDATA (DLG_ID + 10)
123{
124 SPIN_CACHEDEPTH, PARMTYPE_INT, 32L, 80L, "cld", "%d", 32L,
125}
126
127RCDATA (DLG_ID + 11)
128{
129 CHK_KRB5SUPPORT, PARMTYPE_INT, 0L, 1L, "krb5support", "%d", 0L
130}
131
132RCDATA (DLG_ID + 12)
133{
134 CHK_NTLMv1SUPPORT, PARMTYPE_INT, 0L, 1L, "ntlmv1support", "%d", 0L
135}
136
137RCDATA (DLG_ID + 13)
138{
139 CHK_ENCRYPTIONSUPPORT, PARMTYPE_INT, 0L, 1L, "encryptionsupport", "%d", 0L
140}
141
142RCDATA (DLG_ID + 14)
143{
144 1
145}
146
Note: See TracBrowser for help on using the repository browser.