ons, 08.06.2005 kl. 03.40 skrev Andreas Bauer:
[...]
> amd:/etc/samba # /usr/bin/ldapadd -h 127.0.0.1 -D
> "cn=admin,dc=samba,dc=junits" -x -W -f /etc/openldap/example.ldif
> Enter LDAP Password:
> ldap_bind: Invalid credentials (49)
>
> I took the rootpw secret. I did an account for admin, too
Hello!
The slapdlogs and slapd is running now. Telnet localhost 389 is also
running. Thanks vey much.
Now, my next problems are with ldapadd:
amd:/etc/samba # /usr/bin/ldapadd -h 127.0.0.1 -D
"cn=admin,dc=samba,dc=junits" -x -W -f /etc/openldap/example.ldif
Enter LDAP Password:
ldap_bind: Inval
tir, 07.06.2005 kl. 01.45 skrev Andreas:
> >> amd:~ # telnet localhost 389
> >> Trying 127.0.0.1...
> >> telnet: connect to address 127.0.0.1: Connection refused
> >> Trying ::1...
> >> telnet: connect to address ::1: Connection refused
> >
> > slapd is not running, check your logs.
> >
> > --Tonn
amd:~ # telnet localhost 389
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
slapd is not running, check your logs.
--Tonni
I didn't found any logfile about openldap in my /etc/openldap folder and
Andreas wrote:
> Hello!
> Server Starting is ok: no errormessage:
> /usr/lib/openldap/slapd restart
check with pidof, a startscript succeeding is not a good sign of success.
>
> But Testing, not:
> amd:~ # telnet localhost 389
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection