summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2013-02-18 10:25:09 +0100
committerAndrew Bartlett <abartlet@samba.org>2013-02-18 13:57:39 +0100
commit8adbd1cf75492869f7fd1935eb211a070ef924cc (patch)
tree46564c256a7a07278eb822f3679314b3ae55a63d /source3
parent240df6c7b05e3c5c7be80d7607824147f360d64e (diff)
downloadsamba-8adbd1cf75492869f7fd1935eb211a070ef924cc.tar.gz
samba-8adbd1cf75492869f7fd1935eb211a070ef924cc.tar.bz2
samba-8adbd1cf75492869f7fd1935eb211a070ef924cc.zip
srv_epmapper.c: Fix typo.
priviledge -> privilege Signed-off-by: Karolin Seeger <kseeger@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Feb 18 13:57:40 CET 2013 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/epmapper/srv_epmapper.c10
1 files changed, 5 insertions, 5 deletions
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;
}