On 22-06-10 14:54, Jelle de Jong wrote:
I configured a running samba server that seems to work, except that
the logs are full with failures, errors and warnings. They seem to be
related to winbindd idmap and smbd endpoints.
I did some testing and purged winbindd from the system I thought it was
needed for my setup with "net sam provision" but it seems not needed for
normal runtime.
However I still get a lot of smbd warnings and errors. Could somebody
help me explaining these errors and possibly make suggestions how to fix
the issues causing them.
See the attached file for my configuration errors and samba version.
Thanks in advance,
With kind regards,
Jelle de Jong
#-----------------------------------------------------------------------
Jun 28 09:09:33 cassidy smbd[3901]: [2010/06/28 09:09:33, 0]
param/loadparm.c:8569(process_usershare_file)
Jun 28 09:09:33 cassidy smbd[3901]: process_usershare_file: stat of
/var/lib/samba/usershares/websites failed. Permission denied
Jun 28 09:11:44 cassidy smbd[3903]: [2010/06/28 09:11:44, 0]
smbd/nttrans.c:2119(call_nt_transact_ioctl)
Jun 28 09:11:44 cassidy smbd[3903]: call_nt_transact_ioctl(0x90078):
Currently not implemented.
Jun 28 09:21:33 cassidy smbd[3974]: [2010/06/28 09:21:33, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:21:33 cassidy smbd[3974]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:21:33 cassidy smbd[3974]: [2010/06/28 09:21:33, 0]
lib/util_sock.c:738(write_data)
Jun 28 09:21:33 cassidy smbd[3974]: [2010/06/28 09:21:33, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:21:33 cassidy smbd[3974]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:21:33 cassidy smbd[3974]: write_data: write failure in writing to
client 0.0.0.0. Error Connection reset by peer
Jun 28 09:21:33 cassidy smbd[3974]: [2010/06/28 09:21:33, 0]
smbd/process.c:62(srv_send_smb)
Jun 28 09:21:33 cassidy smbd[3974]: Error writing 4 bytes to client. -1.
(Transport endpoint is not connected)
Jun 28 09:21:34 cassidy smbd[3978]: [2010/06/28 09:21:34, 0]
param/loadparm.c:8569(process_usershare_file)
Jun 28 09:21:34 cassidy smbd[3978]: process_usershare_file: stat of
/var/lib/samba/usershares/websites failed. Permission denied
Jun 28 09:21:35 cassidy smbd[3979]: [2010/06/28 09:21:35, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:21:35 cassidy smbd[3979]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:21:35 cassidy smbd[3979]: [2010/06/28 09:21:35, 0]
lib/util_sock.c:539(read_fd_with_timeout)
Jun 28 09:21:35 cassidy smbd[3979]: [2010/06/28 09:21:35, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:21:35 cassidy smbd[3979]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:21:35 cassidy smbd[3979]: read_fd_with_timeout: client 0.0.0.0 read
error = Connection reset by peer.
Jun 28 09:22:03 cassidy smbd[3982]: [2010/06/28 09:22:03, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:22:03 cassidy smbd[3982]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:22:03 cassidy smbd[3982]: [2010/06/28 09:22:03, 0]
lib/util_sock.c:539(read_fd_with_timeout)
Jun 28 09:22:03 cassidy smbd[3982]: [2010/06/28 09:22:03, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:22:03 cassidy smbd[3982]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:22:03 cassidy smbd[3982]: read_fd_with_timeout: client 0.0.0.0 read
error = Connection reset by peer.
Jun 28 09:25:52 cassidy smbd[4002]: [2010/06/28 09:25:52, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:25:52 cassidy smbd[4002]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:25:52 cassidy smbd[4002]: [2010/06/28 09:25:52, 0]
lib/util_sock.c:539(read_fd_with_timeout)
Jun 28 09:25:52 cassidy smbd[4002]: [2010/06/28 09:25:52, 0]
lib/util_sock.c:1491(get_peer_addr_internal)
Jun 28 09:25:52 cassidy smbd[4002]: getpeername failed. Error was Transport
endpoint is not connected
Jun 28 09:25:52 cassidy smbd[4002]: read_fd_with_timeout: client 0.0.0.0 read
error = Connection reset by peer.
Jun 28 09:28:32 cassidy smbd[4003]: [2010/06/28 09:28:32, 0]
smbd/nttrans.c:2119(call_nt_transact_ioctl)
Jun 28 09:28:32 cassidy smbd[4003]: call_nt_transact_ioctl(0x900eb):
Currently not implemented.
#-----------------------------------------------------------------------
# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[algemeen]"
Processing section "[beeldbank]"
Processing section "[marketing]"
Processing section "[secretariaat]"
Processing section "[websites]"
Processing section "[externen]"
Processing section "[individuen]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = c-company
server string = samba %v server
interfaces = lo, eth1
bind interfaces only = Yes
passdb backend = ldapsam
log file = /var/log/samba/log.%m
max log size = 1000
load printers = No
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
ldap admin dn = cn=admin,dc=c-company,dc=nl
ldap delete dn = Yes
ldap group suffix = ou=groups
ldap idmap suffix = ou=idmap
ldap machine suffix = ou=computers
ldap passwd sync = yes
ldap suffix = dc=c-company,dc=nl
ldap ssl = no
ldap user suffix = ou=users
message command = /usr/bin/mail -s 'message from %f on %m' root < %s; rm %s
&
panic action = /usr/share/samba/panic-action %d
idmap backend = ldap:ldap://localhost/
idmap alloc backend = ldap
idmap uid = 5000-50000
idmap gid = 5000-50000
template homedir = /home/samba/shares/
template shell = /bin/sh
ldapsam:trusted = yes
ldapsam:editposix = yes
idmap alloc config:ldap_url = ldap://localhost/
idmap alloc config:ldap_base_dn = ou=idmap,dc=c-company,dc=nl
idmap alloc config:ldap_user_dn = cn=admin,dc=c-company,dc=nl
[algemeen]
comment = Algemene Directories
path = /home/samba/shares/algemeen
valid users = "+Algemene Users"
force group = "Algemene Users"
read only = No
inherit acls = Yes
map acl inherit = Yes
store dos attributes = Yes
vfs objects = recycle
[beeldbank]
comment = Beeldbank Directories
path = /home/samba/shares/beeldbank
valid users = "+Beeldbank Users"
force group = "Beeldbank Users"
read only = No
inherit acls = Yes
map acl inherit = Yes
store dos attributes = Yes
vfs objects = recycle
[marketing]
comment = Marketing Directories
path = /home/samba/shares/marketing
valid users = "+Marketing Users"
force group = "Marketing Users"
read only = No
inherit acls = Yes
map acl inherit = Yes
store dos attributes = Yes
vfs objects = recycle
[secretariaat]
comment = Secretariaat Directories
path = /home/samba/shares/secretariaat
valid users = "+Secretariaat Users"
force group = "Secretariaat Users"
read only = No
inherit acls = Yes
map acl inherit = Yes
store dos attributes = Yes
vfs objects = recycle
[websites]
comment = Website Directories
path = /home/samba/shares/websites
valid users = "+Websites Users"
force group = "Websites Users"
read only = No
inherit acls = Yes
map acl inherit = Yes
store dos attributes = Yes
vfs objects = recycle
[externen]
comment = Files voor externen
path = /home/samba/shares/externen
read only = No
inherit acls = Yes
map acl inherit = Yes
store dos attributes = Yes
vfs objects = recycle
[individuen]
comment = Files voor individuen
path = /home/samba/shares/individuen
read only = No
inherit acls = Yes
map acl inherit = Yes
store dos attributes = Yes
vfs objects = recycle
#-----------------------------------------------------------------------
# debian gnu/linux server
# dpkg -l samba winbind
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-============================================-============================================-========================================================================================================
ii samba 2:3.4.8~dfsg-1
SMB/CIFS file, print, and login server for Unix
pn winbind <none>
(no description available)
#-----------------------------------------------------------------------
/var/log/samba/log.0.0.0.0
/var/log/samba/log.smbd
#-----------------------------------------------------------------------
# mount | grep home
/dev/mapper/lvm0--vol-home on /home type ext4 (rw,acl,user_xattr)
#-----------------------------------------------------------------------
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba