diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-11-09 17:23:57 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-11-09 17:23:57 +0000 |
commit | 39ccc0f5157ba4f2c574d73b8e484211a24b677b (patch) | |
tree | a280b6072e88dee79f06d1826530d57b10a1749e /source3 | |
parent | 9da5e6a4da67578b6d64011dce04a4eb9361e1b3 (diff) | |
download | samba-39ccc0f5157ba4f2c574d73b8e484211a24b677b.tar.gz samba-39ccc0f5157ba4f2c574d73b8e484211a24b677b.tar.bz2 samba-39ccc0f5157ba4f2c574d73b8e484211a24b677b.zip |
Skip over the winbind separator when looking up a user.
Volker
(This used to be commit 6b457d0c5c1a18b6e09c2c4cc489ce791aac3c6b)
Diffstat (limited to 'source3')
-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); |