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:
parent
6b4affde16
commit
5c58b4290d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user