From fa08d0b44bf80f6caaeb004a0f27d8346c2820e2 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Mon, 19 Oct 2009 09:47:33 +0200 Subject: Fix typo. privilage -> privilege Karolin --- source4/build/m4/check_path.m4 | 2 +- source4/client/tests/test_smbclient.sh | 2 +- source4/libnet/libnet_samsync_ldb.c | 2 +- source4/librpc/idl/irpc.idl | 2 +- source4/torture/rpc/samsync.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source4') diff --git a/source4/build/m4/check_path.m4 b/source4/build/m4/check_path.m4 index 08a304b0d0..fb6b8aa804 100644 --- a/source4/build/m4/check_path.m4 +++ b/source4/build/m4/check_path.m4 @@ -97,7 +97,7 @@ AC_ARG_WITH(winbindd-socket-dir, esac]) ################################################# -# set where the winbindd privilaged socket should be put +# set where the winbindd privileged socket should be put AC_ARG_WITH(winbindd-privileged-socket-dir, [AS_HELP_STRING([--with-winbindd-privileged-socket-dir=DIR],[Where to put the winbindd socket ($winbindd_privileged_socket_dir)])], [ case "$withval" in diff --git a/source4/client/tests/test_smbclient.sh b/source4/client/tests/test_smbclient.sh index 20ecc18707..2fd5b56ca0 100755 --- a/source4/client/tests/test_smbclient.sh +++ b/source4/client/tests/test_smbclient.sh @@ -112,7 +112,7 @@ runcmd "Removing file" 'rm tmpfilex'|| failed=`expr $failed + 1` runcmd "Lookup name" "lookup $DOMAIN\\$USERNAME" || failed=`expr $failed + 1` -#Fails unless there are privilages +#Fails unless there are privileges #runcmd "Lookup privs of name" "privileges $DOMAIN\\$USERNAME" || failed=`expr $failed + 1` # do some simple operations using old protocol versions diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c index 5bb75ca30d..041ab7d5bf 100644 --- a/source4/libnet/libnet_samsync_ldb.c +++ b/source4/libnet/libnet_samsync_ldb.c @@ -1039,7 +1039,7 @@ static NTSTATUS samsync_ldb_delete_account(TALLOC_CTX *mem_ctx, } samdb_msg_add_delete(state->sam_ldb, mem_ctx, msg, - "privilage"); + "privilege"); ret = samdb_replace(state->sam_ldb, mem_ctx, msg); if (ret != 0) { diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl index 24326e434e..03a931661e 100644 --- a/source4/librpc/idl/irpc.idl +++ b/source4/librpc/idl/irpc.idl @@ -52,7 +52,7 @@ import "misc.idl", "security.idl", "nbt.idl"; [out,switch_is(level)] nbtd_info info ); - /* Send a GetDCName from the privilaged port (owned by nbtd), + /* Send a GetDCName from the privileged port (owned by nbtd), * and await a reply */ void nbtd_getdcname( diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index 2ee8e59e5a..3845b6cb44 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -1123,7 +1123,7 @@ static bool samsync_handle_account(TALLOC_CTX *mem_ctx, struct samsync_state *sa } for (j=0;jprivilege_entries; j++) { if (!found_priv_in_lsa[j]) { - printf("Privilage %s on account %s not found in LSA\n", account->privilege_name[j].string, + printf("Privilege %s on account %s not found in LSA\n", account->privilege_name[j].string, dom_sid_string(mem_ctx, dom_sid)); ret = false; } -- cgit