weird log file ???

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

weird log file ???

Samba - General mailing list


# 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




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list
On 9/6/2017 3:33 PM, toddandmargo via samba 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
>
>
>
>
Are you doing any client specific logging by chance.

--
--
James


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list
In reply to this post by Samba - General mailing list
On Wed, 06 Sep 2017 12:33:43 -0700
toddandmargo via samba <[hidden email]> 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

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list
In reply to this post by Samba - General mailing list
On Wed, 06 Sep 2017 12:33:43 -0700
toddandmargo via samba <[hidden email]> 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




Not that I know of.  The printer gets its own samba-log.192.168.255.21
log file too

This has me real curious:
 FedoraServer.xxxx.local (flags 34) [Name or service not known]

host FedoraServer.xxxx.local

does show it.

And none of the Windows machine have an issue, just this printer



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list
In reply to this post by Samba - General mailing list


---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via samba<[hidden email]> wrote ----
 > On Wed, 06 Sep 2017 12:33:43 -0700
 > toddandmargo via samba <[hidden email]> 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.

And the windows machine has no problems.  just this printer.
an only since last week when I had to rebuild the server


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list


---- On Wed, 06 Sep 2017 12:59:47 -0700 toddandmargo via samba<[hidden email]> wrote ----
 >
 >
 > ---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via samba<[hidden email]> wrote ----
 >  > On Wed, 06 Sep 2017 12:33:43 -0700
 >  > toddandmargo via samba <[hidden email]> 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.
 >
 > And the windows machine has no problems.  just this printer.
 > an only since last week when I had to rebuild the server
 >
 

if it helps, this command does work, although it takes about 20 seconds:

smbclient -L FedoraServer -U workcentre -W xxxxx


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list
On Wed, 06 Sep 2017 13:05:40 -0700
toddandmargo via samba <[hidden email]> wrote:

>
>
> ---- On Wed, 06 Sep 2017 12:59:47 -0700 toddandmargo via
> samba<[hidden email]> wrote ----
>  >
>  >
>  > ---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via
>  > samba<[hidden email]> wrote ----
>  >  > On Wed, 06 Sep 2017 12:33:43 -0700
>  >  > toddandmargo via samba <[hidden email]> 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

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list


---- 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 <[hidden email]> wrote:
>
>>
>>
>> ---- On Wed, 06 Sep 2017 12:59:47 -0700 toddandmargo via
>> samba<[hidden email]> wrote ----
>> >
>> >
>> > ---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via
>> > samba<[hidden email]> wrote ----
>> > > On Wed, 06 Sep 2017 12:33:43 -0700
>> > > toddandmargo via samba <[hidden email]> 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


Sure, 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






--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list
In reply to this post by Samba - General mailing list


---- On Wed, 06 Sep 2017 13:16:20 -0700 Rowland Penny via samba<[hidden email]> wrote ----
 > On Wed, 06 Sep 2017 13:05:40 -0700
 > toddandmargo via samba <[hidden email]> wrote:
 >
 > >
 > >
 > > ---- On Wed, 06 Sep 2017 12:59:47 -0700 toddandmargo via
 > > samba<[hidden email]> wrote ----
 > >  >
 > >  >
 > >  > ---- On Wed, 06 Sep 2017 12:46:56 -0700 Rowland Penny via
 > >  > samba<[hidden email]> wrote ----
 > >  >  > On Wed, 06 Sep 2017 12:33:43 -0700
 > >  >  > toddandmargo via samba <[hidden email]> 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



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list
In reply to this post by Samba - General mailing list
On Wed, 06 Sep 2017 13:32:39 -0700
toddandmargo via samba <[hidden email]> 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
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list


---- On Wed, 06 Sep 2017 14:11:54 -0700 Rowland Penny via samba<[hidden email]> wrote ----
 > On Wed, 06 Sep 2017 13:32:39 -0700
 > toddandmargo via samba <[hidden email]> 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&#92;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&#92;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

.local is correct.   the xxxx is the sanitation

What changed was that a stinkin' Western Digital SATA hard drive did not
support hot swap, corrupted my os, and I had to reinstall Fedora 26.
I wsas out till 06:00 in the morning repairing everything.  Needless
to say, WD is on my poop list !!!!!!!!!!

Everything  worked afterwards, except this scanner.

yes, I always get the log files.  i want them to help me troubleshoot.

the only weird one is the ___________ which only appears when the
scanner tries to attach.

This entry had got my attention:
# grep -i ____ samba-log.192.168.255.21
  netbios connect: local=fedoraserver remote=______________________________, name type = 0

"remote" what ????

# cat /etc/hosts
127.0.0.1   FedoraServer.xxxx.local FedoraServer localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
# 192.168.255.21 XRX0000AADB824D.xxxx.local XRX0000AADB824D


the .21 entry without with the comment mark makes no difference


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list


---- On Wed, 06 Sep 2017 14:34:27 -0700 toddandmargo via samba  wrote ----

