[Samba] Winbind - Domain Join Failed

Joe Stuart joe.stuart at gmail.com
Mon Nov 8 10:20:27 MST 2010

I'm trying to setup winbind on Solaris 10 update 6 and am having an
issue joining the domain. I'm running this command

net ads join -U admin -d10

Here is the last paragraph or so of the debug output.

[2010/11/08 11:12:37,  3] libsmb/cliconnect.c:1176(cli_session_setup)
 SPNEGO login failed: Invalid parameter
[2010/11/08 11:12:37,  1] libsmb/cliconnect.c:2132(cli_full_connection)
 failed session setup with NT_STATUS_INVALID_PARAMETER
[2010/11/08 11:12:37,  1] libnet/libnet_join.c:1903(libnet_Join)
     libnet_JoinCtx: struct libnet_JoinCtx
         out: struct libnet_JoinCtx
             account_name             : NULL
             netbios_domain_name      : NULL
             dns_domain_name          : NULL
             forest_name              : NULL
             dn                       : NULL
             domain_sid               : NULL
                 domain_sid               : (NULL SID)
             modified_config          : 0x00 (0)
             error_string             : 'failed to lookup DC info for
domain 'MYDOMAIN.QA' over rpc: Invalid parameter'
             domain_is_ad             : 0x00 (0)
             result                   : WERR_INVALID_PARAM
Failed to join domain: failed to lookup DC info for domain
'MYDOMAIN.QA' over rpc: Invalid parameter

I'm really stumped on this one, since I can run net ads info just
fine. I also get no errors when running the kinit command.

root# net ads info
LDAP server:
LDAP server name: server1.mydomain.qa
Bind Path: dc=MYDOMAIN,dc=QA
LDAP port: 389
Server time: Mon, 08 Nov 2010 11:16:57 CST
KDC server:
Server time offset: 0

Thanks for any help in advance.


More information about the samba mailing list