14 April,20 at 01:21 PM
Problem:
Solaris not able to connect to the Samba share given out the following error:
"NT_STATUS_CONNECTION_DISCONNECTED"
While in log.smbd shows the following error messages indicating Samba is not able to retrieve the krb5.keytab file:
***********************************************
[2017/06/2014:01:50.787298,1] ../source3/librpc/crypto/gse_krb5.c:416(fill_mem_keytab_from_system_keytab)
../source3/librpc/crypto/gse_krb5.c:416: krb5_kt_start_seq_get failed (No such file or directory)
[2017/06/20 14:01:50.787582, 0] ../lib/util/fault.c:78(fault_report)
[2017/06/20 14:01:50.787733, 0] ../lib/util/fault.c:79(fault_report)
INTERNAL ERROR: Signal 11 in pid 8717 (4.2.14)
***********************************************
Workaround:
This issue is due to the OS Solaris where it keeps the krb5.keytab file in a different location on the machine where Samba doesn’t know where to retrieve it. Therefore, resulting the connection issue above.
To workaround it, we can create a symlink pointing to the default location with the following command:
Once done, please restart the samba service and try connect to the share again.
If the issue still persist, please help to perform the following and collect the debug that we need for further investigation:
a. Edit /etc/samba/smb.conf:
log level = 10
log file = /var/log/samba/smb.log
max log size = 0
b. Restart samba service
c. Switch on adclient debug:
/usr/share/centrifydc/bin/addebug on
/usr/share/centrifydc/bin/addebug clear
d. Reproducing the issue by running smbclient command with failure.
e. Pack up and turn off debug:
adinfo -t
/usr/share/centrifydc/addebug off
f. Remove or revert to your setting from smb.conf:
log level = 10
log file = /var/log/samba/smb.log
max log size = 0
Please send in the following files:
- /var/log/samba/smb.log
- /var/centrify/tmp/adinfo_support.tar.gz
Resolution:
This issue has been fixed in the 19.6 Centrify Infrastructure Release.