--- a/services/univention-samba4/scripts/create_spn_account.sh +++ a/services/univention-samba4/scripts/create_spn_account.sh @@ -127,7 +127,7 @@ create_spn_account() { if [ -z "$spn_account_dn" ]; then - samba-tool user add -- "$spn_account_name" "$spn_account_name_password" || return $? + samba-tool user create -- "$spn_account_name" "$spn_account_name_password" || return $? samba-tool user setexpiry --noexpiry "$spn_account_name" --- a/test/ucs-test/tests/52_s4connector/030_sync_with_activated_pwqualitycheck +++ a/test/ucs-test/tests/52_s4connector/030_sync_with_activated_pwqualitycheck @@ -30,7 +30,7 @@ trap 'test "$old_value" = None && \ username="$(random_chars)" for((i=0;i<5;i++)); do - samba-tool user add "$username$i" Univention.99 || fail_bool 0 110 + samba-tool user create "$username$i" Univention.99 || fail_bool 0 110 done ad_wait_for_synchronization; fail_bool 0 110