- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Samba question ( sort of ?)
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
07-15-2003 08:03 AM
07-15-2003 08:03 AM
Samba question ( sort of ?)
I have an HP-UX samba server with a share setup.
I can access it via a WIN 2K client, however when I automatically try to mount it a startup bat file the network isn't quite ready enough to mount the drive.
Does anyone have any tricks or suggestions to time this correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-15-2003 08:32 AM
07-15-2003 08:32 AM
Re: Samba question ( sort of ?)
I set up my W2K client to connect to share as follows:
search for the Samba box in network neighborhood.
I click in(I am challenged for a user id and password), right mouse on the share I want, choose map network drive. I click the box that says connect at logon.
Pretty much I'm done.
Something that causes some issues is if the Linux box isn't fully integrated into the network, or initial setup.
smbpasswd -a
Then unix permissions control the level of access based on username.
SEP
I
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-15-2003 09:59 AM
07-15-2003 09:59 AM
Re: Samba question ( sort of ?)
I have tried the reconnect at reboot option and it always fails on reboot. I think it has something to do with the timing of the network services availability. ( Error message says Network path not found. )
When the machine finishes booting I can then map the share.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-15-2003 10:03 AM
07-15-2003 10:03 AM
Re: Samba question ( sort of ?)
Take the mount requests out of /etc/fstab
Write a little script that runs the cifs mounts.
Make it the last item in Run Level 2.
Example
/sbin/init.d/mountcifs # runs the mount requests.
ln -s /sbin/init.d/mountcifs /sbin/rc2.d/S995mountcifs
Have the Kill link at run level 1.
Because CIFS uses the network, it can't mount before the network.
Though now that I think of it, nfs doesn't have this problem. Perhaps the nfs.client script reads through /etc/fstab and does the mounts itself.
You are making me think Ron. ....
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-15-2003 11:00 AM
07-15-2003 11:00 AM
Re: Samba question ( sort of ?)
My problem is when automatically mounting/map on a Windows 2K client.
The PC attaches to Novel and can map Novell share fine. However when I map my samba drive it fails. When it finishes booting it is fine.
I will try to do a generic loop in my .bat file to keep trying the mount/map. The goal is to have this happen automatic.
WIN 2K also fails when I try the reconnect on reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-15-2003 12:22 PM
07-15-2003 12:22 PM
Re: Samba question ( sort of ?)
Add a user account for each Unix machine to the Primary Domain Controller and see if that helps. I do this at home and work. I am challenged for a passowrd, but its still working.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-16-2003 05:36 AM
07-16-2003 05:36 AM
Re: Samba question ( sort of ?)
I should be able to add the Unix/Samba server to the Domain on the Windows 2K server when I begin testing on the Server.
I am currently using the user guest.
I know I have the correct security settings becuase once my pc is completed booted I have no trouble mounting the shares without being prompted for a password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-23-2003 01:49 PM
07-23-2003 01:49 PM
Re: Samba question ( sort of ?)
Also, did you configure your .bat file as your user's logon script, or did you put it in the 'Startup' folder ? We map all our HPUX samba shares through our logonscripts, without many problems.
Also make sure nmbd is running on your server, I suspect w2k from caching a whole lot, so who knows..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-23-2003 02:15 PM
07-23-2003 02:15 PM
Re: Samba question ( sort of ?)
That post has two links with documents that might help.
Still pretty thin.
This is a toughie.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-25-2003 04:59 AM
07-25-2003 04:59 AM
Re: Samba question ( sort of ?)
I put a .bat file in the startup for the user that does a net use command. Then checks if the drive is there, if not do a little loop and try again.
It also helped putting a hosts file on the 2K server with entries to the samba servers.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP