mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3-utils/net: pass struct ndr_interface_table down
This will allow the target service (as determined from the IDL) to be passed to GSSAPI (rather than the current, incorrect, "cifs"). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
committed by
Stefan Metzmacher
parent
34d52532b5
commit
9729bdf89f
@ -918,7 +918,7 @@ static int rpc_service_list(struct net_context *c, int argc, const char **argv )
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_list_internal, argc, argv );
|
||||
}
|
||||
|
||||
@ -936,7 +936,7 @@ static int rpc_service_start(struct net_context *c, int argc, const char **argv
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_start_internal, argc, argv );
|
||||
}
|
||||
|
||||
@ -954,7 +954,7 @@ static int rpc_service_stop(struct net_context *c, int argc, const char **argv )
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_stop_internal, argc, argv );
|
||||
}
|
||||
|
||||
@ -972,7 +972,7 @@ static int rpc_service_resume(struct net_context *c, int argc, const char **argv
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_resume_internal, argc, argv );
|
||||
}
|
||||
|
||||
@ -990,7 +990,7 @@ static int rpc_service_pause(struct net_context *c, int argc, const char **argv
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_pause_internal, argc, argv );
|
||||
}
|
||||
|
||||
@ -1008,7 +1008,7 @@ static int rpc_service_status(struct net_context *c, int argc, const char **argv
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_status_internal, argc, argv );
|
||||
}
|
||||
|
||||
@ -1026,7 +1026,7 @@ static int rpc_service_delete(struct net_context *c, int argc, const char **argv
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_delete_internal, argc, argv);
|
||||
}
|
||||
|
||||
@ -1044,7 +1044,7 @@ static int rpc_service_create(struct net_context *c, int argc, const char **argv
|
||||
return 0;
|
||||
}
|
||||
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl.syntax_id, 0,
|
||||
return run_rpc_command(c, NULL, &ndr_table_svcctl, 0,
|
||||
rpc_service_create_internal, argc, argv);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user