[Nix-dev] [PATCH] Improved LDAP and nscd interoperability

Rickard Nilsson rickard.nilsson at telia.com
Wed Feb 22 11:14:13 CET 2012


Hi,

Here's a patch that improves LDAP and nscd interoperability a bit. It does  
two things:

* If you have a bind password in /etc/ldap.conf, it sets the user nscd as  
owner of that file, since otherwise nscd can't properly look up LDAP  
users. It seems to work fine anyway in most cases, but for some reason the  
/run/current-system/activate causes LDAP users to disappear until you  
restart nscd. My patch fixes that.

* For the nscd-invalidate job, the passwd, group and hosts databases are  
now invalidated, not only hosts.

As always, I would be happy if someone could review and apply this patch.

Best regards,
   Rickard Nilsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldap_nscd.patch
Type: application/octet-stream
Size: 3086 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120222/751b0c0f/attachment.obj 


More information about the nix-dev mailing list