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:
@@ -51,7 +51,7 @@ if ipa role-add "$ROLE_NAME" --desc="$ROLE_DESCRIPTION" > /dev/null 2>&1; then
|
|||||||
echo created role $ROLE_NAME
|
echo created role $ROLE_NAME
|
||||||
if ipa privilege-add "$PRIV_NAME" --desc="$PRIV_DESCRIPTION" > /dev/null 2>&1; then
|
if ipa privilege-add "$PRIV_NAME" --desc="$PRIV_DESCRIPTION" > /dev/null 2>&1; then
|
||||||
echo created privilege $PRIV_NAME
|
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
|
echo created permission $PERM_NAME
|
||||||
else
|
else
|
||||||
echo permission $PERM_NAME exists
|
echo permission $PERM_NAME exists
|
||||||
|
|||||||
Reference in New Issue
Block a user