summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba_dnsupdate
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-02 15:43:40 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-06 15:02:38 +1000
commitc091a92be51e8c14bf0b51ab83319fbcb704c91f (patch)
tree24e7f44491a9cf328e1622f46c2558d6476dedeb /source4/scripting/bin/samba_dnsupdate
parent6bf88222cc00ac765929ed6e844552a9a776109a (diff)
downloadsamba-c091a92be51e8c14bf0b51ab83319fbcb704c91f.tar.gz
samba-c091a92be51e8c14bf0b51ab83319fbcb704c91f.tar.bz2
samba-c091a92be51e8c14bf0b51ab83319fbcb704c91f.zip
s4-param Remove 'sam database' parameter
This now just relies on the private dir parameter, which remains. Andrew Bartlett
Diffstat (limited to 'source4/scripting/bin/samba_dnsupdate')
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index c82e06bb6f..0a13dd7c9b 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -222,7 +222,7 @@ def get_subst_vars():
global lp, am_rodc
vars = {}
- samdb = SamDB(url=lp.get("sam database"), session_info=system_session(),
+ samdb = SamDB(url=lp.samdb_url(), session_info=system_session(),
lp=lp)
vars['DNSDOMAIN'] = lp.get('realm').lower()