The Samba-Bugzilla – Attachment 464 Details for
Bug 1234
32-bit UID truncated to 16-bits by smbmnt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch - 32-bit UID/GID support for smbmnt
samba-3.0.2a-uid32.patch (text/plain), 951 bytes, created by
Jay Danielsen
on 2004-04-01 10:43:35 UTC
(
hide
)
Description:
proposed patch - 32-bit UID/GID support for smbmnt
Filename:
MIME Type:
Creator:
Jay Danielsen
Created:
2004-04-01 10:43:35 UTC
Size:
951 bytes
patch
obsolete
>diff -urN samba-3.0.2a-orig/source/client/smbmnt.c samba-3.0.2a/source/client/smbmnt.c >--- samba-3.0.2a-orig/source/client/smbmnt.c 2004-02-12 12:39:58.000000000 -0500 >+++ samba-3.0.2a/source/client/smbmnt.c 2004-03-09 23:18:40.000000000 -0500 >@@ -162,7 +162,8 @@ > > slprintf(opts, sizeof(opts)-1, > "version=7,uid=%d,gid=%d,file_mode=0%o,dir_mode=0%o,%s", >- data->uid, data->gid, data->file_mode, data->dir_mode,options); >+ mount_uid, mount_gid, data->file_mode, data->dir_mode,options); >+ > if (mount(share_name, ".", "smbfs", flags, data1) == 0) > return 0; > return mount(share_name, ".", "smbfs", flags, data2); >@@ -225,7 +226,7 @@ > return -1; > } > >- data.uid = mount_uid; >+ data.uid = mount_uid; // truncates to 16-bits right here!!! > data.gid = mount_gid; > data.file_mode = (S_IRWXU|S_IRWXG|S_IRWXO) & mount_fmask; > data.dir_mode = (S_IRWXU|S_IRWXG|S_IRWXO) & mount_dmask;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1234
: 464