Greetings,

I have setup a Linux Samba server with guest access to the printers and
a share (/tmp).  I can access the folder share from a Windows 2000
Workstation with the guest user all right.  

However, when I try to access the printer I get "Access denied, unable
to connect".  The samba log for this machine shows the following error:

----------
[2003/02/07 18:07:14, 0] smbd/service.c:make_connection(251)
  luna (192.168.69.3) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
----------

I have found that the service mentioned is the printer in the Windows
registry.

If I set log level to 3 I get the following relevant errors:

----------
[2003/02/07 18:07:14, 3] smbd/sec_ctx.c:set_sec_ctx(328)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/02/07 18:07:14, 3] smbd/service.c:find_service(140)
  checking for home directory ::{2227a280-3aea-1069-a2de-08002b30309d}
gave (NULL)
[2003/02/07 18:07:14, 3] smbd/service.c:find_service(155)
  checking whether ::{2227a280-3aea-1069-a2de-08002b30309d} is a valid
printer name...
[2003/02/07 18:07:14, 3] smbd/service.c:find_service(167)
  ::{2227a280-3aea-1069-a2de-08002b30309d} is not a valid printer name
[2003/02/07 18:07:14, 3] smbd/service.c:find_service(209)
  find_service() failed to find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/02/07 18:07:14, 0] smbd/service.c:make_connection(251)
  luna (192.168.69.3) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/02/07 18:07:14, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/02/07 18:07:14, 3] smbd/error.c:error_packet(109)
  error packet at smbd/reply.c(164) cmd=117 (SMBtconX)
NT_STATUS_BAD_NETWORK_NAME
----------

However I can access the printer from a Windows 98 station and print.
This behavior has been reproduced with Mandrake 8.2(samba 2.2.3-10) and
RedHat 7.3(samba 2.2.7) with Windows 2000 Professional 2195.   I have
also tried an older version of samba(2.2.2) to the same avail.  I get
the same results when using USER security.

Here is my smb.conf:

----------
[global]
        workgroup = GROUPE
        server string = Samba Server (gaia)
        security = SHARE
        log file = /var/log/samba/%m.log
        log level = 3
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        guest account = pcguest
        hosts allow = 192.168.69. 127.

[printers]
        comment = All Printers
        path = /var/spool/samba
        guest ok = Yes
        printable = Yes
        browseable = No

[tmp]
   path = /tmp
   public = yes
   writable = no
   printable = no
----------


Any help would be appreciated.

Etienne

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to