1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00

Don't store domain with username in secrets.tdb

(This used to be commit 5c58b4290dbc364f3b2d6593fd0425fd50160993)
This commit is contained in:
Tim Potter 2002-05-13 23:28:11 +00:00
parent a2f003e3b9
commit 0c9e6bb88f

View File

@ -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,