On Wed, 06 Sep 2017 13:05:40 -0700 toddandmargo via samba <samba at lists.samba.org> wrote:> > > ---- On Wed, 06 Sep 2017 12:59:47 -0700 toddandmargo via > samba<samba at lists.samba.org> wrote ---- > > > > > > ---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via > > samba<samba at lists.samba.org> wrote ---- > > > On Wed, 06 Sep 2017 12:33:43 -0700 > > > toddandmargo via samba <samba at lists.samba.org> wrote: > > > > > > > > > > > > > > > # rpm -qa samba > > > > samba-4.6.7-0.fc26.x86_64 > > > > > > > > I have a weird log file: > > > > /var/log/samba/samba-log.______________________________ > > > > > > > > This pops up every times i try to SMB scan from my Xerox > > > > WorkCentre 3550 > > > > > > > > It contains stuff like: > > > > # cat samba-log.______________________________ | grep -i error > > > > get_mydnsfullname: getaddrinfo failed for name > > > > FedoraServer.xxxx.local [Unknown error] get_mydnsfullname: > > > > getaddrinfo failed for name FedoraServer.xxxx.local [Unknown > > > > error] pid[19650] Error writing 163 bytes to client > > > > ipv4:192.168.255.21:49850. -1. (Broken pipe) > > > > > > > > # cat samba-log.______________________________ | grep -i > > > > failed interpret_string_addr_internal: getaddrinfo failed for > > > > name FedoraServer.xxxx.local (flags 34) [Name or service not > > > > known] get_mydnsfullname: getaddrinfo failed for name > > > > FedoraServer.xxxx.local [Unknown error] > > > > interpret_string_addr_internal: getaddrinfo failed for name > > > > FedoraServer.xxxx.local (flags 34) [Name or service not known] > > > > get_mydnsfullname: getaddrinfo failed for name > > > > FedoraServer.xxxx.local [Unknown error] Server exit > > > > (construct_reply_chain: srv_send_smb failed.) > > > > > > > > > > > > > > > > ???? > > > > > > > > Many thanks, > > > > -T > > > > > > > > > > > > > smb.conf ???????? > > > > > > Rowland > > > > smb.conf is YUGE. > >Just post the [global] part then Without it, we have absolutely no way to know how you are running Samba Rowland
---- On Wed, 06 Sep 2017 13:16:20 -0700 Rowland Penny via samba wrote ---->On Wed, 06 Sep 2017 13:05:40 -0700 >toddandmargo via samba <samba at lists.samba.org> wrote: > >> >> >> ---- On Wed, 06 Sep 2017 12:59:47 -0700 toddandmargo via >> samba<samba at lists.samba.org> wrote ---- >> > >> > >> > ---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via >> > samba<samba at lists.samba.org> wrote ---- >> > > On Wed, 06 Sep 2017 12:33:43 -0700 >> > > toddandmargo via samba <samba at lists.samba.org> wrote: >> > > >> > > > >> > > > >> > > > # rpm -qa samba >> > > > samba-4.6.7-0.fc26.x86_64 >> > > > >> > > > I have a weird log file: >> > > > /var/log/samba/samba-log.______________________________ >> > > > >> > > > This pops up every times i try to SMB scan from my Xerox >> > > > WorkCentre 3550 >> > > > >> > > > It contains stuff like: >> > > > # cat samba-log.______________________________ | grep -i error >> > > > get_mydnsfullname: getaddrinfo failed for name >> > > > FedoraServer.xxxx.local [Unknown error] get_mydnsfullname: >> > > > getaddrinfo failed for name FedoraServer.xxxx.local [Unknown >> > > > error] pid[19650] Error writing 163 bytes to client >> > > > ipv4:192.168.255.21:49850. -1. (Broken pipe) >> > > > >> > > > # cat samba-log.______________________________ | grep -i >> > > > failed interpret_string_addr_internal: getaddrinfo failed for >> > > > name FedoraServer.xxxx.local (flags 34) [Name or service not >> > > > known] get_mydnsfullname: getaddrinfo failed for name >> > > > FedoraServer.xxxx.local [Unknown error] >> > > > interpret_string_addr_internal: getaddrinfo failed for name >> > > > FedoraServer.xxxx.local (flags 34) [Name or service not known] >> > > > get_mydnsfullname: getaddrinfo failed for name >> > > > FedoraServer.xxxx.local [Unknown error] Server exit >> > > > (construct_reply_chain: srv_send_smb failed.) >> > > > >> > > > >> > > > >> > > > ???? >> > > > >> > > > Many thanks, >> > > > -T >> > > > >> > > >> > > >> > > smb.conf ???????? >> > > >> > > Rowland >> > >> > smb.conf is YUGE. >> > > >Just post the [global] part then > >Without it, we have absolutely no way to know how you are running Samba > >RowlandSure, but first, this appears in samba-log.192.168.255.21 [2017/09/06 13:21:35.203218, 2] ../source3/smbd/reply.c:746(reply_special) netbios connect: local=fedoraserver remote=______________________________, name type = 0 Which is the name of the weird log file This is the comment removed section of Global and the one share the scanner is trying to contact. All the windows workstations can use this share [global] workgroup = xxxxx server string = Fedora Samba Server volume = Fedora Core, %v comment = Samba (NetBIOS) Server on FedoraServer.xxxxx.com netbios name = FedoraServer netbios aliases = PlaceJokeHere interfaces = eno1 127.0.0.1 hosts deny = ALL hosts allow = 192.168.255. 127.0.0. lanman auth = yes ntlm auth = yes printcap name = /etc/printcap show add printer wizard = No load printers = yes printing = BSD guest account = pcguest log file = /var/log/samba/samba-log.%m log level = 4 passdb:10 auth:10 strict locking = no follow symlinks = yes wide links = no locking = yes strict locking = no security = user smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passdb backend = smbpasswd local master = yes os level = 75 domain master = yes domain logons = yes idmap config * : backend = tdb idmap config * : range = 1000000-1999999 logon script = scripts\logon.bat logon path logon drive = X: preferred master = yes wins support = yes name resolve order = host wins dns proxy = yes deadtime = 20160 force create mode = 0000 create mode = 0777 force directory mode = 0000 directory mode = 0777 map archive = yes map system = yes map hidden = yes [public] comment = Public on xxxx FedoraServer -- Mount as F: path = /exports/public valid users = @users write list = @users force group = users force user = public locking = yes oplocks = no fake oplocks = no level2 oplocks = no strict locking = no blocking locks = no public = no writable = yes printable = no browseable = yes create mode = 0777 force directory mode = 0000 directory mode = 0777 map archive = yes map system = yes map hidden = yes
---- On Wed, 06 Sep 2017 13:16:20 -0700 Rowland Penny via samba<samba at lists.samba.org> wrote ---- > On Wed, 06 Sep 2017 13:05:40 -0700 > toddandmargo via samba <samba at lists.samba.org> wrote: > > > > > > > ---- On Wed, 06 Sep 2017 12:59:47 -0700 toddandmargo via > > samba<samba at lists.samba.org> wrote ---- > > > > > > > > > ---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via > > > samba<samba at lists.samba.org> wrote ---- > > > > On Wed, 06 Sep 2017 12:33:43 -0700 > > > > toddandmargo via samba <samba at lists.samba.org> wrote: > > > > > > > > > > > > > > > > > > > # rpm -qa samba > > > > > samba-4.6.7-0.fc26.x86_64 > > > > > > > > > > I have a weird log file: > > > > > /var/log/samba/samba-log.______________________________ > > > > > > > > > > This pops up every times i try to SMB scan from my Xerox > > > > > WorkCentre 3550 > > > > > > > > > > It contains stuff like: > > > > > # cat samba-log.______________________________ | grep -i error > > > > > get_mydnsfullname: getaddrinfo failed for name > > > > > FedoraServer.xxxx.local [Unknown error] get_mydnsfullname: > > > > > getaddrinfo failed for name FedoraServer.xxxx.local [Unknown > > > > > error] pid[19650] Error writing 163 bytes to client > > > > > ipv4:192.168.255.21:49850. -1. (Broken pipe) > > > > > > > > > > # cat samba-log.______________________________ | grep -i > > > > > failed interpret_string_addr_internal: getaddrinfo failed for > > > > > name FedoraServer.xxxx.local (flags 34) [Name or service not > > > > > known] get_mydnsfullname: getaddrinfo failed for name > > > > > FedoraServer.xxxx.local [Unknown error] > > > > > interpret_string_addr_internal: getaddrinfo failed for name > > > > > FedoraServer.xxxx.local (flags 34) [Name or service not known] > > > > > get_mydnsfullname: getaddrinfo failed for name > > > > > FedoraServer.xxxx.local [Unknown error] Server exit > > > > > (construct_reply_chain: srv_send_smb failed.) > > > > > > > > > > > > > > > > > > > > ???? > > > > > > > > > > Many thanks, > > > > > -T > > > > > > > > > > > > > > > > > smb.conf ???????? > > > > > > > > Rowland > > > > > > smb.conf is YUGE. > > > > > Just post the [global] part then > > Without it, we have absolutely no way to know how you are running Samba > > Rowland > This works from another Linux machine: # mount -t cifs -o username=workcentre,password=AAAAAA //192.168.255.12/public tmp
On Wed, 06 Sep 2017 13:32:39 -0700 toddandmargo via samba <samba at lists.samba.org> wrote:> > [global] > workgroup = xxxxx > server string = Fedora Samba Server > volume = Fedora Core, %v > comment = Samba (NetBIOS) Server on FedoraServer.xxxxx.com > netbios name = FedoraServer > netbios aliases = PlaceJokeHere > interfaces = eno1 127.0.0.1 > hosts deny = ALL > hosts allow = 192.168.255. 127.0.0. > lanman auth = yes > ntlm auth = yes > printcap name = /etc/printcap > show add printer wizard = No > load printers = yes > printing = BSD > guest account = pcguest > log file = /var/log/samba/samba-log.%m > log level = 4 passdb:10 auth:10 > strict locking = no > follow symlinks = yes > wide links = no > locking = yes > strict locking = no > security = user > smb passwd file = /etc/samba/smbpasswd > unix password sync = Yes > passwd program = /usr/bin/passwd %u > passdb backend = smbpasswd > local master = yes > os level = 75 > domain master = yes > domain logons = yes > idmap config * : backend = tdb > idmap config * : range = 1000000-1999999 > logon script = scripts\logon.bat > logon path > logon drive = X: > preferred master = yes > wins support = yes > name resolve order = host wins > dns proxy = yes > deadtime = 20160 > force create mode = 0000 > create mode = 0777 > force directory mode = 0000 > directory mode = 0777 > map archive = yes > map system = yes > map hidden = yes > > > [public] > comment = Public on xxxx FedoraServer -- Mount as F: > path = /exports/public > valid users = @users > write list = @users > force group = users > force user = public > > locking = yes > oplocks = no > fake oplocks = no > level2 oplocks = no > strict locking = no > blocking locks = no > public = no > writable = yes > printable = no > browseable = yes > > create mode = 0777 > force directory mode = 0000 > directory mode = 0777 > map archive = yes > map system = yes > map hidden = yes >If you remove the default lines and lines that shouldn't be there, your PDC smb.conf will look like this: [global] workgroup = xxxxx security = user netbios name = FedoraServer netbios aliases = PlaceJokeHere server string = Fedora Samba Server interfaces = eno1 127.0.0.1 hosts deny = ALL hosts allow = 192.168.255. 127.0.0. lanman auth = yes ntlm auth = yes printcap name = /etc/printcap show add printer wizard = No load printers = yes printing = BSD guest account = pcguest log file = /var/log/samba/samba-log.%m log level = 4 passdb:10 auth:10 smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passdb backend = smbpasswd local master = yes os level = 75 domain master = yes domain logons = yes idmap config * : backend = tdb idmap config * : range = 1000000-1999999 logon script = scripts\logon.bat logon path logon drive = X: preferred master = yes wins support = yes name resolve order = host wins deadtime = 20160 [public] comment = Public on xxxx FedoraServer -- Mount as F: path = /exports/public valid users = @users write list = @users force group = users force user = public oplocks = no level2 oplocks = no strict locking = no blocking locks = no public = no writable = yes create mode = 0777 directory mode = 0777 map system = yes map hidden = yes Don't think doing this though will fix your problem. Did the log entries start recently ?, or have they always been there (it sounds like they started recently). If they started recently, has anything changed ? software updates etc From the log fragment, you seem to be using '.local' (unless this is sanitisation) if so what is the 'hosts' line in /etc/hosts ? does it reference msdns, if it does, removing this may fix your problem. Rowland