summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorDavid O'Neill <dmo@samba.org>2001-01-04 19:27:08 +0000
committerDavid O'Neill <dmo@samba.org>2001-01-04 19:27:08 +0000
commit23807f2b308e80a1e325c8fd2bddeec3e2e15bc5 (patch)
tree744ac3d0a34255dcfdadd83060ae9687e1a9fa1e /source3/nsswitch
parent92ebc81734a8a4165f88eeba9c05a05ea2917584 (diff)
downloadsamba-23807f2b308e80a1e325c8fd2bddeec3e2e15bc5.tar.gz
samba-23807f2b308e80a1e325c8fd2bddeec3e2e15bc5.tar.xz
samba-23807f2b308e80a1e325c8fd2bddeec3e2e15bc5.zip
Changes from APPLIANCE_HEAD:
source/Makefile.in - changes to ctags and etags rules that somehow got lost along the way. source/include/proto.h - make proto source/smbd/sec_ctx.c source/smbd/password.c - merge debugs for debugging user groups and NT token stuff. source/lib/util_str.c - capitalise domain name returned from parse_domain_user() source/nsswitch/wb_client.c - fix broken conditional in debug statement. source/include/rpc_secdes.h source/include/rpc_spoolss.h source/printing/nt_printing.c source/lib/util_seaccess.c - fix printer permission bugs related to ACE masks for printers. This adds mapping of generic access rights to object specific rights for NT printers. Still need to work out whether or not to ignore ACEs with certain flags set, though. See comments in util_seaccess.c:check_ace() for details. source/printing/nt_printing.c source/printing/printing.c - use PRINTER_ACCESS_ADMINISTER instead of JOB_ACCESS_ADMINISTER until we sort out printer/printjob permission stuff. (This used to be commit 1dba9c5cd1e6389734c648f6903abcb7c8d5b2f0)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/wb_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c
index 3e32fa3ac9f..142c61d9c1c 100644
--- a/source3/nsswitch/wb_client.c
+++ b/source3/nsswitch/wb_client.c
@@ -266,7 +266,8 @@ int winbind_initgroups(char *user, gid_t gid)
result = wb_getgroups(user, &groups);
- DEBUG(10,("wb_getgroups: %s: result = %s\n", user, result == NSS_STATUS_SUCCESS ? "SUCCESS" : "FAIL"));
+ DEBUG(10,("wb_getgroups: %s: result = %s\n", user, result == -1 ?
+ "FAIL" : "SUCCESS"));
if (result != -1) {
int ngroups = result, i;