- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Networking
- >
- Configure share directory in HP-Unix to access it ...
-
- 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, 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
05-04-2014 01:06 AM - last edited on 05-04-2014 06:18 PM by Maiko-I
05-04-2014 01:06 AM - last edited on 05-04-2014 06:18 PM by Maiko-I
Configure share directory in HP-Unix to access it from Windows 2003 server.
Hi,
Need assitance to access the shared directory congfigured in hpux from windows server.
Followed the steps but no success.
Configuration of share directory.
1.Create OS level user and change ownership on server that will be used to access the share.
# useradd shareusr
# passwd shareusr
# mkdir /test
# chown shareusr:users /test
2.Adding user to samba database
# /opt/samba/bin/smbpasswd -a shareusr
New SMB password:
Retype new SMB password:
Added user shareusr
3.Set parameter in smb.conf file
[global]
security=User
;share directory parameter
[test_share]
comment = Public Share
path = /test
public = yes
writable = yes
available = yes
valid users = shareusr
read only = no
browsable = yes
writable = yes
4.Restart SAMBA Service and Check status of SAMBA share
#/sbin/init.d/samba stop
#/sbin/init.d/samba start
#/opt/samba/bin/testparm
Load smb config files from /etc/opt/samba/smb.conf
Processing section "[homes]"
Processing section "[tmp]"
Processing section "[test_share]"
Loaded services file OK.
Processing comments in /etc/opt/samba/smb.conf
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
[homes]
[tmp]
[test_share]
comment = Public Share
path = /test
valid users = shareusr
guest ok = Yes
>>>>> here it is not showing the following parameters
public = yes
only guest = yes
writable = yes
printable = no
#/opt/samba/bin/smbstatus
Samba version 3.4.3 based HP CIFS Server A.03.01.05
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
/var/opt/samba/locks/locking.tdb not initialised
This is normal if an SMB client has never connected to your server.
Thne from windows tried to access the shared folder as \\xx.xx.xxx.xx\test
Network path not found.
Am i missing any other steps before trying to access the desired shared directory.
Your valuable assistance will be highly appreciated.
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking - Hp Forum Moderator
- Tags:
- samba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-04-2014 02:47 PM
05-04-2014 02:47 PM
Re: Configure share directory in HP-Unix to access it from Windows 2003 server.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP