[PATCH] samba-tool/upgrade: Fix exception thrown during upgrade from samba3

Jelmer Vernooij jelmer at samba.org
Sun Apr 20 20:52:44 MDT 2014


Reviewed-By: Jelmer Vernooij <jelmer at samba.org>

Cheers,

Jelmer

On Mon, Apr 21, 2014 at 04:18:56AM +0200, Kamen Mazdrashki wrote:
> Hi Andrew, Jelmer,
> 
> this is a minor fox for exception name thrown during upgrade from samba3.
> 
> Cheers,
> Kamen

> From d345e7a713b1b7cc2f3456074a51ff7490cb64d3 Mon Sep 17 00:00:00 2001
> From: Kamen Mazdrashki <kamenim at samba.org>
> Date: Mon, 21 Apr 2014 03:47:40 +0200
> Subject: [PATCH] samba-tool/upgrade: Fix exception thrown during upgrade from
>  samba3
> 
> Change-Id: Ib486c0c7a68c53c61acdf270f966a43b1c61bace
> Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
> ---
>  python/samba/upgrade.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/python/samba/upgrade.py b/python/samba/upgrade.py
> index 7eca5b6..11a66a6 100644
> --- a/python/samba/upgrade.py
> +++ b/python/samba/upgrade.py
> @@ -666,7 +666,7 @@ Please fix this account before attempting to upgrade again
>              try:
>                  ldb_object = Ldb(url, credentials=creds)
>              except ldb.LdbError, e:
> -                raise ProvisiongError("Could not open ldb connection to %s, the error message is: %s" % (url, e))
> +                raise ProvisioningError("Could not open ldb connection to %s, the error message is: %s" % (url, e))
>              else:
>                  break
>      logger.info("Exporting posix attributes")
> -- 
> 1.8.3.2
> 


-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140421/7bae68d6/attachment.pgp>


More information about the samba-technical mailing list