summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-30 00:25:04 +0000
committerJeremy Allison <jra@samba.org>1998-09-30 00:25:04 +0000
commit9a5f40cadfa827d56b3ca0ae4b792b860d332b4f (patch)
treedfaca7b316ad7bb2bdb2edd8d9b087afa2104724 /source3/client
parentf82217a589ba72d6321a13b04e312f35916f920d (diff)
downloadsamba-9a5f40cadfa827d56b3ca0ae4b792b860d332b4f.tar.gz
samba-9a5f40cadfa827d56b3ca0ae4b792b860d332b4f.tar.bz2
samba-9a5f40cadfa827d56b3ca0ae4b792b860d332b4f.zip
Fixed uid->vuid confusion in smbmount (hopefully).
Jeremy. (This used to be commit 60c2278e8c1941bca37f1dc000bd2c29a8c0c73b)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/smbmount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 60ee0605db..4dd54db954 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -231,7 +231,7 @@ static BOOL mount_send_login(char *inbuf, char *outbuf)
conn_options.protocol = opt.protocol;
conn_options.case_handling = CASE_LOWER;
conn_options.max_xmit = opt.max_xmit;
- conn_options.server_uid = opt.server_uid;
+ conn_options.server_uid = opt.server_vuid;
conn_options.tid = opt.tid;
conn_options.secmode = opt.sec_mode;
conn_options.maxmux = opt.max_mux;
@@ -641,7 +641,7 @@ static void usage(char *pname)
charset_initialise();
pid = (uint16)getpid();
- uid = (uint16)getuid();
+ vuid = (uint16)getuid();
mid = pid + 100;
myumask = umask(0);
umask(myumask);