Web lists-archives.com

Re: [Samba] weird messages in logs




On Fri, 25 May 2018 17:54:49 +0200
Emmanuel Florac via samba <samba@xxxxxxxxxxxxxxx> wrote:

> 
> I forgot the smb.conf, but really there's nothing special in there.
> Other machines with similar settings don't show such errors.
> 
> 
> ;
> ; /etc/samba/smb.conf
> ;
> ; Sample configuration file for the Samba suite for Debian GNU/Linux
> ;
> ; Please see the manual page for smb.conf for detailed description of
> ;       every parameter.
> ;
> 
> [global]
>      block size = 4096
>      disable spoolss = yes
>      dns proxy = no
>      domain master = no
>      encrypt passwords = true
>      guest account = nobody
>      idmap gid = 10000-20000
>      idmap uid = 10000-20000
>      invalid users = root
>      load printers = no
>      local master = no
>      max log size = 1000
>      name resolve order = wins lmhosts host bcast
>      nt acl support = yes
>      obey pam restrictions = yes
>      os level = 20
>      panic action = /usr/share/samba/panic-action %d
>      passdb backend = tdbsam
>      passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
> *Retype\snew\sUNIX\spassword:* %n\n .
>      passwd program = /usr/bin/passwd %u
>      preferred master = no
>      preserve case = yes
>      printcap name = /dev/null
>      printing = bsd
>      security = user
>      server string = %h server (Samba %v)
>      short preserve case = yes
>      syslog = 0;
>      syslog only = no
>      template shell = /bin/false
>      unix password sync = yes
>      winbind cache time = 10
>      winbind enum groups = yes
>      winbind enum users = yes
>      winbind separator = +
>      wins server = 127.0.0.1
>      wins support = no
>      workgroup = WORKGROUP
> 

Nice standalone server, is it supposed to be one ?
If it is, then you don't need the deprecated 'idmap gid' & 'idmap uid'
Also you are telling Samba to use the wins server running on 127.0.0.1
and then telling Samba not to start its wins server, this is extremely
odd. 

Rowland

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