8
if [ "$1" = "-v" ]; then
13
if [ "$1" = "-pam" ];then
19
#echo "admin=${MYADMIN}"
20
#echo "admin passwd=${MYADMINPWD}"
28
if [ ! -z "${MYPAM}" ]; then
29
echo "+begin pam winbind uninstall"
30
case ${DISTRIBUTION} in
31
Redhat|Fedora|Mandriva)
32
./unconfig-pam_winbind.sh "all" "system-auth"
35
./unconfig-pam_winbind.sh "auth" "common-auth" "account" "common-account" "password" "common-password" "session" "common-session"
38
echo "Unsupported distribution" >&2
42
echo "+end pam winbind uninstall"
55
./leave-domain.sh ${MYVERBOSE} "${MYADMIN}" "${MYADMINPWD}"
57
#./unconfig-smbconf.sh
58
#./unconfig-kerberos.sh