From 39ccc0f5157ba4f2c574d73b8e484211a24b677b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 9 Nov 2003 17:23:57 +0000 Subject: Skip over the winbind separator when looking up a user. Volker (This used to be commit 6b457d0c5c1a18b6e09c2c4cc489ce791aac3c6b) --- source3/auth/auth_util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/auth/auth_util.c') 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); -- cgit