Åke Holmlund
2002-Jun-17 03:19 UTC
[Samba] [PATCH] chages to pdb_ldap for new OpenLDAP versions and for better rebinds
> Andrew Bartlett wrote: > > > > Dave Snoopy wrote: > > > > > > What version of OpenLDAP are you compiling/linking > > > against? > > > > > > > [abartlet@piglett abartlet]$ rpm -q openldap > > openldap-2.0.23-4 > > I would appricate it if some people could test out the attached patch to > current Samba HEAD (pserver.samba.org). The patch does the appropriate > #ifdef magic for the various implementations of ldap_set_rebind_proc(), > including the version that is currectly breaking builds. > > In particular, I would appricate it if sombody could test the actual > rebind functionality itself - needed for some master/slave ldap setups.We REALLY need this BUT for version 2.2.4,5 (see my post from last week). Is it possible to tweak this patch and apply it to say 2.2.5pre1? Thanks ----------------------------------------------------------------------------- ?ke Holmlund Tel: +46 - 90 786 57 16 Ume? University Fax: +46 - 90 786 65 50 Dept of informatics Email: holm@informatik.umu.se SE-901 87 Ume? Sweden
Andrew Bartlett
2002-Jun-17 06:56 UTC
[Samba] [PATCH] chages to pdb_ldap for new OpenLDAP versions and for better rebinds
?ke Holmlund wrote:> > > Andrew Bartlett wrote: > > > > > > Dave Snoopy wrote: > > > > > > > > What version of OpenLDAP are you compiling/linking > > > > against? > > > > > > > > > > [abartlet@piglett abartlet]$ rpm -q openldap > > > openldap-2.0.23-4 > > > > I would appricate it if some people could test out the attached patch to > > current Samba HEAD (pserver.samba.org). The patch does the appropriate > > #ifdef magic for the various implementations of ldap_set_rebind_proc(), > > including the version that is currectly breaking builds. > > > > In particular, I would appricate it if sombody could test the actual > > rebind functionality itself - needed for some master/slave ldap setups. > > We REALLY need this BUT for version 2.2.4,5 (see my post from last week). > Is it possible to tweak this patch and apply it to say 2.2.5pre1?The basic idea is not too difficult to re-implement, but there have been significant changes to pdb_ldap in HEAD, so I would suggest that you try a current HEAD CVS snapshot instead. I don't work in 2.2, but Jerry might be able to port it across/provide a patch. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net
Marshall, Joshua
2002-Jun-17 16:30 UTC
[Samba] [PATCH] chages to pdb_ldap for new OpenLDAP versions and for better rebinds
>> We REALLY need this BUT for version 2.2.4,5 (see my post from lastweek).>> Is it possible to tweak this patch and apply it to say 2.2.5pre1? > > The basic idea is not too difficult to re-implement, but there have been > significant changes to pdb_ldap in HEAD, so I would suggest that you try > a current HEAD CVS snapshot instead. > > I don't work in 2.2, but Jerry might be able to port it across/provide a > patch.I've attached a patch here that I have sent to this list before, to allow rebinding in pdb_ldap for the samba 2.2 line. Josh. -------------- next part -------------- A non-text attachment was scrubbed... Name: pdb_ldap.patch Type: application/octet-stream Size: 1647 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020617/4d771e0a/pdb_ldap.obj