Changeset 1241
- Timestamp:
- 01/19/12 09:57:37 (4 months ago)
- Location:
- main/linuxmuster-base/branches/testing
- Files:
-
- 2 edited
-
debian/changelog (modified) (1 diff)
-
var/config-dynamic/15_ldap/postpatch (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
main/linuxmuster-base/branches/testing/debian/changelog
r1240 r1241 4 4 * linuxmuster-setup: 5 5 * network: fixed interface name. 6 7 -- Thomas Schmitt <schmitt@lmz-bw.de> Thu, 19 Jan 2012 09:18:40 +0100 6 * ldap: using ldif instead of sophomorix-dump-pg2ldap to create initial ldap tree. 7 8 -- Thomas Schmitt <schmitt@lmz-bw.de> Thu, 19 Jan 2012 09:56:11 +0100 8 9 9 10 linuxmuster-base (6.0.0-4ubuntu0) lenny; urgency=low -
main/linuxmuster-base/branches/testing/var/config-dynamic/15_ldap/postpatch
r1240 r1241 73 73 psql -U postgres ldap < /var/tmp/ldap.pgsql 74 74 75 ## create new ldap tree76 #rm -rf /etc/ldap/slapd.d77 #mkdir -p /etc/ldap/slapd.d78 #chattr +i /var/lib/ldap/DB_CONFIG79 #rm -f /var/lib/ldap/*80 #chattr -i /var/lib/ldap/DB_CONFIG81 #sed -e "s|^dc:.*|dc: ${domainname%.*}|" -i /var/tmp/ldap.ldif82 #slapadd < /var/tmp/ldap.ldif83 #chown openldap:openldap /var/lib/ldap -R84 #slaptest -f /etc/ldap/slapd.conf -F /etc/ldap/slapd.d85 #chown -R openldap:openldap /etc/ldap/slapd.d75 # create new ldap tree 76 rm -rf /etc/ldap/slapd.d 77 mkdir -p /etc/ldap/slapd.d 78 chattr +i /var/lib/ldap/DB_CONFIG 79 rm -f /var/lib/ldap/* 80 chattr -i /var/lib/ldap/DB_CONFIG 81 sed -e "s|^dc:.*|dc: ${domainname%.*}|" -i /var/tmp/ldap.ldif 82 slapadd < /var/tmp/ldap.ldif 83 chown openldap:openldap /var/lib/ldap -R 84 slaptest -f /etc/ldap/slapd.conf -F /etc/ldap/slapd.d 85 chown -R openldap:openldap /etc/ldap/slapd.d 86 86 87 87 # changing user's default shell to /bin/bash … … 159 159 160 160 # recreate ldap tree 161 sophomorix-dump-pg2ldap161 #sophomorix-dump-pg2ldap 162 162 163 163 rm -f /var/tmp/ldap.*
Note: See TracChangeset
for help on using the changeset viewer.
