- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAMBA server
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
11-26-2003 04:41 AM
11-26-2003 04:41 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 04:49 AM
11-26-2003 04:49 AM
Re: SAMBA server
start explorer, extras, add network drive, use \\machine\sharename, you will be asked for username and password. Click try to connect next time when start and it should work.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 04:54 AM
11-26-2003 04:54 AM
Re: SAMBA server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 05:05 AM
11-26-2003 05:05 AM
Re: SAMBA server
Figure out which Authentication you will want - Domain (NT) or Server/User (UNIX Based)..
You should be able to figure it out using SWAT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 05:05 AM
11-26-2003 05:05 AM
Re: SAMBA server
you would have to insert into smb.conf something like this:
[sharename]
comment = User username on %h
path = /path/to/share
force user = useronunix
force group = grouponunix
read only = No
create mask = 0660
then add the user with smbpasswd, test with smbclient.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 05:13 AM
11-26-2003 05:13 AM
SolutionThere's a number of answers to that question I'm afraid! To modify the config of the Samba server you can either edit the smb.conf or use SWAT (a web gui, point your browser to http://thehostnameofyourserver:901 )
The first step is to choose the security level. For your application I'd consider using user level security. For this you'll need to have an existing HP-UX user - you could create this user with the same name as your Windows user to make it simple.
You then need to create the smbpasswd file, and add a password for your user. Next edit the config to create a new share, with a path of whatever file system or dir you want to share out. Make sure the valid users and write list is set to your HP-UX user. You should now be able to map to the drive, and will be prompted for the password you set.
If you have CIFS/9000 on your system (HP's Samba based product which is free, and supported by HP) you'll have the O'Reilly Using Samba book available, failing that I believe it is freely available on the web.
There's more than one way to do this in Samba - another way is server level security. You don't need to create the smbpasswd file, but you then have to point the password server parm to your PDC.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 11:59 AM
11-26-2003 11:59 AM
Re: SAMBA server
HP has slightly different locations to worry about
Config files:
/etc/opt/samba (smb.conf codepages)
Bootup start files:
/etc/rc.config.d/samba ("turn on samba" variable for rc process)
/sbin/init.d/samba (execstartsmb/stopsmb)
/sbin/init.d/rc1.d/K100samba (kill link to init.d)
/sbin/init.d/rc2.d/S900samba (start link to init.d)
More important is security.
Unix file perms can control some of the access.
Look carefully at smb.conf.default and determine how you want to really control access, host, guest user etc. create masks
Good luck
rory
Yo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 09:06 PM
11-26-2003 09:06 PM
Re: SAMBA server
if you want to restrict a share to be accessed only by one machine use:
[yourShare]
host allow = w2k_box_ip
HTH,
Stefan