- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Samba question ( sort of ?)
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
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
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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.