Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: поднятие контролера домена на Ubuntu 8.10  (Прочитано 2574 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Ivan99999

  • Автор темы
  • Участник
  • *
  • Сообщений: 117
    • Просмотр профиля
решил создать контролер домена, почитал мануалы и принялся за работу. Но при попытке подключения Windows машины к домену у меня спрашивают логин и пароь ввожу что создавал при настройке контролера но после небольших рздумий мне говорят что мол подключиться невозможно.

Вот конфиг:

# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2008/12/15 16:28:26

[global]
   workgroup = SPB
   realm = SPB
   netbios name = HOME-SERV
   server string = %h server (Samba, Ubuntu)
   auth methods = winbind
   map to guest = Bad User
   obey pam restrictions = Yes
   passdb backend = smbpasswd:/etc/samba/smbpasswd
   pam password change = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   unix password sync = Yes
   syslog = 0
   log file = /var/log/samba/log.%m
   max log size = 1000
   add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
   logon script = logon.cmd
   logon path =
   domain logons = Yes
   os level = 65
   preferred master = Yes
   domain master = Yes
   dns proxy = No
   wins support = Yes
   usershare allow guests = Yes
   panic action = /usr/share/samba/panic-action %d
   winbind trusted domains only = Yes
   username map = /etc/samba/smbusers

[printers]
   comment = All Printers
   path = /var/spool/samba
   create mask = 0700
   printable = Yes
   browseable = No

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers

[docs]
   comment = Documentations    # комментарий, который виден в окне свойств сети
   path = /home/samba/netlogon
   create mask = 0750
   directory mask = 0775
   browseable = No
   guest ok = no
Intel Core 2 Duo 3.17 GHz, 4гб ram, Ati Radeon HD 4870, Ubuntu 8.10 x64

Оффлайн starling13

  • Участник
  • *
  • Сообщений: 239
    • Просмотр профиля
Re: поднятие контролера домена на Ubuntu 8.10
« Ответ #1 : 15 Декабрь 2008, 20:43:31 »
Лучше сначала лог посмотрите, тогда понятнее будет, что в конфиге копать.

Оффлайн Ivan99999

  • Автор темы
  • Участник
  • *
  • Сообщений: 117
    • Просмотр профиля
Re: поднятие контролера домена на Ubuntu 8.10
« Ответ #2 : 15 Декабрь 2008, 22:04:19 »
Вот лог:

[2008/12/15 20:35:54,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 20:35:54,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 20:36:15,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 20:40:55,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 20:40:55,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 20:41:16,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 20:43:57,  0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name SPB<1b> for the workgroup SPB.
  Unable to sync browse lists in this workgroup.
[2008/12/15 20:45:57,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 20:45:57,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 20:46:18,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 20:50:58,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 20:50:58,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 20:51:19,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 20:55:59,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 20:55:59,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 20:56:20,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 20:59:01,  0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name SPB<1b> for the workgroup SPB.
  Unable to sync browse lists in this workgroup.
[2008/12/15 21:01:01,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:01:01,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:01:22,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:06:12,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:06:12,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:06:33,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:11:03,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:11:03,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:11:24,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:14:05,  0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name SPB<1b> for the workgroup SPB.
  Unable to sync browse lists in this workgroup.
[2008/12/15 21:16:05,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:16:05,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:16:26,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:21:06,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:21:06,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:21:27,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:26:07,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:26:07,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:26:28,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:29:09,  0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name SPB<1b> for the workgroup SPB.
  Unable to sync browse lists in this workgroup.
[2008/12/15 21:31:09,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:31:09,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:31:30,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:36:10,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:36:10,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:36:31,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:41:11,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:41:11,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:41:32,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:44:13,  0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name SPB<1b> for the workgroup SPB.
  Unable to sync browse lists in this workgroup.
[2008/12/15 21:46:13,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:46:13,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:46:34,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:51:24,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:51:24,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:51:45,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:56:25,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 21:56:25,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 21:56:46,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
[2008/12/15 21:59:17,  0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(350)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name SPB<1b> for the workgroup SPB.
  Unable to sync browse lists in this workgroup.
[2008/12/15 22:01:17,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup SPB, subnet UNICAST_SUBNET.
[2008/12/15 22:01:17,  0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350)
  become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name SPB<1b> on workgroup SPB
[2008/12/15 22:01:38,  0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(261)
  become_domain_master_query_fail: Error 0 returned when querying WINS server for name SPB<1b>.
Intel Core 2 Duo 3.17 GHz, 4гб ram, Ati Radeon HD 4870, Ubuntu 8.10 x64

Оффлайн tolstyj

  • Участник
  • *
  • Сообщений: 186
    • Просмотр профиля
Re: поднятие контролера домена на Ubuntu 8.10
« Ответ #3 : 15 Декабрь 2008, 23:29:22 »
решил создать контролер домена, почитал мануалы и принялся за работу. Но при попытке подключения Windows машины к домену у меня спрашивают логин и пароь ввожу что создавал при настройке контролера но после небольших рздумий мне говорят что мол подключиться невозможно.


Я так понял, что тебе не дает возможность добавить компьютер в домен? Правильно?

Попробуй добавить строку, типа

add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /var/lib/nobody -s /bin/false %u .

И еще, и еще ты уверен, что тот пользователь под которым ты заходишь имеет права администратора?

admin users =

Оффлайн Ivan99999

  • Автор темы
  • Участник
  • *
  • Сообщений: 117
    • Просмотр профиля
Re: поднятие контролера домена на Ubuntu 8.10
« Ответ #4 : 16 Декабрь 2008, 21:57:12 »
Сделал как вы написали не помогло :( Не хочет лоиниться хотя данные указал верно
Intel Core 2 Duo 3.17 GHz, 4гб ram, Ati Radeon HD 4870, Ubuntu 8.10 x64

Оффлайн SAN_i

  • Участник
  • *
  • Сообщений: 170
    • Просмотр профиля
    • san-i.org.ua
Re: поднятие контролера домена на Ubuntu 8.10
« Ответ #5 : 24 Февраль 2009, 17:41:49 »
Попробуй при подключении к домену указать пользователя root

 

Страница сгенерирована за 0.06 секунд. Запросов: 22.