smbclient //192.168.58.1/Leonardo -U username%password
(enter the proper username and password of course.) If it works, you should see a prompt like this,
smb: \>
If it fails with the proper password/username is could be a encrypted password issue.. maybe...
[EMAIL PROTECTED] wrote:
It's me again,
I did this:
[root@lenux root]# smbclient -I 192.168.58.1 -L home -U home
added interface ip=192.168.58.2 bcast=192.168.58.255 nmask=255.255.255.0
Password:
Domain=[VEZCCS01] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC remota
D$ Disk Recurso predeterminado
print$ Disk Controladores de impresora
SIERRA Disk
hpdeskjet Printer hp deskjet 825c series
Leonardo Disk
ADMIN$ Disk Admin remota
C$ Disk Recurso predeterminado
Server Comment
--------- -------
Workgroup Master
--------- -------
[root@lenux root]#
Any clue?
----------- Mensaje Original --------------
De: Robert Soros [[EMAIL PROTECTED]]
Para: [EMAIL PROTECTED] [[EMAIL PROTECTED]]
Cc: Asunto: Re: FTP, SAMBA
Fecha: 08/12/2002 14:34:04
Mensaje:
(1)
From the looks of it there are two seperate issues to deal with and probably have nothing to do with each other. First off, when you try to ftp to your windows 2K machine, have you tried using the IP Number instead of using the hostname ?
If not, the problem might be solved by adding this line to your /etc/hosts file
192.168.58.1 win2000
Another question, are FTP services in Windows 2K running ?
(2)
Regarding your SMB problem, just a few ideas, have you tried using smbclient to see the available shares ?
smbclient -L 192.168.58.1
Try that and see what pops up, if anything. It should list the available shares (I hope... but honestly i haven't used any Windows 2K machines.)
If that doesn't help, try using this command line instead, to mount the share
smbmount //192.168.58.1/SIERRA /samba
Might work, and its simpler, and it does the trick here with Windows98 boxes sharing folders.
(3)
One more thing, you can ping your Windows 2K box successfully ? You have the proper crossover cable if its direct connection ?
Robert S.
>Leonardo Rodríguez wrote:
>
>Hi Everybody, I have a problem trying to connect my Linux box (RedHat 7.2) to my >windows box (Win2000) via ftp and smbclient,
>I do this from my windows box to my linux box and I have no problems but when I want >to do the opposite I get this:
>
>[root@lenux root]# ftp win2000
>ftp: connect: Connection refused
>ftp>
>
>[root@lenux root]# mount -t smbfs \\\\192.168.58.1\\SIERRA /samba/
>2495: session request to 192.168.58.1 failed (Called name not present)
>2495: session request to 192 failed (Called name not present) Password:
>2495: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection >failed
>root@lenux root]#
>
>Please if somebody knows what's happening here I will appreciate your help.... Thanks in >advance Leonardo
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list
_______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list