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



  1. #1
    gentoo_unisis
    depois de instalar o ldap e tentar startar o serviço com o comando ./slapd start

    aparece a seguinte mensagem:

    * Starting ldap-server ... [ !! ]

    sendo que no log messages aparece o seguinte erro:

    Aug 23 19:19:57 zeus slapd[11109]: No passwd entry for user ldap

    o meu arquivo slapd.conf esta da seguinte forma:

    #
    # See slapd.conf(5) for details on configuration options.
    # This file should NOT be world readable.
    #
    include /etc/openldap/schema/core.schema

    # Define SSL and TLS properties (optional)
    #TLSCertificateFile /etc/ssl/ldap.pem
    #TLSCertificateKeyFile /etc/openldap/ssl/ldap.pem
    #TLSCACertificateFile /etc/ssl/ldap.pem

    # Define global ACLs to disable default read access.

    # Do not enable referrals until AFTER you have a working directory
    # service AND an understanding of referrals.
    #referral ldap://root.openldap.org

    pidfile /var/run/openldap/slapd.pid
    argsfile /var/run/openldap/slapd.args

    # Load dynamic backend modules:
    # modulepath /usr/lib/openldap/openldap
    # moduleload back_bdb.la
    # moduleload back_ldap.la
    # moduleload back_ldbm.la
    # moduleload back_passwd.la
    # moduleload back_shell.la

    # Sample security restrictions
    # Require integrity protection (prevent hijacking)
    # Require 112-bit (3DES or better) encryption for updates
    # Require 63-bit encryption for simple bind
    # security ssf=1 update_ssf=112 simple_bind=64

    # Sample access control policy:
    i# Root DSE: allow anyone to read it
    # Subschema (sub)entry DSE: allow anyone to read it
    # Other DSEs:
    # Allow self write access
    # Allow authenticated users read access
    # Allow anonymous users to authenticate
    # Directives needed to implement policy:
    # access to dn.base="" by * read
    # access to dn.base="cn=Subschema" by * read

    access to attrs=userPassword
    by dn="cn=manager,o=unisis,c=br" write
    by self write
    by anonymous auth
    by * none

    # Full rights to the admin
    access to *
    by dn="cn=manager,o=unisis,c=br" write
    by * read

    # if no access controls are present, the default policy
    # allows anyone and everyone to read anything but restricts
    # updates to rootdn. (e.g., "access to * by * read")
    #
    # rootdn can always read and write EVERYTHING!

    #######################################################################
    # BDB database definitions
    #######################################################################

    database bdb

    suffix "dc=unisis,dc=br"
    rootdn "cn=Manager,dc=unisis,dc=br"

    # Cleartext passwords, especially for the rootdn, should
    # be avoid. See slappasswd(8) and slapd.conf(5) for details.
    # Use of strong authentication encouraged.

    #rootpw secret
    rootpw {MD5}vIkT22XHZaojkRfrr2t5Fw==

    # 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/openldap-data
    # Indices to maintain
    index objectClass eq



    e o arquivo ldap.conf esta assim:

    #
    # LDAP Defaults
    #

    # See ldap.conf(5) for details
    # This file should be world readable but not world writable.

    BASE dc=unisis, dc=br
    URI ldap://zeus.ldap.unisis.br:636/
    TLS_REQCERT allow





    Ja estou alguns dias tentando configurar o ldap e não saiu do lugar, uso o gentoo no servidor.

    se alguem puder me ajudar, agradeço muito...

    Falow



  2. Olá amigo,

    Tente comentar estas linhas e veja se consegue startar.

    access to attrs=userPassword
    by dn="cn=manager,o=unisis,c=br" write
    by self write
    by anonymous auth
    by * none

    # Full rights to the admin
    access to *
    by dn="cn=manager,o=unisis,c=br" write
    by * read

    BASE dc=unisis, dc=br
    URI ldap://zeus.ldap.unisis.br:636/
    TLS_REQCERT allow

    index objectClass eq

    Se funcionar, vá descomentando as poucos e veja se esta relacionado a algumas destas configurações.

    Valeu.



  3. #3
    gentoo_unisis
    então mesmo assim não subiu... o serviço...
    continua dando a mesma mensagem...

    !!!!!!! :mrgreen:

  4. Olá,

    Ele esta reclamando que não definida a senha do usuario do ldap, verifique isso.

    Abraços...


    Citação Postado originalmente por gentoo_unisis
    então mesmo assim não subiu... o serviço...
    continua dando a mesma mensagem...

    !!!!!!! :mrgreen:



  5. #5
    gentoo_unisis
    onde defino a senha?
    pois ja coloquei ela criptografada no arquio slap.conf.
    Tenho que definir um usuario ou deixar manager?






Tópicos Similares

  1. Problema ao startar o squid
    Por dandan25 no fórum Servidores de Rede
    Respostas: 3
    Último Post: 31-05-2006, 17:43
  2. Problemas ao receber e-mail
    Por ediguedes no fórum Servidores de Rede
    Respostas: 2
    Último Post: 04-09-2002, 12:30
  3. QMAIL URGENTE - Problemas ao enviar e-mails
    Por chelio no fórum Servidores de Rede
    Respostas: 1
    Último Post: 21-08-2002, 10:05
  4. QMAIL URGENTE - Problemas ao enviar e-mails
    Por chelio no fórum Servidores de Rede
    Respostas: 0
    Último Post: 21-08-2002, 10:00
  5. Problemas ao adicionar o samba ao dominio nt
    Por clmr no fórum Servidores de Rede
    Respostas: 0
    Último Post: 23-04-2002, 10:31

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L