Hi all, I'm facing an issue I can't understand, so here I am... I'm trying to join a CentOS 7 to MS AD and it fails with: sitename_fetch: No stored sitename for realm 'AD.DOMAIN.TLD' ads_dns_lookup_srv: 4 records returned in the answer section. ads_cldap_netlogon: did not get a reply ads_cldap_netlogon: did not get a reply ads_cldap_netlogon: did not get a reply ads_cldap_netlogon: did not get a reply libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx out: struct libnet_JoinCtx account_name : 'HOSTNAME$' netbios_domain_name : NULL dns_domain_name : NULL forest_name : NULL dn : NULL domain_guid : 00000000-0000-0000-0000-000000000000 domain_sid : NULL domain_sid : (NULL SID) modified_config : 0x00 (0) error_string : 'failed to find DC for domain AD.DOMAIN.TLD - A domain controller for this domain was not found.' domain_is_ad : 0x00 (0) set_encryption_types : 0x00000000 (0) krb5_salt : NULL result : WERR_NERR_DCNOTFOUND What I can't understand is we can use kinit on that system to get Kerberos ticket and we can use that ticket to perform ldapsearch. Some others CentOS 7 are joined to that very same domain... I could provide more information if needed. If any of you had some idea, that would be very appreciated. Cheers, mathias
On Tue, 6 Nov 2018 10:16:26 +0100 mathias dufresne via samba <samba at lists.samba.org> wrote:> Hi all, > > I'm facing an issue I can't understand, so here I am... > > I'm trying to join a CentOS 7 to MS AD and it failsWhat is in smb.conf ? How are you trying to join ? What is the DC you are trying to join ? Rowland
Hi Rowland, Thank you for your reply. I'll provide these information but for now I'm suspecting Samba and others things could be installed in a strange manner. I have to check that first... Best regards, mathias Le mar. 6 nov. 2018 à 10:36, Rowland Penny via samba <samba at lists.samba.org> a écrit :> On Tue, 6 Nov 2018 10:16:26 +0100 > mathias dufresne via samba <samba at lists.samba.org> wrote: > > > Hi all, > > > > I'm facing an issue I can't understand, so here I am... > > > > I'm trying to join a CentOS 7 to MS AD and it fails > > What is in smb.conf ? > How are you trying to join ? > What is the DC you are trying to join ? > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >