1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

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 commit is contained in:
Volker Lendecke 2006-12-16 17:54:16 +00:00 committed by Gerald (Jerry) Carter
parent b459096a15
commit a77d8fa08e
2 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@ struct smbldap_state {
const char *uri;
/* credentials */
BOOL anonimous;
BOOL anonymous;
char *bind_dn;
char *bind_secret;

View File

@ -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 */