So..

   if I create a top2.ldif file which looks like:

dn: ou=Users,dc=usf,dc=edu
objectClass: organizationalUnit
objectClass: top
ou: Users

dn: ou=Groups,dc=usf,dc=edu
objectClass: organizationalUnit
objectClass: top
ou: Groups

     Then I execute:

ldapadd -x -D "cn=admin,dc=usf,dc=edu" -w admin -f top2.ldif

      I get the HAPPY result of:

adding new entry "ou=Users,dc=usf,dc=edu"
adding new entry "ou=Groups,dc=usf,dc=edu"

     WOOHOO!

     BUT!!!  If I try and cat the schema to a file, I get an empty
out.ldif file and this error:

sudo slapcat -b dc=usf,dc=edu -l out.ldif
bdb_monitor_db_open: monitoring disabled; configure monitor database to enable

     I think that if I get this file created, then I can use Webmin to
administer the rest of the changes.

Any ideas how I can create the LDIF file?

Rob.



On Thu, Apr 29, 2010 at 11:46 PM, William L. Thomson Jr.
<[email protected]> wrote:
> On Thu, 2010-04-29 at 23:04 -0400, rob mckennon wrote:
>> Sorry for this very generic post, but random Googling hasn't help me much.
>>
>> Any suggestions for a good (ldap for dummies) website?  I have openldap
>> installed and slapd running, but am having some issues getting past step
>> 2.(adding basic ou information).
>
> I am still making my way through all that. I found the Gentoo docs on
> that to be outdated and useless. If recruiters can ever process me,
> that's one doc I plan to update.
>
> Beyond that I have found the following useful, some post setup.
>
> http://ldots.org/ldap/
> http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP-LDIF-example1.html
> http://techhelplist.com/index.php/tech-tutorials/34-openldap/48-user-management-in-openldap
>
> Some info here is correct
> http://www.gentoo.org/doc/en/ldap-howto.xml
> http://www.gentoo-wiki.info/OpenLDAP
>
> The order of includes in slapd.conf is important. This is the order that
> worked for me, I think mentioned in an above link, but the gentoo one
> was off.
>
> include         /etc/openldap/schema/core.schema
> include         /etc/openldap/schema/cosine.schema
> include         /etc/openldap/schema/inetorgperson.schema
> include         /etc/openldap/schema/nis.schema
>
>
> I still have some issues in my setup but its mostly a result of having
> multiple base dc's. Some things are working and others not, but it's not
> fully functional. Like with ls I get user names but group numbers. With
> getent group the groups show up. I can't authenticate yet or do network
> log in which sucks. But again it's mostly due to the multiple base
> dc=somedomain,dc=com ;)
>
> Single one should be pretty straight forward per the above, hope that
> helps some. I am still on my way and have to switch to Firebird as the
> database, instead of Berkley db.
>
> --
> William L. Thomson Jr.
> Obsidian-Studios, Inc.
> http://www.obsidian-studios.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> List archive http://marc.info/?l=jaxlug-list&r=1&w=2
> RSS http://www.mail-archive.com/[email protected]/maillist.xml
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
List archive http://marc.info/?l=jaxlug-list&r=1&w=2
RSS http://www.mail-archive.com/[email protected]/maillist.xml

Reply via email to