- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba initial setup
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
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
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-03-2003 04:20 AM
тАО07-03-2003 04:20 AM
Samba initial setup
I just want to test samba in our lab between a HP-UX 11.22 server who should be the CIFS serber and a Windows client. I created a filesystem on HP-UX which I would like to share and access via that Windows server. What are my next steps ? The documentation is not very clear on that.
And bye the way, can I use a Mac OSX 10.1 server as client ?
Cheers,
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2003 04:30 AM
тАО07-03-2003 04:30 AM
Re: Samba initial setup
There's 2 steps you need to follow:
1) configure the smb.conf for your share
2) configure the users
To configure smb.conf you can either use an editor like vi or you can use SWAT - a gui accessed via a browser using http://
There are 2 main areas of smb.conf; [global] and the individual shares. In the global section you define global parameters including the security type and the workgroup. Please read through the docs to see which method of security is best for your usage.
The individual share sections define the path to the area of the filesystem you are sharing, who can access them and masks for file permissions.
To configure the users will depend on the security method you've chosen. Some methods use your Windows domain's PDC, other use a separate smbpasswd file on the CIFS server.
I recommend that you have a look through the Using Samba book by O'Reilly - it's available in an online version via SWAT and will guide you through some of the choices you have to make.
As for using a Mac - if it can map shares from a Windows box then there should be no problem mapping to a CIFS share.
regards,
Darren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2003 04:37 AM
тАО07-03-2003 04:37 AM
Re: Samba initial setup
You can us it as a template for sharing other folders/directories.
You then need to authorize users.
smbpasswd -a
That sets them up.
Windows, Mac, any front end can connect to samba shares. Recent OS's usually don't require any additional software. For windows, search the network neighborhood, or use the find computers function.
In some network setups, you'll need to set up an account for the HP-UX machine to make it visible.
Here is a good doc to cover what I've missed.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8725-90021/B8725-90021_top.html&con=/hpux/onlinedocs/B8725-90021/00/00/8-con.html&toc=/hpux/onlinedocs/B8725-90021/00/00/8-toc.html&searchterms=configuration%7cCIFS/9000&queryid=20030703-064535
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-03-2003 05:14 AM
тАО07-03-2003 05:14 AM
Re: Samba initial setup
As for security, the environment I'm using is a lab environment, so I choose Workgroup as domain role and Server-level security as authentication type. The passwd server is choose is the same server as my CIFS server.
Does the cifsclient need to be started ? And then I suppose that I need to cifsmount the native Unix filesystem I created ?
Sorry, but it's my first steps with Samba :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2003 05:54 AM
тАО07-03-2003 05:54 AM
Re: Samba initial setup
As for server level security I believe there's very little to choose between it and user level security if you are going to keep the same box as the password server.
regards,
Darren.
PS: Please don't forget to assign points to people who have helped you - it's a kind of reward for them plus it helps others decide which answers are useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2003 06:00 AM
тАО07-03-2003 06:00 AM
Re: Samba initial setup
Just set up the /etc/samba/smb.conf file! For test purpose , you can make a "USER" level security.
Use sampasswd -a USERNAME to add a samba user!
(The "USERNAME" must exist in /etc/passwd.) The password mustn't be the same.
Keep "encryptpassword=yes", or the authentication can't pass in Windows side.
Now you can view the share resource from Windows:
\\Servername\share_resource
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2003 06:15 AM
тАО07-03-2003 06:15 AM
Re: Samba initial setup
However, it still does not work with a Mac OSX server, but again I suppose that that is normal as I could not find any information about CIFS/9000 supporting Max operating systems.
Bruno