diff options
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/samdb.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index 4bd1acde4c..98c36bf38b 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -76,6 +76,10 @@ class SamDB(samba.Ldb): '''return True if we are an RODC''' return dsdb._am_rodc(self) + def am_pdc(self): + '''return True if we are an PDC emulator''' + return dsdb._am_pdc(self) + def domain_dn(self): '''return the domain DN''' return str(self.get_default_basedn()) |