[Samba] SaMBa 4.0.x homedir mapping - is possible without user account in system?

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Sat Feb 23 14:02:22 MST 2013

https://wiki.samba.org/index.php/Samba4/Winbind Here is a link on how to
setup nsswitch.conf and winbind links. Please note that you will need to
find your current libnss files and place the symlinks with them (/lib may
not be the correct path, in my case Ubuntu 12.04, they are in
/lib/x86_64-linux-gnu). After adding those links and modifying the
nsswitch.conf, you might want to add :

        template homedir = /home/%ACCOUNTNAME%

to your smb.conf to make winbind a little happier (it defaults to

Good luck,

On Sat, Feb 23, 2013 at 12:41 PM, Ricky Nance <
ricky.nance at weaubleau.k12.mo.us> wrote:

> Sure, you need to setup winbind and a couple of config options and it
> should work fine. I will post a link later (on my mobile at the moment).
> This info needs added to the howto wiki.
> Ricky
> On Feb 23, 2013 10:34 AM, "Celso Viana" <celso.vianna at gmail.com> wrote:
>> Hi all,
>> I'm testing the Samba4 and can only map the users home if I create the
>> account in the system and samba. Does anyone know if you can do this
>> only with the account in samba?
>> Thanks!
>> --
>> Celso Vianna
>> BSD User: 51318
>> http://www.bsdcounter.org
>> Palmas/TO
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list