setup/provision error on first setup

Nadezhda Ivanova nivanova at samba.org
Mon Feb 8 04:36:17 MST 2010


You compiled, ran "make install", then provision, and got this error?
Which version of samba4 are you using?


On Mon, Feb 8, 2010 at 1:14 PM, Michele Petrazzo <michele.petrazzo at unipex.it
> wrote:

> 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