The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Не могу добавить linux-машину в домен"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Не могу добавить linux-машину в домен"  
Сообщение от simplelad email(ok) on 17-Окт-07, 17:28 
На сервере настроена samba в качестве PDC.
Админ домена - root. Версия samba-3.0.10

Windows XP без проблем входит в домен.

Linux при попытке добавиться с помощью net join -S ip_pdc -w domainname -U root%rootpass выдает:

[2007/10/17 17:23:26, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: No such file or directory
[2007/10/17 17:23:26, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)
  Error domain join verification (reused connection): NT_STATUS_ACCESS_DENIED

Please make sure that no computer account
named like this machine (LINUX-SERVER) exists in the domain
Unable to join domain BUH.

В чем проблема? Почему ацес денайд?

В приложение smb.conf:
[global]
        workgroup = BUH
        netbios name = Linux-Server
        server string = BUH Linux-Server
        passdb backend = tdbsam
        log level = 1
        log file = /var/log/samba/%m.log
        max log size = 50
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/bin/gpasswd -a %u %g
        delete user from group script = /usr/bin/gpasswd -d %u %g
        add machine script = /usr/sbin/useradd -g workstations -s /bin/false -d /dev/null %u
        set primary group script = /usr/sbin/usermod -g %g %u
        logon path =
        logon drive =
        logon home =
        logon script = %G.bat
        domain logons = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#hosts allow = 192.168.2.
        time server = yes
        preferred master = yes
        domain master = yes
        local master = yes
        os level = 255
        unix charset = utf8
        dos charset = cp1251
        display charset = cp1251
        load printers = yes
        printing = cups
        printcap name = cups
        username map = /etc/samba/smbusers
        password server = None
        wins support = yes

[printers]
        comment = All printers
        path = /var/spool/samba
        guest ok = yes
        printable = yes

[homes]
        comment = Home Directories
        browseable = no
        writeable = yes

[netlogon]
        path = /srv/samba/netlogon
        browseable = no

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Не могу добавить linux-машину в домен"  
Сообщение от FelixS email(??) on 19-Окт-07, 20:34 
>[оверквотинг удален]
>  ads_connect: No such file or directory
>[2007/10/17 17:23:26, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)
>  Error domain join verification (reused connection): NT_STATUS_ACCESS_DENIED
>
>Please make sure that no computer account
>named like this machine (LINUX-SERVER) exists in the domain
>Unable to join domain BUH.
>
>В чем проблема? Почему ацес денайд?
>

э-э-э .. простите, а зачем Linux-машину в samba-домен? Для WinXP понятно, SAMBA сделана для интеграции с Windows. Зачем Linux то туда пихать? К тому же команда net -- это для добавления Win и DOS машин в домен.

man net
..
DESCRIPTION
       This tool is part of the samba(7) suite.

       The samba net utility is meant to work just like the net utility available for windows and DOS. The first argument should be used  to
       specify  the  protocol  to  use  when  executing a certain command. ADS is used for ActiveDirectory, RAP is using for old (Win9x/NT3)
       clients and RPC can be used for NT4 and Windows 2000. If this argument is omitted, net will try to determine  it  automatically.  Not
       all commands are available on all protocols.
...

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру