Printing from Win95 to samba-2.0.0

Richard Sharpe sharpe at ns.aus.com
Tue Sep 7 23:38:08 GMT 1999


Hi,

well, I have found what I think is the problem.

Unix_convert in smbd/filename.c converts empty file names to "." to prevent
a search of the cache if a name gets trimmed to noting.

This upsets the code that does special things for printer shares.

I have added an extra guard to the 

    if (!*name)

to take printer connections into account.

We will see if it works.



Regards
-------
Richard Sharpe, sharpe at ns.aus.com, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course



More information about the samba-technical mailing list