Continuing the discussion from Openldap administration:
I’d give a try to luserdel
Let me know how it goes!
hmm, that does not work…
[root@pdc01 ~]# luserdel testmachine$ User testmachine$ does not exist.
But user is definetly there:
[root@pdc01 ~]# getent passwd | grep testmachine
testmachine$:*:5006:504:testmachine$ Samba machine account:/none:
does the ldap way work?
Bash requires $ escaped, so
luserdel testmachine\$
Or
luserdel 'testmachine$'
Hi,
did you try with the user “libuser”?
The password can be found in /var/lib/nethserver/secrets/libuser
(It ist the user i use to query the ldap at the moment, but I don’t know (and cannot test) if there is an ACL for write-access in the DIT)
Indeed the luserdel command comes with libuser and does the LDAP wodoo by itself!
4 posts were split to a new topic: Deleting Samba Machine Account