Index: univention-join/univention-join =================================================================== --- univention-join/univention-join (Revision 31427) +++ univention-join/univention-join (Arbeitskopie) @@ -442,7 +442,7 @@ DCNAME="$3" realm="$4" if [ -z "$realm" ]; then - realm=$(univention-ssh $DCPWD $DCACCOUNT@$DCNAME /usr/sbin/univention-config-registry get kerberos/realm | sed -e 's, ,,g' | grep [A-Za-z0-9] ) >>/var/log/univention/join.log 2>&1 + realm=$(univention-ssh $DCPWD $DCACCOUNT@$DCNAME /usr/sbin/univention-config-registry get kerberos/realm | sed -e 's, ,,g' | grep '[A-Za-z0-9]' ) >>/var/log/univention/join.log 2>&1 if [ $? != 0 -o -z "$realm" ]; then echo "Unable to retrieve the kerberos realm. Try to use option -realm " exit 1