summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-19 15:32:16 +0000
committerSimo Sorce <idra@samba.org>2003-04-19 15:32:16 +0000
commitd97d6240e4a4f16339522e4d8e3c8bc250579519 (patch)
treed4797c89be96a59b8ad9d52c35699943f33b06c2 /source3/smbd
parent84728c340001e4355f8c0cd668eb157090722c80 (diff)
downloadsamba-d97d6240e4a4f16339522e4d8e3c8bc250579519.tar.gz
samba-d97d6240e4a4f16339522e4d8e3c8bc250579519.tar.bz2
samba-d97d6240e4a4f16339522e4d8e3c8bc250579519.zip
use gid_t for gids not uid_t
(This used to be commit dd8009bf599a6111440cd807dcc022039f19de15)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index d4d966a636..a38acc437d 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -2593,7 +2593,7 @@ BOOL set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd)
* Do we need to chown ?
*/
- if (((user != (uid_t)-1) && (orig_uid != user)) || (( grp != (uid_t)-1) && (orig_gid != grp)))
+ if (((user != (uid_t)-1) && (orig_uid != user)) || (( grp != (gid_t)-1) && (orig_gid != grp)))
need_chown = True;
/*