mirror of
https://github.com/samba-team/samba.git
synced 2025-01-01 21:18:10 +03:00
parent
4aad4d7c73
commit
c4d1f9a1e8
@ -226,7 +226,7 @@ void add_session_user(const char *user)
|
||||
fstring suser;
|
||||
struct passwd *passwd;
|
||||
|
||||
if (!passwd = Get_Pwnam(user)) return;
|
||||
if (!(passwd = Get_Pwnam(user))) return;
|
||||
|
||||
StrnCpy(suser,passwd->pw_name,sizeof(suser)-1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user