The Samba-Bugzilla – Attachment 18072 Details for
Bug 15458
‘samba-tool domain level raise’ fails unless given a URL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch in master backported to Samba 4.19
0001-samba-tool-Allow-LDB-URL-to-be-None.patch (text/plain), 1.10 KB, created by
Andrew Bartlett
on 2023-08-28 03:42:06 UTC
(
hide
)
Description:
patch in master backported to Samba 4.19
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2023-08-28 03:42:06 UTC
Size:
1.10 KB
patch
obsolete
>From 4bdbe330308dd1d02b8a192973cddfbb526bafef Mon Sep 17 00:00:00 2001 >From: Joseph Sutton <josephsutton@catalyst.net.nz> >Date: Fri, 25 Aug 2023 12:14:23 +1200 >Subject: [PATCH] samba-tool: Allow LDB URL to be None > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=15458 > >Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> >Reviewed-by: Andrew Bartlett <abartlet@samba.org> >(cherry picked from commit 776597bce922d291257e34f1e3304227265a1dbc) >--- > python/samba/netcmd/domain/level.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/python/samba/netcmd/domain/level.py b/python/samba/netcmd/domain/level.py >index c4361eed342..7300561c30c 100644 >--- a/python/samba/netcmd/domain/level.py >+++ b/python/samba/netcmd/domain/level.py >@@ -69,7 +69,7 @@ class cmd_domain_level(Command): > domain_dn = samdb.domain_dn() > > in_transaction = False >- if subcommand == "raise" and not H.startswith("ldap"): >+ if subcommand == "raise" and (H is None or not H.startswith("ldap")): > samdb.transaction_start() > in_transaction = True > try: >-- >2.25.1 >
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
Flags:
jsutton
:
review+
Actions:
View
Attachments on
bug 15458
: 18072