setup/provision error on first setup

Michele Petrazzo michele.petrazzo at
Mon Feb 8 04:14:04 MST 2010

Hi all,
just tried the procedure found on the wiki for setup samba 4 and, after the
compilation, the:

/setup/provision --realm=YOUR.REALM --domain=YOURDOM --adminpass=SOMEPASSWORD
--server-role='domain controller'

ends with:

michele:/home/devel/samba-master/source4$ ./setup/provision --realm=YOUR.REALM
--domain=YOURDOM --adminpass=SOMEPASSWORD --server-role='domain controller'
Traceback (most recent call last):
  File "./setup/provision", line 244, in <module>
  File "bin/python/samba/", line 1178, in provision
    targetdir, sid_generator,useeadb)
  File "bin/python/samba/", line 467, 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/", line 62, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

My prefix are /home/devel/samba_install, not the default /usr/share/local


More information about the samba-technical mailing list