mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
This commit is contained in:
parent
6423bf33e0
commit
ff3ccb8831
@ -1608,9 +1608,14 @@ while test $# -gt 0; do
|
|||||||
;;
|
;;
|
||||||
-s)
|
-s)
|
||||||
if test $# -gt 0; then
|
if test $# -gt 0; then
|
||||||
|
if [ -f /etc/sssd ]
|
||||||
|
then
|
||||||
sudo realm discover
|
sudo realm discover
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
|
echo "realmd is not installed"
|
||||||
|
fi
|
||||||
|
else
|
||||||
echo ""
|
echo ""
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user