Index: univention-samba4/debian/univention-samba4.univention-config-registry-variables =================================================================== --- univention-samba4/debian/univention-samba4.univention-config-registry-variables (Revision 33475) +++ univention-samba4/debian/univention-samba4.univention-config-registry-variables (Arbeitskopie) @@ -333,3 +333,9 @@ Description[en]=If enabled before the initial join of univention-samba4, secondary Samba 4 DCs will also be initialized with provision instead of performing a regular Samba domain join. This variable should not be modified manually. Type=str Categories=service-samba + +[samba4/provision/primary] +Description[de]=Falls vor dem initialen Join von univention-samba4 aktiviert, werden auch sekundäre Samba 4 DCs per Provision installiert statt per Samba domain join. Diese Variable sollte nur in ganz speziellen dokumentierten Fällen gesetzt werden. Im Unterschied zu samba4/provision/secondary wird hier auch Global Catalogue und PDC Rolle gesetzt. +Description[en]=If enabled before the initial join of univention-samba4, secondary Samba 4 DCs will also be initialized with provision instead of performing a regular Samba domain join. This variable should only be modified in very sepcific documented cases. In contrast to samba4/provision/secondary this als sets the Global Catalogue und PDC roles. +Type=str +Categories=service-samba Index: univention-samba4/96univention-samba4.inst =================================================================== --- univention-samba4/96univention-samba4.inst (Revision 33475) +++ univention-samba4/96univention-samba4.inst (Arbeitskopie) @@ -201,7 +201,8 @@ /etc/init.d/samba4 stop - if [ -z "$samba4servicedcs" ]; then ## we are the first domainctontroller to provide this service + is_ucr_true samba4/provision/primary + if [ $? -eq 0 ] || [ -z "$samba4servicedcs" ]; then ## we are the first domainctontroller to provide this service if [ $JS_LAST_EXECUTED_VERSION -lt 1 ]; then ## Provision Samba4