Skip to content

Enabling Autobind

Endi S. Dewata edited this page Feb 18, 2023 · 1 revision

Enabling Autobind

$ ldapmodify -h server.example.com -p 389 -x -D "cn=Directory Manager" -w Secret.123
dn: cn=config
changetype: modify
replace: nsslapd-ldapiautobind
nsslapd-ldapiautobind: on
-
add: nsslapd-ldapimaptoentries
nsslapd-ldapimaptoentries: on
-
add: nsslapd-ldapiuidnumbertype
nsslapd-ldapiuidnumbertype: uidNumber
-
add: nsslapd-ldapigidnumbertype
nsslapd-ldapigidnumbertype: gidNumber
-
add: nsslapd-ldapientrysearchbase
nsslapd-ldapientrysearchbase: dc=ca,dc=example,dc=com
-
add: nsslapd-ldapimaprootdn
nsslapd-ldapimaprootdn: cn=Directory Manager

Restart the server:

$ systemctl restart [email protected]

See Also