Re: [Samba] Fwd: getent group fails - fixed

2011-06-24 Thread Christian PERRIER
Quoting Dermot (paik...@googlemail.com): Perhaps I am not understanding you correctly because that runs counter my experience. The settings in my /etc/ldap/ldap.conf were correct whereas the ones in /etc/libnss-ldap.conf were not. It was the search filters from libnss-ldap.conf that were

Re: [Samba] Fwd: getent group fails - fixed

2011-06-24 Thread Dermot
On 24 June 2011 05:48, Christian PERRIER bubu...@debian.org wrote: Quoting Dermot (paik...@googlemail.com): Perhaps I am not understanding you correctly because that runs counter my experience. The settings in my /etc/ldap/ldap.conf were correct whereas the ones in /etc/libnss-ldap.conf were

Re: [Samba] Fwd: getent group fails - fixed

2011-06-23 Thread aly . khimji
Nice find! good work Aly Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Dermot paik...@googlemail.com Sender: samba-boun...@lists.samba.org Date: Thu, 23 Jun 2011 13:00:55 To: samba@lists.samba.org Subject: [Samba] Fwd: getent group fails - fixed

Re: [Samba] Fwd: getent group fails - fixed

2011-06-23 Thread Bruce Richardson
On Thu, Jun 23, 2011 at 01:00:55PM +0100, Dermot wrote: Found it. It turns out that the config file for libnss-ldap is /etc/libnss-ldap.conf on my distro (Debian). So NSS was ignoring the config that I had been in /etc/ldap/ldap.conf and taking it from /etc/libnss-ldap.conf. As far as I'm

Re: [Samba] Fwd: getent group fails - fixed

2011-06-23 Thread Dermot
On 23 June 2011 13:14, Bruce Richardson wrote: On Thu, Jun 23, 2011 at 01:00:55PM +0100, Dermot wrote: Found it. It turns out that the config file for libnss-ldap is /etc/libnss-ldap.conf on my distro (Debian). So NSS was ignoring the config that I had been in /etc/ldap/ldap.conf and taking

Re: [Samba] Fwd: getent group fails - fixed

2011-06-23 Thread Bruce Richardson
On Thu, Jun 23, 2011 at 02:20:56PM +0100, Dermot wrote: I would have thought, but I am no expert, that samba would have used the config from smb.conf and that ldapsearch (and anything else that didn't have hooks else where) would use /etc/ldap/ldap.conf. In smb.conf you specify those things