Re: [Samba] Admin Printers and Faxes from Windows XP

2005-12-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 5 Dec 2005, Will Wheatley wrote:

> I have been stuffing around with thsi problem for a couple of weeks now, 
> without much success :) I am sure i am missing something simple.
> 
> I have a Samba server setup as a member server in a 2000 domain. (samba 
> 3.0.10) Samba is printing through CUPS and the printing works fine. when 
> i click on "Printers and Faxes" froma windows xp machine, it takes about 
> 30-60 seconds to show the list and the samba logs show:
> 
> rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2583)
>   spoolss_connect_to_client: unable to connect to SMB server on machine
> MALAZ. Error was : SUCCESS - 0.
> 
> From what i understand the Samba machine trys to connect back to the 
> spooler service on my client machine but fails. (well times out) If i do 
> it from a windows 2000 server, it works fine, I can find people with the 
> same symptons, but no solutions :(

It's the XP firewall.







cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
Centeris ---  http://www.centeris.com
"There's an anonymous coward in all of us."   --anonymous
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFDoBoyIR7qMdg1EfYRAjSIAJ9CZFh+ogFqO5Ss4JVORop1twxzgQCgpADF
AdNmhsHQyaEGL4C7nXyP89Y=
=PIAl
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Admin Printers and Faxes from Windows XP

2005-12-04 Thread Will Wheatley
hi all,

I have been stuffing around with thsi problem for a couple of weeks now,
without much success :)
I am sure i am missing something simple.

I have a Samba server setup as a member server in a 2000 domain. (samba
3.0.10)
Samba is printing through CUPS and the printing works fine.

when i click on "Printers and Faxes" froma windows xp machine, it takes
about 30-60 seconds to show the list and the samba logs show:

[2005/12/02 09:42:56, 0] rpc_server/srv_spoolss_nt.c
:spoolss_connect_to_client(2583)
  spoolss_connect_to_client: unable to connect to SMB server on machine
MALAZ. Error was : SUCCESS - 0.
[2005/12/02 09:43:14, 1] lib/util_sock.c:open_socket_out(774)
  timeout connecting to 10.63.34.249:445
[2005/12/02 09:43:31, 1] lib/util_sock.c:open_socket_out(774)
  timeout connecting to 10.63.34.249:139
[2005/12/02 09:43:31, 1] libsmb/cliconnect.c:cli_connect(1312)
  Error connecting to 10.63.34.249 (Operation already in progress)
[2005/12/02 09:43:31, 0]
rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2583)
  spoolss_connect_to_client: unable to connect to SMB server on machine
MALAZ. Error was : SUCCESS - 0.

AND

[2005/12/02 09:08:59, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user '::{2227a280-3aea-1069-a2de-08002b30309d}' does not exist
[2005/12/02 09:08:59, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user '::{2227A280-3AEA-1069-A2DE-08002B30309D}' does not exist
[2005/12/02 09:08:59, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user '::{2227a280-3aea-1069-a2de-08002b30309d}' does not exist
[2005/12/02 09:08:59, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
  user '::{2227A280-3AEA-1069-A2DE-08002B30309D}' does not exist

>From what i understand the Samba machine trys to connect back to the spooler
service on my client machine but fails. (well times out)

If i do it from a windows 2000 server, it works fine, I can find people with
the same symptons, but no solutions :(

Pertinent parts of samba config below:

  2 [global]
  3
  4workgroup = MYDOMAIN
  5server string = MYDOMAIN Print Server
  6
  7printing = cups
  8printcap name = cups
  9load printers = no
 10
 11log file = /var/log/samba/smbd.log
 12log level = 2
 13max log size = 500
 14
 15realm = MYDOMAIN.COM.AU 
 16security = ads
 17encrypt passwords = yes
 18password server = MYDC.MYDOMAIN.COM.AU
 19
 20idmap uid = 500-1000
 21idmap gid = 500-1000
 22winbind use default domain = Yes
 23winbind nested groups = Yes
 24
 25socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
SO_KEEPALIVE
 26
 27domain master = no
 28local master = no
 29preferred master = no
 30
 31name resolve order = hosts wins
 32
 33wins support = no
 34wins server = 10.63.34.140
 35
 36dns proxy = no
 37
 38username map = /etc/samba/smbusers
 39
 40use sendfile = yes
 41
 42 # Share Definitions
==
 43 [print$]
 44 comment = Printer Drivers
 45 path = /var/storage/printer_drivers
 46
 47 guest ok = yes
 48 browseable = yes
 49 read only = yes
 50 write list = ww, root
 51 admin users = ww, root
 52

 62
 63 [BUS-COPY]
 64 comment = Business Services
 65 printer name = BUS-COPY
 66 path = /var/spool/samba
 67
 68 printable = yes
 69 guest ok = yes
 70 writeable = no
 71 browseable = yes
 72 printer admin = ww, root
 73
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba