Web lists-archives.com

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




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



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