summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-13 23:28:11 +0000
committerTim Potter <tpot@samba.org>2002-05-13 23:28:11 +0000
commit0c9e6bb88f6ce7fddd561a6a4ef9107f4d77eca7 (patch)
tree3ee2bd1e365c9703406e2b69a93abb300c6d6dc3 /source3
parenta2f003e3b90ceed0e871c1917f22b00e6b36d000 (diff)
downloadsamba-0c9e6bb88f6ce7fddd561a6a4ef9107f4d77eca7.tar.gz
samba-0c9e6bb88f6ce7fddd561a6a4ef9107f4d77eca7.tar.bz2
samba-0c9e6bb88f6ce7fddd561a6a4ef9107f4d77eca7.zip
Don't store domain with username in secrets.tdb
(This used to be commit 5c58b4290dbc364f3b2d6593fd0425fd50160993)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 541323f3c8..e36a144b8f 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -594,7 +594,7 @@ static BOOL wbinfo_set_auth_user(char *username)
/* Store in secrets.tdb */
if (!secrets_store(SECRETS_AUTH_USER, username,
- strlen(username) + 1) ||
+ strlen(user) + 1) ||
!secrets_store(SECRETS_AUTH_DOMAIN, domain,
strlen(domain) + 1) ||
!secrets_store(SECRETS_AUTH_PASSWORD, password,