[Fedora-directory-users] Can add with GUI, not with ldapmodify
Kyle Tucker
kylet at panix.com
Sun Oct 22 14:35:51 UTC 2006
On Sat, Oct 21, 2006 at 06:09:51PM -0500, Chris St. Pierre wrote:
> What happens if you try to bind as the directory manager to create
> Tony Tester's entry? I.e.,
>
> ldapmodify -x -a -W -D "cn=directory manager" -h -f addtester.ldif
I named my directory manager just "Manager" instead of "Directory
Manager" so I could use the same scripts and templates with OpenLDAP
as I am comparing the two to decide on which to implement. Is that
a problem?
> On Sat, 21 Oct 2006, Kyle Tucker wrote:
>
> >Hi,
> > New clean installation of Fedora DS 1.0.2 on FC5. I
> >added a first user with the admin console, exported it to see
> >its attributes and made a template to add a new user via LDIF
> >like below. If I try to add it with ldapmodify, I get this:
> >
> >ldapmodify -x -a -W -D "cn=Manager,dc=testdom,dc=net" -h \
> >localhost -f addtester.ldif
> >Enter LDAP Password:
> >ldap_bind: No such object (32)
> > matched DN: dc=testdom,dc=net
> >
> >If import the exact same LDIF file with the admin console, it
> >goes right in and all the attributes are fine.
> >
> >Any ideas? Thanks.
> >
> >dn: uid=tester, ou=People, dc=testdom,dc=net
> >changetype: add
> >objectClass: top
> >objectClass: person objectClass: organizationalPerson
> >objectClass: inetorgperson
> >objectClass: posixAccount
> >ou: People cn: Tony Tester
> >sn: Tester
> >givenName: Tony
> >uid: tester telephoneNumber: 603-555-1212
> >loginShell: /bin/sh
> >gidNumber: 100
> >uidNumber: 503 mail: tester at testdom.net
> >gecos: Tony Tester
> >homeDirectory: /usr/local/home/tester
> >userPassword: {SSHA}yYUVdAn95yDfzbIK92SuL0jK0cCnU//A
> >
> >--
> >- Kyle
> >---------------------------------------------
> >kylet at panix.com http://www.panix.com/~kylet
> >---------------------------------------------
> >
> >--
> >Fedora-directory-users mailing list
> >Fedora-directory-users at redhat.com
> >https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
--
- Kyle
---------------------------------------------
kylet at panix.com http://www.panix.com/~kylet
---------------------------------------------
More information about the 389-users
mailing list