Can add with GUI, not with ldapmodify

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

 



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    
---------------------------------------------




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux