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

Attachment: ldap_nscd.patch
Description: Binary data

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to