>
>
>---- On Wed, 06 Sep 2017 14:11:54 -0700 Rowland Penny via samba<[hidden email]> wrote ----
> > On Wed, 06 Sep 2017 13:32:39 -0700
> > toddandmargo via samba <[hidden email]> 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&#92;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&#92;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
>
>.local is correct. the xxxx is the sanitation
>
>What changed was that a stinkin' Western Digital SATA hard drive did not
>support hot swap, corrupted my os, and I had to reinstall Fedora 26.
>I wsas out till 06:00 in the morning repairing everything. Needless
>to say, WD is on my poop list !!!!!!!!!!
>
>Everything worked afterwards, except this scanner.
>
>yes, I always get the log files. i want them to help me troubleshoot.
>
>the only weird one is the ___________ which only appears when the
>scanner tries to attach.
>
>This entry had got my attention:
># grep -i ____ samba-log.192.168.255.21
> netbios connect: local=fedoraserver remote=______________________________, name type = 0
>
>"remote" what ????
>
># cat /etc/hosts
>127.0.0.1 FedoraServer.xxxx.local FedoraServer localhost localhost.localdomain localhost4 localhost4.localdomain4
>::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
># 192.168.255.21 XRX0000AADB824D.xxxx.local XRX0000AADB824D
>
>
>the .21 entry without with the comment mark makes no difference


okay, I figured out a workaround.

I set the scanner's smb time out from 5 seconds to 20 seconds.  Now it scans.

Why is samba so slow  connecting?


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list


---- On Wed, 06 Sep 2017 15:27:20 -0700 toddandmargo via samba<[hidden email]> wrote ----
 >
 >
 > ---- On Wed, 06 Sep 2017 14:34:27 -0700 toddandmargo via samba  wrote ----
 > >
 > >
 > >---- On Wed, 06 Sep 2017 14:11:54 -0700 Rowland Penny via samba<[hidden email]> wrote ----
 > > > On Wed, 06 Sep 2017 13:32:39 -0700
 > > > toddandmargo via samba <[hidden email]> 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&#92;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&#92;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
 > >
 > >.local is correct. the xxxx is the sanitation
 > >
 > >What changed was that a stinkin' Western Digital SATA hard drive did not
 > >support hot swap, corrupted my os, and I had to reinstall Fedora 26.
 > >I wsas out till 06:00 in the morning repairing everything. Needless
 > >to say, WD is on my poop list !!!!!!!!!!
 > >
 > >Everything worked afterwards, except this scanner.
 > >
 > >yes, I always get the log files. i want them to help me troubleshoot.
 > >
 > >the only weird one is the ___________ which only appears when the
 > >scanner tries to attach.
 > >
 > >This entry had got my attention:
 > ># grep -i ____ samba-log.192.168.255.21
 > > netbios connect: local=fedoraserver remote=______________________________, name type = 0
 > >
 > >"remote" what ????
 > >
 > ># cat /etc/hosts
 > >127.0.0.1 FedoraServer.xxxx.local FedoraServer localhost localhost.localdomain localhost4 localhost4.localdomain4
 > >::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
 > ># 192.168.255.21 XRX0000AADB824D.xxxx.local XRX0000AADB824D
 > >
 > >
 > >the .21 entry without with the comment mark makes no difference
 >
 >
 > okay, I figured out a workaround.
 >
 > I set the scanner's smb time out from 5 seconds to 20 seconds.  Now it scans.
 >
 > Why is samba so slow  connecting?
 >
 >
 > --
 > To unsubscribe from this list go to the following URL and read the
 > instructions:  https://lists.samba.org/mailman/options/samba
 >


And this is what I do believe is causing it :

# grep -i getadd samba-log.192.168.255.12
interpret_string_addr_internal: getaddrinfo failed for name FedoraServer.alpine.local (flags 34) [Name or service not known]
get_mydnsfullname: getaddrinfo failed for name FedoraServer.alpine.local [Unknown error]


I have a local DNS configured.  How show I configure smb.conf?

# host FedoraServer
FedoraServer.xxxx.local has address 192.168.255.12

# host 192.168.255.12
12.255.168.192.in-addr.arpa domain name pointer FedoraServer.xxxx.local.







--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: weird log file ???

Samba - General mailing list

 >
 > And this is what I do believe is causing it :
 >
 > # grep -i getadd samba-log.192.168.255.12
 > interpret_string_addr_internal: getaddrinfo failed for name FedoraServer.alpine.local (flags 34) [Name or service not known]
 > get_mydnsfullname: getaddrinfo failed for name FedoraServer.alpine.local [Unknown error]
 >
 >
 > I have a local DNS configured.  How show I configure smb.conf?
 >
 > # host FedoraServer
 > FedoraServer.xxxx.local has address 192.168.255.12
 >
 > # host 192.168.255.12
 > 12.255.168.192.in-addr.arpa domain name pointer FedoraServer.xxxx.local.
 
Figured it out. I had reversed two letters x's in the FedoraServer.xxxxx.local /etc/hosts.

Now things are instant.

The weird log file with _____ was caused by the time out


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba