[Date Prev][Date Next] [Chronological] [Thread] [Top]

dumping to std out?



I've so far supposedly added 2 entries to my ldap for users...  I made an
ldif file with this:
--------------------------------------------------------------------------
dn: cn=Robert L Harris,dc=mycompany,dc=com
cn: Robert L. Harris
cn: Robert Harris
cn: Rob Harris
objectClass: person
sn: Harris

# Organization for Example Corporation
dn: cn=Kenny Root,dc=mycompany,dc=com
cn: Kenny Root
objectClass: person
sn: Root

--------------------------------------------------------------------------

I ran the following command:
ldapsearch -x -L -b "dc=mycompany, dc=com" -w testing "(objectclass=*)"

and it said it was adding 

{0}:vampire:/home/rharris>ldapadd -a -x -w testing </home/rharris/ldif.3
adding new entry "cn=Kenny Root,dc=mycompany,dc=com"
ldap_add: Referral

ldif_record() = 10

but not the second user, kenny...

I manually edited the first user out and re-added, it said it was adding
kenny then.


Is there a way to "dump" the user base so I can see who's in it and what
information it has for each user from a simple command line?

Robert