git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ec75c
)
uid_t is a synonym for int on osX
author
Matthieu Patou
<mat@matws.net>
Sat, 8 Sep 2012 07:19:33 +0000
(
00:19
-0700)
committer
Matthieu Patou
<mat@samba.org>
Mon, 10 Sep 2012 03:57:21 +0000
(
05:57
+0200)
This function is clearly osX oriented so we adapt the modifier to the
target
source3/smbd/sec_ctx.c
patch
|
blob
|
history
diff --git
a/source3/smbd/sec_ctx.c
b/source3/smbd/sec_ctx.c
index d73dcf422edc3d0fbcaf3ff876ebf992395cabe1..83674a233dc9146fc9d6e066716d80d38a7f3ad1 100644
(file)
--- a/
source3/smbd/sec_ctx.c
+++ b/
source3/smbd/sec_ctx.c
@@
-291,7
+291,7
@@
static void set_unix_security_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *grou
if (syscall(SYS_initgroups, (ngroups > max) ? max : ngroups,
groups, uid) == -1 && !non_root_mode()) {
DEBUG(0, ("WARNING: failed to set group list "
- "(%d groups) for UID %
l
d: %s\n",
+ "(%d groups) for UID %d: %s\n",
ngroups, uid, strerror(errno)));
smb_panic("sys_setgroups failed");
}