18.07.2014 Views

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.1.4 Line Folding within LDIF Files<br />

To fold a line in an LDIF file, simply insert a line separator (a newline or a carriage return/newline<br />

pair) followed by a space at the place where you want the line folded. When the LDIF parser<br />

encounters a space at a beginning of the line, it knows to concatenate the rest of the data on the line<br />

with the data on the previous line. The leading space is then discarded.<br />

novdocx (en) 6 April 2007<br />

You should not fold lines in the middle of a multibyte UTF-8 character.<br />

The following is an example of an LDIF file with a folded line (see lines 13 and 14):<br />

1 version: 1<br />

2 dn: cn=Peter Michaels, ou=Artists, l=San Francisco, c=US<br />

3 sn: Michaels<br />

4 givenname: Peter<br />

5 objectClass: top<br />

6 objectClass: person<br />

7 objectClass: organizationalPerson<br />

8 objectClass: iNetOrgPerson<br />

9 telephonenumber: +1 415 555 0001<br />

10 mail: Peter.Michaels@aaa.com<br />

11 userpassword: Peter123<br />

12 description: Peter is one of the most popular music<br />

13 ians recording on our label. He’s a big concert dr<br />

14 aw, and his fans adore him.<br />

15<br />

5.1.5 Hashed Password Representation in LDIF Files<br />

The hashed password is represented as base64 data in the LDIF file. The attribute name<br />

userpassword should be followed with the name of the encryption used for hashing the password.<br />

This name should be given within a pair of flower brackets “{ }” as shown below:<br />

Example 1<br />

For SHA hashed passwords:<br />

1 version: 1 2 dn: cn=Peter Michaels, ou=Artists, l=San Francisco, c=US<br />

3 sn: Michaels 4 userpassword: {SHA}xcbdh46ngh37jsd0naSFDedjAS30dm5<br />

objectclass: inetOrgPerson<br />

Example 2<br />

For SSHA hashed passwords:<br />

1 version: 1 2 dn: cn=Peter Michaels, ou=Artists, l=San Francisco, c=US<br />

3 sn: Michaels 4 userpassword:<br />

{SSHA}sGs948DFGkakdfkasdDF34DF4dS3skl5DFS5 objectclass: inetOrgPerson<br />

Example 3<br />

For Digest MD5 hashed passwords:<br />

1 version: 1 2 dn: cn=Peter Michaels, ou=Artists, l=San Francisco, c=US<br />

3 sn: Michaels 4 userpassword:<br />

{MD5}a45lkSDF234SDFG62dsfsf2DG2QEvgdmnk4305 objectclass: inetOrgPerson<br />

32 <strong>Novell</strong> <strong>eDirectory</strong> <strong>8.8</strong> <strong>Troubleshooting</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!