svn commit: samba r20215 - in branches/SAMBA_3_0/source: include lib

vlendec at samba.org vlendec at samba.org
Sat Dec 16 17:54:16 GMT 2006


Author: vlendec
Date: 2006-12-16 17:54:16 +0000 (Sat, 16 Dec 2006)
New Revision: 20215

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20215

Log:
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

Modified:
   branches/SAMBA_3_0/source/include/smbldap.h
   branches/SAMBA_3_0/source/lib/smbldap.c


Changeset:
Modified: branches/SAMBA_3_0/source/include/smbldap.h
===================================================================
--- branches/SAMBA_3_0/source/include/smbldap.h	2006-12-16 17:47:22 UTC (rev 20214)
+++ branches/SAMBA_3_0/source/include/smbldap.h	2006-12-16 17:54:16 UTC (rev 20215)
@@ -160,7 +160,7 @@
 	const char *uri;
 
 	/* credentials */
-	BOOL anonimous;
+	BOOL anonymous;
 	char *bind_dn;
 	char *bind_secret;
 

Modified: branches/SAMBA_3_0/source/lib/smbldap.c
===================================================================
--- branches/SAMBA_3_0/source/lib/smbldap.c	2006-12-16 17:47:22 UTC (rev 20214)
+++ branches/SAMBA_3_0/source/lib/smbldap.c	2006-12-16 17:54:16 UTC (rev 20215)
@@ -934,7 +934,7 @@
 	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_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 */
 



More information about the samba-cvs mailing list