summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-16 17:54:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:33 -0500
commita77d8fa08e5a7c9c0c7c415ce3b7848b265b4b95 (patch)
treee2117f868cadaee9399f1fd2cda5986ecea907ae /source/lib
parentb459096a151c482d387ec14c965aee43c850e46a (diff)
downloadsamba-a77d8fa08e5a7c9c0c7c415ce3b7848b265b4b95.tar.gz
samba-a77d8fa08e5a7c9c0c7c415ce3b7848b265b4b95.tar.xz
samba-a77d8fa08e5a7c9c0c7c415ce3b7848b265b4b95.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
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/smbldap.c4
1 files changed, 2 insertions, 2 deletions
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 */