Overview Description: ===================== Compile with Netscape SDK fails with the following error: Compiling passdb/pdb_ldap.c passdb/pdb_ldap.c: In function `rebindproc_with_state': passdb/pdb_ldap.c:276: error: `ldap_state' undeclared (first use in this function) passdb/pdb_ldap.c:276: error: (Each undeclared identifier is reported only once Steps to Reproduce: =================== Compile in Solaris 9 with "./configure --with-ldapsam". Do not use openldap. Solaris 9 comes with its own ldap SDK which is actually Netscape SDK The reason for building Samba with Netscape SDK is to workaround the problem whereby initgroups() system call fails to get supplmentary group from directory server if compiles with OpenLdap and Native ldap client is enabled in Solaris. Refer to the following discussion for this topic: http://lists.samba.org/archive/samba-technical/2003-December/033162.html To workaround this problem, I did this: >- Modify <samba_source>/source/passdb/pdb_ldap.c, change line 276 > >FROM: > >*whop = strdup(ldap_state->bind_dn); > >TO: > >*whop = strdup(lp_ldap_admin_dn());
Sorry, but the 2.2 is not under development any longer. If you can reproduce this bug against the latest 3.0 release, please reopen this bug and change the version in the report. Thanks.
database cleanup