Ситуация у меня такая:
FreeBSD 6.2-RELEASE
winbindd version 3.0.28a
MS Windows Server 2003
Код: Выделить всё
r6# vi /usr/local/etc/smb.conf
[global]
workgroup = MYDOMAIN
netbios name = R6
security = domain
password server = PDC
encrypt passwords = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
winbind cache time = 1
local master = no
preferred master = no
domain master = no
log file = /var/log/samba/log.%m
Код: Выделить всё
r6# /usr/local/etc/rc.d/samba start
Removing stale Samba tdb files: ........ done
Starting nmbd.
Starting smbd.
Starting winbindd.
Код: Выделить всё
[2008/06/09 14:13:52, 1] nsswitch/winbindd.c:main(990)
winbindd version 3.0.28a started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/06/09 14:13:52, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2223)
initialize_winbindd_cache: clearing cache and re-creating with version number 1
далее завожу самбу в домен, проходит без ошибок, пишет, что присоединён к домену...
далее тестирую винбинд
Код: Выделить всё
r6# /usr/local/bin/wbinfo -p
Ping to winbindd succeeded on fd 4
Код: Выделить всё
r6# /usr/local/bin/wbinfo -t
checking the trust secret via RPC calls succeeded
Код: Выделить всё
r6# /usr/local/bin/wbinfo -u
Error looking up domain users
Код: Выделить всё
Jun 9 14:13:52 r6 winbindd[40281]: [2008/06/09 14:13:52, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2223)
Jun 9 14:13:52 r6 winbindd[40281]: initialize_winbindd_cache: clearing cache and re-creating with version number 1
Jun 9 14:13:52 r6 smbd[40275]: [2008/06/09 14:13:52, 0] groupdb/mapping.c:pdb_create_builtin_alias(739)
Jun 9 14:13:52 r6 smbd[40275]: pdb_create_builtin_alias: Could not add group mapping entry for alias 544 (NT_STATUS_UNSUCCESSFUL)
Jun 9 14:13:52 r6 smbd[40275]: [2008/06/09 14:13:52, 0] auth/auth_util.c:create_builtin_administrators(792)
Jun 9 14:13:52 r6 smbd[40275]: create_builtin_administrators: Failed to create Administrators
Jun 9 14:13:52 r6 smbd[40275]: [2008/06/09 14:13:52, 0] groupdb/mapping.c:pdb_create_builtin_alias(739)
Jun 9 14:13:52 r6 smbd[40275]: pdb_create_builtin_alias: Could not add group mapping entry for alias 545 (NT_STATUS_UNSUCCESSFUL)
Jun 9 14:13:52 r6 smbd[40275]: [2008/06/09 14:13:52, 0] auth/auth_util.c:create_builtin_users(758)
Jun 9 14:13:52 r6 smbd[40275]: create_builtin_users: Failed to create Users
Jun 9 14:13:54 r6 winbindd[40169]: [2008/06/09 14:13:54, 0] lib/util_sock.c:read_socket_with_timeout(497)
Jun 9 14:13:54 r6 winbindd[40169]: read_socket_with_timeout: timeout read. read error = Connection reset by peer.
Jun 9 14:13:54 r6 winbindd[40169]: [2008/06/09 14:13:54, 0] libsmb/clientgen.c:cli_receive_smb(112)
Jun 9 14:13:54 r6 winbindd[40169]: Receiving SMB: Server stopped responding
Jun 9 14:13:54 r6 winbindd[40169]: [2008/06/09 14:13:54, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
Jun 9 14:13:54 r6 winbindd[40169]: rpc_api_pipe: Remote machine PDC pipe \NETLOGON fnum 0x4006returned critical error. Error was Read error: Connection reset by peer
Jun 9 14:15:47 r6 nmbd[40269]: [2008/06/09 14:15:47, 0] nmbd/nmbd.c:terminate(58)
Jun 9 14:15:47 r6 nmbd[40269]: Got SIGTERM: going down...
Jun 9 14:15:47 r6 winbindd[40349]: [2008/06/09 14:15:47, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2223)
Jun 9 14:15:47 r6 winbindd[40349]: initialize_winbindd_cache: clearing cache and re-creating with version number 1
Jun 9 14:18:24 r6 winbindd[40350]: [2008/06/09 14:18:24, 0] lib/util_sock.c:write_data(564)
Jun 9 14:18:24 r6 winbindd[40350]: write_data: write failure. Error = Broken pipe
Jun 9 14:18:24 r6 winbindd[40350]: [2008/06/09 14:18:24, 0] libsmb/clientgen.c:write_socket(159)
Jun 9 14:18:24 r6 winbindd[40350]: write_socket: Error writing 45 bytes to socket 19: ERRNO = Broken pipe
Jun 9 14:18:24 r6 winbindd[40350]: [2008/06/09 14:18:24, 0] libsmb/clientgen.c:cli_send_smb(189)
Jun 9 14:18:24 r6 winbindd[40350]: Error writing 45 bytes to client. -1 (Broken pipe)
Jun 9 14:19:24 r6 winbindd[40349]: [2008/06/09 14:19:24, 0] lib/util_sock.c:write_data(564)
Jun 9 14:19:24 r6 winbindd[40349]: write_data: write failure. Error = Broken pipe
Jun 9 14:19:24 r6 winbindd[40349]: [2008/06/09 14:19:24, 0] libsmb/clientgen.c:write_socket(159)
Jun 9 14:19:24 r6 winbindd[40349]: write_socket: Error writing 108 bytes to socket 18: ERRNO = Broken pipe
Jun 9 14:19:24 r6 winbindd[40349]: [2008/06/09 14:19:24, 0] libsmb/clientgen.c:cli_send_smb(189)
Jun 9 14:19:24 r6 winbindd[40349]: Error writing 108 bytes to client. -1 (Broken pipe)
Jun 9 14:20:49 r6 winbindd[40349]: [2008/06/09 14:20:49, 0] lib/util_sock.c:read_socket_with_timeout(497)
Jun 9 14:20:49 r6 winbindd[40349]: read_socket_with_timeout: timeout read. read error = Connection reset by peer.
Jun 9 14:20:49 r6 winbindd[40349]: [2008/06/09 14:20:49, 0] libsmb/clientgen.c:cli_receive_smb(112)
Jun 9 14:20:49 r6 winbindd[40349]: Receiving SMB: Server stopped responding
Jun 9 14:20:49 r6 winbindd[40349]: [2008/06/09 14:20:49, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
Jun 9 14:20:49 r6 winbindd[40349]: rpc_api_pipe: Remote machine PDC pipe \NETLOGON fnum 0xereturned critical error. Error was Read error: Connection reset by peer
Jun 9 14:20:56 r6 winbindd[40349]: [2008/06/09 14:20:56, 0] lib/util_sock.c:read_socket_with_timeout(497)
Jun 9 14:20:56 r6 winbindd[40349]: read_socket_with_timeout: timeout read. read error = Connection reset by peer.
Jun 9 14:20:56 r6 winbindd[40349]: [2008/06/09 14:20:56, 0] libsmb/clientgen.c:cli_receive_smb(112)
Jun 9 14:20:56 r6 winbindd[40349]: Receiving SMB: Server stopped responding
Jun 9 14:20:56 r6 winbindd[40349]: [2008/06/09 14:20:56, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
Jun 9 14:20:56 r6 winbindd[40349]: rpc_api_pipe: Remote machine PDC pipe \NETLOGON fnum 0x8008returned critical error. Error was Read error: Connection reset by peer
Jun 9 14:21:35 r6 winbindd[40350]: [2008/06/09 14:21:35, 0] lib/util_sock.c:write_data(564)
Jun 9 14:21:35 r6 winbindd[40350]: write_data: write failure. Error = Broken pipe
Jun 9 14:21:35 r6 winbindd[40350]: [2008/06/09 14:21:35, 0] libsmb/clientgen.c:write_socket(159)
Jun 9 14:21:35 r6 winbindd[40350]: write_socket: Error writing 104 bytes to socket 18: ERRNO = Broken pipe
Jun 9 14:21:35 r6 winbindd[40350]: [2008/06/09 14:21:35, 0] libsmb/clientgen.c:cli_send_smb(189)
Jun 9 14:21:35 r6 winbindd[40350]: Error writing 104 bytes to client. -1 (Broken pipe)