rendered paste bodyMay 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:02:36 thome smbd[5487]: getpeername failed. Error was Socket is not connectedMay 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:02:36 thome smbd[5487]: getpeername failed. Error was Socket is not connectedMay 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:02:36 thome smbd[5487]: getpeername failed. Error was Socket is not connectedMay 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/access.c:check_access(410)May 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:02:36 thome smbd[5487]: getpeername failed. Error was Socket is not connectedMay 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:02:36 thome smbd[5487]: getpeername failed. Error was Socket is not connectedMay 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:02:36 thome smbd[5487]: getpeername failed. Error was Socket is not connectedMay 18 19:02:36 thome smbd[5487]: Connection denied from 0.0.0.0May 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:write_data(1136)May 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:02:36 thome smbd[5487]: getpeername failed. Error was Socket is not connectedMay 18 19:02:36 thome smbd[5487]: write_data: write failure in writing to client 0.0.0.0. Error Socket is not connectedMay 18 19:02:36 thome smbd[5487]: [2009/05/18 19:02:36, 0] smbd/process.c:srv_send_smb(74)May 18 19:02:36 thome smbd[5487]: Error writing 5 bytes to client. -1. (Socket is not connected)May 18 19:02:37 thome winbindd[5162]: [2009/05/18 19:02:37, 0] libsmb/namequery.c:saf_store(75)May 18 19:02:37 thome winbindd[5162]: saf_store: refusing to store 0 length domain or servername!May 18 19:02:47 thome winbindd[5162]: [2009/05/18 19:02:47, 0] libsmb/clientgen.c:cli_receive_smb(165)May 18 19:02:47 thome winbindd[5162]: Receiving SMB: Server stopped respondingMay 18 19:02:47 thome winbindd[5163]: [2009/05/18 19:02:47, 0] libsmb/namequery.c:saf_store(75)May 18 19:02:47 thome winbindd[5163]: saf_store: refusing to store 0 length domain or servername!May 18 19:02:57 thome winbindd[5163]: [2009/05/18 19:02:57, 0] libsmb/clientgen.c:cli_receive_smb(165)May 18 19:02:57 thome winbindd[5163]: Receiving SMB: Server stopped respondingMay 18 19:02:57 thome winbindd[5162]: [2009/05/18 19:02:57, 0] libsmb/namequery.c:saf_store(75)May 18 19:02:57 thome winbindd[5162]: saf_store: refusing to store 0 length domain or servername!May 18 19:03:07 thome winbindd[5162]: [2009/05/18 19:03:07, 0] libsmb/clientgen.c:cli_receive_smb(165)May 18 19:03:07 thome winbindd[5162]: Receiving SMB: Server stopped respondingMay 18 19:03:07 thome winbindd[5163]: [2009/05/18 19:03:07, 0] libsmb/namequery.c:saf_store(75)May 18 19:03:07 thome winbindd[5163]: saf_store: refusing to store 0 length domain or servername!May 18 19:03:13 thome smbd[5484]: [2009/05/18 19:03:13, 0] lib/util_sock.c:read_socket_with_timeout(939)May 18 19:03:13 thome smbd[5484]: [2009/05/18 19:03:13, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:03:13 thome smbd[5484]: getpeername failed. Error was Socket is not connectedMay 18 19:03:13 thome smbd[5484]: read_socket_with_timeout: client 0.0.0.0 read error = Socket is not connected.May 18 19:03:14 thome smbd[5486]: [2009/05/18 19:03:14, 0] lib/util_sock.c:read_socket_with_timeout(939)May 18 19:03:14 thome smbd[5486]: [2009/05/18 19:03:14, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:03:14 thome smbd[5486]: getpeername failed. Error was Socket is not connectedMay 18 19:03:14 thome smbd[5486]: read_socket_with_timeout: client 0.0.0.0 read error = Socket is not connected.May 18 19:03:14 thome winbindd[5164]: [2009/05/18 19:03:14, 0] libsmb/namequery.c:saf_store(75)May 18 19:03:14 thome winbindd[5164]: saf_store: refusing to store 0 length domain or servername!May 18 19:03:15 thome smbd[5489]: [2009/05/18 19:03:15, 0] lib/util_sock.c:read_socket_with_timeout(939)May 18 19:03:15 thome smbd[5489]: [2009/05/18 19:03:15, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:03:15 thome smbd[5489]: getpeername failed. Error was Socket is not connectedMay 18 19:03:14 thome smbd[5486]: getpeername failed. Error was Socket is not connectedMay 18 19:03:14 thome smbd[5486]: read_socket_with_timeout: client 0.0.0.0 read error = Socket is not connected.May 18 19:03:14 thome winbindd[5164]: [2009/05/18 19:03:14, 0] libsmb/namequery.c:saf_store(75)May 18 19:03:14 thome winbindd[5164]: saf_store: refusing to store 0 length domain or servername!May 18 19:03:15 thome smbd[5489]: [2009/05/18 19:03:15, 0] lib/util_sock.c:read_socket_with_timeout(939)May 18 19:03:15 thome smbd[5489]: [2009/05/18 19:03:15, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:03:15 thome smbd[5489]: getpeername failed. Error was Socket is not connectedMay 18 19:03:15 thome smbd[5489]: read_socket_with_timeout: client 0.0.0.0 read error = Socket is not connected.May 18 19:03:15 thome winbindd[5162]: [2009/05/18 19:03:15, 0] libsmb/namequery.c:saf_store(75)May 18 19:03:15 thome winbindd[5162]: saf_store: refusing to store 0 length domain or servername!May 18 19:09:16 thome winbindd[5164]: [2009/05/18 19:09:16, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1410)May 18 19:09:16 thome winbindd[5164]: ldap_set_mapping_internals: Failed to add S-1-5-32-546 to 10062 mapping [gidNumber]May 18 19:09:16 thome winbindd[5164]: [2009/05/18 19:09:16, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1412)May 18 19:09:16 thome winbindd[5164]: ldap_set_mapping_internals: Error was: (NULL) (Already exists)May 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:15:20 thome smbd[5567]: getpeername failed. Error was Socket is not connectedMay 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:15:20 thome smbd[5567]: getpeername failed. Error was Socket is not connectedMay 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:15:20 thome smbd[5567]: getpeername failed. Error was Socket is not connectedMay 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/access.c:check_access(410)May 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:15:20 thome smbd[5567]: getpeername failed. Error was Socket is not connectedMay 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:15:20 thome smbd[5567]: getpeername failed. Error was Socket is not connectedMay 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:15:20 thome smbd[5567]: getpeername failed. Error was Socket is not connectedMay 18 19:15:20 thome smbd[5567]: Connection denied from 0.0.0.0May 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:write_data(1136)May 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:15:20 thome smbd[5567]: getpeername failed. Error was Socket is not connectedMay 18 19:15:20 thome smbd[5567]: write_data: write failure in writing to client 0.0.0.0. Error Socket is not connectedMay 18 19:15:20 thome smbd[5567]: [2009/05/18 19:15:20, 0] smbd/process.c:srv_send_smb(74)May 18 19:15:20 thome smbd[5567]: Error writing 5 bytes to client. -1. (Socket is not connected)May 18 19:15:20 thome winbindd[5164]: [2009/05/18 19:15:20, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1410)May 18 19:15:20 thome winbindd[5164]: ldap_set_mapping_internals: Failed to add S-1-5-32-546 to 10063 mapping [gidNumber]May 18 19:15:20 thome winbindd[5164]: [2009/05/18 19:15:20, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1412)May 18 19:15:20 thome winbindd[5164]: ldap_set_mapping_internals: Error was: (NULL) (Already exists)May 18 19:21:22 thome winbindd[5164]: [2009/05/18 19:21:22, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1410)May 18 19:21:22 thome winbindd[5164]: ldap_set_mapping_internals: Failed to add S-1-5-32-546 to 10064 mapping [gidNumber]May 18 19:21:22 thome winbindd[5164]: [2009/05/18 19:21:22, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1412)May 18 19:21:22 thome winbindd[5164]: ldap_set_mapping_internals: Error was: (NULL) (Already exists)May 18 19:27:27 thome smbd[5637]: [2009/05/18 19:27:27, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:27:27 thome smbd[5637]: getpeername failed. Error was Socket is not connectedMay 18 19:27:27 thome smbd[5637]: [2009/05/18 19:27:27, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:27:27 thome smbd[5637]: getpeername failed. Error was Socket is not connectedMay 18 19:27:27 thome smbd[5637]: [2009/05/18 19:27:27, 0] lib/util_sock.c:get_peer_addr_internal(1676)May 18 19:27:27 thome smbd[5637]: getpeername failed. Error was Socket is not connected# FreeBSD BOX - LDAP - SAMBA - SMBLDAPTOOLS - ISSUES -#smb.conf has freaking me out!#had loked at smb.conf(4) and google, but withou sucess#services works, but slowly#Any help is appreciate: vinnix.bsd@gmail.com## Versions of the packages:# pkg_info | egrep -i "samba|smbldap|openldap|cyrus|smb"#cyrus-sasl-2.1.23 RFC 2222 SASL (Simple Authentication and Security Layer)#dmidecode-2.10 A tool for dumping DMI (SMBIOS) contents in human-readable#ldap-account-manager-2.6.0 Webfrontend for managing accounts stored in an OpenLDAP ser#openldap-sasl-client-2.4.16 Open source LDAP client implementation with SASL2 support#openldap-sasl-server-2.4.16_1 Open source LDAP server implementation#p5-Crypt-SmbHash-0.12 Perl module implementing lanman and nt md4 hash functions#samba-3.3.3 A free SMB and CIFS client and server for UNIX#smbldap-tools-0.9.5 Samba-LDAP management and support tools## tail -f /var/log/messages # A LOT OF THIS ISSUES:#May 18 19:03:15 thome smbd[5489]: [2009/05/18 19:03:15, 0] lib/util_sock.c:read_socket_with_timeout(939)#May 18 19:03:15 thome smbd[5489]: [2009/05/18 19:03:15, 0] lib/util_sock.c:get_peer_addr_internal(1676)#May 18 19:03:15 thome smbd[5489]: getpeername failed. Error was Socket is not connected#May 18 19:03:15 thome smbd[5489]: read_socket_with_timeout: client 0.0.0.0 read error = Socket is not connected.#May 18 19:03:15 thome winbindd[5162]: [2009/05/18 19:03:15, 0] libsmb/namequery.c:saf_store(75)#May 18 19:03:15 thome winbindd[5162]: saf_store: refusing to store 0 length domain or servername!#May 18 19:09:16 thome winbindd[5164]: [2009/05/18 19:09:16, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1410)#May 18 19:09:16 thome winbindd[5164]: ldap_set_mapping_internals: Failed to add S-1-5-32-546 to 10062 mapping [gidNumber]#May 18 19:09:16 thome winbindd[5164]: [2009/05/18 19:09:16, 0] winbindd/idmap_ldap.c:idmap_ldap_set_mapping(1412)#May 18 19:09:16 thome winbindd[5164]: ldap_set_mapping_internals: Error was: (NULL) (Already exists)[global]dos charset = UTF-8workgroup = CORP_TRIARIUSserver string = FreeBSD PDCsecurity = userpassdb backend = ldapsam:ldap://127.0.0.1/passwd program = /usr/bin/passwd %upasswd chat = *New*password* %n\n *Retype*new*password* %n\n*passwd:*all*authentication*tokens*updated*successfully*log file = /var/log/samba/%m.logmax log size = 50socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192socket address = 192.168.1.1interfaces = 192.168.1.0/26wins support = yes#bind interfaces only = yes#load printers = yes#printcap name = cupsadd user script = /usr/local/sbin/smbldap-useradd -m "%u"delete user script = /usr/local/sbin/smbldap-userdel "%u"add group script = /usr/local/sbin/smbldap-groupadd -p "%g"delete group script = /usr/local/sbin/smbldap-groupdel "%g"add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g"set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"add machine script = /usr/local/sbin/smbldap-useradd -w "%u"logon script = %U.batlogon path =domain logons = Yesos level = 100preferred master = Yesdomain master = Yesdns proxy = Noldap admin dn = cn=root,dc=corp,dc=triarius,dc=com,dc=brldap delete dn = Yesldap group suffix = ou=Groupldap idmap suffix = ou=Idmapldap machine suffix = ou=Computersldap passwd sync = Yesldap suffix = dc=corp,dc=triarius,dc=com,dc=brldap ssl = noldap user suffix = ou=Peopleidmap backend = ldap:ldap://127.0.0.1idmap uid = 10000-15000idmap gid = 10000-15000template shell = /usr/bin/nologinadmin users = administrator, roothosts allow = 192.168.1., 127.0.0.1#printing = cups#print command = lpr -P'%p' %s; rm %squeuepause command = disable '%p'queueresume command = enable '%p'delete veto files = Yesveto files = /*.aif/*.avi/*.cpl/*.mid/*.mov/*.mpa/*.mpe/*.mp3/*.mpeg/*.mpg/*.rar/*.scr/*.vbe/*.vbs/*.wav/*.wma/*.wmv/*.pif/*.bat/*.exe/[homes]comment = Home Directoriesvalid users = %Sforce user = %Uread only = Nocreate mask = 0664directory mask = 0775browseable = No[profiles]path = /home/profilesvalid users = %U, "@Domain Admins"force user = %Uread only = Nobrowseable = No[admin$]comment = Diretorio ROOTpath = /valid users = @wheelread only = Nocreate mask = 0664directory mask = 0775#[cdrom]#comment = Drive CD-ROM#path = /cdrom#read list = nobody, guest, system, @wheel, @nobody#read only = No[netlogon]comment = The domain logon servicepath = /usr/local/etc/samba/netlogonbrowseable = Noshare modes = No[disco]comment = Diretorio publicopath = /mnt/dsk2/SAMBAread only = Nocreate mask = 0777directory mask = 0777guest ok = No#[print$]#comment = Printer Drivers#path = /usr/local/share/cups/drivers#browseable = yes#guest ok = yes#guest ok = no#read only = yes#write list = root#[printers]#comment = Impressoras#path = /var/spool/samba#browseable = no#public = yes#guest ok = yes#writable = no#printable = yes##printer admin = root