Does anyone know what the unix UID is deleting a user in USRMGR? I'm using Samba with ldap and while I can create users just fine with usrmgr (logged in as myself, but when I delete a user, it seems to have trouble running my "delete user script"
My samba log shows: [2005/09/15 10:19:42, 1] lib/smbldap.c:another_ldap_try(1011) Connection to LDAP server failed for the 15 try! [2005/09/15 10:19:43, 0] lib/smbldap.c:smbldap_open(882) smbldap_open: cannot access LDAP when not root.. [2005/09/15 10:19:43, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(2763) ldapsam_setsamgrent: LDAP search failed: Timed out [2005/09/15 10:19:43, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2828) ldapsam_enum_group_mapping: Unable to open passdb [2005/09/15 10:19:43, 0] rpc_server/srv_samr_nt.c:smb_delete_user(3810) smb_delete_user: Running the command `/etc/samba/smbldap/smbldap-userdel -r 'test'' gave 6 [2005/09/15 10:19:43, 0] lib/smbldap.c:smbldap_open(882) smbldap_open: cannot access LDAP when not root.. The ldap server is setup to allow my uid full access to the database. Is it possible that the ldap record is deleted before the delete script is called? Using Sambe 3.0.14a SMB.CONF excerpt add user script = /etc/samba/smbldap/smbldap-useradd -m '%u' delete user script = /etc/samba/smbldap/smbldap-userdel -r '%u' -------------------- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
