From 8adbd1cf75492869f7fd1935eb211a070ef924cc Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Mon, 18 Feb 2013 10:25:09 +0100 Subject: srv_epmapper.c: Fix typo. priviledge -> privilege Signed-off-by: Karolin Seeger Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Mon Feb 18 13:57:40 CET 2013 on sn-devel-104 --- source3/rpc_server/epmapper/srv_epmapper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c index ac215cbbc0..17db5a43f9 100644 --- a/source3/rpc_server/epmapper/srv_epmapper.c +++ b/source3/rpc_server/epmapper/srv_epmapper.c @@ -232,7 +232,7 @@ static uint32_t build_ep_list(TALLOC_CTX *mem_ctx, return total; } -static bool is_priviledged_pipe(struct auth_session_info *info) { +static bool is_privileged_pipe(struct auth_session_info *info) { /* If the user is not root, or has the system token, fail */ if ((info->unix_token->uid != sec_initial_uid()) && !security_token_is_system(info->security_token)) { @@ -303,9 +303,9 @@ error_status_t _epm_Insert(struct pipes_struct *p, struct dcesrv_iface *iface; bool add_ep; - /* If this is not a priviledged users, return */ + /* If this is not a privileged users, return */ if (p->transport != NCALRPC || - !is_priviledged_pipe(p->session_info)) { + !is_privileged_pipe(p->session_info)) { p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; return EPMAPPER_STATUS_CANT_PERFORM_OP; } @@ -440,9 +440,9 @@ error_status_t _epm_Delete(struct pipes_struct *p, DEBUG(3, ("_epm_Delete: Trying to delete %u entries.\n", r->in.num_ents)); - /* If this is not a priviledged users, return */ + /* If this is not a privileged users, return */ if (p->transport != NCALRPC || - !is_priviledged_pipe(p->session_info)) { + !is_privileged_pipe(p->session_info)) { p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; return EPMAPPER_STATUS_CANT_PERFORM_OP; } -- cgit