Tabs to spaces in LDAP post.
[blog.git] / posts / LDAP.mdwn
index 8d2899f73062fb28eb019efd072f530cd457d21b..570cbcd1c0f6fb7bc472280c83d20fd547ee8f73 100644 (file)
@@ -128,8 +128,8 @@ to assign them to another department?  We can use aliases ([RFC
 works, lets create a test OU to play with:
 
     $ emacs /tmp/test.ldif
-               $ cat /tmp/test.ldif
-               version: 1
+    $ cat /tmp/test.ldif
+    version: 1
     dn: ou=test, dc=example,dc=com
     objectClass: organizationalUnit
     ou: testing
@@ -138,12 +138,12 @@ works, lets create a test OU to play with:
 
 Now assign one of your people to that group:
 
-         $ emacs /tmp/alias.ldif
+    $ emacs /tmp/alias.ldif
     $ cat /tmp/alias.ldif
-               version: 1
-               dn: cn=Jane Doe, ou=test,dc=example,dc=com
-               objectClass: alias
-               aliasedObjectName: cn=Jane Doe, ou=people,dc=example,dc=com
+    version: 1
+    dn: cn=Jane Doe, ou=test,dc=example,dc=com
+    objectClass: alias
+    aliasedObjectName: cn=Jane Doe, ou=people,dc=example,dc=com
     $ ldapadd -D "cn=Manager,dc=example,dc=com" -xW -f /tmp/alias.ldif
     $ rm /tmp/alias.ldif
 
@@ -151,8 +151,8 @@ The `extensibleObject` class allows us to add the DN field, without it
 you get:
 
     $ ldapadd -D "cn=Manager,dc=example,dc=com" -xW -f /tmp/alias.ldif
-               Enter LDAP Password: 
-               adding new entry "cn=Jane Doe, ou=test,dc=example,dc=com"
+    Enter LDAP Password: 
+    adding new entry "cn=Jane Doe, ou=test,dc=example,dc=com"
     ldap_add: Object class violation (65)
             additional info: attribute 'cn' not allowed