nss_ldap, sendmail and ls

2004-01-25 Thread Andrea Venturoli
Hello.
I've built a mailserver with FreeBSD 5.1, which uses nss_ldap for the user database, 
and sendmail-ldap from the port
collection.
Everything works fine except forward files. I've arranged sendmail to keep them all in 
one directory by user name;
however this only works for users which are in /etc/passwd, not for those that are 
stored in LDAP.

Something which might be related: if I do ls -l I can see the usernames, again, only 
for users which are in
/etc/passwd, for those that are in LDAP I see the uid number instead. Is this normal?

Any hint is appreciated.

 bye  Thanks
av.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nss_ldap, sendmail and ls

2004-01-25 Thread Dan Welch
On Sun, Jan 25, 2004 at 02:09:29PM -0500, Andrea Venturoli wrote:
 Hello.
 I've built a mailserver with FreeBSD 5.1, which uses nss_ldap for the
 user database, and sendmail-ldap from the port collection. Everything
 works fine except forward files. I've arranged sendmail to keep them
 all in one directory by user name; however this only works for users
 which are in /etc/passwd, not for those that are stored in LDAP.

 Something which might be related: if I do ls -l I can see the
 usernames, again, only for users which are in /etc/passwd, for those
 that are in LDAP I see the uid number instead. Is this normal?

 Any hint is appreciated.
 
  bye  Thanks av.

This amounts to only a hint, but my copy of the port says
Currently this is an experimental port, with
support only for the `passwd' and `group' databases.
which sounds very much like the problem you describe. You 
may need to use a more complete ldap system such as openldap
which is also in the ports.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]