LINUX.ORG.RU
ФорумAdmin

Squid + winbind


0

0

Пытаюсь собрать squid с поддержкой winbind:

$./configure --enable-auth=basic,ntlm --enable-icmp --enable-ssl --enable-snmp --mandir=/usr/man --enable-basic-auth-helpers=SMB,YP,winbind --enable-ntlm-modules=SMB,winbind --with-samba-sources=/home/bregor/src/samba-3.0.4

Оно все доблестно configure'ится...

$make

И вмдает оно мне вот такую загогулину:

gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I/home/bregor /src/samba-3.0.4/source -g -O2 -Wall -c `test -f wb_common.c || echo './'`wb_ common.c wb_common.c: In function `init_request': wb_common.c:67: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:76: structure has no member named `domain' wb_common.c:77: structure has no member named `domain' wb_common.c:77: structure has no member named `domain' wb_common.c: In function `winbindd_send_request': wb_common.c:333: structure has no member named `domain' make[3]: *** [wb_common.o] Error 1 make[3]: Leaving directory `/home/bregor/src/squid-2.5.STABLE5-20040527/helpersbasic_auth/winbind' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/bregor/src/squid-2.5.STABLE5-20040527/helpersbasic_auth' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bregor/src/squid-2.5.STABLE5-20040527/helpers make: *** [all-recursive] Error 1

Вот...

Samba эта собрана и работает...

Жду советов.

Заранее спасибо.

Re: Squid + winbind

не сможешь подключить исходники самбы в сквид. надо вмексто этого использовать авторизатор от самой самбы

anonymous ()
Ответ на: Re: Re: Squid + winbind от BregorEsgarothian

Re: Re: Re: Squid + winbind

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp auth_param ntlm children 5 auth_param ntlm max_challenge_reuses 0 auth_param ntlm max_challenge_lifetime 2 minutes

auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic auth_param basic children 5 auth_param basic realm Для доступа в интернет введите ваше имя и пароль auth_param basic credentialsttl 2 hours

и выполнить команду chown -R root:squid /var/cache/samba/winbindd_privileged/

чтоб прользователь squid мог получить доступ к винбинду

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.