uid=([^,]*),cn=[^,]*,cn=auth
uid=$1,ou=people,dc=example,dc=com
+# Simple mapping of all peercred users to the admin user - to allow for ldapi:// "anonymous" admin connections
+# Definitely testing only as this lets any local user be admin.
+authz-regexp
+ gidNumber=([0-9]*)+uidNumber=([0-9])*,cn=peercred,cn=external,cn=auth
+ cn=admin,dc=example,dc=com
+
#######################################################################
# mdb database definitions can be added here, or added by ldapadd
#######################################################################