Author: vlendec
Date: 2004-09-24 06:42:04 +0000 (Fri, 24 Sep 2004)
New Revision: 2584

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/nsswitch&rev=2584&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:
   branches/SAMBA_3_0/source/nsswitch/winbindd_user.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_util.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_user.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_user.c  2004-09-24 05:51:29 UTC (rev 
2583)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_user.c  2004-09-24 06:42:04 UTC (rev 
2584)
@@ -58,6 +58,8 @@
                return False;
        }
 
+       strlower_m(user_name);
+
        /* Username */
 
        fill_domain_username(output_username, dom_name, user_name); 

Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_util.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_util.c  2004-09-24 05:51:29 UTC (rev 
2583)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_util.c  2004-09-24 06:42:04 UTC (rev 
2584)
@@ -648,6 +648,7 @@
                         domain, lp_winbind_separator(),
                         user);
        }
+       strlower_m(name);
 }
 
 /*

Reply via email to