diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-12-16 17:54:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:33 -0500 |
commit | 55e70f69871f43328cc05104c150f76212eb369a (patch) | |
tree | 58cf28462459c72f24dae53ca125d4ac8b3773dc /source3 | |
parent | 0ef4aadb9b05bd13a258c94cafb85c198cae329e (diff) | |
download | samba-55e70f69871f43328cc05104c150f76212eb369a.tar.gz samba-55e70f69871f43328cc05104c150f76212eb369a.tar.bz2 samba-55e70f69871f43328cc05104c150f76212eb369a.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
(This used to be commit a77d8fa08e5a7c9c0c7c415ce3b7848b265b4b95)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/smbldap.h | 2 | ||||
-rw-r--r-- | source3/lib/smbldap.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index b261ca82fd..390b8f681a 100644 --- a/source3/include/smbldap.h +++ b/source3/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/source3/lib/smbldap.c b/source3/lib/smbldap.c index 2fe0d5b86e..aa039294d2 100644 --- a/source3/lib/smbldap.c +++ b/source3/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 */ |