erro ldap

1. erro ldap

Lucas
bhlucas

(usa CentOS)

Enviado em 26/07/2012 - 11:16h

Ola pessoal tudo bem

Estou configurando um servidor PDC + SAMBA + LDAP configuei praticamente tudo.Quando vou iniciar o serviço LDAP aparece esse erro nos logs:

slapd[32601]: main: TLS init def ctx failed: -1
slapd[32601]: slapd stopped.
slapd[32601]: connections_destroy: nothing to destroy.
systemd[1]: ldap.service: control process exited, code=exited status=1
systemd[1]: Unit ldap.service entered failed state.

O erro aparece no TLS dos certs so que o caminho dos certs esta la, quando eu comento o serviço roda agora quando eu dou o comando:

#smbldap-usseradd <usuarios>

aparece esse erro nos logs:

slapd[6946]: conn=1001 fd=13 ACCEPT from IP=127.0.0.1:33702 (IP=0.0.0.0:389)
slapd[6946]: conn=1001 op=0 BIND dn="cn=Manager,dc=testeecb,dc=com" method=128
slapd[6946]: conn=1001 op=0 BIND dn="cn=Manager,dc=testeecb,dc=com" mech=SIMPLE ssf=0
slapd[6946]: conn=1001 op=0 RESULT tag=97 err=0 text=
slapd[6946]: conn=1001 op=1 SRCH base="dc=testeecb,dc=com" scope=2 deref=2 filter="(&(objectClass=posixAccount)(uid=lucas2))"
slapd[6946]: conn=1001 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
slapd[6946]: conn=1001 op=2 SRCH base="cn=NextFreeUnixId,dc=testeecb,dc=com" scope=0 deref=2 filter="(objectClass=sambaUnixIdPool)"
slapd[6946]: conn=1001 op=2 SRCH attr=uidNumber
slapd[6946]: conn=1001 op=2 SEARCH RESULT tag=101 err=32 nentries=0 text=
slapd[6946]: conn=1001 fd=13 closed (connection lost)

E no comando:

failed to perform search; No such object at /usr/lib/perl5/vendor_perl/5.12.3/smbldap_tools.pm line 451.
Failed to search sambaUnixIdPool to get next uidNumber: No such object at /usr/lib/perl5/vendor_perl/5.12.3/smbldap_tools.pm line 1199.





  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts