( Vamp | 2021. 03. 11., cs – 15:21 )

No problem, azert osztottam meg, hogy mas is tudja hasznalni :)

 

Jelenleg a domain join van porondon:

 

#!/bin/sh
hostname=$(/bin/curl http://10.51.38.74/pub/join_domain.py | /usr/bin/python)


/usr/bin/echo pass|/usr/sbin/realm join domain.local --computer-name="${hostname}" --user=username --computer-ou="OU=Server" -v

/usr/bin/sed -i -e 's/use_fully_qualified_names = True/use_fully_qualified_names = False/g' /etc/sssd/sssd.conf

/usr/bin/sed -i -e 's/%u@%d/%u/g' /etc/sssd/sssd.conf

 

Problema jelenleg hasonlo... telepitett gepen problema nelkul lefut, kickstart post scriptkent kiall hibaval, hogy nem jo a hostname...

 

(a domain_join.py ugyanaz mint a fenti, csak a kimenet itt nem az fqdn hanem a gepnev)