Skip to content

Instantly share code, notes, and snippets.

@kamituel
Created January 14, 2013 09:22
Show Gist options
  • Save kamituel/4528835 to your computer and use it in GitHub Desktop.
Save kamituel/4528835 to your computer and use it in GitHub Desktop.
Populating LDAP schemas
$ cat > base.ldif <<EOM
dn: dc=example,dc=com
dc: example
objectClass: top
objectClass: domain
dn: ou=People,dc=example,dc=com
ou: People
objectClass: top
objectClass: organizationalUnit
dn: ou=Group,dc=example,dc=com
ou: Group
objectClass: top
objectClass: organizationalUnit
EOM
$ slapadd -l base.ldif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment