[Samba] samba 4.0.3: ads_sasl_spnego_krb5_bind failed with "Did not find a plugin for ccache_ops" [solaris]

Joeri Vanthienen mail at joerivanthienen.be
Fri Mar 8 05:21:05 MST 2013

Hi everybody,

I've compiled samba 4.0.3 with gcc 4.4.4 on openindiana.
But now I have a problem joining the domain....

/usr/local/samba/bin/net ads join -d 10 -U jvanthienen
"ads_sasl_spnego_krb5_bind failed with:  Miscellaneous failure (see
text) : Did not find a plugin for ccache_ops, calling kinit"

Is this ccache plugin really needed? Can I disable this and how ? any idea?

More details:
root at openindiana-san:~# /usr/local/samba/sbin/samba --show-build
Samba version: 4.0.3
Build environment:
   Build host:  SunOS openindiana-san 5.11 oi_151a7 i86pc i386 i86pc
   BINDIR: /usr/local/samba/bin
   SBINDIR: /usr/local/samba/sbin
   CONFIGFILE: /usr/local/samba/etc/smb.conf
   NCALRPCDIR: /usr/local/samba/var/run/ncalrpc
   LOGFILEBASE: /usr/local/samba/var
   LMHOSTSFILE: /usr/local/samba/etc/lmhosts
   DATADIR: /usr/local/samba/share
   MODULESDIR: /usr/local/samba/lib
   LOCKDIR: /usr/local/samba/var/lock
   STATEDIR: /usr/local/samba/var/locks
   CACHEDIR: /usr/local/samba/var/cache
   PIDDIR: /usr/local/samba/var/run
   PRIVATE_DIR: /usr/local/samba/private
   SWATDIR: /usr/local/samba/share/swat
   CODEPAGEDIR: /usr/local/samba/share/codepages
   SETUPDIR: /usr/local/samba/share/setup
   WINBINDD_SOCKET_DIR: /usr/local/samba/var/run/winbindd
   WINBINDD_PRIVILEGED_SOCKET_DIR: /usr/local/samba/var/lib/winbindd_privileged
   NTP_SIGND_SOCKET_DIR: /usr/local/samba/var/lib/ntp_signd

/usr/local/samba/bin/net ads join -d 10 -U jvanthienen

KDC time offset is 1 seconds
Found SASL mechanism GSS-SPNEGO
ads_sasl_spnego_bind: got OID=1.2.840.48018.1.2.2
ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2
ads_sasl_spnego_bind: got OID=1.2.840.113554.
ads_sasl_spnego_bind: got OID=
ads_sasl_spnego_bind: got server principal name =
not_defined_in_RFC4178 at please_ignore
ads_sasl_spnego_krb5_bind failed with:  Miscellaneous failure (see
text) : Did not find a plugin for ccache_ops, calling kinit
kerberos_kinit_password: as jvanthienen at HOME.RONIESOFT.BE using
[MEMORY:net_ads] as ccache and config
ads_setup_sasl_wrapping() failed: NT_STATUS_NOT_SUPPORTED
kinit succeeded but ads_sasl_spnego_krb5_bind failed: NT_STATUS_NOT_SUPPORTED
    libnet_JoinCtx: struct libnet_JoinCtx
        out: struct libnet_JoinCtx
            account_name             : NULL
            netbios_domain_name      : 'HOME'
            dns_domain_name          : 'home.roniesoft.be'
            forest_name              : 'home.roniesoft.be'
            dn                       : NULL
            domain_sid               : *
                domain_sid               :
            modified_config          : 0x00 (0)
            error_string             : 'failed to connect to AD:
            domain_is_ad             : 0x01 (1)
            result                   : WERR_GENERAL_FAILURE
Failed to join domain: failed to connect to AD: NT_STATUS_NOT_SUPPORTED
return code = -1

More information about the samba mailing list