All of lore.kernel.org
 help / color / mirror / Atom feed
* Samba users are cleared after board reboot
@ 2016-05-12  9:42 Zhenhua Luo
  0 siblings, 0 replies; only message in thread
From: Zhenhua Luo @ 2016-05-12  9:42 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

Hello all,

I build samba(3.6.8).into rootfs by Yocto 1.4.1 (dylan), the rootfs can boot up the board via NFS and samba service can start successfully, then I use "smbpasswd -a samba" to create "samba" user, "samba" is a valid user to login Linux, "smbclient -L <board-ip> -U samba" can be executed on host to connect to samba server normally.

When the target board reboot, samba service can be launched, but "smbclient -L <board-ip> -U samba" reports the following error. The password storage file(/var/volatile/lock/passdb.tdb) is recreated and the users information is cleaned.
"session setup failed: NT_STATUS_LOGON_FAILURE"

Does somebody know what's the problem and how to store the samba user/password information in rootfs permantly?


Best Regards,

Zhenhua

[-- Attachment #2: Type: text/html, Size: 3168 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-12 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12  9:42 Samba users are cleared after board reboot Zhenhua Luo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.