summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);