Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

samba and openldap

Status
Not open for further replies.

cmaesen

Technical User
Jan 19, 2009
3
BE
I installed/configured openldap (2.3.27) and samba (3.0.28) on CentOS5.2
At the moment I have problems with smbldap-tools (0.9.2).
I can create "users smbldap-useradd -a -m user1"
The user can connect to the shares and can do a ssh.
But if I do for example "smbldap-usermod -s /bin/false user1" the user can still do a ssh.
If I check the LDAP the entry is updated to /bin/false.
I have the same problem if I change groups "smbldap-usermod -G group1" user 1. When I run "id" the user is not member of group1
The entries are updated within the LDAP-database, but for some reason the OS is not aware of these changes.
(openldap, samba, sshd are running on the same machine)
Can someone tell where to look ?
Thanks in advance.
 
I have find the solution.
The nscd daemon was the problem. It's a ldap/nis/... caching daemon. When I stop this service smbldap-usermod is working.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top