[SOLVED] Question about adding root.ldif to OpenLDAP
GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
## DEFINE DIT ROOT/BASE/SUFFIX ####
## uses RFC 2377 format
## replace example and com as necessary below
## or for experimentation leave as is
## dcObject is an AUXILLIARY objectclass and MUST
## have a STRUCTURAL objectclass (organization in this case)
# this is an ENTRY sequence and is preceded by a BLANK line
# Organization for PacifcCabinets, Inc
dn: dc=pacificcabinets,dc=com
objectclass: dcObject
objectclass: organization
o: Pacific Cabinets, Inc
dc: pacificcabinets
description: Full Company Name
Last edited by techmom50; 11-07-2013 at 03:59 PM.
Reason: change the topic
druuna, Thank you for your assistance it worked with the minor modification to my root.ldif and a minor fix in my slapd.conf file as well. Onward and upward now for the People and the Groups.
Code:
tux tmp # ldapadd -x -D "cn=Manager,dc=pacificcabinets,dc=com" -W -f root.ldif
Enter LDAP Password:
adding new entry "dc=pacificcabinets,dc=com"
Last edited by techmom50; 11-08-2013 at 10:05 AM.
Reason: add
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.