The Samba-Bugzilla – Attachment 8191 Details for
Bug 9392
Traceback in samba-tool fsmo --role=schema
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against master
0001-s4-samba-tool-Fix-samba-tool-fsmo-role-schema.patch (text/plain), 1.53 KB, created by
Arvid Requate
on 2012-11-14 15:00:54 UTC
(
hide
)
Description:
Patch against master
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2012-11-14 15:00:54 UTC
Size:
1.53 KB
patch
obsolete
>From d7efe449c77c264522029e132059bd1f20fdf44f Mon Sep 17 00:00:00 2001 >From: Arvid Requate <requate@univention.de> >Date: Wed, 14 Nov 2012 15:51:19 +0100 >Subject: [PATCH] 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) >--- > source4/scripting/python/samba/netcmd/fsmo.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source4/scripting/python/samba/netcmd/fsmo.py b/source4/scripting/python/samba/netcmd/fsmo.py >index 15d1d49..122eaa4 100644 >--- a/source4/scripting/python/samba/netcmd/fsmo.py >+++ b/source4/scripting/python/samba/netcmd/fsmo.py >@@ -188,7 +188,7 @@ class cmd_fsmo_show(Command): > domain_dn = samdb.domain_dn() > self.infrastructure_dn = "CN=Infrastructure," + domain_dn > self.naming_dn = "CN=Partitions,%s" % samdb.get_config_basedn() >- self.schema_dn = samdb.get_schema_basedn() >+ self.schema_dn = str(samdb.get_schema_basedn()) > self.rid_dn = "CN=RID Manager$,CN=System," + domain_dn > > res = samdb.search(self.infrastructure_dn, >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9392
:
8191
|
8204
|
8206