Bug 682 - stat of Unix home directory always invoked during session setup even when not needed
Summary: stat of Unix home directory always invoked during session setup even when not...
Status: RESOLVED FIXED
Alias: None
Product: Samba 2.2
Classification: Unclassified
Component: File Services (show other bugs)
Version: 2.2.8a
Hardware: All Linux
: P3 major
Target Milestone: ---
Assignee: Steve French
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 13:10 UTC by Steve French
Modified: 2005-11-14 09:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve French 2003-10-24 13:10:30 UTC
In 2.2 versions of Samba we issue stat to the user's Unix home directory 
during session setup in reply.c during check_domain_security (even if add user 
script is not being invoked).  This can cause unnecessary delays or hangs if 
the local unix home directory is automounted.   The fix was trivial and is now 
checked into 2.2.9pre
Comment 1 Steve French 2003-10-24 13:12:15 UTC
Changed check for lp_adduser_script to properly check for empty string in 
check_domain_security in smbd/reply.c 
Comment 2 Gerald (Jerry) Carter 2005-11-14 09:29:24 UTC
database cleanup