Gentoo Archives: gentoo-user-br

From: flaviobarros.gyn@×××××××.br
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] OFF: OpenLDAP
Date: Tue, 18 Dec 2007 11:54:04
Message-Id: 43866.201.75.43.168.1197978809.squirrel@nwebmail.pop.com.br
In Reply to: Re: [gentoo-user-br] OFF: OpenLDAP by flaviobarros.gyn@pop.com.br
1 Basta remover /var/lib/openldap-data/ e startar novamente,
2
3
4
5 >
6 >
7 > Consegui resolver.
8 > Era uma
9 configuração errada no
10 > slapd.conf mesmo.
11 >
12
13 > Minha dúvida agora é como
14 > recriar a
15 minha base ? Ou seja, como zerar a base ?
16 >
17 >
18 >
19
20 > Abraços,
21 >
22 >
23 >>
24 >> Oi Bom dia,
25 >>
26 >
27 >>
28 Experimente:
29 >>
30 >> ldapsearch -x -LLL -D
31 >
32 cn=Manager,dc=fametro,dc=edu,dc=br -h <host-ip> -b
33 >>
34 > dc=fametro,dc=edu,dc=br" -W
35 >>
36 >> O
37 arquivo de
38 > configuracao e so isso ou tem mais ?
39 >>
40 Nao tem nenhuma diretiva de
41 > ACL ?
42 >> Voce criou a
43 base inicial?
44 >> Oque aparece no seu
45 > diretorio
46 >> /var/lib/openldap-data/ ?
47 >>
48 >> :)
49 >>
50 >>
51 >>
52 >>
53 >>
54 > flaviobarros.gyn@×××××××.br wrote:
55 >>>
56 >>> Senhores,
57 > boa noite.
58 >>> Fiz a
59 instalação do OpenLDAP de
60 >>> acordo com o
61 tutorial
62 >>>
63 >
64 http://gentoo-wiki.com/HOWTO_LDAP_SAMBA_PDC_Basic_Setup
65 >>>
66 >>> Porém não consigo utilizar
67 o Manager.
68 >>> # ldapsearch -x
69 >>> -b
70 > "dc=fametro,dc=edu,dc=br" -LLL -D
71 >>>
72 > "cn=Manager,dc=fametro,dc=edu,dc=br" -W
73 >>>
74 Enter
75 > LDAP
76 >>> Password:
77 >>>
78 ldap_bind: Invalid credentials
79 > (49)
80 >>>
81 >>>
82 >>> Olha
83 >>> ai o meu
84 >
85 slapd.conf
86 >>> suffix
87 >>>
88 >
89 "dc=fametro,dc=edu,dc=br"
90 >>> rootdn
91 >>>
92 > "cn=Manager,dc=fametro,dc=edu,dc=br"
93 >>> rootpw
94 >>> {MD5}Bh82U76QR4+zI6J9uP86LA==
95 >>> directory
96 > /var/lib/openldap-data/
97 >>>
98 >>> Alguém tem
99 > idéia
100 de como resolver isso ?
101 >>>
102 >
103 Desde
104 >>> já agradeço,
105 >>>
106 >>
107 >>
108 > --
109 >> ---
110 >>
111 visite stoa.usp.br
112 >> ---
113 >>
114 > Software
115 Livre: Oque e isso?
116 >>
117 >
118 www.softwarelivre.gov.br/SwLivre/
119 >> ---
120 >>
121 > yunakaof(a)usp.br Nelson Yunaka +551130916313
122 >>
123 Universidade de
124 > Sao Paulo - USP ( SCSERED/DTO/CCE )
125 >> ---
126 >> AVISO:
127 >> Esta mensagem pode
128 conter informacao confidencial ou
129 > privilegiada.
130 >> Se
131 voce nao for o destinatario ou a pessoa
132 > autorizada a receber
133 >> esta mensagem, nao pode usar, copiar ou
134 > divulgar as
135 informacoes
136 >> nela contidas ou tomar qualquer acao
137 >
138 baseada nessas informacoes.
139 >> Se voce recebeu esta mensagem
140 por
141 > engano, favor avisar o remetente
142 >>
143 imediatamente, respondendo o
144 > e-mail e em seguida apague-a.
145 >> Obrigado pela cooperacao.
146 >> DISCLAIMER:
147 >> This message may contain confidential and/or
148 >
149 privileged information.
150 >> If you are not the addressee or
151 > authorized to receive this for the
152 >> addressee, you
153 must not use,
154 > copy, disclose or take any action based
155 >> on any information
156 > herein. If you have received this
157 message in
158 >> error, please
159 > advise the sender
160 immediately by replying to this
161 >> e-mail and
162 > delete
163 this message. Thank you for your cooperation.
164 >> --
165 >> gentoo-user-br@g.o mailing list
166 >>
167 >>
168 >