Patch for Samba 2.2 -- fixes NIS auto.home problem

Gerald (Jerry) Carter jerry at
Tue Oct 1 22:38:00 GMT 2002

On Wed, 18 Sep 2002, Jon. Hallett wrote:

> Attached is a patch for SAMBA_2_2 that fixes a problem that I think
> appeared in Samba 2.2.2.
> The problem is with the user home directory existence check in the
> lp_add_home function in param/loadparm.c, and it stops users without
> proper passwd entries from be able to connect to Samba.
> (The background to this is that our Samba servers only have stub passwd
> entries for non-administrators. As a result, the home directory
> existence check will always fail, despite the fact that our
> configuration later assigns each user a valid directory using "path =
> %p" and the NIS auto.home feature.)

Thanks John,

This check never did feel right to me for some reason.  Thanks for 
the good example.  I'll look at the patch for inclusion into 2.2.6
& 3.0.

cheers, jerry
 SAMBA Team                             
 "SAMS Teach Yourself Samba in 24 Hours" 2ed.       ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list