diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-30 00:25:04 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-30 00:25:04 +0000 |
commit | 9a5f40cadfa827d56b3ca0ae4b792b860d332b4f (patch) | |
tree | dfaca7b316ad7bb2bdb2edd8d9b087afa2104724 | |
parent | f82217a589ba72d6321a13b04e312f35916f920d (diff) | |
download | samba-9a5f40cadfa827d56b3ca0ae4b792b860d332b4f.tar.gz samba-9a5f40cadfa827d56b3ca0ae4b792b860d332b4f.tar.bz2 samba-9a5f40cadfa827d56b3ca0ae4b792b860d332b4f.zip |
Fixed uid->vuid confusion in smbmount (hopefully).
Jeremy.
(This used to be commit 60c2278e8c1941bca37f1dc000bd2c29a8c0c73b)
-rw-r--r-- | source3/client/smbmount.c | 4 |
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); |