mirror of
https://github.com/samba-team/samba.git
synced 2025-12-05 12:23:50 +03:00
Changes from APPLIANCE_HEAD:
source/rpc_parse/parse_lsa.c
- off by one unistr length bug in init_lsa_trans_name()
source/lib/util_sid.c
- resolve more BUILTIN sid values to names.
source/nsswitch/wb_client.c
- fix typo in debug message
- set errno on error so we don't get bogus value from last failure.
source/rpc_server/srv_spoolss_nt.c
- add debug to track number of open printer handles for ease of
tracking handle leaks in the future.
source/rpc_server/srv_lsa.c
- fix off-by-one string bug. This was preventing NT from
displaying names for well-know SIDs in printer permissions
dialog.
This commit is contained in:
@@ -34,7 +34,7 @@ static BOOL lsa_io_trans_names(char *desc, LSA_TRANS_NAME_ENUM *trn, prs_struct
|
||||
void init_lsa_trans_name(LSA_TRANS_NAME *trn, UNISTR2 *uni_name,
|
||||
uint16 sid_name_use, char *name, uint32 idx)
|
||||
{
|
||||
int len_name = strlen(name)+1;
|
||||
int len_name = strlen(name);
|
||||
|
||||
if(len_name == 0)
|
||||
len_name = 1;
|
||||
|
||||
Reference in New Issue
Block a user