Notepad:Samba-AD-DC

From Amar
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