This shows you the differences between two versions of the page.
|
en:linux:openldap [2011/01/16 18:39] matthieu [Import LDIF datas with slapadd] |
en:linux:openldap [2011/01/16 18:47] (current) matthieu [Changing the schema] |
||
|---|---|---|---|
| Line 159: | Line 159: | ||
| slapadd allows to import directly a database into slapd. One advantage is that slapadd can modify internal values (like creation date) very useful when restoring a database. | slapadd allows to import directly a database into slapd. One advantage is that slapadd can modify internal values (like creation date) very useful when restoring a database. | ||
| - | It's the ideal command to reimport result given by the command slapcat described below. | + | It's the ideal command to reimport result given by the command slapcat described [[#Export datas to LDIF|below]]. |
| - | The main limitation of slapadd is taht you need to stop slapd to use it. | + | The main limitation of slapadd is that you need to stop slapd to use it. |
| **:!: check that slapd is owner of the files avec using slapadd, otherwise it will refuse to restart.** | **:!: check that slapd is owner of the files avec using slapadd, otherwise it will refuse to restart.** | ||
| Line 289: | Line 289: | ||
| When using slapcat, the new entries should appear into the LDIF export. | When using slapcat, the new entries should appear into the LDIF export. | ||
| - | ===== Changin the schema ===== | + | ===== Changing the schema ===== |
| - | The LDAP schema defines the structure of entries. It often appears that the predefinned types are not enough. | + | The LDAP schema defines the structure of entries. It often appears that the predefined types are not enough. |
| For example, I am using two new types : | For example, I am using two new types : | ||