[Samba] Variables are not expanded in smb.conf when using Samba 4.0.0beta2

Michał Siejak michal at siejak.pl
Tue Nov 20 05:07:22 MST 2012


Hello,

I'm using Samba 4.0.0beta2 on Debian Wheezy as Active Directory domain
controller. I also use winbind in my /etc/nsswitch.conf so getent
passwd returns domain users.

I've set

template homedir = /home/%U

in my smb.conf file but, instead of substituting %U for username,
getent passwd returns:

HOME\Administrator:*:0:100::/home/%U:/bin/bash
HOME\Guest:*:3000000:3000001::/home/%U:/bin/bash

Is this a bug or am I doing something wrong?

--
Michał Siejak


More information about the samba mailing list