Please review: http://www.yalms.org/cr/illumos-1121/ This is part two (of two) for adding SPNEGO to the outbound authentication path in smbsrv. (part one is issue 1120, or the part that falls in netsmb and smbfs, sent earlier).