summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-12-17 13:14:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:40 -0500
commit92138d19203442cdaba23b508793237ec2fe9956 (patch)
tree39ae2d62a7939083194afbb1a675581012e41ad5 /source3/nsswitch
parentc96872d3ab895ccf122f077a54104542cb3f772b (diff)
downloadsamba-92138d19203442cdaba23b508793237ec2fe9956.tar.gz
samba-92138d19203442cdaba23b508793237ec2fe9956.tar.bz2
samba-92138d19203442cdaba23b508793237ec2fe9956.zip
r4258: strlower username, not (non-existing) domain_username.
Guenther (This used to be commit 4f10666295ff7c086ac2a38e0a5f0ac80b57b9a0)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index 7cbcba1245..1f727dd18d 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -641,7 +641,7 @@ BOOL parse_domain_user(const char *domuser, fstring domain, fstring user)
*/
void fill_domain_username(fstring name, const char *domain, const char *user)
{
- strlower_m( name );
+ strlower_m( user );
if (assume_domain(domain)) {
strlcpy(name, user, sizeof(fstring));