galera segue abaixo o meu sladp.conf
está exatamente igual a um tutorial do Fábio Prando Bortolotto (tá no www.ldap.org.br)Código :include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/java.schema #include /etc/openldap/schema/krb5-kdc.schema include /etc/openldap/schema/misc.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/openldap.schema include /etc/openldap/schema/samba.schema # Allow LDAPv2 client connections. This is NOT the default. allow bind_v2 # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org # arquivos gerados para os processos do LDAP pidfile /var/run/slapd.pid argsfile /var/run/slapd.args ####################################################################### # ldbm and/or bdb database definitions ####################################################################### schemacheck on database bdb suffix "dc=serrato,dc=intranet" rootdn "cn=admin,dc=serrato,dc=intranet" rootpw {SSHA}wG7f+YZWBNXH+hLVMAdSX7h6pHNgLdCz # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /var/lib/ldap lastmod on idletimeout 30 checkpoint 1024 5 cachesize 10000 index objectClass eq index cn pres,sub,eq index sn pres,sub,eq index uid pres,sub,eq index displayName pres,sub,eq index uidNumber eq index digNumber eq index memberUID eq index sambaUID eq index sambaPrimaryGroupSID eq index sambaDomainName eq index default sub # Atributos de acesso a base access to dn.base="" by self write by * auth access to attr=userPassword by self write by * auth access to attr=shadowLastChange by self write by * read access to * by * read by anonynous auth
e não funciona, naum sei o q pode ser nem o que fazer... :toim: :toim:
tem tb o ldap.conf
tá igual tb...Código :HOST 127.0.0.1 BASE dc=serrato,dc=intranet binddn cn=admin,dc=serrato,dc=intranet bindpw serrato timelimit 50 bind_timelimit 50 bind_policy hard idle_timelimit 3600 pam_password exop ssl off nss_base_passwd ou=Usuarios,dc=serrato,dc=intranet?one nss_base_shadow ou=Usuarios,dc=serrato,dc=intranet?one nss_base_group ou=Grupos,dc=serrato,dc=intranet?one
alguém pode me ajudar...
PS: tô usando fedora 4