[Samba] samba4 HEAD: unable to provision

Francesco Malvezzi francesco.malvezzi at unimore.it
Tue Jan 26 02:17:17 MST 2010


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?

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,

Francesco



More information about the samba mailing list