[Samba] samba4 HEAD: unable to provision
Michael Wood
esiotrot at gmail.com
Tue Jan 26 10:08:17 MST 2010
2010/1/26 Francesco Malvezzi <francesco.malvezzi at unimore.it>:
> I'm trying to install samba4 with openldap, as from
> http://wiki.samba.org/index.php/Samba4/LDAP_Backend/OpenLDAP,
>
> I have got the yesterday realease, last git commit:
> commit 2024d4fb27514869d78e9bb39085f98e80413529
> Date: Mon Jan 25 12:41:48 2010 +0100
>
> My system is GNU/Debian Linux Lenny.
>
> ./configure --prefix=/opt/samba4
> make
> sudo make install
>
> all worked
>
> ./setup/provision from the source4 dir fails with:
>
> ./setup/provision --realm=test.it --ldapadminpass=secret
> --ldap-backend-type=openldap --server-role='domain controller' --domain=test
>
> Administrator password will be set randomly!
> Traceback (most recent call last):
> File "./setup/provision", line 244, in <module>
> nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb)
> File "bin/python/samba/provision.py", line 1182, in provision
> targetdir, sid_generator,useeadb)
> File "bin/python/samba/provision.py", line 471, in make_smbconf
> posixeadb_line = "posix:eadb = " +
> os.path.abspath(os.path.join(os.path.join(targetdir, "private"),"eadb.tdb"))
> File "/usr/lib/python2.5/posixpath.py", line 62, in join
> elif path == '' or path.endswith('/'):
> AttributeError: 'NoneType' object has no attribute 'endswith'
>
> What does it mean? What I did wrong?
targetdir was None when that part of the code ran and os.path.join()
didn't like that. I think you might be able to use --targetdir=... on
the command line, but the help text ("Set target directory") is as
helpful as a comment like:
x++; /* increment x */
> Just for the records, what is eadb? Is related to extended filesystem
> attributest? Server filesystem is xfs, so xattr is supported.
>
> Thank you for your help,
--
Michael Wood <esiotrot at gmail.com>
More information about the samba
mailing list