The Samba-Bugzilla – Bug 4421
no substitution for template in nss_info_template.c
Last modified: 2007-03-01 07:02:14 UTC
current SVN branch SAMBA_3_0_25 using default nss_info module (nss_info_template.c) do not substitute templates.
*homedir = talloc_strdup( ctx, lp_template_homedir() );
*shell = talloc_strdup( ctx, lp_template_shell() );
(you can see there is no substitution)
template homedir = /home/winnt/%U
template shell = /bin/bash
in smb.conf this command (pam configured with winbind)
getent passwd user
reply something like
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
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 for the update. Closing.