summaryrefslogtreecommitdiff
path: root/ldap
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-27 00:05:10 +0100
committerJonas Smedegaard <dr@jones.dk>2008-10-27 00:05:15 +0100
commit64eca7daee3fcb7ab5e5e65d54ccb792ba01bfa6 (patch)
tree013936fba44c72a09bc7e62e0cb3d1775be6811d /ldap
parentb4342963abdf233484d2b7e35deb1a954d3ae263 (diff)
Use bogus initial ldap passwords (not lame cleartext ones).
Also, strip autogenerated noise from cipux_role ldif files.
Diffstat (limited to 'ldap')
-rw-r--r--ldap/db/cipux.ldif.in2
-rw-r--r--ldap/db/cipux_rolegroup.ldif.in8
-rw-r--r--ldap/db/cipux_roleuser.ldif.in8
-rw-r--r--ldap/db/core.ldif.in2
-rw-r--r--ldap/db/horde.ldif.in2
-rwxr-xr-xldap/mkldapdb1
6 files changed, 6 insertions, 17 deletions
diff --git a/ldap/db/cipux.ldif.in b/ldap/db/cipux.ldif.in
index a7bd302..abcfbd0 100644
--- a/ldap/db/cipux.ldif.in
+++ b/ldap/db/cipux.ldif.in
@@ -3,4 +3,4 @@ objectClass: top
objectclass: organizationalRole
objectClass: simpleSecurityObject
cn: cipux
-userPassword: superSecretPassword
+userPassword: {crypt}x
diff --git a/ldap/db/cipux_rolegroup.ldif.in b/ldap/db/cipux_rolegroup.ldif.in
index bff7f56..d6d3a9d 100644
--- a/ldap/db/cipux_rolegroup.ldif.in
+++ b/ldap/db/cipux_rolegroup.ldif.in
@@ -17,10 +17,4 @@ objectClass: top
objectClass: posixGroup
objectClass: cipuxGroup
structuralObjectClass: posixGroup
-entryUUID: b72b2286-1c30-102d-92b5-c966c0ff3d4a
-creatorsName: cn=cipuxadm,dc=jones,dc=dk
-createTimestamp: 20080921135538Z
-userPassword:: e1NTSEF9MllkUGRjV3RKYmhNdUZWODVaQ1pJWHNyZE5rTGVXdjM=
-entryCSN: 20080921135647.732164Z#000000#000#000000
-modifiersName: cn=cipuxadm,dc=jones,dc=dk
-modifyTimestamp: 20080921135647Z
+userPassword:: {crypt}x
diff --git a/ldap/db/cipux_roleuser.ldif.in b/ldap/db/cipux_roleuser.ldif.in
index a19b1b8..9a4fef8 100644
--- a/ldap/db/cipux_roleuser.ldif.in
+++ b/ldap/db/cipux_roleuser.ldif.in
@@ -26,11 +26,5 @@ objectClass: imapUser
objectClass: cipuxAccount
uid: @ROLE@
uidNumber: @UID@
-userPassword:: ZHV0
+userPassword:: {crypt}x
structuralObjectClass: imapUser
-entryUUID: b72bb2e6-1c30-102d-92b6-c966c0ff3d4a
-creatorsName: cn=cipuxadm,dc=jones,dc=dk
-createTimestamp: 20080921135538Z
-entryCSN: 20080921144317.807008Z#000000#000#000000
-modifiersName: cn=cipuxadm,dc=jones,dc=dk
-modifyTimestamp: 20080921144317Z
diff --git a/ldap/db/core.ldif.in b/ldap/db/core.ldif.in
index 75ec4c6..3256a58 100644
--- a/ldap/db/core.ldif.in
+++ b/ldap/db/core.ldif.in
@@ -10,4 +10,4 @@ objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
-userPassword: supersecretpassword
+userPassword: {crypt}x
diff --git a/ldap/db/horde.ldif.in b/ldap/db/horde.ldif.in
index 00819ca..caad422 100644
--- a/ldap/db/horde.ldif.in
+++ b/ldap/db/horde.ldif.in
@@ -3,7 +3,7 @@ objectClass: top
objectclass: organizationalRole
objectClass: simpleSecurityObject
cn: horde
-userPassword: superSecretPassword
+userPassword: {crypt}x
dn: cn=Horde,ou=Administrators,ou=Groups,ou=Access Control,@SUFFIX@
objectClass: groupOfUniqueNames
diff --git a/ldap/mkldapdb b/ldap/mkldapdb
index 5e6052f..77cb6d5 100755
--- a/ldap/mkldapdb
+++ b/ldap/mkldapdb
@@ -94,6 +94,7 @@ for db in passwd group; do
file=$(($file + 1))
done
+# FIXME: Set core password using slappasswd or similar (no cleartext password!)
#invoke-rc.d slapd stop
#slapadd -l "$tempdir/99_core.ldif"
#invoke-rc.d slapd start