Re: Can add with GUI, not with ldapmodify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

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@xxxxxxxxxxx
>gecos: Tony Tester
>homeDirectory: /usr/local/home/tester
>userPassword: {SSHA}yYUVdAn95yDfzbIK92SuL0jK0cCnU//A
>
>-- 
>- Kyle 
>---------------------------------------------
>kylet@xxxxxxxxx   http://www.panix.com/~kylet    
>---------------------------------------------
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users@xxxxxxxxxx
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux