mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
samba-tool: use get_config_basedn() to get configuration NC DN
this allows these commands to work for subdomains Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@ -139,8 +139,8 @@ class cmd_fsmo_show(Command):
|
||||
|
||||
domain_dn = samdb.domain_dn()
|
||||
self.infrastructure_dn = "CN=Infrastructure," + domain_dn
|
||||
self.naming_dn = "CN=Partitions,CN=Configuration," + domain_dn
|
||||
self.schema_dn = "CN=Schema,CN=Configuration," + domain_dn
|
||||
self.naming_dn = "CN=Partitions," + samdb.get_config_basedn()
|
||||
self.schema_dn = samdb.get_schema_basedn()
|
||||
self.rid_dn = "CN=RID Manager$,CN=System," + domain_dn
|
||||
|
||||
res = samdb.search(self.infrastructure_dn,
|
||||
|
Reference in New Issue
Block a user