Article View: bc.unix
Article #74Re: Help with Mount command.
From: Vlad Petersen
Date: Tue, 11 Feb 2003 02:54
Date: Tue, 11 Feb 2003 02:54
37 lines
2559 bytes
2559 bytes
Kris wrote: > Hi > > I have OS 10.2 with samba installed. I would like to try to have a > windows xp share folder automounted by samba, each time my laptop > connects to the network I was not able to find a command line method to automount a windows share either. If you don't mind this mouse clicking procedure, click on "Go" on the Finder bar, choose "connect to a server", click on the NT domain/server name in the window that appears (the window will look like what used to be Chooser in pre-OS X), choose the share you want, somewhere along the road there will be an option to auto-reconnect.. I think by clicking on 'Advanced' on the userid/password dialog box and checking the box that says "add password to the keychain". I don't have a MacOS X box handy so it's all from memory but that should be enough to steer you in the right direction. > I know I need to modify the fstab file and add the following like > > mount -t smbfs //elcid/share /laptop-mount > > It works, but obviously it pauses and ask for a password. I would > like to send the password along with the mount command. Checking > googles, I found that some people claims that it works if the > following command is addded > > mount -t smbfs //elcid/share /laptop-mount -o > username=user,password=password > > > well, on My OS 10.2 it complains that - o username= is not supported. > The man mount command shows many options but not any command to enter > a password or username. I also should point out, how come smbmount > command is not available under OS 10.2 ?? > > please any help is greatly appreciated
Technical Details
Message-ID:
<3E4865EF.1060509@uniserve.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<2p364v40dfs1mg4h2l4539ps2i61s71b14@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114424,9e7885483e3f6fb2 X-Google-Attributes: gid114424,public X-Google-ArrivalTime: 2003-02-10 18:41:27 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Vlad Petersen <vladim@uniserve.com> Newsgroups: bc.unix Subject: Re: Help with Mount command. Date: Mon, 10 Feb 2003 18:54:39 -0800 Organization: append 'ip' to 'vladim' to get a valid email address Message-ID: <3E4865EF.1060509@uniserve.com> X-Trace-PostClient-IP: 216.113.210.91 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en MIME-Version: 1.0 References: <2p364v40dfs1mg4h2l4539ps2i61s71b14@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@supernews.com Lines: 39