mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Merge branch 'master' of ssh://git.samba.org/data/git/samba
This commit is contained in:
commit
c94f994dda
@ -789,7 +789,7 @@ static NTSTATUS cmd_lsa_add_acct_rights(struct rpc_pipe_client *cli,
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
for (i=0; i<argc-1; i++) {
|
||||
for (i=0; i<argc-2; i++) {
|
||||
init_lsa_StringLarge(&rights.names[i], argv[i+2]);
|
||||
}
|
||||
|
||||
|
@ -93,9 +93,12 @@ void send_nt_replies(connection_struct *conn,
|
||||
+ data_alignment_offset);
|
||||
|
||||
if (useable_space < 0) {
|
||||
DEBUG(0, ("send_nt_replies failed sanity useable_space "
|
||||
"= %d!!!", useable_space));
|
||||
exit_server_cleanly("send_nt_replies: srv_send_smb failed.");
|
||||
char *msg = talloc_asprintf(
|
||||
talloc_tos(),
|
||||
"send_nt_replies failed sanity useable_space = %d!!!",
|
||||
useable_space);
|
||||
DEBUG(0, ("%s\n", msg));
|
||||
exit_server_cleanly(msg);
|
||||
}
|
||||
|
||||
while (params_to_send || data_to_send) {
|
||||
|
Loading…
Reference in New Issue
Block a user