分类:
2010-02-26 17:30:20
include /etc/openldap/schema/core.schemainclude /etc/openldap/schema/cosine.schemainclude /etc/openldap/schema/inetorgperson.schemainclude /etc/openldap/schema/rfc2307bis.schemainclude /etc/openldap/schema/yast.schemainclude /etc/openldap/schema/dnszone.schemapidfile /var/run/slapd/slapd.pidargsfile /var/run/slapd/slapd.argsmodulepath /usr/lib/openldap/modulesaccess to dn.base=""by * readaccess to dn.base="cn=Subschema"by * readaccess to attr=userPassword,userPKCS12by self writeby * authaccess to attr=shadowLastChangeby self writeby * readaccess to *by * readloglevel 0TLSCertificateFile /etc/ssl/servercerts/servercert.pemTLSCACertificatePath /etc/ssl/certs/TLSCertificateKeyFile /etc/ssl/servercerts/serverkey.pemdatabase bdbsuffix "dc=MOODISK,dc=com"rootdn "cn=Administrator,dc=MOODISK,dc=com"rootpw "{ssha}beH49k63xYTqDMzIRKIZRLAWv2tGT1lTRg=="directory /var/lib/ldap/MOODISKcheckpoint 1024 5cachesize 10000index objectClass,uidNumber,gidNumber eqindex member,mail eq,presindex cn,displayname,uid,sn,givenname sub,eq,presreplogfile "/tmp/ldapfile.log"replica uri=ldap://ldapslave.MOODISK.combinddn="cn=Administrator,dc=MOODISK,dc=com"bindmethod=simple credentials=Hua123wei
TLS_REQCERT allowhost ldapserver.MOODISK.combase dc=MOODISK,dc=com
# LDIF Export for: dc=MOODISK,dc=com# Server: MOODISK's LDAP Server (ldapserver.MOODISK.com)# Search Scope: sub# Search Filter: (objectClass=*)# Total Entries: 22dn: dc=MOODISK,dc=comdc: MOODISKo: MOODISKobjectClass: dcObjectobjectClass: organizationobjectClass: topdn: ou=autofs,dc=MOODISK,dc=comobjectClass: organizationalUnitou: autofsdn: nisMapName=auto.master,ou=autofs,dc=MOODISK,dc=comobjectClass: nisMapnisMapName: auto.masterdn: cn=/apps,nisMapName=auto.master,ou=autofs,dc=MOODISK,dc=comnisMapEntry: ldap ldapserver.MOODISK.com:nisMapName=auto.misc,ou=autofs,dc=MOODISK,dc=comnisMapName: auto.masterobjectClass: nisObjectobjectClass: topcn: /appsdn: cn=/ldapusers,nisMapName=auto.master,ou=AUTOFS,dc=MOODISK,dc=comobjectClass: nisObjectnisMapName: auto.masternisMapEntry: ldap ldapserver.MOODISK.com:nisMapName=auto.mounts,ou=autofs,dc=MOODISK,dc=comcn: /ldapusersdn: nisMapName=auto.misc,ou=autofs,dc=MOODISK,dc=comobjectClass: nisMapnisMapName: auto.miscdn: cn=tools,nisMapName=auto.misc,ou=autofs,dc=MOODISK,dc=comnisMapEntry: -fstype=nfs,rw nfsserver.MOODISK.com:/AppDirobjectClass: nisObjectnisMapName: auto.miscdescription: This is directory which includes all applicationscn: toolsdn: nisMapName=auto.mounts,ou=autofs,dc=MOODISK,dc=comobjectClass: nisMapnisMapName: auto.mountsdn: ou=group,dc=MOODISK,dc=comobjectClass: topobjectClass: organizationalUnitou: groupdn: ou=ldapconfig,dc=MOODISK,dc=comobjectClass: topobjectClass: organizationalUnitou: ldapconfigdn: cn=groupconfiguration,ou=ldapconfig,dc=MOODISK,dc=comcn: groupconfigurationobjectClass: topobjectClass: suseModuleConfigurationobjectClass: suseGroupConfigurationsuseDefaultBase: ou=group,dc=MOODISK,dc=comsuseDefaultTemplate: cn=grouptemplate,ou=ldapconfig,dc=MOODISK,dc=comsuseMaxUniqueId: 60000suseMinUniqueId: 10000suseSearchFilter: objectclass=posixgroupsuseNextUniqueId: 10002dn: cn=grouptemplate,ou=ldapconfig,dc=MOODISK,dc=comcn: grouptemplateobjectClass: topobjectClass: suseObjectTemplateobjectClass: suseGroupTemplatesuseNamingAttribute: cnsusePlugin: UsersPluginLDAPAlldn: ou=Mailserver,dc=MOODISK,dc=comobjectClass: organizationalUnitou: Mailserverdn: cn=Mailserver,ou=ldapconfig,dc=MOODISK,dc=comcn: MailserverobjectClass: suseMailConfigurationsuseDefaultBase: ou=Mailserver,dc=MOODISK,dc=comsuseImapAdmin: cyrussuseImapDefaultQuota: 10000suseImapServer: localhostsuseImapUseSsl: FALSEdn: cn=userconfiguration,ou=ldapconfig,dc=MOODISK,dc=comcn: userconfigurationobjectClass: topobjectClass: suseModuleConfigurationobjectClass: suseUserConfigurationsuseDefaultBase: ou=people,dc=MOODISK,dc=comsuseDefaultTemplate: cn=usertemplate,ou=ldapconfig,dc=MOODISK,dc=comsuseMaxPasswordLength: 10suseMaxUniqueId: 60000suseMinPasswordLength: 1suseMinUniqueId: 10000susePasswordHash: CRYPTsuseSearchFilter: objectclass=posixaccountsuseSkelDir: /etc/skelsuseNextUniqueId: 10000dn: cn=usertemplate,ou=ldapconfig,dc=MOODISK,dc=comcn: usertemplateobjectClass: topobjectClass: suseObjectTemplateobjectClass: suseUserTemplatesuseNamingAttribute: uidsusePlugin: UsersPluginLDAPAllsusePlugin: UsersPluginMailsuseDefaultValue: homedirectory=/export/users/%uidsuseDefaultValue: loginshell=/bin/bashdn: ou=people,dc=MOODISK,dc=comobjectClass: topobjectClass: organizationalUnitou: people
[libdefaults]clockskew = 300default_realm = MOODISK.COM[realms]MOODISK.COM = {kdc = krb5server.MOODISK.comdefault_domain = MOODISK.comadmin_server = krb5server.MOODISK.comkpasswd_server = krb5server.MOODISK.com}[domain_realm].MOODISK.com = MOODISK.COM[logging]default = SYSLOG:NOTICE:DAEMONkdc = FILE:/var/log/kdc.logkadmind = FILE:/var/log/kadmind.log[appdefaults]pam = {ticket_lifetime = 1drenew_lifetime = 1dforwardable = trueproxiable = falseretain_after_close = falseminimum_uid = 0debug = false}
service hprop{socket_type = streamprotocol = tcpwait = noport = 754user = rootserver = /usr/sbin/hpropddisable = no}
/export/users *(rw,no_root_squash,sync)/apps *(ro,root_squash,sync)
$ldapservers->SetValue($i,'server','name','MOODISK\'s LDAP Server');$ldapservers->SetValue($i,'server','host','ldapserver.MOODISK.com');$ldapservers->SetValue($i,'server','port','389');$ldapservers->SetValue($i,'server','base',array('dc=MOODISK,dc=com'));
……DirectoryIndex index.html index.php index.html.var……
……DocumentRoot "/srv/www/phpldapadmin"…………
PasswordAuthentication yesChallengeResponseAuthentication noKerberosAuthentication yesKerberosOrLocalPasswd yesKerberosTicketCleanup yesGSSAPIAuthentication yesGSSAPICleanupCredentials yes