git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c21bc
)
Skip over the winbind separator when looking up a user.
author
Volker Lendecke
<vlendec@samba.org>
Sun, 9 Nov 2003 17:23:57 +0000
(17:23 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Sun, 9 Nov 2003 17:23:57 +0000
(17:23 +0000)
Volker
source/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source/auth/auth_util.c
b/source/auth/auth_util.c
index dd0c0b02dde0e53a3a7eecee9916fa2a35646c4d..d7d7f53e2d4898c7133d04c16591585c5695c877 100644
(file)
--- a/
source/auth/auth_util.c
+++ b/
source/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);