summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-16 17:54:16 +0000
committerVolker Lendecke <vlendec@samba.org>2006-12-16 17:54:16 +0000
commit2d8cafee4f7fb29732a51ce710abecc5e50f8090 (patch)
tree39084ab20ab5f02b7b6e9073d3e5ef02b9e0f8d7
parent6d0f88e700547726d317c91651ee02c629dd8cae (diff)
downloadsamba-2d8cafee4f7fb29732a51ce710abecc5e50f8090.tar.gz
samba-2d8cafee4f7fb29732a51ce710abecc5e50f8090.tar.xz
samba-2d8cafee4f7fb29732a51ce710abecc5e50f8090.zip
r20215: Next step trying to fix the Solaris build.
I think "anonimous" is correctly spelled "anonymous". The Solaris compile is referring to this as "anonymous" in line 814 of smbldap.c. Simo, please check. Thanks, Volker
-rw-r--r--source/include/smbldap.h2
-rw-r--r--source/lib/smbldap.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/include/smbldap.h b/source/include/smbldap.h
index b261ca82fd2..390b8f681a4 100644
--- a/source/include/smbldap.h
+++ b/source/include/smbldap.h
@@ -160,7 +160,7 @@ struct smbldap_state {
const char *uri;
/* credentials */
- BOOL anonimous;
+ BOOL anonymous;
char *bind_dn;
char *bind_secret;
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c
index 2fe0d5b86e1..aa039294d2e 100644
--- a/source/lib/smbldap.c
+++ b/source/lib/smbldap.c
@@ -934,7 +934,7 @@ static int smbldap_connect_system(struct smbldap_state *ldap_state, LDAP * ldap_
int rc;
int version;
- if (!ldap_state->anonimous && !ldap_state->bind_dn) {
+ if (!ldap_state->anonymous && !ldap_state->bind_dn) {
/* get the default dn and password only if they are not set already */
if (!fetch_ldap_pw(&ldap_state->bind_dn, &ldap_state->bind_secret)) {
@@ -1708,7 +1708,7 @@ BOOL smbldap_has_naming_context(LDAP *ld, const char *naming_context)
BOOL smbldap_set_creds(struct smbldap_state *ldap_state, BOOL anon, const char *dn, const char *secret)
{
- ldap_state->anonimous = anon;
+ ldap_state->anonymous = anon;
/* free any previously set credential */