[Samba] Admin Printers and Faxes from Windows XP

Will Wheatley net.wrangler at gmail.com
Sun Dec 4 21:33:05 GMT 2005


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
      4    workgroup = MYDOMAIN
      5    server string = MYDOMAIN Print Server
      6
      7    printing = cups
      8    printcap name = cups
      9    load printers = no
     10
     11    log file = /var/log/samba/smbd.log
     12    log level = 2
     13    max log size = 500
     14
     15    realm = MYDOMAIN.COM.AU <http://mydomain.com.au/>
     16    security = ads
     17    encrypt passwords = yes
     18    password server = MYDC.MYDOMAIN.COM.AU<http://mydc.mydomain.com.au/>
     19
     20    idmap uid = 500-10000000
     21    idmap gid = 500-10000000
     22    winbind use default domain = Yes
     23    winbind nested groups = Yes
     24
     25    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
SO_KEEPALIVE
     26
     27    domain master = no
     28    local master = no
     29    preferred master = no
     30
     31    name resolve order = hosts wins
     32
     33    wins support = no
     34    wins server = 10.63.34.140
     35
     36    dns proxy = no
     37
     38    username map = /etc/samba/smbusers
     39
     40    use 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


More information about the samba mailing list