]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r2584: After talking to jerry, commit the strlower patch to getent username and
authorVolker Lendecke <vlendec@samba.org>
Fri, 24 Sep 2004 06:42:04 +0000 (06:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:47 +0000 (10:52 -0500)
groupnames. In template homedir, leave %D alone uppercased.

Volker

source/nsswitch/winbindd_user.c
source/nsswitch/winbindd_util.c

index 6f5a86f43aeb86bd489af9806394d902d90158e9..249b9ccd8eb32d52952ded09709747fc3bf47df6 100644 (file)
@@ -58,6 +58,8 @@ static BOOL winbindd_fill_pwent(char *dom_name, char *user_name,
                return False;
        }
 
+       strlower_m(user_name);
+
        /* Username */
 
        fill_domain_username(output_username, dom_name, user_name); 
index a9197d356163df3b0e5266c7d840875c547c9c70..66006905385bc52a12451895ee8d82676012caaf 100644 (file)
@@ -648,6 +648,7 @@ void fill_domain_username(fstring name, const char *domain, const char *user)
                         domain, lp_winbind_separator(),
                         user);
        }
+       strlower_m(name);
 }
 
 /*