[Samba] Problems with samba

honey2000 honey2000 at bol.com.br
Tue Dec 14 18:54:29 GMT 2004


Hi,i have the following problems with a try print a document using cups/samba to print in windows 2000 machine.

When i try print the file, i have the following error:
E [14/Dec/2004:16:45:29 -0200] [Job 6] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: SMB tree connect failed: NT_STATUS_ACCESS_DENIED
E [14/Dec/2004:16:45:57 -0200] [Job 5] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: cli_session_request() failed...



In cupsd.conf and smb.conf i have my network to allow print and samba access.
I can make telnet in cups server in 631 port to confirm service working properly:
[root at server samba]# telnet 192.168.2.1 631
Trying 192.168.6.1...
Connected to server.host.com.br (192.168.2.1).
Escape character is '^]'.

I can make the smbclient -L host -U username and can i see the printer share:
[root at curitiba samba]# smbclient -L cwb02 -U tux
added interface ip=10.0.0.139 bcast=10.0.0.255 nmask=255.255.255.0
added interface ip=192.168.2.1 bcast=192.168.255.255 nmask=255.255.0.0
Password:
Domain=[MYDOMAIN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename      Type      Comment
        ---------      ----      -------
        printername       Printer   Epson FX-2180
        IPC$           IPC       IPC remoto
        print$         Disk      Drivers de impressora
        D              Disk
        ADMIN$         Disk      Administração remota
        C$             Disk      Recurso compartilhado padrão

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
[root at server samba]#


I have the ports 137:139 TCP and UDP open in my firewall

I try changing the version of samba to 2.x and dont working too.

I use now this version in Mandrake linux v 10.1
samba-client-3.0.7-2.2.101mdk.i586
samba-common-3.0.7-2.2.101mdk.i586
samba-server-3.0.7-2.2.101mdk.i586

My access.log :
192.168.0.7 - - [14/Dec/2004:16:51:43 -0200] "POST /printers/printername HTTP/1.1" 200 219
192.168.0.7 - - [14/Dec/2004:16:51:43 -0200] "POST /printers/printername HTTP/1.1" 200 216


Anyone can help-me?

tks
Alexandre
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/



More information about the samba mailing list