[Samba] "net" command with openldap 2.1.1?

Andrew Bartlett abartlet at samba.org
Tue Jun 11 15:54:02 GMT 2002


Dave Snoopy wrote:
> 
> The Samba net command (from the HEAD) sounds great,
> but it doesn't seem to compile with OpenLDAP version
> 2.1.1 Beta. When compiling, I get this error:
> 
> Compiling passdb/pdb_ldap.c
> passdb/pdb_ldap.c: In function
> `ldapsam_connect_system':
> passdb/pdb_ldap.c:313: too few arguments to function
> `ldap_set_rebind_proc'
> *** Error code 1
> 
> It seems that the head of Samba doesn't use the latest
> OpenLDAP API. Does the net command from the HEAD only
> compile with a certain version of OpenLDAP? If so,
> which?

Well, it works for me :-).  If OpenLDAP has changed its API then we need
to cope with that.  Could you see if you can work out a patch for that?

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba mailing list