- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Mounting NT network shares via /etc/fstab
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2002 11:56 AM
тАО07-10-2002 11:56 AM
Mounting NT network shares via /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2002 02:56 PM
тАО07-10-2002 02:56 PM
Re: Mounting NT network shares via /etc/fstab
Same format as every other line.
The source being:
//NTMachine/Share
Destination path:
/mnt/YourMountPath
File System Type:
'smb' of 'smbfs'
(This was introduced by the Samba sources into the kernel years ago. I remember having to grab kernel patches from Samba and recompiling kernels to do this! Once upon a time, you had to use the tools 'smbmount' and 'smbumount' in order to do what you can now do with 'mount -tsmbfs -ousername=blah //machine/share /mount/pint'. This sill uses the 'smbmount' commands in the background, but they don't have to be used explicitly any more)
Options field:
username=WindowsUser,password=UserPassword
(There are of course more options, these are outlined in 'man smbmount')
The last two are the same as always (outlined in 'man fstab').
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2002 05:11 PM
тАО07-10-2002 05:11 PM
Re: Mounting NT network shares via /etc/fstab
just a word of caution...
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 05:48 AM
тАО07-11-2002 05:48 AM
Re: Mounting NT network shares via /etc/fstab
Is there something wrong with the syntax? thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 05:52 PM
тАО07-11-2002 05:52 PM
Re: Mounting NT network shares via /etc/fstab
Can you get rid of it? If not, try escaping it (partners\/rhk). I've never tried using a '/' in a username in this purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 04:16 AM
тАО07-12-2002 04:16 AM
Re: Mounting NT network shares via /etc/fstab
I agree with Stuart, I think the "/" is the trouble, try this, it should be better:
//home17/ahk$ /mnt/ahk
smbfs username=ahk,password=password,workgroup=partners 0 0
hth
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 05:44 AM
тАО07-12-2002 05:44 AM
Re: Mounting NT network shares via /etc/fstab
Thanks for your help. The dropping of the / in the username and adding the workgroup= option enabled the connection to take place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 03:02 AM
тАО07-17-2002 03:02 AM
Re: Mounting NT network shares via /etc/fstab
//
example:
//dsysnt3x/c$ /mnt/dsysnt3x/c smbfs username=administrator/dsysnt3x,password=banana01 0 0
Heiner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 11:19 AM
тАО08-23-2002 11:19 AM
Re: Mounting NT network shares via /etc/fstab
Sounds too easy. It could be useful to me because my office network backup is a Windows 2000 machine that does not have Samba and can't mount the exported NFS systems on my Linux box.
Currently I have the backup server run an ftp script that logs onto filesystem /backups of the Linux box which the user in the script is read only(can't make a back door for the hacker can we?) and that script puts the backup files somewhere where they will get backed up.
Obviously cron makes the backups prior to the runtime of that ftp script.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com