summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-13 23:31:51 +0000
committerTim Potter <tpot@samba.org>2002-05-13 23:31:51 +0000
commit38788fbec5e0cf7422fb6609149d6eebacd0e093 (patch)
tree9f8d0e73260d9a6eb57c6859b9d0051c367bef77
parentb6c77fd3bbd72d84af44c56bfb9bf58fc7ed030a (diff)
downloadsamba-38788fbec5e0cf7422fb6609149d6eebacd0e093.tar.gz
samba-38788fbec5e0cf7422fb6609149d6eebacd0e093.tar.bz2
samba-38788fbec5e0cf7422fb6609149d6eebacd0e093.zip
Merge from HEAD:
> Don't store domain with username in secrets.tdb (This used to be commit a4a01afebe5b05e55ba64ada37e567d235d82fe8)
-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 4cfaa3a8c0..3ddd1865c0 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,