diff options
author | Gerald Carter <jerry@samba.org> | 2002-05-29 02:08:46 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-05-29 02:08:46 +0000 |
commit | 5bbabf0ad275cf8eccae874b54029753377de727 (patch) | |
tree | 06edaa6e758d4bd881cac659a32838c5b66c240d /source3/nsswitch | |
parent | 568deecbf0bcda46fd9c927ad10b76d748b8c64d (diff) | |
download | samba-5bbabf0ad275cf8eccae874b54029753377de727.tar.gz samba-5bbabf0ad275cf8eccae874b54029753377de727.tar.bz2 samba-5bbabf0ad275cf8eccae874b54029753377de727.zip |
merge from 2.2
(This used to be commit 612584f7d5383db28960e1ae9aaeaa9b8b47486c)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/wbinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index 5a4af08c19..e41f2c6468 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -593,7 +593,7 @@ static BOOL wbinfo_set_auth_user(char *username) /* Store in secrets.tdb */ - if (!secrets_store(SECRETS_AUTH_USER, username, + if (!secrets_store(SECRETS_AUTH_USER, user, strlen(user) + 1) || !secrets_store(SECRETS_AUTH_DOMAIN, domain, strlen(domain) + 1) || |