diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-12 06:30:45 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-12 06:30:45 +0000 |
commit | 479c73559e137a406f912f8e262e1658861dc9db (patch) | |
tree | 66f9a62b59164387fad03d01b0b00386b4fdaecd /source3/smbd/reply.c | |
parent | 5379476d4d38ea164ebda5f39cadb68c2350c399 (diff) | |
download | samba-479c73559e137a406f912f8e262e1658861dc9db.tar.gz samba-479c73559e137a406f912f8e262e1658861dc9db.tar.bz2 samba-479c73559e137a406f912f8e262e1658861dc9db.zip |
use "winbind separator" option for domain/user separator character
(This used to be commit 6cbb826b154e61085fd651116caf472d4d438c1d)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 5c80a61511..b08606452f 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -857,7 +857,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int that */ if (!getpwnam(user)) { pstring user2; - slprintf(user2,sizeof(user2),"%s/%s", domain, user); + slprintf(user2,sizeof(user2),"%s%s%s", domain, lp_winbind_separator(), user); if (getpwnam(user2)) { DEBUG(3,("Using unix username %s\n", user2)); pstrcpy(user, user2); |