current SVN branch SAMBA_3_0_25 using default nss_info module (nss_info_template.c) do not substitute templates. From core *homedir = talloc_strdup( ctx, lp_template_homedir() ); *shell = talloc_strdup( ctx, lp_template_shell() ); (you can see there is no substitution) using template homedir = /home/winnt/%U template shell = /bin/bash in smb.conf this command (pam configured with winbind) getent passwd user reply something like user:*:16820364:16777217:comment:/home/winnt/%U:/bin/bash I already reported the problem on mailing list but I think is fine to have a bug report too. As a workaround I added winbind nss info = ad Regards Frediano Ziglio
I just fixed this within the past 24 hours. Are you sure this is not working in 3.0.25pre1 ?
(In reply to comment #1) > I just fixed this within the past 24 hours. Are you sure this is > not working in 3.0.25pre1 ? I just recompile and tested. It's working. I was convinced that fix would be in nss_info_template.c so I didn't notice it. thanks Frediano
Thanks for the update. Closing.