System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS client configuration HP-UX 11.23

Oscar Garcia
Regular Advisor

CIFS client configuration HP-UX 11.23

Hi Guys,

I have configured a samba server in a Suse 10 box and managed to share the home directories in WinXP after a long battle.
Now I want to mount those home shares into a hpux 11.23 server. I have installed CIFS client, started up and issue the command
#mount -F cifs 192.168.1.10:/home/tamal /home/tamal
However I am getting the permission denied messsage when trying to use the share. I have not done any other configuration (like joining AD) but it seems I am missing something important.

Any help is really appreciated.

I am using samba 3.0.28-0.5.1657
7 REPLIES
Steven E. Protter
Exalted Contributor

Re: CIFS client configuration HP-UX 11.23

Shalom,

You should consider using cifs/9000 from http://software.hp.com

It is a depot install and eliminates other issues.

Permission denied could be due to actual file permission problems on the Samba Server. Take a look and see if they are correct.

Samba also has a number of log files, which might provide more detail.

sbm.conf has a log level command which can allow you to increase the amount of detail in the log.

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
eric roseme
Respected Contributor

Re: CIFS client configuration HP-UX 11.23

you need to authenticate to the Samba server. Dunno what kind of "security =" you have in smb.conf on the server, but your CIFS Client needs a "cifslogin //sambaserver/share /mountpoint -U username". Then you can "cd /mountpoint".

Eric Roseme
Oscar Garcia
Regular Advisor

Re: CIFS client configuration HP-UX 11.23

Thanks for your replies!

This is the smb.conf in the server side:

[global]
workgroup = ABC0000
realm = ABC0000.CO.UK
server string = Suse 10 Development Server
security = ADS
auth methods = winbind
null passwords = Yes
password server = 192.168.1.2
username map = No
syslog = 0
log file = /var/log/samba/log.%U
max log size = 100000
smb ports = 139
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'
preferred master = No
local master = No
domain master = No
wins support = Yes
ldap ssl = no
ldap timeout = 5
idmap uid = 10000-20000
idmap gid = 10000-20000
hosts allow = 192.168.1.
vfs objects = recycle
ldap admin dn =
ldap suffix =
passdb backend = smbpasswd

[homes]
read only = No
browseable = No

I do not what to do next, as last time I ended up overcomplicating things with kerberos.

Thanks,
Kranti Mahmud
Honored Contributor

Re: CIFS client configuration HP-UX 11.23

Hi Oscar,

Check the links:

http://www.docs.hp.com/en/5991-2814/ch06s03.html

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

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Taifur
Respected Contributor

Re: CIFS client configuration HP-UX 11.23

Hi,


Check below link,
http://docs.hp.com/en/B8725-90143/B8725-90143.pdf

Rgds//
taifur
Oscar Garcia
Regular Advisor

Re: CIFS client configuration HP-UX 11.23

Following the suggestion of Eric, I have proceeded to configure kerberos client in the server, following some instructions from other threads.
Now I have reached another dead end. I am getting:
# /opt/samba/bin/net ads join -U administrator
administrator's password:
/usr/lib/dld.sl: Unresolved symbol: krb5_cc_close (code) from /opt/samba/bin/net
Abort(coredump)

Some information:
# what /usr/lib/dld.sl
/usr/lib/dld.sl:
SMART_BIND
92453-07 dld dld dld.sl B.11.67 081208

# what /opt/samba/bin/net
/opt/samba/bin/net:
$Revision: 92453-07 linker linker crt0.o B.11.37 030623 $
HP CIFS Server: A.02.04 based on Samba 3.0.30

# swlist -l product | grep -i krb
KRB5-Client B.11.23 Kerberos V5 Client Version 1.0
PHSS_34991 1.0 KRB5-Client Version 1.0 Cumulative patch

# swlist | grep J4269AA
J4269AA B.04.00.03 LDAP-UX Integration

# swlist | grep CIFS
B8724AA A.02.02.02 HP CIFS Client
B8725AA A.02.04 HP CIFS Server

Any ideas?
Oscar Garcia
Regular Advisor

Re: CIFS client configuration HP-UX 11.23

I had open another thread as no one replied to my last post.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1416221