[Samba] change password after first login in samba4.10

Rowland penny rpenny at samba.org
Sat May 25 13:10:18 UTC 2019


On 25/05/2019 13:56, sam zand wrote:
> path  /var/lib/samba/private/sam.ldb not available
>
I did say that you would have to modify the command for your set up. If 
you compiled Samba with './configure', it should be 
/usr/local/samba/private/sam.ldb. If you compiled Samba with 
'--prefix=SOMEWHERE', then it will be '$SOMEWHERE/private/sam.ldb'

If you are still unsure, then run this: samba -b | grep 'PRIVATE_DIR' | 
awk '{print $NF}'

That should print the directory where 'sam.ldb' is.

Rowland





More information about the samba mailing list