Main Page | Report this Page
Linux Forum Index  »  Linux Miscellaneous Topics  »  openldap samba question...
Page 1 of 1    

openldap samba question...

Author Message
D3vN0ll...
Posted: Mon Jan 19, 2009 8:38 am
Guest
I installed/configured openldap (2.3.27) and samba (3.0.2Cool 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.
Can someone tell where to look ?
Thanks in advance.
 
D3vN0ll...
Posted: Mon Jan 19, 2009 12:21 pm
Guest
D3vN0ll schreef:
Quote:
I installed/configured openldap (2.3.27) and samba (3.0.2Cool 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.
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/... chacing daemon.
When I stop this service smbldap-usermod is working.
 
D3vN0ll...
Posted: Mon Jan 19, 2009 12:53 pm
Guest
D3vN0ll schreef:
Quote:
D3vN0ll schreef:
I installed/configured openldap (2.3.27) and samba (3.0.2Cool 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.
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/... chacing daemon.
When I stop this service smbldap-usermod is working.
chacing=caching
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Nov 30, 2009 10:30 am