How is the LDAP administrator account configured when the rootdn and rootpw directives are not present in the slapd.conf file?
How is the LDAP administrator account configured when the rootdn and rootpw directives are not present in the slapd.conf file?
In the absence of the rootdn and rootpw directives in the slapd.conf file, the LDAP administrator account configuration relies on Access Control Lists (ACL). This allows the admin account to be defined within the configuration of ACLs in slapd.conf, where specific permissions and user attributes are managed.
Anyone have a reference for where this answer is from? Best I could find in the manpages was that if rootdn/rootpw aren't defined, the system falls back to SASL.
While the config backend is always present inside slapd, by default it is only accessible by its rootDN, and there are no default credentials assigned so unless you explicitly configure a means to authenticate to it, it will be unusable I think answer B is correct.
B is correct. Because rootdn/rootpw will be defined in acl in this case
B is correct!