30,997
edits
| Line 45: | Line 45: | ||
Next step is to define information to store into your LDAP. | Next step is to define information to store into your LDAP. | ||
Create a file | Create a file init.ldif with your organization. For example (take care to keep empty line between each block): | ||
<source lang="ini"> | <source lang="ini"> | ||
# Organization | # Organization | ||
| Line 70: | Line 70: | ||
Execute file using the LDAP admin user: | Execute file using the LDAP admin user: | ||
<source lang="bash"> | <source lang="bash"> | ||
ldapadd -f | ldapadd -f inituser.ldif -D "cn=Manager,dc=mydomain,dc=com" -w secret | ||
or | or | ||
ldapadd -f init.ldif -D "cn=admin,dc=mydomain,dc=com" -w secret | ldapadd -f init.ldif -D "cn=admin,dc=mydomain,dc=com" -w secret | ||