LinuxForum.Fans
Тема

Debian Squeeze + Samba + AD + Squid

Автор: Nigelist 99 сообщений 30235 просмотров
#212630

Kettler, больше никак? И команда из /etc/rc.local выполняется раньше, чем попытка входа в домен?

#212632

она выполняется после поднятия сетевых интерфейсов.

#212635

Kettler, команда из /etc/rc.local не работает.

#212639

Ещё нашол в [console]/etc/dhcp3/dhclient.conf[/console]
такой код


[console]request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
[/console]

Думаю если подправить на


[console]request subnet-mask, broadcast-address, time-offset, routers,
host-name, netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
[/console]

Должно помоч

#212642

Kettler, у меня почему то нет такого файла.

#212644

а это на ubutnu щас гляну где на debian

#212645

[console]root@server:/home/user# cat /etc/dhcp/dhclient.conf
# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
#require subnet-mask, domain-name-servers;
[/console]

#212646

Kettler, так у меня внутренний интерфейс не по dhcp.

#212648

У тя

[console]auto eth0
iface eth0 inet dhcp[/console]

Вот он и править resolv

#212649

Kettler, это внешний интерфейс. Внутренний на статическом IP.

#212650

какая разница.

#212653

Kettler, у меня, все равно нету этого файла.

#212654

бррррр ищи в /etc/

#212656

Kettler, о-о-о, нашел. Не обратил внимание на второй ваш пост. В первом написано /etc/dhcp3/dhclient.conf, а во втором /etc/dhcp/dhclient.conf. smile Сейчас попробую.

#212664

Kettler, и все равно не помогает... :( Уж и не знаю, что делать... :(

#212665

Я дал по новому получить ип?
ifdown eth0
ifup eth0

#212688

Kettler, подсказал решение. Надо в /etc/dhcp/dhclient.conf найти строчку:
[console]#prepend domain-name-servers 127.0.0.1;[/console]
Раскомментировать ее и заменить 127.0.0.1, на IP-адреса, необходимые вам:
[console]prepend domain-name-servers 192.168.11.1;[/console]

#213022

Kettler, не подскажете, как теперь быть с еще с одной необходимой опцией:
[console]search pharmlider.local[/console]

#213156

Народ, есть ли у нас на форуме знатоки английского и Windows Server 2003? Нужно правильно перевести этот абзац:

By default the squid account will not be able to query the "memberOf" attribute in AD. Select the top level of your active directory domain in Active Directory Users and Computers, Right click on it and choose properties, Security Tab, Add the squid user and give it read permissions (should happen by default) and allow it to read "This Object and all child objects" by going into Advanced options.

Я примерно понимаю о чем идет речь, но никак не могу найти в оснастке "Active Directory - пользователи и компьютеры", вкладку "Безопасность" в свойствах корневой директории домена.

------------------------- Upd -------------------------

Еще один неясный (непонятный) абзац.

That client browsers are using Integrated Windows Authentication
That you have added all users to the relevant Internet Users security groups in AD
That all client browsers are set to use automatically detect proxy settings for internet access. Using group policy is a sensible option here or perhaps restrict outbound HTTP access on your firewall to weed out users without auto-detection configured.

Test access with Internet Explorer by Ticking "Use automatic configuration script" and insert http://squidproxy.example.local/wpad.dat (change the proxy FQDN to yours of course) in the address field and then access any websites. Good luck, I hope it works! Stop here and troubleshoot if it is not working or else you will end up with a lot of angry users!

Add a CNAME record in DNS to point wpad.example.local to squidproxy.example.local
#213185

Кто нибудь встречал корректный перевод этой статьи?

Войдите или зарегистрируйтесь, чтобы ответить.