1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | # /etc/openldap/slapd.conf # last modified, 4/20/02 by TMS include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/redhat/rfc822-MailMember.schema include /etc/openldap/schema/redhat/autofs.schema include /etc/openldap/schema/redhat/kerberosobject.schema include /etc/openldap/schema/samba.schema pidfile //var/run/slapd.pid argsfile //var/run/slapd.args #Sample Access Control # Allow read access of root DSE # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate access to dn="" by * read access to * by self write by users read by anonymous auth # if no access controls are present, the default is: # Allow read by all # rootdn can always write ############################################### ############# ldbm database definitions############# ############################################### database ldbm suffix "dc=syroidmanor,dc=com" rootdn "cn=Manager,dc=syroidmanor,dc=com" rootpw secret # The database directory MUST exist prior to running slapd AND # should only be accessibleby the slapd/tools. Mode 700 recommended. directory /var/lib/ldap # Indices to maintain index primaryGroupID eq index rid eq index uid eq index uidNumber eq index gidNumber eq index cn pres,sub,eq index objectClass eq index default sub # ends |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |