Группа :: Архивирование/Резервное копирование
Пакет: amanda
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: amanda-2.5.0-alt-no-smbclient.patch
--- configure.in.orig 2006-06-20 16:19:19 +0400
+++ configure.in 2006-06-20 16:28:01 +0400
@@ -1437,18 +1437,8 @@
AC_PATH_PROGS(SAMBA_CLIENT,smbclient,,$LOCSYSPATH)
if test ! -z "$SAMBA_CLIENT"; then
- case "`\"$SAMBA_CLIENT\" '\\\\not.a.host.name\\notashare' -U nosuchuser -N -Tx /dev/null 2>&1`" in
- *"Unknown host"*)
- smbversion=1
- ;;
- *"Connection to not.a.host.name failed"*)
- smbversion=2
- ;;
- *)
- AC_MSG_WARN([*** $SAMBA_CLIENT does not seem to be smbclient, so it will not be used.])
- SAMBA_CLIENT=
- ;;
- esac
+ # don't check for sbmclient version, assume 2 instead
+ smbversion=2
if test -n "$SAMBA_CLIENT"; then
AC_DEFINE_UNQUOTED(SAMBA_CLIENT,"$SAMBA_CLIENT",[Define the location of smbclient for backing up Samba PC clients. ])
AC_DEFINE_UNQUOTED(SAMBA_VERSION, $smbversion,