Hi All,
Am new. I have LDAP running on a server and created accounts using OXAdmin tool form Openxchange, now I want to integrate samba as a PDC and I have noticed there are no home directories for users created using the tool. Should I create users in /etc/passwd, I want to use the already existing users in LDAP and have them log in to the domain. How can I setup this please help!?
Kind regards
Teddy L.
............................................................................ ...........
Teddy Lubasi Nyambe
Assistant Principal Clerk ICT - Applications
National Assembly of Zambia
P.O. Box 31299
Lusaka, ZAMBIA
Phone: +260 1 292425
Cell: +260 97 7760473
~/
Human Knowledge belongs to the world! - AntiTrust
Man is a tool-using animal. Without tools he is nothing, with tools he is all - Thomas Carlyle 1795-1881
As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. Benjamin Franklin
/~
On Tuesday 26 February 2008 08:43:39 Teddy L. Nyambe wrote:
Hi All,
Am new. I have LDAP running on a server and created accounts using OXAdmin tool form Openxchange, now I want to integrate samba as a PDC and I have noticed there are no home directories for users created using the tool. Should I create users in /etc/passwd,
Having entries in /etc/passwd has nothing to do with whether the home directory exists.
nss_ldap is there to provide user information the the c library functions for users in LDAP, as if they were in /etc/passwd. Did you install and configure nss_ldap? If you did, then 'getent passwd' should return the details about the user.
If you just want the home directories to be created automatically, when only the actual home directory itself is missing, add pam_mkhomedir to your PAM configuration, and configure samba with 'obey pam restrictions = yes'
I want to use the already existing users in LDAP and have them log in to the domain. How can I setup this please help!?
If this mail doesn't answer your questions, you probably need to state your question in more detail.
Regards, Buchan
openldap-technical@openldap.org