Index: debian/postinst =================================================================== --- debian/postinst (revision 33347) +++ debian/postinst (working copy) @@ -46,11 +46,17 @@ fi; mkdir -p /etc/univention/skel/windows-profiles - for dname in Win95 WinNT Win2k WinXP Win2K3 Vista Vista.V2 ; do + for dname in Win95 WinNT Win2k WinXP Win2K3 Vista Vista.V2 default default.V2 ; do mkdir -p /etc/univention/skel/windows-profiles/$dname done fi +if [ "$1" = "configure" -a -n "$2" ] && dpkg --compare-versions "$2" lt 6.0.34-5 ; then + mkdir -p /etc/univention/skel/windows-profiles/default + mkdir -p /etc/univention/skel/windows-profiles/default.V2 +fi + + univention-config-registry set samba/share/home?yes \ samba/share/groups?no \ samba/adminusers?"administrator join-backup" Index: debian/changelog =================================================================== --- debian/changelog (revision 33347) +++ debian/changelog (working copy) @@ -1,3 +1,17 @@ +univention-samba (6.0.34-5) unstable; urgency=low + + * Create default and default.V2 also during package upgrade + (Bug #27372) + + -- Stefan Gohmann Thu, 31 May 2012 06:54:28 +0200 + +univention-samba (6.0.34-4) unstable; urgency=low + + * Create default and default.V2 directories in windows-profiles + (Bug #27372) + + -- Stefan Gohmann Thu, 31 May 2012 06:43:14 +0200 + univention-samba (6.0.34-3) unstable; urgency=low * Added a conflict to Samba 4 packages (Bug #27327) Index: debian/univention-samba4.postinst =================================================================== --- debian/univention-samba4.postinst (revision 33347) +++ debian/univention-samba4.postinst (working copy) @@ -46,11 +46,17 @@ mkdir -p /home/groups mkdir -p /etc/univention/skel/windows-profiles - for dname in Win95 WinNT Win2k WinXP Win2K3 Vista Vista.V2 ; do + for dname in Win95 WinNT Win2k WinXP Win2K3 Vista Vista.V2 default default.V2; do mkdir -p /etc/univention/skel/windows-profiles/$dname done fi +if [ "$1" = "configure" -a -n "$2" ] && dpkg --compare-versions "$2" lt 1.0.138-18 ; then + mkdir -p /etc/univention/skel/windows-profiles/default + mkdir -p /etc/univention/skel/windows-profiles/default.V2 +fi + + ## samba3 defaults copied from univention-samba univention-config-registry set \ samba/share/home?yes \ Index: debian/changelog =================================================================== --- debian/changelog (revision 33347) +++ debian/changelog (working copy) @@ -1,3 +1,17 @@ +univention-samba4 (1.0.138-18) unstable; urgency=low + + * Create default and default.V2 also during package upgrade + (Bug #27372) + + -- Stefan Gohmann Thu, 31 May 2012 06:55:22 +0200 + +univention-samba4 (1.0.138-17) unstable; urgency=low + + * Create default and default.V2 directories in windows-profiles + (Bug #27372) + + -- Stefan Gohmann Thu, 31 May 2012 06:43:21 +0200 + univention-samba4 (1.0.138-16) unstable; urgency=low * Install pam module again (Bug #27250)