User Tools

Site Tools


administration:ldap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
administration:ldap [2013/01/26 22:41] damiradministration:ldap [2013/01/26 22:44] (current) damir
Line 15: Line 15:
 In case you need to change the password you can use the **slappasswd** command that generate an encrypted password of what you passed on the command line or entered interactively. In case you need to change the password you can use the **slappasswd** command that generate an encrypted password of what you passed on the command line or entered interactively.
  
-====== add a schema ======+===== add a schema =====
 if you need to add a schema to the slapd configuration, you cannot just add a line, as it happens with the slapd.conf file. Instead you must generate a .ldif file that contain the schema you want to add and only then you can add the schema to the DB in production.\\ if you need to add a schema to the slapd configuration, you cannot just add a line, as it happens with the slapd.conf file. Instead you must generate a .ldif file that contain the schema you want to add and only then you can add the schema to the DB in production.\\
 To generate the ldif file containing the schema you can use the same command used to generate the initial cn=config structure from the existing slapd.conf file, but as this means that a new cn=config structure will be created, **never** use the transform command inside the production slapd.d directory.\\ To generate the ldif file containing the schema you can use the same command used to generate the initial cn=config structure from the existing slapd.conf file, but as this means that a new cn=config structure will be created, **never** use the transform command inside the production slapd.d directory.\\
Line 73: Line 73:
 modifiersName: cn=config modifiersName: cn=config
 modifyTimestamp: ...... modifyTimestamp: ......
-</>+</code>
 to to
 <code> <code>
 [empty line] [empty line]
-</.code>+</code>
 Remember that every .ldif file must contain an empty line to complete the command. Remember that every .ldif file must contain an empty line to complete the command.
  
administration/ldap.1359240088.txt.gz · Last modified: 2013/01/26 22:41 by damir