[Samba] Possible memory leak in

Rowland Penny rpenny at samba.org
Sun Sep 12 08:43:22 UTC 2021


On Sat, 2021-09-11 at 12:50 -0700, Matt Oursbourn wrote:
> All I do is add these lines to smb.comf under global.:  
> client min protocol = NT1
> server min protocol = NT1
> usershare owner only = false
> force user = moursbourn
> 
> I do not know what the NT1 stuff does other than it helped windows
> see the share.

It allows the use of SMBv1, which is required for network browsing.

> 
> Here is the output:
> 
> Load smb config files from /etc/samba/smb.conf
> Loaded services file OK.
> Weak crypto is allowed
> 
> Server role: ROLE_STANDALONE
> 
> # Global parameters
> [global]
>         client min protocol = NT1
>         log file = /var/log/samba/log.%m
>         logging = file
>         map to guest = Bad User
>         max log size = 1000
>         obey pam restrictions = Yes
>         pam password change = Yes
>         panic action = /usr/share/samba/panic-action %d
>         passwd chat = *Enter\snew\s*\spassword:* %n\n
> *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
>         passwd program = /usr/bin/passwd %u
>         server min protocol = NT1
>         server role = standalone server
>         unix password sync = Yes
>         usershare allow guests = Yes
>         usershare owner only = No
>         idmap config * : backend = tdb
>         force user = moursbourn

Just about the only problem (and it is probably only a slight problem)
is the use of 'force user', it is really only meant to be in a share
and I cannot understand why you added it.

You also do not seem to have any shares apart from the 'homes' share,
what are you copying the data to/from ?

Rowland





More information about the samba mailing list