- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configure share directory in HP-Unix to access...
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
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
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
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
- Report Inappropriate Content
05-04-2014 02:47 PM
05-04-2014 02:47 PM