[Samba] Port Problem

Tom McCallum tom.mccallum at levelelimited.com
Tue Jan 23 09:43:12 GMT 2007


Hi Everyone,

Hope I have sent this to the correct list.  I have been struggling away  
with a weird problem all evening and have not had any joy on google so  
thought I would try here.

The problem in a nutshell is as follows:

(Internal Network) Windows XP (Client) ---> Fedora Core4 (Samba  
Server)     Both shared areas and printers work from windows client.
(External Network) Windows XP (Client) ---> firewall --> (Internal  
Network) Fedora Core4 (samba Server)   Only shared areas work, printers  
won't connect (Says something about either the printer name is wrong or it  
has lost its connection to the server - nothing in server logs that I can  
see).

The problem therefore is that although I can see the printers from the  
client on the internal samba server I cannot actually connect to them via  
Add Printer in Windows XP.  I have opened up ports 135-139,445 through the  
firewall and these seem fine (using nmap to check that they are indeed  
open).

 From the internal network everything from the windows machine works which  
leads me to believe that the Samba Configuration is fine (hence I have not  
included it here - if I am wrong in this assumption then please let me  
know and I will post it), and that there is a port somewhere on the  
firewall that still needs opening to enable the external windows machine  
to properly connect to the printers.

Can anyone point me in the correct direction?

I am using CUPS on the samba server to print ( do I need the CUPS port  
also accessible through the firewall? ) and nothing in either the samba  
logs or cups logs suggests they even get any connection attempts from the  
external windows machine for use of the printer (does any one know of a  
way to log attempts to connect to the printer in samba?).  I have also put  
a trace on the firewall to see if I can see any extra ports required but I  
the only ones I see are 139 and 445 coming from the external windows  
client.

If I can give any more details let me know.

Thanks for your help,


Tom



-- 
Dr. Thomas McCallum
Systems Architect,
Level E Limited
ETTC, The King's Buildings
Mayfield Road,
Edinburgh EH9 3JL, UK
Work  +44 (0) 131 472 4813
Fax:  +44 (0) 131 472 4719
http://www.levelelimited.com
Email: tom at levelelimited.com

Level E is a limited company incorporated in Scotland. The contents of  
this e-mail are privileged and/or confidential. If you are not the  
intended recipient, please
notify the sender and ensure this e-mail is deleted and not read, copied  
or disclosed. It is your responsibility to scan this e-mail and any  
attachments for
computer viruses or other defects. Level E does not accept liability for  
any loss or damage which may result from this e-mail or any attachment.  
E-mail is not secure
and can be intercepted, corrupted or amended. Level E does not accept  
liability for errors or omissions arising as a result of interrupted or  
defective transmission.
Any views, opinions, conclusions or other information in this e-mail which  
do not relate to the business of Level E Limited are not authorised by  
Level E. Unless
specifically stated and authorised by Level E, nothing in this e-mail  
shall be taken to be an offer or acceptance of any contract of any nature.  
E-mail entering or leaving Level E's system is subject to random  
monitoring and recording.



More information about the samba mailing list