svn commit: samba r2585 - in trunk/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Fri Sep 24 06:43:14 GMT 2004


Author: vlendec
Date: 2004-09-24 06:43:14 +0000 (Fri, 24 Sep 2004)
New Revision: 2585

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/nsswitch&rev=2585&nolog=1

Log:
After talking to jerry, commit the strlower patch to getent username and
groupnames. In template homedir, leave %D alone uppercased.

Volker


Modified:
   trunk/source/nsswitch/winbindd_user.c
   trunk/source/nsswitch/winbindd_util.c


Changeset:
Modified: trunk/source/nsswitch/winbindd_user.c
===================================================================
--- trunk/source/nsswitch/winbindd_user.c	2004-09-24 06:42:04 UTC (rev 2584)
+++ trunk/source/nsswitch/winbindd_user.c	2004-09-24 06:43:14 UTC (rev 2585)
@@ -58,6 +58,8 @@
 		return False;
 	}
 
+	strlower_m(user_name);
+
 	/* Username */
 
 	fill_domain_username(output_username, dom_name, user_name); 

Modified: trunk/source/nsswitch/winbindd_util.c
===================================================================
--- trunk/source/nsswitch/winbindd_util.c	2004-09-24 06:42:04 UTC (rev 2584)
+++ trunk/source/nsswitch/winbindd_util.c	2004-09-24 06:43:14 UTC (rev 2585)
@@ -655,6 +655,7 @@
 			 domain, lp_winbind_separator(),
 			 user);
 	}
+	strlower_m(name);
 }
 
 /*



More information about the samba-cvs mailing list