Re: RE [Samba] How do I ask samba to synch database with ldap?

2006-10-30 Thread beast

[EMAIL PROTECTED] wrote:


Do you have  ACL in your ldap server
---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467


Yes of course, but it does not prevent the samba acount to get full 
write access to the directory (in fact for other operation is succesfull)

.
--beast

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] How do I ask samba to synch database with ldap?

2006-10-27 Thread beast


Samba seems did not obey changes in ldap, but used its own cache database.
How do I ask samba to sync its database with ldap?
Or if its not possible, can we use ldap_replace instead of 
ldap_delete and ldap_add?



root# smbpasswd -D10
...
smbldap_modify: dn = [uid=cpklia,ou=people,ou=cempaka,dc=mydomain,dc=com]
rebindproc_connect_with_state: Rebinding as 
cn=smbsys,ou=cempaka,dc=mydomain,dc=com
ldapsam_modify_entry: Failed to modify user dn= 
uid=cpklia,ou=people,ou=cempaka,dc=mydomain,dc=com with: No such attribute

   modify/delete: sambaPwdCanChange: no such value
ldapsam_update_sam_account: failed to modify user with uid = cpklia, 
error: modify/delete: sambaPwdCanChange: no such value (Success)

Failed to modify entry for user cpklia.
Failed to modify password entry for user cpklia


root# pdbedit -L -v cpklia
...
Logon time:   0
Logoff time:  Sat, 14 Dec 1901 03:45:51 GMT
Kickoff time: 0
Password last set:Tue, 22 Aug 2006 00:21:47 GMT
Password can change:  Tue, 22 Aug 2006 00:21:47 GMT
Password must change: Sat, 21 Oct 2006 00:21:47 GMT
Last bad password   : 0
Bad password count  : 0
Logon hours : FF

root# ldapsearch uid=cpklia
...
sambaPwdCanChange: 1161392946
sambaPwdMustChange: 1166576946
...



--beast

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba