Re: [Samba] smbmount question
On Mon, 23 Sep 2002, John Anderson wrote: Then I use my windows boxes (12 98 boxes, and 1 2K box) to connect to the //localservername/hq share thru samba, and that's where I get prompted for a password. No matter what password I put in, it's wrong. I get an error saying that username / password is invalid. This isn't about smbmount at all. You have a problem with your samba config and it's not allowing access. Check the logs, look at the docs ... DIAGNOSTICS ... encrypted passwords ... smbpasswd file ... Do I have this setup totally wrong? It might be a better solution to set up a VPN or something, but others have done like this before. Note: If the networks are all behind the same firewall, and you can ping the remote IP, then you should be able to connect directly (even if you can't browse it): net use z: //192.168.1.123//share /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbmount question
Hi, I seem to be missing something. I've got a remote server with a directory I need to share to my local (win98) machines. Due to some poor planning that server and my local machines are not on the same network. I bridged that gap with a linux server where I've dual homed that server and installed Samba. I used smbmount to mount the drive (passing -o username=,password=) to a point on my server (say /opt/hq). From the server I can then browse /opt/hq The way I'm doing it (which may be wrong) is I setup in my smb.conf a setting for hq and pointed it to /opt/hq Then I use my windows boxes (12 98 boxes, and 1 2K box) to connect to the //localservername/hq share thru samba, and that's where I get prompted for a password. No matter what password I put in, it's wrong. I get an error saying that username / password is invalid. Do I have this setup totally wrong? Thanks in advance. --John -- John Anderson Ceeva, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount question
Thanks for the reply. I'm setting up the NT box with WINS but will have to wait until after business hours to reboot it. The NT and WINS servers (one of my Samba servers) are on different networks. Will let everyone know the results. Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -Original Message- From: Urban Widmark [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 6:29 PM To: Marion Haines@BCC@Viera Cc: iSMTP@GC2A@Servers Subject:Re: [Samba] smbmount question On Mon, 20 May 2002 [EMAIL PROTECTED] wrote: I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. The IP number should be of the machine you want to mount from, in this case the NT box. You shouldn't have to, but you may need to specify the netbios name of the NT box and give the ip number as a separate option. smbmount //ntname/manage /mnt/Man -o ip=192.168.204.100 This of course assumes that you have network connectivity from the linux box to the NT box. Other potentially useful options are the workgroup option, the uid/gid and fmask/dmask options. Check the smbmount manpage. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount question
Can you just stop/restart the WINS service? Save you a reboot Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 7:45 AM To: [EMAIL PROTECTED] Subject: RE: [Samba] smbmount question Thanks for the reply. I'm setting up the NT box with WINS but will have to wait until after business hours to reboot it. The NT and WINS servers (one of my Samba servers) are on different networks. Will let everyone know the results. Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -Original Message- From: Urban Widmark [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 6:29 PM To: Marion Haines@BCC@Viera Cc: iSMTP@GC2A@Servers Subject: Re: [Samba] smbmount question On Mon, 20 May 2002 [EMAIL PROTECTED] wrote: I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. The IP number should be of the machine you want to mount from, in this case the NT box. You shouldn't have to, but you may need to specify the netbios name of the NT box and give the ip number as a separate option. smbmount //ntname/manage /mnt/Man -o ip=192.168.204.100 This of course assumes that you have network connectivity from the linux box to the NT box. Other potentially useful options are the workgroup option, the uid/gid and fmask/dmask options. Check the smbmount manpage. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
FW: [Samba] smbmount question
Nevermind...need to read the whole msg... I didn't notice you were installing WINS on the NT box...hence the reboot. Standard practice for Winxx: 1. Install, reboot 2. Update, reboot, repeat I support about 25 pc's-it annoys the hell out of me how MS manages updates. How many Internet Explorer security updates have there been so far this year-22? Each one of them requires a reboot... 22x25xdownload time+2 min's/reboot is a lot of downtime for the users, and a lot of waiting time for me. And it's only May... -Original Message- From: Van Sickler, Jim Sent: Tuesday, May 21, 2002 8:28 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [Samba] smbmount question Can you just stop/restart the WINS service? Save you a reboot Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 7:45 AM To: [EMAIL PROTECTED] Subject: RE: [Samba] smbmount question Thanks for the reply. I'm setting up the NT box with WINS but will have to wait until after business hours to reboot it. The NT and WINS servers (one of my Samba servers) are on different networks. Will let everyone know the results. Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -Original Message- From: Urban Widmark [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 6:29 PM To: Marion Haines@BCC@Viera Cc: iSMTP@GC2A@Servers Subject: Re: [Samba] smbmount question On Mon, 20 May 2002 [EMAIL PROTECTED] wrote: I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. The IP number should be of the machine you want to mount from, in this case the NT box. You shouldn't have to, but you may need to specify the netbios name of the NT box and give the ip number as a separate option. smbmount //ntname/manage /mnt/Man -o ip=192.168.204.100 This of course assumes that you have network connectivity from the linux box to the NT box. Other potentially useful options are the workgroup option, the uid/gid and fmask/dmask options. Check the smbmount manpage. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount question
It's the NT server that I have to reboot so it will know the IP of the WINS server. Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -Original Message- From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 11:28 AM To: iSMTP@GC2A@Servers; Marion Haines@BCC@Viera Subject:RE: [Samba] smbmount question Can you just stop/restart the WINS service? Save you a reboot Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 7:45 AM To: [EMAIL PROTECTED] Subject: RE: [Samba] smbmount question Thanks for the reply. I'm setting up the NT box with WINS but will have to wait until after business hours to reboot it. The NT and WINS servers (one of my Samba servers) are on different networks. Will let everyone know the results. Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -Original Message- From: Urban Widmark [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 6:29 PM To: Marion Haines@BCC@Viera Cc: iSMTP@GC2A@Servers Subject: Re: [Samba] smbmount question On Mon, 20 May 2002 [EMAIL PROTECTED] wrote: I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. The IP number should be of the machine you want to mount from, in this case the NT box. You shouldn't have to, but you may need to specify the netbios name of the NT box and give the ip number as a separate option. smbmount //ntname/manage /mnt/Man -o ip=192.168.204.100 This of course assumes that you have network connectivity from the linux box to the NT box. Other potentially useful options are the workgroup option, the uid/gid and fmask/dmask options. Check the smbmount manpage. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount question
On Tue, 21 May 2002 [EMAIL PROTECTED] wrote: It's the NT server that I have to reboot so it will know the IP of the WINS server. Actually, I don't think you need proper wins support for this to work (you may want it for other reasons). Using a command like this: smbmount //netbiosname/sharename /mntpoint -o ip=1.2.3.4 Will always do: 1. connect to the server with ip number 1.2.3.4 2. tell the server at that ip that the server the client thinks it is connecting to is 'netbiosname' (this is the called name in the error message). If the server still won't accept you, then changing the wins info won't help. When you give an ip option to smbmount it doesn't try to look up the value for netbiosname. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbmount question
I'm on a Redhat 7.1, Samba 2.2.3a server in a share called Public. I'm logged into the server as root, from the console and have cd'd to the Public directory. I'm trying to use smbmount to mount an NT share from a WinNT Server 4.0, SP3. The share on that server is called manage. The IP of the NT server is 192.168.204.100. The Samba server is on a different network at 210.111.222.123. There is a directory named Man that will be used as the mount point on the samba server. I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. I now get 2 error messages on the console: 955: session request to 210.111.222.123 failed (Called name not present). 955: session request to 210 failed (Called name not present). When I inspect the Man directory, all the appropriate files and directories are there. I see them with Network Neighborhood and with Windows Explorer. Does smbmount really do what I'm expecting it to do with a shared NT directory files or is the above responses normal? Is there something else to do??? Thanks in advance, Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount question
I can reproduce this error on my home system in the following way. My home system has two subnets. If I try to smbclient -L a server (XP) on a different subnet, using smbclient -L 192.168.1.9 I get the following error: INFO: Debug class all level = 3 (pid 24708 from pid 24708) added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0 session request to 192.168.1.9 failed (Called name not present) session request to 192 failed (Called name not present) However, the shares are all listed and things seem to be normal. If I use the server winsbios name (which is the same as the dsn name) smbclient -L elsa, I get the shares listed without any error messages. This only occurs when I try to smbclient -L to a different subnet. So, what happens when you try the NT server winsbios name, instead of the server IP address, assuming you have got a winserver and your linux box knows about it with the wins server parameter in smb.conf? Joel On Mon, May 20, 2002 at 03:51:51PM -0400, Marion Haines wrote: I'm on a Redhat 7.1, Samba 2.2.3a server in a share called Public. I'm logged into the server as root, from the console and have cd'd to the Public directory. I'm trying to use smbmount to mount an NT share from a WinNT Server 4.0, SP3. The share on that server is called manage. The IP of the NT server is 192.168.204.100. The Samba server is on a different network at 210.111.222.123. There is a directory named Man that will be used as the mount point on the samba server. I issue the command: smbmount //210.111.222.123/manage Man then press the Enter key. password: I enter the password then press the Enter key. I now get 2 error messages on the console: 955: session request to 210.111.222.123 failed (Called name not present). 955: session request to 210 failed (Called name not present). When I inspect the Man directory, all the appropriate files and directories are there. I see them with Network Neighborhood and with Windows Explorer.Does smbmount really do what I'm expecting it to do with a shared NT directory files or is the above responses normal? Is there something else to do???Thanks in advance, Marion D. Haines Network Administrator Board of County Commissioners Brevard County, Florida == EMail: [EMAIL PROTECTED] Phone: 321-617-7398 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba