Operating System - HP-UX
1753455 Members
5982 Online
108794 Solutions
New Discussion

Configure share directory in HP-Unix to access it from Windows 2003 server.

 
Raoof
Regular Advisor

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

1 REPLY 1
Steven Schweda
Honored Contributor

Re: Configure share directory in HP-Unix to access it from Windows 2003 server.