diff options
-rw-r--r-- | source3/auth/auth_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index dd0c0b02dd..d7d7f53e2d 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -972,6 +972,7 @@ struct passwd *smb_getpwnam( char *domuser ) p = strchr( domuser, *lp_winbind_separator() ); if ( p ) { + p += 1; fstrcpy( mapped_username, p ); map_username( mapped_username ); return Get_Pwnam(mapped_username); |