[Samba] weird log file ???

Rowland Penny rpenny at samba.org
Wed Sep 6 21:11:54 UTC 2017


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
  



More information about the samba mailing list