Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. #1
    serrato
    galera segue abaixo o meu sladp.conf

    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
    está exatamente igual a um tutorial do Fábio Prando Bortolotto (tá no www.ldap.org.br)
    e não funciona, naum sei o q pode ser nem o que fazer... :toim: :toim:

    tem tb o ldap.conf
    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
    tá igual tb...

    alguém pode me ajudar...
    PS: tô usando fedora 4

  2. #2
    se vc dissesse qual eh o erro ajudaria



  3. #3
    serrato
    Código :
    [root@serrato ~]# service ldap start
    Checking configuration files for slapd:                    [FALHOU]
    [root@serrato ~]#

  4. #4
    jotacekm
    experimenta dar um ./slaptest -d 4
    pra saber em qual linha esta o erro



  5. #5
    serrato
    opa já melhorou MUITO...

    o problema agora é q o serviço levanta e já cai...

    executando ./slaptest -d 4 tá dando isso:

    [root@serrato sbin]# ./slaptest -d 4
    bdb_back_initialize: Sleepycat Software: Berkeley DB 4.3.27: (December 22, 2004)
    bdb_back_initialize: Sleepycat Software: Berkeley DB 4.3.27: (December 22, 2004)
    bdb_db_init: Initializing BDB database
    bdb_db_open: dc=serrato,dc=intranet
    bdb_db_open: db_open(/var/lib/ldap) failed: No such file or directory (2)
    backend_startup: bi_db_open failed! (2)
    slap_startup failed (test would succeed using the -u switch)

    dai testei com ./slaptest -u e deu:
    config file testing succeeded

    mas continuou sem funcionar...






Tópicos Similares

  1. samba naum funfa...
    Por serrato no fórum Servidores de Rede
    Respostas: 18
    Último Post: 07-10-2005, 18:15
  2. firewall e nat... naum funfa...socorro
    Por evandrofisico no fórum Servidores de Rede
    Respostas: 0
    Último Post: 19-09-2005, 21:17
  3. Ldap+Samba= naum loga no Win2000
    Por NetServer no fórum Servidores de Rede
    Respostas: 8
    Último Post: 16-03-2005, 18:18
  4. PHP naum funfa!
    Por PiTsA no fórum Servidores de Rede
    Respostas: 7
    Último Post: 01-02-2003, 02:20
  5. Ldap + AD
    Por no fórum Servidores de Rede
    Respostas: 1
    Último Post: 30-09-2002, 13:58

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L