summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-28 03:21:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:52 -0500
commitb80cbfc20e0d0ede84531a37e187274ba04e822c (patch)
treedd54807bedd0d0f495b494394170724de4850ba7
parentb6b9898a0710585751eab45a0d16a61a4cff208a (diff)
downloadsamba-b80cbfc20e0d0ede84531a37e187274ba04e822c.tar.gz
samba-b80cbfc20e0d0ede84531a37e187274ba04e822c.tar.bz2
samba-b80cbfc20e0d0ede84531a37e187274ba04e822c.zip
r18969: Fix typo.
Guenther (This used to be commit 31f21282cd5fb27c867615790e7fd27df4cd4c0e)
-rw-r--r--source3/include/client.h2
-rw-r--r--source3/libsmb/cliconnect.c4
-rw-r--r--source3/sam/idmap_rid.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index a89e39d160..dc266995c6 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -175,6 +175,6 @@ struct cli_state {
#define CLI_FULL_CONNECTION_DONT_SPNEGO 0x0001
#define CLI_FULL_CONNECTION_USE_KERBEROS 0x0002
-#define CLI_FULL_CONNECTION_ANNONYMOUS_FALLBACK 0x0004
+#define CLI_FULL_CONNECTION_ANONYMOUS_FALLBACK 0x0004
#endif /* _CLIENT_H */
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 0e179416dc..6e6f7a5ebe 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1530,7 +1530,7 @@ NTSTATUS cli_full_connection(struct cli_state **output_cli,
pw_len, domain);
if (!NT_STATUS_IS_OK(nt_status)) {
- if (!(flags & CLI_FULL_CONNECTION_ANNONYMOUS_FALLBACK)) {
+ if (!(flags & CLI_FULL_CONNECTION_ANONYMOUS_FALLBACK)) {
DEBUG(1,("failed session setup with %s\n",
nt_errstr(nt_status)));
cli_shutdown(cli);
@@ -1688,7 +1688,7 @@ struct cli_state *get_ipc_connect(char *server, struct in_addr *server_ip,
nt_status = cli_full_connection(&cli, myname, server, server_ip, 0, "IPC$", "IPC",
user_info->username, lp_workgroup(), user_info->password,
- CLI_FULL_CONNECTION_ANNONYMOUS_FALLBACK, Undefined, NULL);
+ CLI_FULL_CONNECTION_ANONYMOUS_FALLBACK, Undefined, NULL);
if (NT_STATUS_IS_OK(nt_status)) {
return cli;
diff --git a/source3/sam/idmap_rid.c b/source3/sam/idmap_rid.c
index c1544d4b4f..84b32e3d3f 100644
--- a/source3/sam/idmap_rid.c
+++ b/source3/sam/idmap_rid.c
@@ -226,7 +226,7 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
username,
lp_workgroup(),
password,
- CLI_FULL_CONNECTION_ANNONYMOUS_FALLBACK, True, NULL);
+ CLI_FULL_CONNECTION_ANONYMOUS_FALLBACK, True, NULL);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("rid_idmap_get_domains: could not setup connection to dc\n"));