diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-04-04 03:30:03 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-04-07 17:39:59 +0200 |
commit | 21ab06f8a233b38bee750250e455416ac0bef13e (patch) | |
tree | 17a6e2a91ed88226f629444a30becd198edfcf6c /source4/scripting/bin/samba_dnsupdate | |
parent | fe4b212eba1d7645c8be98240a2630759050197d (diff) | |
download | samba-21ab06f8a233b38bee750250e455416ac0bef13e.tar.gz samba-21ab06f8a233b38bee750250e455416ac0bef13e.tar.bz2 samba-21ab06f8a233b38bee750250e455416ac0bef13e.zip |
s4-python: Move samdb_ntds_objectGUID to pydsdb.
Diffstat (limited to 'source4/scripting/bin/samba_dnsupdate')
-rwxr-xr-x | source4/scripting/bin/samba_dnsupdate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index b3956aa2c4..73611c8901 100755 --- a/source4/scripting/bin/samba_dnsupdate +++ b/source4/scripting/bin/samba_dnsupdate @@ -34,7 +34,6 @@ import samba import optparse from samba import getopt as options from ldb import SCOPE_BASE -from samba import glue from samba.auth import system_session from samba.samdb import SamDB @@ -69,7 +68,7 @@ if opts.all_interfaces: else: all_interfaces = False -IPs = glue.interface_ips(lp, all_interfaces) +IPs = samba.interface_ips(lp, all_interfaces) nsupdate_cmd = lp.get('nsupdate command') if len(IPs) == 0: @@ -200,7 +199,8 @@ def get_subst_vars(): global lp vars = {} - samdb = SamDB(url=lp.get("sam database"), session_info=system_session(), lp=lp) + samdb = SamDB(url=lp.get("sam database"), session_info=system_session(), + lp=lp) vars['DNSDOMAIN'] = lp.get('realm').lower() vars['HOSTNAME'] = lp.get('netbios name').lower() + "." + vars['DNSDOMAIN'] |