Hey all, first off, I must admit: great work so far =)
I have a question though, how would it be possible to administer the ldap db remotely with tools like
ApacheDirectory Browser?
I tried already with the admin account, but every attempt to modify the schema fails with "no write access to parent"
I would like to delete a machine account, is there any other way to achieve this, without fiddling with ldap?
Hey, yes using the libuser as well.
But there seems to be no acl in place, at least not in ldap.conf… Is there a way to give the domain admin write access via acl somehow? In the meantime i will give the escaped command a shot, didnt knew that…
Why not? This seems a good idea to me! @Nas, would you like to start writing an howto about phpLDAPadmin on NethServer? The HowToMaster @AbsyntH could give an hint on this!
I think it´s not phpldapadmin what is needed - there are ldap browsers/editors out there - we just need a remote user with write access to the schema…
So as far as i can see, only localhost is allowed to write to the directory!?
@nas Great work! It does not modify any configuration file managed by templates. Thus it’s OK for me.
@feenix: the root user has full privileges on the LDAP tree through the ldapi:// socket. This is the CentOS default. Just remember to use -Y EXTERNAL option on ldap* commands. For instance
ldapsearch -Y EXTERNAL -b cn=config
ldapdelete -Y EXTERNAL 'uid=yourmachine$' # <- does it work?
Unfortunately some services (like samba or libuser) don’t like ldapi:// and require an account. And ACLs. To inspect LDAP ACLs use the commands from
be careful when accessing LDAP. It is the Unix and Samba accounts backend. It contains very sensitive informations. It’s more than /etc/passwd. It’s like /etc/shadow.