Permalink
Browse files

added (very) basic instructions for working on nd

  • Loading branch information...
1 parent 4bd7744 commit ff4597ac77b21e8d983e348e25e43da550724c91 @stedolan stedolan committed Sep 25, 2009
Showing with 14 additions and 0 deletions.
  1. +14 −0 README
View
14 README
@@ -0,0 +1,14 @@
+Hacking on nd:
+
+Install OpenLDAP
+As root:
+rm /etc/ldap/slapd.conf
+ln -s <nd repo>/slapd.conf /etc/ldap/slapd.conf
+ln -s <nd repo>/schema /etc/ldap/schema/netsoc.schema
+/etc/init.d/slapd restart
+
+To populate the database (warning: deletes whatever's there!)
+ldopt="-D cn=root,dc=netsoc,dc=tcd,dc=ie -x -w foo -h 127.0.0.1"
+ldapdelete $ldopt -r 'dc=netsoc,dc=tcd,dc=ie';
+cat <nd repo>/{core.ldif,sampledata.ldif} | ldapadd $ldopt
+

0 comments on commit ff4597a

Please sign in to comment.