mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
Fixed uid->vuid confusion in smbmount (hopefully).
Jeremy.
(This used to be commit 60c2278e8c
)
This commit is contained in:
parent
f82217a589
commit
9a5f40cadf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user