summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba_spnupdate
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-07 13:55:20 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-07 23:32:16 +0000
commite59bf5efb5cf23ff21f2a2ac7dff8d211070a916 (patch)
tree212a04395ddd4de0c56b7c501311273113e44fd0 /source4/scripting/bin/samba_spnupdate
parentfc5fecb0b7d6bbbcf3613df302785176e4582b52 (diff)
downloadsamba-e59bf5efb5cf23ff21f2a2ac7dff8d211070a916.tar.gz
samba-e59bf5efb5cf23ff21f2a2ac7dff8d211070a916.tar.bz2
samba-e59bf5efb5cf23ff21f2a2ac7dff8d211070a916.zip
s4-join: modify join behaviour according to domain level
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/scripting/bin/samba_spnupdate')
-rwxr-xr-xsource4/scripting/bin/samba_spnupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_spnupdate b/source4/scripting/bin/samba_spnupdate
index c6af81f4fd..7a4de7a77c 100755
--- a/source4/scripting/bin/samba_spnupdate
+++ b/source4/scripting/bin/samba_spnupdate
@@ -196,7 +196,7 @@ def call_rodc_update(d):
server = cldap_ret.pdc_dns_name
try:
drs = drsuapi.drsuapi('ncacn_ip_tcp:%s[seal,print]' % server, lp, creds)
- drs_handle = drs_utils.drs_DsBind(drs)
+ (drs_handle, supported_extensions) = drs_utils.drs_DsBind(drs)
except Exception, reason:
print("Unable to connect to DC '%s' for domain '%s' : %s" % (server, domain, reason))
sys.exit(1)