Is the print server a samba server or a CUPS server? If it is a CUPS server then maybe the smbclient is not the appropriate printing tool. I believe CUPS can share printers via several printing protocols (e.g. IPP and LPD.) I dont know if it can make the printer appear to be a windows shared printer.
Do you have any samba client's on the same VLAN as the print server? Can you move the MacBook Pro to the same VLAN as the print server? This would isolate if the problem really is related to the VLAN. My understanding of VLAN's is limited, but I believe it functions on the network layer 2 (same as Ethernet) and not on layer 3 (i.e. IP protocol.) Thinks like broadcasts might be blocked but connections to specific IP's should not be affected. If I understand correctly the two VLAN's still correspond to separate tcp/ip class B subnets. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Yannis Haralambous Sent: Wednesday, September 15, 2010 7:39 AM To: [email protected] Subject: [Samba] smbclient sending no frames outside local VLAN [I don't know whether this is the appropriate list, if not please let me know to whom to write. I submitted this as a CUPS bug and they replied by asking me to contact the "Samba folks" I guess that is you] Hi, I'm using a MacBook Pro with MacOS X 10.6.4 and am trying to print on my company's printer accessible via samba. Whenever I try to access the print server via smbclient I get: pc-salsa-info-092:py yannis$ smbclient -L vss-cups-03.priv.enst-bretagne.fr -U yharalam Error connecting to 10.29.90.8 (Host is down) Connection to vss-cups-03.priv.enst-bretagne.fr failed (Error NT_STATUS_ACCESS_DENIED) Actually the print server is alive and perfectly accessible via ping. The print server IP is outside my VLAN (my IP is 10.66.145.92 and the mask 255.255.0.0). When I do an smbclient to a machine in my VLAN I get a quite different result: pc-salsa-info-092:py yannis$ smbclient -L 10.66.145.90 -U yharalam timeout connecting to 10.66.145.90:445 timeout connecting to 10.66.145.90:139 Error connecting to 10.66.145.90 (Operation already in progress) Connection to 10.66.145.90 failed (Error NT_STATUS_ACCESS_DENIED) Which means that the 10.66.145.90 is seen while the 10.29.90.8 print server is not. Surprisingly, when I do a tcpdump, I see outgoing frames in the first case (inside VLAN), but not in the second (outside VLAN). In other words: when attempting a smb connection outside my VLAN, MacOS X will not even send a single frame. My firewall is deactivated. What can be the cause of this refusal to do a smb connection? Is this a configuration problem? Strange as it may seem, I managed to print the first day, the problem only appeared the second day and I still cannot print at all. Thanks in advance for any advice -- ------------------------------------------------------- Yannis Haralambous Directeur d'études Institut Télécom, Télécom Bretagne Département Informatique UMR CNRS 3192 Lab-STICC Technopôle Brest Iroise CS 83818, 29238 Brest Cedex 3, France Tel: +33 2 29 00 14 27 Fax: +33 2 29 00 12 82 Email: [email protected] Internet: http://omega.enstb.org/yannis ICBM address: 48°21'31.57"N 4°34'16.76"W ------------------------------------------------------- ...pour distinguer l'extérieur d'un aquarium, mieux vaut n'être pas poisson ...the ball I threw while playing in the park has not yet reached the ground Es gab eine Zeit, wo ich nur ungern über Schubert sprechen, nur Nächtens den Bäumen und Sternen von ihm vorerzählen mögen. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
