Web lists-archives.com

[Samba] smbclient is SLOWWWWWW; getaddrinfo failed




# rpm -qa samba
samba-4.6.7-0.fc26.x86_64


Hi All,

# smbclient -L FedoraServer -U workcentre -W xxxxx

takes about 18 second to ask for the password.  (Windows is slow too.)

Me thinks it has to do with this error from /var/log/samba/samba-log.192.168.255.12

       get_mydnsfullname: getaddrinfo failed for name FedoraServer.xxxxx.local [Unknown error]

When I put a tail on the above log, this is where it hangs until the password prompt comes up


How do I fix this?

Many thanks,
-T



# more /etc/hosts
127.0.0.1   server.storall.local localhost localhost.localdomain localhost4 loca
lhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6




[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