Notepad:Samba-AD-DC

From Amar
Revision as of 00:36, 17 May 2022 by Lax (talk | contribs) (Created page with " [https://bugzilla.samba.org/show_bug.cgi?id=13298 Samba Join Active Directory Domain Controller] Basically: forestdns_zone_dn = ldb.Dn(ctx.samdb, ctx.forestdns_zone) (c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Samba Join Active Directory Domain Controller

Basically:

 forestdns_zone_dn = ldb.Dn(ctx.samdb, ctx.forestdns_zone)
 (ctx.dns_a_dn, ldap_record) \
     = ctx.samdb.dns_lookup("%s.%s" % (name, zone),
                            dns_partition=forestdns_zone_dn)

Changed from domain_zone_dn