Commit 4471ac37e226516665e977a10e1f6013c7c27910

Authored by Frederik Lindenaar
1 parent 3470ed2d

added ipaNTHash attribute as it is needed for other services (e.g. radius) as pe…

…r common tutorials (it's the same data, just another name though this makes things easier)
Showing 1 changed file with 1 additions and 1 deletions
freeipa-service-ntlm.sh
@@ -51,7 +51,7 @@ if ipa role-add "$ROLE_NAME" --desc="$ROLE_DESCRIPTION" > /dev/null 2>&1; then @@ -51,7 +51,7 @@ if ipa role-add "$ROLE_NAME" --desc="$ROLE_DESCRIPTION" > /dev/null 2>&1; then
51 echo created role $ROLE_NAME 51 echo created role $ROLE_NAME
52 if ipa privilege-add "$PRIV_NAME" --desc="$PRIV_DESCRIPTION" > /dev/null 2>&1; then 52 if ipa privilege-add "$PRIV_NAME" --desc="$PRIV_DESCRIPTION" > /dev/null 2>&1; then
53 echo created privilege $PRIV_NAME 53 echo created privilege $PRIV_NAME
54 - 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 54 + 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
55 echo created permission $PERM_NAME 55 echo created permission $PERM_NAME
56 else 56 else
57 echo permission $PERM_NAME exists 57 echo permission $PERM_NAME exists