Skip to content

Commit

Permalink
change script for create user in domain LDAP/Kerberos for to create c…
Browse files Browse the repository at this point in the history
…orrectly the users
  • Loading branch information
juanjoselopezroldan committed Apr 2, 2020
1 parent 50844a7 commit 18541fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion roles/kerberos/files/blksmanager
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ kadmin.local -q "ktadd -norandkey -k $KEYTAB $USERNAME@$UPPER_DOMAIN"

function del_ldap_kerberos ()
{
echo "ldapdelete -h $HOST_IP -x -D cn=$ADMIN,dc=$DC1,dc=$DC2,dc=$DC3 uid=$USERNAME,cn=sudobase,cn=Workers,ou=SUDOers,dc=$DC1,dc=$DC2,dc=$DC3 -w $ADMIN_PASS"
ldapdelete -h $HOST_IP -x -D "cn=$ADMIN,dc=$DC1,dc=$DC2,dc=$DC3" "uid=$USERNAME,cn=sudobase,cn=Workers,ou=SUDOers,dc=$DC1,dc=$DC2,dc=$DC3" -w $ADMIN_PASS
kadmin.local -q "delete_principal $USERNAME@$UPPER_DOMAIN"
kdestroy
Expand Down

0 comments on commit 18541fd

Please sign in to comment.