Bug 682 - stat of Unix home directory always invoked during session setup even when not needed
stat of Unix home directory always invoked during session setup even when not...
Status: RESOLVED FIXED
Product: Samba 2.2
Classification: Unclassified
Component: File Services
2.2.8a
All Linux
: P3 major
: ---
Assigned To: Steve French
:
Depends on:
Blocks:
  Show dependency treegraph
 
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