Kettler, больше никак? И команда из /etc/rc.local выполняется раньше, чем попытка входа в домен?
Debian Squeeze + Samba + AD + Squid
она выполняется после поднятия сетевых интерфейсов.
Kettler, команда из /etc/rc.local не работает.
Ещё нашол в [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]
Должно помоч
Kettler, у меня почему то нет такого файла.
а это на ubutnu щас гляну где на debian
[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]
Kettler, так у меня внутренний интерфейс не по dhcp.
У тя
[console]auto eth0
iface eth0 inet dhcp[/console]
Вот он и править resolv
Kettler, это внешний интерфейс. Внутренний на статическом IP.
какая разница.
Kettler, у меня, все равно нету этого файла.
бррррр ищи в /etc/
Kettler, о-о-о, нашел. Не обратил внимание на второй ваш пост. В первом написано /etc/dhcp3/dhclient.conf, а во втором /etc/dhcp/dhclient.conf. smile Сейчас попробую.
Kettler, и все равно не помогает... :( Уж и не знаю, что делать... :(
Я дал по новому получить ип?
ifdown eth0
ifup eth0
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]
Kettler, не подскажете, как теперь быть с еще с одной необходимой опцией:
[console]search pharmlider.local[/console]
Народ, есть ли у нас на форуме знатоки английского и 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