Обнаружил у себя к console.log следующее. Причем вроде как, все что хочется, работает.
Я наслышан о массе подобных траблов с самбой старще 3.0, но 3ю, я не смог заставить работать с 2008r2
Код: Выделить всё
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2598]: [2010/10/28 20:30:31, 0] winbindd/winbindd_cache.c:2578(initialize_winbindd_cache)
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2598]: initialize_winbindd_cache: clearing cache and re-creating with version number 1
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: [2010/10/28 20:30:31, 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: idmap_alloc module ldap already registered!
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: [2010/10/28 20:30:31, 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: idmap_alloc module tdb already registered!
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: [2010/10/28 20:30:31, 0] winbindd/idmap.c:149(smb_register_idmap)
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: Idmap module passdb already registered!
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: [2010/10/28 20:30:31, 0] winbindd/idmap.c:149(smb_register_idmap)
Oct 28 20:30:31 gateway kernel: Oct 28 20:30:31 gateway winbindd[2600]: Idmap module nss already registered!
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: [2010/10/28 20:30:32, 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: idmap_alloc module ldap already registered!
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: [2010/10/28 20:30:32, 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: idmap_alloc module tdb already registered!
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: [2010/10/28 20:30:32, 0] winbindd/idmap.c:149(smb_register_idmap)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: Idmap module passdb already registered!
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: [2010/10/28 20:30:32, 0] winbindd/idmap.c:149(smb_register_idmap)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway winbindd[2600]: Idmap module nss already registered!
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: [2010/10/28 20:30:32, 0] lib/util_sock.c:902(open_socket_in)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: open_socket_in(): socket() call failed: Protocol not supported
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: [2010/10/28 20:30:32, 0] smbd/server.c:457(smbd_open_one_socket)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: smbd_open_once_socket: open_socket_in: Protocol not supported
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: [2010/10/28 20:30:32, 0] lib/util_sock.c:902(open_socket_in)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: open_socket_in(): socket() call failed: Protocol not supported
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: [2010/10/28 20:30:32, 0] smbd/server.c:457(smbd_open_one_socket)
Oct 28 20:30:32 gateway kernel: Oct 28 20:30:32 gateway smbd[2594]: smbd_open_once_socket: open_socket_in: Protocol not supported
Код: Выделить всё
$ uname -a
FreeBSD gateway.tehnoprogress.spb.ru 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2
$ pkg_info |grep samba
samba34-3.4.8 A free SMB and CIFS client and server for UNIX
Код: Выделить всё
[global]
workgroup = DOMAIN
security = ADS
password server = PDC.DOMAIN.LOCAL
realm = DOMAIN.LOCAL
netbios name = Gateway
interfaces = em0
log level = 10
log file = /var/log/samba/%m.%U.log
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
display charset = koi8-r
unix charset = koi8-r
dos charset = 866
server string = Gateway
auth methods = winbind
map to guest = Bad User
password server = 192.168.5.200
client NTLMv2 auth = Yes
client signing = Yes
disable spoolss = Yes
preferred master = No
local master = No
domain master = No
dns proxy = No
hosts allow = 192.168.5., 127.
map acl inherit = Yes
case sensitive = No
nt acl support = yes
os level = 10
socket options = TCP_NODELAY