[Samba] Winbind - Domain Join Failed

Oliver Weinmann oliver.weinmann at vega.de
Tue Nov 9 01:45:32 MST 2010

Hey stuart, can you maybe post you smb.conf? 

-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Joe Stuart
Sent: Montag, 8. November 2010 18:20
To: samba at lists.samba.org
Subject: [Samba] Winbind - Domain Join Failed

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.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

More information about the samba mailing list