summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"));