-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of LinuxGeek
Sent: Monday, June 19, 2000 3:47 AM
To: expert list
Subject: [expert] smb mount


heya all !! :-)
i am running mdk 7.1 on my machine at work....
i want to mount a volume from another Linux machine (RH 6.1) on my local
network.

when i am trying to mount  i am getting this :


[root@sysadmin installs]# mount -t smbfs //mail/hda /mnt/mail_machine
Password:
tree connect failed: ERRSRV - ERRinvnetname
SMB connection failed
mount: backgrounding "//mail/hda"
[root@sysadmin installs]# Password:
tree connect failed: ERRSRV - ERRinvnetname
SMB connection failed

this is NOT a password issue....any thought anyone ?

--
Oh YES IT IS! Had this NOT been a password issue you would have gotten a
"connection to XXX failed" message early on, before getting a password
prompt.

The remote machine "mail" is not accepting your login as root.

This could be the case for many reasons...I.E. uppper lowercase hashing not
set properly... encryption, etc.

Don't assume that because you can login to Linux that these
username/password pairs apply to Samba as well. They don't necessarily.

Samba identifies itself to the remote machine as the user you are currently
logged in locally. In your case you are logged in as root...

Go to the remote machine... THERE as root try "smbclient -L mail -U root"
and see if it accepts the login using the same password.

If it doesn't here's your problem. If it does then one machine may be using
clear text (the default for 6.1) while the other may be using encrypted
(used with 7.1 but not available with 6.1 until later...)

Also samba does not always pick up the local username properly...

Try specifiying it as you attempt to connect... "smbclient -L mail -U root"
and login and see if you can see the shares.

Once you can you should be able to mount the volume. If you get logged in,
but do not see the shares...

well the remote machine has a problem or permission issue...

-JMS

|-----Original Message-----
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
|Behalf Of LinuxGeek
|Sent: Monday, June 19, 2000 10:41 AM
|To: [EMAIL PROTECTED]
|Subject: Re: [expert] smb moutn problem :(
|
|
|hi Daryl
|
|yes , samba is running on both machines and the mail machine can
|be accessed using the
|network from all the windowz machines...
|i cannot access it from my Linux workstation.
|tried to mount -smbfs and -nfs and nothing....
|for smb it asked for a password. i tried all the passwords i knew
|- nothing.
|for nfs it says it cannot find the volume...  :(
|
|
|
|
|
|Daryl Pawluk wrote:
|
|> LinuxGeek wrote:
|>
|> >
|> >
|> > heya all !! :-)
|> >
|> > i am running mdk 7.1 on my machine at work....
|> > i want to mount a volume from another Linux machine (RH 6.1)
|on my local network.
|> >
|> > when i am trying to mount  i am getting this :
|> >
|> >
|> > [root@sysadmin installs]# mount -t smbfs //mail/hda /mnt/mail_machine
|> > Password:
|> > tree connect failed: ERRSRV - ERRinvnetname
|> > SMB connection failed
|> > mount: backgrounding "//mail/hda"
|> > [root@sysadmin installs]# Password:
|> > tree connect failed: ERRSRV - ERRinvnetname
|> > SMB connection failed
|> >
|> > this is NOT a password issue....any thought's anyone ?
|> >
|> > ----------------------------------
|> > Best Regard's ,
|> > Amir Tal,
|> > System Administrator
|> > Intercomp Ltd.
|> >
|> > Office : 09-9526993.
|> > ICQ : 15748705
|> >
|> > Have a Nice Day...    :-)
|> > ----------------------------------
|> >
|> >
|>
|> i presume you have samba running on both machines and that the share is
|> visible from elsewhere. what is the hostname that mail resolves to? it
|> must be the same as the mail machine says it's netbios name is. for
|> example it must be in an /etc/lmhosts file or in /etc/hosts. have you
|> tied:
|>
|> smbclient -L //mail -I xx.xx.xx.xx
|>
|> where xx.xx.xx.xx is mail's ip. if this works and mount doesn't then the
|> netbios names don't match. if this doesn't work either, then at least
|> one the machines (samba) isn't configured correctly. can you access
|> shares on this (not //mail) machine from any other machine? if both
|> machines can talk to other (say windows) machines but not to eachother,
|> you can always use nfs.
|
|--
|----------------------------------
|Best Regard's ,
|Amir Tal,
|System Administrator
|Intercomp Ltd.
|
|Office : 09-9526993.
|ICQ : 15748705
|
|Have a Nice Day...    :-)
|----------------------------------
|
|
|

Reply via email to