Operating System - HP-UX
1833757 Members
2976 Online
110063 Solutions
New Discussion

installing Samba for HP-UX version 3.0.5

 
SOLVED
Go to solution

installing Samba for HP-UX version 3.0.5

hi all,


i installed samba for hp-ux version 3.0.5 and is receiving the error message:

P001S100:/opt/ldapux/lib# /usr/local/samba/bin/smbd -D

/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/liblber.sl.2

/usr/lib/dld.sl: No such file or directory

Can anybody help me ?

Alex
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: installing Samba for HP-UX version 3.0.5

What is hour source and methodology for installing Samba. If you compiled it you may have an environment problem.

If this came from depots its a possible bug.

Checklist.

1) Does the file (in error messag) exist?
2) If it does exist is it on the PATH variable
3) Is /usr/lib on the SHLIB_PATH variable path

You may need to modify the source slightly to get it to compile.

Alternate source(maybe):
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP22

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: installing Samba for HP-UX version 3.0.5

hi

the cifs product is functionaly as samba, execute same functions?

The SH_LIB is OK.
My samba was downloading from samba.org
Alex
Geoff Wild
Honored Contributor
Solution

Re: installing Samba for HP-UX version 3.0.5

You may need:

J4269AA B.03.30 LDAP-UX Integration
PHSS_29486 1.0 KRB5-Client Version 1.0

I would install SAMBA version from HP instead (as I have done):

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3

Here's my plan:

First, backup old files:
cp -p /etc/opt/samba/smb.conf /etc/opt/samba/smb.conf.bak
cp -p /etc/opt/samba/username.map /etc/opt/samba/username.map.bak


Shut down samba
/opt/samba/bin/stopsmb

Remove old samba -
swremove B8725AA

I created a depot with the following:
CIFSTP3 T.30.PV.02 HP CIFS Server Technolog
J4269AA B.03.30 LDAP-UX Integration
PHSS_29486 1.0 KRB5-Client Version 1.0

Install - interactively - sellect all
swinstall -s DEPOTSERVER:/var/software/hp/samba3 @`uname -n`

Watch logfile
tail -f /var/adm/sw/swagent.log


Start samba
/opt/samba/bin/startsmb

Add to windbind to /etc/nsswitch.conf:
passwd: files winbind
group: files winbind
Add or change /etc/opt/samba/smb.conf
security = DOMAIN
idmap uid = 10000-20000
idmap gid = 10000-20000
template primary group = users
winbind separator = +
as well as valid users, example:
valid users = XXX+NTGROUP, bb, oracle, XXX+gwild
then, for each share, set the valid users as well, example:
[src]
path = /usr/local/src
valid users = bb, XXX+NTGROUP, XXX+gwild
force user = bb
Note: force user sets the Unix permissions to the uid of that user - so it must be a Unix id.
zero out the username.map file - no longer needed.
May or may not need to re-join the XXX domain:
/opt/samba/bin/net rpc join -U administrator
Start Samba and windbind from either SWAT ( http://server:901 ) or command line:
First modify startsmb and stopsmb as outlined in the Appendix, then
/opt/samba/bin/startsmb

Verify you can connect from Windows by:
Start -> Run -> \\server
Check log files on Samba Server in /var/opt/samba if it doesn't seem to be working.

Set XXX to your Windows Domain.

I also modified the stopsmb and startsmb scripts to include winbind.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Fred Ruffet
Honored Contributor

Re: installing Samba for HP-UX version 3.0.5

CIFS offers the same as samba (even swat is here). It is based on samba and has the advantage of being available as a depot from http://software.hp.com/

If you *really* want Samba, you will find a depot version at http://hpux.cs.utah.edu/. Remember using depot will certainly be easiest than home-compiled.

Regarding Geoff answer, if you have HP-UX 11.0, Kerberos 5 is provided by this package (also on software.hp.com) :
J5849AA (Pam Kerberos)

About SEP, check for /usr/local/lib in your SHLIB_PATH (not /usr/lib). Also you can use ldd over smbd to look at other unresolved dependencies.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)