svn commit: samba r12334 - in trunk/source/nsswitch: .
gd at samba.org
gd at samba.org
Mon Dec 19 00:23:43 GMT 2005
Author: gd
Date: 2005-12-19 00:23:42 +0000 (Mon, 19 Dec 2005)
New Revision: 12334
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12334
Log:
Only cosmetics, no change in behaviour.
Guenther
Modified:
trunk/source/nsswitch/winbindd.c
trunk/source/nsswitch/winbindd.h
trunk/source/nsswitch/winbindd_ads.c
trunk/source/nsswitch/winbindd_group.c
Changeset:
Modified: trunk/source/nsswitch/winbindd.c
===================================================================
--- trunk/source/nsswitch/winbindd.c 2005-12-19 00:15:51 UTC (rev 12333)
+++ trunk/source/nsswitch/winbindd.c 2005-12-19 00:23:42 UTC (rev 12334)
@@ -120,7 +120,7 @@
if (DEBUGLEVEL >= 2 && winbindd_num_clients()) {
DEBUG(2, ("\tclient list:\n"));
for(tmp = winbindd_client_list(); tmp; tmp = tmp->next) {
- DEBUG(2, ("\t\tpid %lu, sock %d\n",
+ DEBUGADD(2, ("\t\tpid %lu, sock %d\n",
(unsigned long)tmp->pid, tmp->sock));
}
}
Modified: trunk/source/nsswitch/winbindd.h
===================================================================
--- trunk/source/nsswitch/winbindd.h 2005-12-19 00:15:51 UTC (rev 12333)
+++ trunk/source/nsswitch/winbindd.h 2005-12-19 00:23:42 UTC (rev 12334)
@@ -157,7 +157,7 @@
BOOL native_mode; /* is this a win2k domain in native mode ? */
BOOL active_directory; /* is this a win2k active directory ? */
BOOL primary; /* is this our primary domain ? */
- BOOL internal; /* BUILTIN and member SAM */
+ BOOL internal; /* BUILTIN and member SAM */
/* Lookup methods for this domain (LDAP or RPC) */
struct winbindd_methods *methods;
Modified: trunk/source/nsswitch/winbindd_ads.c
===================================================================
--- trunk/source/nsswitch/winbindd_ads.c 2005-12-19 00:15:51 UTC (rev 12333)
+++ trunk/source/nsswitch/winbindd_ads.c 2005-12-19 00:23:42 UTC (rev 12334)
@@ -206,8 +206,10 @@
name = ads_pull_username(ads, mem_ctx, msg);
gecos = ads_pull_string(ads, mem_ctx, msg, "name");
if (use_nss_info("sfu")) {
- homedir = ads_pull_string(ads, mem_ctx, msg, ads->schema.sfu_homedir_attr);
- shell = ads_pull_string(ads, mem_ctx, msg, ads->schema.sfu_shell_attr);
+ homedir = ads_pull_string(ads, mem_ctx, msg,
+ ads->schema.sfu_homedir_attr);
+ shell = ads_pull_string(ads, mem_ctx, msg,
+ ads->schema.sfu_shell_attr);
}
if (!ads_pull_sid(ads, msg, "objectSid",
@@ -474,8 +476,10 @@
info->full_name = ads_pull_string(ads, mem_ctx, msg, "name");
if (use_nss_info("sfu")) {
- info->homedir = ads_pull_string(ads, mem_ctx, msg, ads->schema.sfu_homedir_attr);
- info->shell = ads_pull_string(ads, mem_ctx, msg, ads->schema.sfu_shell_attr);
+ info->homedir = ads_pull_string(ads, mem_ctx, msg,
+ ads->schema.sfu_homedir_attr);
+ info->shell = ads_pull_string(ads, mem_ctx, msg,
+ ads->schema.sfu_shell_attr);
}
if (!ads_pull_uint32(ads, msg, "primaryGroupID", &group_rid)) {
Modified: trunk/source/nsswitch/winbindd_group.c
===================================================================
--- trunk/source/nsswitch/winbindd_group.c 2005-12-19 00:15:51 UTC (rev 12333)
+++ trunk/source/nsswitch/winbindd_group.c 2005-12-19 00:23:42 UTC (rev 12334)
@@ -140,7 +140,7 @@
/* make sure to allow machine accounts */
if (name_types[i] != SID_NAME_USER && name_types[i] != SID_NAME_COMPUTER) {
- DEBUG(3, ("name %s isn't a domain user\n", the_name));
+ DEBUG(3, ("name %s isn't a domain user (%s)\n", the_name, sid_type_lookup(name_types[i])));
continue;
}
More information about the samba-cvs
mailing list