Re: No sample entries means no suffix/BaseDN?

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

 



On 09/23/2014 10:18 AM, David Barr wrote:
Good morning!

In the current EPEL version of 389-ds, if I go through config-ds-admin.pl, option 3, these questions are included:

```
Suffix [dc=localdomain]: 
Do you want to install the sample entries? [no]: 
Type the full path and filename, the word suggest, or the word none [suggest]: 
```

If I take the defaults listed, I get my Base DN (“dc=localdomain”) and all of the suggested ou=People and ou=Groups entries.

If I give the keyword “none” to the suggested entries item, I don’t get any of the suggestions. Nor do I get my Suffix/Base DN! My expectation is that I would get my Base DN in any case, since the configuration script asks for it.

You do get a _suffix_ (with corresponding database), you just don't get the _entry_ at the base of the suffix.  It may be counterintuitive, but in LDAP there is a difference between having an available suffix to use, and having an entry in that suffix.
https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Configuring_Directory_Databases.html



If this is deliberate behavior, how would I craft the LDIF to create my Base DN? Specifically, how would I identify it as the Base DN to 389-ds?

It is definitely deliberate behavior.  Typically, people answering "none" to the question are either planning to create the dit out-of-band, with ldapmodify and/or ldif2db and/or the console, which allows you to create the base/root entry of a suffix.

Since you mention crafting LDIF, at the prompt, instead of none or suggest, you can specify the full (absolute) path and file name of the LDIF file you want to use to populate the suffix.  This corresponds to the InstallLdifFile directive - https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Installation_Guide/Advanced_Configuration-Silent.html#Advanced_Configuration-inf-File-directives


If this is not deliberate behavior, I have a more detailed example I can submit to https://fedorahosted.org/389/newticket, or wherever.

Thanks!
David

--

David - Offbeat http://dafydd.livejournal.com
dafydd - Online http://pgp.mit.edu/
Battalion 4 - Black Rock City Emergency Services Department
Integrity*Commitment*Communication*Support

----5----1----5----2----5----3----5----4----5----5----5----6----5----7--

Pavlov walks into a bar. The phone rings and he says,

"Damn! I forgot to feed the dog!"





--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[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