[Samba4] 'default_ldb_modules_dir' is not defined [WAS]: removed smbpython

Jelmer Vernooij jelmer at samba.org
Wed May 21 23:52:29 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Manu wrote:
> In fact I have now this error :
>
> root at chaos:/usr/local/samba/share/setup# ./newuser --unixname=user3
>  user3 pass New event context requested. Parent: [struct
> cli_credentials:0x81cfd90] Traceback (most recent call last): File
>  "./newuser", line 56, in <module> credentials=creds, lp=lp) File
> "/usr/local/samba/lib/python2.5/site-packages/samba/samdb.py", line
>  42, in __init__ modules_dir=modules_dir, lp=lp) File
> "/usr/local/samba/lib/python2.5/site-packages/samba/__init__.py",
> line 68, in __init__ elif default_ldb_modules_dir is not None:
> NameError: global name 'default_ldb_modules_dir' is not defined
>
> --- In __init__.py : if modules_dir is not None:
> self.set_modules_dir(modules_dir) elif default_ldb_modules_dir is
> not None: self.set_modules_dir(default_ldb_modules_dir)
>
> "modules_dir" seems to be void and "default_ldb_modules_dir" is not
>  defined, it is defined when ran from sources.
Thanks! This particular bug should be fixed now in the v4-0-test branch.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSDS1uQy0JeEGD2blAQK0DwP+I1M/jUqeog5on2qjNE1bOiLFs/W2787N
CeC114QGRTYqN069PE3Cd7GNK9xfyvZbbGSxHxe4nPw7j84B5o4+3dCXCi/DfvyR
VkIu83bGBpYdvg27VYLMioHQ79qkhIIeTmt6p3vkQvm4rMijvXD4Df54TtY2D0T7
ICW5NkdOZAE=
=05HO
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list