DOH! Didn't reply to all...

Hi!

I've always used smbmount rather than mount -t smb but they do the same thing. 
The command comes out looking something like:

smbmount ntsharepath mountpoint -o 
username=something,password=somethingelse,uid=username

all on the same line with only one space after the "-o" and no spaces after 
that. If you have to go more than one line use the "\" or escape then hit 
return and continue.This will let you specify the (windows) user you are 
accessing as and the (windows) password for same. The  UID option can be an 
actual UID or a username, and specifies who is the "owner" of the mounted 
files. You can also use the argument 

scope=rw

which is supposed to mount in read/write mode. Don't know, never had to play 
with it. Hopefully one of these options will let you write as well as read.  
To make it run automatically, you could make the command a script and put a 
shortcut to the script on the desktop. You still need to be root to mount it 
so if it asks you for a password out of the blue, try your unix pw first. 
Smbmount starts a daemon which will automatically pick back up if you reboot 
the server, you don't need to remount it. If you find that you can't unmount 
the share and have a stale tag when you go to mount it next time (you'll know 
if you get there) as root you need to edit the /etc/mtab file and remove the 
old refrence, then mount as usual. 

If you can spare the three pieces of paper, save yourself the heartache and 
print the man page for smbmount for refrence.

On Saturday 28 December 2002 07:26 pm, Jay Schaffer wrote:
> > mount -t smb //myntserver/someshare /mnt/ntshare
>
> T H A N K S Sam!  That worked perfectly after I finally filled in the
> entries correctly and supplied the correct password.  It appears that I
> can access the files this way, but can't send files to the file server.
>   Right?  If I want to move a file to the file server, what do I do?
>
> Also, how do I execute that command line automatically during boot?
> Also, it would be handy if I could do a refresh by repeating the
> command by simply clicking on a KDE desktop Icon before looking in the
> folder.
>
> What I've been trying to do is use Konqueror to communicate with PCVol
> on NT1.  This seems to be the way KDE wants me to do it, however, thus
> far, every attempt has been a failure--usually the host cannot be
> found.  I'm hoping there is someone on here that is a good KDE user
> that can help me along.
>
> On Saturday, December 28, 2002, at 04:39  PM, Sam Phillips wrote:
> > What you want to do involves samba.  Samba is a package that allows
> > intercommunication between Windows file shares and unix systems.
> >
> > In a perfect world all you should need to do to access a windows
> > machine
> > is something like this (as root):
> >
> > mount -t smb //myntserver/someshare /mnt/ntshare
> >
> > Where,
> >
> >     myntserver   = the name of your NT server within the domain or
> >                    workgroup
> >
> >     someshare    = the name of a share that is availible from that
> > server
> >
> >     /mnt/ntshare = is some arbitrary (and empty) directory that you've
> >                    made on your linux system.  This directory is where
> >                    you access the files from the server.
> >
> >
> > Sharing files from Linux -> NT is a little more involved.  Mostly all
> > it
> > takes is setting some values in the /etc/smb.conf file, and starting
> > the
> > Samba service.
> >
> > Some documentation to help:
> >
> >     http://us1.samba.org/samba/docs/Samba-HOWTO-Collection.html
> >
> > Red Hat 8.0 has a new version of samba packaged with it so you
> > shouldn't
> > need to build anything, but you will most likely need to tweak on the
> > configuration files.
> >
> > You might want to check the linux machine's firewall configuration
> > since
> > that is a common thing to have get in the way:
> >
> >
> > http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/
> > ch-basic-firewall.html
> >
> > HTH
> >
> > --
> > Sam Phillips <[EMAIL PROTECTED]>
> > http://www.dasbistro.com
> > Reno
> > Nevada
> > _______________________________________________
> > RLUG mailing list
> > [EMAIL PROTECTED]
> > http://www.rlug.org/mailman/listinfo/rlug
>
> _______________________________________________
> RLUG mailing list
> [EMAIL PROTECTED]
> http://www.rlug.org/mailman/listinfo/rlug

_______________________________________________
RLUG mailing list
[EMAIL PROTECTED]
http://www.rlug.org/mailman/listinfo/rlug

Reply via email to