[Samba] samba 4 provision fails [solved]

steve steve at steve-ss.com
Sun Feb 12 02:34:44 MST 2012


On 02/11/2012 12:16 PM, steve wrote:
> On 02/11/2012 09:07 AM, steve wrote:
>> Version 4.0.0alpha18-GIT-389bb4f
>> Ubuntu 11.10
>>
>> Provision fails with:
>>
>> Setting up sam.ldb users and groups
>> Traceback (most recent call last):
>>   File "./source4/setup/provision", line 262, in <module>
>>     useeadb=eadb, next_rid=opts.next_rid, lp=lp)
>>   File "bin/python/samba/provision/__init__.py", line 1757, in provision
>>     am_rodc=am_rodc, lp=lp)
>>   File "bin/python/samba/provision/__init__.py", line 1455, in 
>> provision_fill
>>     next_rid=next_rid, dc_rid=dc_rid) Hi
>
>>   File "bin/python/samba/provision/__init__.py", line 1288, in 
>> fill_samdb
>>     "KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le'))
>>   File "bin/python/samba/provision/common.py", line 52, in 
>> setup_add_ldif
>>     ldb.add_ldif(data, controls)
>>   File "bin/python/samba/__init__.py", line 221, in add_ldif
>>     self.add(msg, controls)
>> _ldb.LdbError: (1, 'operations error at 
>> ../source4/dsdb/samdb/ldb_modules/password_hash.c:2163')
>>
>> Any ideas?
>> Thanks,
>> Steve
>
> Hi again
> Tried running make again after make install. Same error.
>
> Could someone on samba-technical forward this there?
> Thanks,
> Steve
>
Ubuntu no longer ships with libreadline5-dev

The apt-get line in the wiki should read:
apt-get install build-essential libattr1-dev libblkid-dev libgnutls-dev 
libreadline-gplv2-dev python-dev autoconf python-dnspython gdb 
pkg-config bind9utils libpopt-dev

Maybe someone who has a wiki account could check this and update the 
info? Also, having to rerun make could be mentioned there too.

Thanks and hth,
Steve


More information about the samba mailing list