Re[2]: [samba] samba3.0.4 не может подключитсься к домену

uzzver21 на tut.by uzzver21 на tut.by
Чт Июл 1 11:46:49 MSD 2004


>> SY> [global]
>> SY>         dos charset = CP866
>> SY>         unix charset = KOI8-R
>> SY>         workgroup = REGION
>> SY>         security = DOMAIN
>> SY>         netbios name = FREEBSD
>> SY>         password server = *
>> SY>         auth methods = winbind
>> SY>         encrypt passwords = Yes
>> SY>         update encrypted = Yes
>> SY>         passwd program = /usr/bin/passwd
>> SY>         passwd chat debug = Yes
>> SY>         log level = 5
>> SY>         name resolve order = wins host bcast
>> SY>         load printers = No
>> SY>         show add printer wizard = No
>> SY>         os level = 5
>> SY>         preferred master = No
>> SY>         local master = No
>> SY>         domain master = No
>> SY>         wins server = 212.30.144.1
>> SY>         ldap ssl = no
>> SY>         idmap uid = 10000-20000
>> SY>         idmap gid = 10000-20000
>> SY>         template shell = /bin/sh
>> SY>         winbind separator = .
>> 
>> SY> [temp]
>> SY>         path = /tmp
>> SY>         valid users = region.region
>> SY>         read list = region.region
>> SY>         write list = region.salavat
>> SY>         read only = No
>> 
>> SY> /compat/linux/etc/nsswitch.conf
>> 
>> SY> passwd:     files winbind
>> SY> shadow:     files 
>> SY> group:      files winbind
>> 
>> SY> #hosts:     db files nisplus nis dns
>> SY> hosts:      files wins dns
>> 
>> 
>> SY> 1) Чего посмотреть?
>> SY> 2) Подскажите строчку adduser script в smb.conf для FreeBSD5.x
>> 
>> nsswith должен содержать только 2 строки:
>> passwd:     files winbind
>> group:      files winbind
>> все остальное - лишнее

SY> hosts: - лишнее? 


SY> меня смущают строчки в логе winbindd:
SY> [2004/07/01 11:10:44, 3] libsmb/namequery_dc.c:rpc_dc_name(145)
SY>   rpc_dc_name: Returning DC SERVERNT (212.30.144.1) for domain REGION
SY> [2004/07/01 11:10:44, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(110)
SY>   IPC$ connections done anonymously
SY> [2004/07/01 11:10:44, 3] libsmb/cliconnect.c:cli_start_connection(1373)
SY>   Connecting to host=SERVERNT
SY> [2004/07/01 11:10:44, 3] lib/util_sock.c:open_socket_out(735)
SY>   Connecting to 212.30.144.1 at port 445
SY> [2004/07/01 11:10:44, 2] lib/util_sock.c:open_socket_out(772)
SY>   error connecting to 212.30.144.1:445 (Invalid argument)
SY> [2004/07/01 11:10:44, 3] lib/util_sock.c:open_socket_out(735)
SY>   Connecting to 212.30.144.1 at port 139
SY> [2004/07/01 11:10:44, 3] nsswitch/winbindd_util.c:add_trusted_domain(173)
SY>   add_trusted_domain: BUILTIN is an NT4  domain
SY> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SY> [2004/07/01 11:10:44, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
SY>   Added domain BUILTIN  S-1-5-32
SY> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SY> [2004/07/01 11:10:44, 3] nsswitch/winbindd_util.c:add_trusted_domain(173)
SY>   add_trusted_domain: FREEBSD is an NT4  domain
SY> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SY> [2004/07/01 11:10:44, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
SY>   Added domain FREEBSD  S-1-5-21-3131708852-1253191723-1535601952
SY> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SY> [2004/07/01 11:10:44, 3] nsswitch/winbindd_rpc.c:trusted_domains(925)
SY>   rpc: trusted_domains


SY> что означает: "FREEBSD is an NT4  domain"?

вероятно, стоит понизить os level, т.к. в начальных настройках самбы
эта велицина составляет 20 и таких строк в логах замечено не было



Подробная информация о списке рассылки Samba