Re: [yocto] samba create user with password

2017-06-15 Thread idealsim
I have made some progress but still have an issue. First to create an user we need expect. I add it to my local.conf. Under the script that work (tested on the card) : #!/usr/bin/expect -f spawn echo script for create samba user spawn smbpasswd -a sambaUser expect "New

[yocto] samba create user with password

2017-06-12 Thread idealsim
Hi, i'm trying to configure a samba server from yocto for my card. I have a working server (add samba in local.conf), but i would like to add the user with password to samba at yocto build step. For this i add this recipe (samba_%.bbappend) FILESEXTRAPATHS_prepend := "${THISDIR}/files:" #