Hi, I have working master & slave OpenLDAP servers the Samba PDC works correctly when using either as the passdb backend. However, when configuring for LDAP failover as per this doc: http://samba.org/samba/docs/man/Samba-Guide/2000users.html Samba doesn't work & the logs fill up with this: ldap_initialize: Bad parameter to an ldap routine Connection to LDAP server failed for the 1 try! This is the actual directive I'm using save for the FQDNs: passdb backend = ldapsam:"ldap://master.example.com:1389 \ ldap://slave.example.com" Strace didn't produce anything useful. Version is Samba 3.0.23a-1.fc4.1 Probably something very silly but I'm out of ideas! Cheers, -- Ben Tisdall
On 8/8/07, Ben Tisdall <ben@redcircleit.com> wrote:> Hi, > > I have working master & slave OpenLDAP servers the Samba PDC works > correctly when using either as the passdb backend. > > However, when configuring for LDAP failover as per this doc: > > http://samba.org/samba/docs/man/Samba-Guide/2000users.html > > Samba doesn't work & the logs fill up with this: > > ldap_initialize: Bad parameter to an ldap routine > Connection to LDAP server failed for the 1 try! > > This is the actual directive I'm using save for the FQDNs: > > passdb backend = ldapsam:"ldap://master.example.com:1389 \ > ldap://slave.example.com" >Is 1389 the real port on the master ldap server? Have you configured the ldap server to use ldap ssl? John
On 8/8/07, Ben Tisdall <ben@redcircleit.com> wrote:> John Drescher wrote: > >> Hmmmm, can you post your passdb backend line pls? > >> > > Later, I will not be at work for 3 to 6 hours as it is early in the > > morning here (GMT -5 timezone). > > > No problem, I can't do anything until the users have left anyway, > another ~9 hrs. >If the email client does something weird there is one space between the entries. These are two different machines with the first being the PDC and it is in the dns but the second is not so I used the numerical ip for that one instead. passdb backend = ldapsam:"ldap://sysserv0.radimg.pitt.edu ldap://192.168.1.230" John