HP-UX HB v13.00 Ch-20 - CIFS

HP-UX Handbook Rev 13.00 Page 10 (of 40)
Chapter 20 CIFS
October 29, 2013
kerberos_kinit_password administrator@GEL2000.GRC.HP.COM failed:
Cannot find KDC for requested realm
[2004/11/19 11:31:43, 0] utils/net_ads.c:ads_startup(183)
ads_connect: Cannot find KDC for requested realm
check the confirguration of the /etc/krb5.conf file. It must macht realm and password server
in the smb.conf. Check nameresolution and network connection to the KDC. You can as well use
the command:
# kinit Administrator@GEL2000.GRC.HP.COM
Runtime check
# ps -ef|grep mbd
root 2767 1 0 Nov 23 ? 0:00 /opt/samba/bin/smbd -D
root 2775 2767 0 Nov 23 ? 0:27 /opt/samba/bin/smbd -D
root 2765 1 0 Nov 23 ? 149:03 /opt/samba/bin/nmbd D
rdoelker 5821 2767 1 19:55:44 ? 0:00 /opt/samba/bin/smbd -D
# netstat -an |grep -e 139 -e 445 -e 137 -e 138
tcp 0 0 *.445 *.* LISTEN
tcp 0 0 *.139 *.* LISTEN
udp 0 0 *.137 *.*
udp 0 0 *.138 *.*
udp 0 0 15.140.10.103.137 *.*
udp 0 0 15.140.10.103.138 *.*
You will not see the smbd-ports in the lsof output, but there are 2 parent smbd’s (here pid 2767
and 2775, which serve both tcp netbios-session ports: 139 and 445. The other smbd is 2 user-
session as you can see in smbstatus as well:
root@hprtdu96:>smbstatus
Samba version 3.0.7 based HP CIFS Server T.30.PV.04
PID Username Group Machine
-------------------------------------------------------------------
7000 rdoelker users rdoelker (16.58.6.204)
7016 rdoelker users rdoelker (16.58.6.204)
Service pid machine Connected at
-------------------------------------------------------
kunden 7000 rdoelker Mon Dec 6 14:30:37 2004
IPC$ 7016 rdoelker Mon Dec 6 16:04:46 2004
IPC$ 7000 rdoelker Mon Dec 6 10:25:51 2004
kunden 7016 rdoelker Mon Dec 6 16:04:48 2004
Locked files:
Pid DenyMode Access R/W Oplock Name
--------------------------------------------------------------
5821 DENY_NONE 0x2019f RDWR EXCLUSIVE+BATCH /tmp/currently_open.doc Mon Dec 6 14:31:48 2004
smbstatus p # list pid and user
smbstatus S # list shares
smbstatus L # list locks