- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cifsmount in startup of the machine
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
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
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
08-12-2004 05:01 AM
08-12-2004 05:01 AM
cifsmount //NT server/resource /
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:20 AM
08-12-2004 05:20 AM
Re: Cifsmount in startup of the machine
# vi /etc/rc.config.d/cifsclient
RUN_CIFSCLIENt=1
#
# vi /etc/fstab
..
..
NTServer:/resource /mountpoint -U login 0 2
#
# mount -aF cifs
as I said, I havent tested this and not sure if this is going to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:24 AM
08-12-2004 05:24 AM
SolutionFOr UNIX mounts from NT's to be persistent accross reboots, you must the "-s" option in cifsmount so it saves mount and connect/password information in a database:
mroot@sol # cifsmount -?
usage: cifsmount //
cifsmount -h prints short help
cifsmount -v prints version information
valid options are:
-r Mount as read-only filesystem
-c
-p
-u Enable unencrypted passwords
-s Save mount and password in database (please do not
use unless you understand the security implications)
-E Force data encryption (only when compiled with SSL)
-C Require server certificate (only when compiled with SSL)
-W Do without server certificate (only when compiled with SSL)
-f Force mount. Mount the server even if it does not respond.
-U
-P
-S Read password from standard input (implies -N)
-N Don't prompt for a password
-I
Then you use "cifslist -M" to confirm what's in the CIFS Client DB:
root@sol # cifslist
usage: cifslist -A lists servers with shares and mountpoints
cifslist -S lists connected servers
cifslist -U lists users in database
cifslist -M lists mounts in database
cifslist -s
cifslist -u
cifslist -m
cifslist -h prints short help
cifslist -v prints version information
You need not bother with /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:28 AM
08-12-2004 05:28 AM
Re: Cifsmount in startup of the machine
Look at man page of cifslogin and cifsmount.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:41 AM
08-12-2004 05:41 AM
Re: Cifsmount in startup of the machine
You will only need cifsmount command. Look at the syntax...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 06:26 AM
08-12-2004 06:26 AM