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

Don't store domain with username in secrets.tdb

This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent 6b4affde16
commit 5c58b4290d

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,