Archived
1
0

added ipaNTHash attribute as it is needed for other services (e.g. radius) as per common tutorials (it's the same data, just another name though this makes things easier)

This commit is contained in:
2019-08-26 21:45:48 +02:00
parent 3470ed2dcf
commit 4471ac37e2

View File

@@ -51,7 +51,7 @@ if ipa role-add "$ROLE_NAME" --desc="$ROLE_DESCRIPTION" > /dev/null 2>&1; then
echo created role $ROLE_NAME
if ipa privilege-add "$PRIV_NAME" --desc="$PRIV_DESCRIPTION" > /dev/null 2>&1; then
echo created privilege $PRIV_NAME
if ipa permission-add "$PERM_NAME" --attrs=sambaNTPassword --attrs=sambaPwdLastSet --attrs=sambaSID --attrs=sambaAcctFlags --attrs=sambaDomainName --type=user --right=read --right=compare > /dev/null 2>&1; then
if ipa permission-add "$PERM_NAME" --attrs=ipaNTHash --attrs=sambaNTPassword --attrs=sambaPwdLastSet --attrs=sambaSID --attrs=sambaAcctFlags --attrs=sambaDomainName --type=user --right=read --right=compare > /dev/null 2>&1; then
echo created permission $PERM_NAME
else
echo permission $PERM_NAME exists