diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/username.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c index d70f9bddd6..9f9fad048d 100644 --- a/source3/lib/username.c +++ b/source3/lib/username.c @@ -197,8 +197,8 @@ struct passwd *Get_Pwnam(char *user,BOOL allow_change) /* Try as given, if username wasn't originally lowercase */ if(strcmp(user,user2) != 0) { - DEBUG(5,("Trying _Get_Pwnam(), username as given is %s\n",user2)); - ret = _Get_Pwnam(user2); + DEBUG(5,("Trying _Get_Pwnam(), username as given is %s\n",user)); + ret = _Get_Pwnam(user); if(ret) goto done; } |