setup/provision error on first setup

Michele Petrazzo michele.petrazzo at unipex.it
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>
    nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb)
  File "bin/python/samba/provision.py", line 1178, in provision
    targetdir, sid_generator,useeadb)
  File "bin/python/samba/provision.py", 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/posixpath.py", 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

Thanks,
Michele



More information about the samba-technical mailing list