Printing from Win95 to samba-2.0.0

Richard Sharpe sharpe at
Tue Sep 7 23:38:08 GMT 1999


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.

Richard Sharpe, sharpe at, Master Linux Administrator :-),
Samba (Team member,, Ethereal (Team member,
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