[Ubuntu] no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory

Background :

$ lsb_release
Distributor ID : Ubuntu
Description : Ubuntu 14.04.1 LTS

Problem :

no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory

Continue reading


[samba] Configuration File, options, add a samba user

A simple blog, to be completed.

– 1st point :

An example of samba configuration file structure :

    workgroup = METRAN
    encrypt passwords = yes
    wins support = yes
    log level = 1 
    max log size = 1000
    read only = no
    browsable = no
    map archive = yes
    path = /var/tmp
    printable = yes
    min print space = 2000
    browsable = yes
    read only = yes
    path = /usr/local/samba/tmp


– 2nd point :

There is a very interesting option in samba configuration file is : include

We can do as in Apache configuration file :

    include = /usr/local/samba/lib/smb.conf.%m

Which is more interesting for multiple applications is that, if the configuration file specified does not exist, the option is ignored. It won’t raise an error if one of them not exist.


– 3rd point :

Command to add a samba user :

smbpasswd -a your_username