summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba_spnupdate
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_spnupdate
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_spnupdate')
-rwxr-xr-xsource4/scripting/bin/samba_spnupdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/bin/samba_spnupdate b/source4/scripting/bin/samba_spnupdate
index 1794f2bd26..fe3fcfc675 100755
--- a/source4/scripting/bin/samba_spnupdate
+++ b/source4/scripting/bin/samba_spnupdate
@@ -103,9 +103,9 @@ try:
else:
credentials = None
- samdb = SamDB(url=lp.get("sam database"), session_info=system_session(), credentials=credentials, lp=lp)
+ samdb = SamDB(url=lp.samdb_url(), session_info=system_session(), credentials=credentials, lp=lp)
except ldb.LdbError, (num, msg):
- print("Unable to open sam database %s : %s" % (lp.get("sam database"), msg))
+ print("Unable to open sam database %s : %s" % (lp.samdb_url(), msg))
sys.exit(1)