From dcb577f1cd8cf60557c0d061afeec206f58a6b31 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 24 Sep 2004 06:42:04 +0000 Subject: [PATCH] r2584: After talking to jerry, commit the strlower patch to getent username and groupnames. In template homedir, leave %D alone uppercased. Volker --- source/nsswitch/winbindd_user.c | 2 ++ source/nsswitch/winbindd_util.c | 1 + 2 files changed, 3 insertions(+) diff --git a/source/nsswitch/winbindd_user.c b/source/nsswitch/winbindd_user.c index 6f5a86f43ae..249b9ccd8eb 100644 --- a/source/nsswitch/winbindd_user.c +++ b/source/nsswitch/winbindd_user.c @@ -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); diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c index a9197d35616..66006905385 100644 --- a/source/nsswitch/winbindd_util.c +++ b/source/nsswitch/winbindd_util.c @@ -648,6 +648,7 @@ void fill_domain_username(fstring name, const char *domain, const char *user) domain, lp_winbind_separator(), user); } + strlower_m(name); } /* -- 2.47.3