diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-11-09 17:24:16 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-11-09 17:24:16 +0000 |
commit | 649f7d749de3f09dca8415fadf1efb3d74f57e0f (patch) | |
tree | ba80ca9d99e21fad392d675768e6f3c0974d505a /source3/auth | |
parent | 30d0680106c74901d6fc0c993c3c4770cd2efb22 (diff) | |
download | samba-649f7d749de3f09dca8415fadf1efb3d74f57e0f.tar.gz samba-649f7d749de3f09dca8415fadf1efb3d74f57e0f.tar.bz2 samba-649f7d749de3f09dca8415fadf1efb3d74f57e0f.zip |
From 3_0:
Skip over the winbind separator when looking up a user.
Volker
(This used to be commit efe36a44d3d35f2bbb3381916dfdfda80560b67c)
Diffstat (limited to 'source3/auth')
-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); |