I don't seem to be able to run ldapmodify using sudo - the above command returns an insufficient access message.
kirk@freedom:/tmp$ sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f fixRootDSE.ldif [sudo] password for kirk: SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={-1}frontend,cn=config" ldap_modify: Insufficient access (50)
I don't seem to be able to run ldapmodify using sudo - the above command returns an insufficient access message.
kirk@freedom:/tmp$ sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f fixRootDSE.ldif 0+uidNumber= 0,cn=peercred, cn=external, cn=auth {-1}frontend, cn=config"
[sudo] password for kirk:
SASL/EXTERNAL authentication started
SASL username: gidNumber=
SASL SSF: 0
modifying entry "olcDatabase=
ldap_modify: Insufficient access (50)