mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
Remove pstring from everything in rpc_server except
srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy.
This commit is contained in:
@@ -235,7 +235,8 @@ void copy_id21_to_sam_passwd(struct samu *to, SAM_USER_INFO_21 *from)
|
||||
}
|
||||
|
||||
if (from->fields_present & ACCT_LOGON_HOURS) {
|
||||
pstring oldstr, newstr;
|
||||
char oldstr[44]; /* hours strings are 42 bytes. */
|
||||
char newstr[44];
|
||||
DEBUG(15,("INFO_21 LOGON_DIVS: %08X -> %08X\n",pdb_get_logon_divs(to),from->logon_divs));
|
||||
if (from->logon_divs != pdb_get_logon_divs(to)) {
|
||||
pdb_set_logon_divs(to, from->logon_divs, PDB_CHANGED);
|
||||
|
||||
Reference in New Issue
Block a user