summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-28 03:21:49 +0000
committerGünther Deschner <gd@samba.org>2006-09-28 03:21:49 +0000
commit4a7cca921004904dabd11139e2c027e36745f6d0 (patch)
treee409952da628e107bc4bf47e586bccd8f04a6e26 /source
parent2a9f59f355cc799355c97a3f866158b6a6bb16c0 (diff)
downloadsamba-4a7cca921004904dabd11139e2c027e36745f6d0.tar.gz
samba-4a7cca921004904dabd11139e2c027e36745f6d0.tar.xz
samba-4a7cca921004904dabd11139e2c027e36745f6d0.zip
r18969: Fix typo.
Guenther
Diffstat (limited to 'source')
-rw-r--r--source/include/client.h2
-rw-r--r--source/libsmb/cliconnect.c4
-rw-r--r--source/sam/idmap_rid.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source/include/client.h b/source/include/client.h
index a89e39d1605..dc266995c62 100644
--- a/source/include/client.h
+++ b/source/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/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c
index 0e179416dc7..6e6f7a5ebe9 100644
--- a/source/libsmb/cliconnect.c
+++ b/source/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/source/sam/idmap_rid.c b/source/sam/idmap_rid.c
index c1544d4b4fb..84b32e3d3f4 100644
--- a/source/sam/idmap_rid.c
+++ b/source/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"));