mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
Move from timestamp to gen count file id's for finding oplocked files
in a tdb.
Jeremy.
(This used to be commit 058ae6b58f
)
This commit is contained in:
@ -586,7 +586,7 @@ int cli_NetUserAdd(struct cli_state *cli, RAP_USER_INFO_1 * userinfo )
|
||||
|
||||
PUTWORD(p, 0); /* pwencrypt */
|
||||
if(userinfo->passwrd)
|
||||
PUTWORD(p,strnlen(userinfo->passwrd, RAP_UPASSWD_LEN));
|
||||
PUTWORD(p,MIN(strlen(userinfo->passwrd), RAP_UPASSWD_LEN));
|
||||
else
|
||||
PUTWORD(p, 0); /* password length */
|
||||
|
||||
|
Reference in New Issue
Block a user