ldap basic
Tony Heaton
theaton at lanl.gov
Wed Feb 22 20:16:55 UTC 2006
A little more information is need to diagnose the problem.
The ldapadd command must match your slapd.conf and ldif entries. Below
is an example
slapd.conf:
<snip>
access to *
by * read
by dn.base="cn=Manager,dc=frop,dc=net" write
by self write
by anonymous auth
<snip>
database bdb
suffix "dc=frop,dc=net"
rootdn "cn=Manager,dc=frop,dc=net"
<snip>
initial.ldif:
dn: dc=frop,dc=net
objectClass: dcObject
objectClass: organization
o: LDAP
dc: frop
dn: cn=Manager, dc=frop,dc=net
objectClass: organizationalRole
cn: Manager
dn: ou=People, dc=frop,dc=net
objectClass: top
objectClass: organizationalUnit
ou: People
dn: ou=Groups, dc=frop,dc=net
objectClass: top
objectClass: organizationalUnit
ou: Groups
ldapadd command:
ldapadd -x -D "cn=Manager,dc=frop,dc=net" -W -f initial.ldif
On Wed, 2006-02-22 at 20:02 +0000, azeem ahmad wrote:
> i installed openldap and changed sldap as directed by howto
> and set
> rootpw secret
>
> but now when i use ldapadd to add data and it asks for password, i give
> secret
> but it says
> ldap_bind: Invalid credentials (49)
>
> Regards
> Azeem
>
>
--
Tony Heaton
CCN-9
(505)667-9015
Pager (505)996-3184
theaton at lanl.gov
- "If you do nothing, they'll win"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060222/7fc9c5c0/attachment-0001.sig>
More information about the fedora-list
mailing list