Just to continue this.
I've setup pkgsrc and built a unchanged version of samba:
[root@base2 /data/home/nic]# pkgin rm samba
1 packages to delete: samba-3.6.23
[root@base2 /data/home/nic]# pkg_add samba-3.6.23nb2.tgz
samba-3.6.23nb2: /opt/local/etc/samba/smb.conf already exists
============================================================================
This package has SMF support. You may use svcadm(1M) to 'enable', 'disable'
or 'restart' services. To enable the instance(s) for this package, run:
/usr/sbin/svcadm enable svc:/pkgsrc/samba:smbd
/usr/sbin/svcadm enable svc:/pkgsrc/samba:nmbd
Use svcs(1) to check on service status. See smf(5) for more information.
============================================================================
Creating /usr/lib/libnss_winbind.so symlink.
ln: cannot create /usr/lib/libnss_winbind.so: Read-only file system
===========================================================================
I'm not sure if this is an issue, however it is a bug. I haven't seen that
error message when I installed the package with pkgin, but I can only
assume it is there and hidden.
This relates to:
[root@pkgsrc /content/pkgsrc/net/samba]# cat INSTALL.nss_winbind
# $NetBSD: INSTALL.nss_winbind,v 1.2 2012/08/19 07:28:36 sbd Exp $
case ${STAGE} in
POST-INSTALL)
NSS_WINBIND='@NSS_WINBIND@'
case $NSS_WINBIND in
"@comment *") ;;
*)
if ${TEST} -f ${PREFIX}/${NSS_WINBIND} && \
${TEST} ! -e /usr/lib/${NSS_WINBIND##*/} ;then
${ECHO} "Creating /usr/lib/${NSS_WINBIND##*/}
symlink."
${LN} -sf ${PREFIX}/${NSS_WINBIND}
/usr/lib/${NSS_WINBIND##*/}
fi
;;
esac
;;
esac
Note, I still get the same error message with net ads join:
[root@base2 /data/home/nic]# net ads join -U Administrator
Enter Administrator's password:
kinit succeeded but ads_sasl_spnego_krb5_bind failed: Error in the PKCS 11
library calls
Failed to join domain: failed to connect to AD: Error in the PKCS 11
library calls
I'll try work on different build options to resolve this issue, and
potentially try the samba4 pkgsrc in the WIP module.
Nicholas
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com