summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-09-24 06:42:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:47 -0500
commitaa62710b2e2aa1a1c7284a9b2704994928581d6b (patch)
tree299e86f99bd5e38f64fea3312ee9ea769e8e10bc /source3/nsswitch
parentb2cd6300d7a575ea01758233ab42b3bf205d20e1 (diff)
downloadsamba-aa62710b2e2aa1a1c7284a9b2704994928581d6b.tar.gz
samba-aa62710b2e2aa1a1c7284a9b2704994928581d6b.tar.bz2
samba-aa62710b2e2aa1a1c7284a9b2704994928581d6b.zip
r2584: After talking to jerry, commit the strlower patch to getent username and
groupnames. In template homedir, leave %D alone uppercased. Volker (This used to be commit dcb577f1cd8cf60557c0d061afeec206f58a6b31)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_user.c2
-rw-r--r--source3/nsswitch/winbindd_util.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c
index 6f5a86f43a..249b9ccd8e 100644
--- a/source3/nsswitch/winbindd_user.c
+++ b/source3/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/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index a9197d3561..6600690538 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/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);
}
/*