1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/scripting/python
Arvid Requate ace0909b88 s4:samba-tool: Fix samba-tool fsmo --role=schema
Fix traceback:
samba-tool fsmo --role=schema --force
ERROR(<type 'exceptions.TypeError'>): uncaught exception - argument 2 must be string, not ldb.Dn
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/__init__.py", line 168, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/fsmo.py", line 160, in run
    self.seize_role(role, samdb, force)
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/fsmo.py", line 119, in seize_role
    m.dn = ldb.Dn(samdb, self.schema_dn)

Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Nov 16 00:40:24 CET 2012 on sn-devel-104
2012-11-16 00:40:24 +01:00
..
examples dns: added example python script for dnsserver protocol 2011-10-04 15:08:56 +11:00
samba s4:samba-tool: Fix samba-tool fsmo --role=schema 2012-11-16 00:40:24 +01:00
samba_external s4-python Remove unused missing.py (used by old build system) 2011-02-02 15:19:03 +11:00
modules.c s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" takes no argument 2011-02-21 14:42:00 +01:00
modules.h s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" takes no argument 2011-02-21 14:42:00 +01:00
pyglue.c pyglue: Make all_interfaces argumen to interface_ips() optional. 2012-10-21 21:26:01 +02:00
uuidmodule.c s4-python: we need to include Python.h first 2009-10-23 16:23:01 +11:00
wscript_build waf: Fix mispelling 2012-04-19 17:36:41 +02:00