Samba4 build error in 'lazy_initialize_passdb'

Bjoern Baumbach bb at sernet.de
Tue Jun 19 04:44:38 MDT 2012


On 06/19/2012 11:54 AM, steve wrote:
> On 19/06/12 11:24, Bjoern Baumbach wrote:
>> On 06/19/2012 11:13 AM, steve wrote:
>>> Build failed:  ->  task failed (err #1):
>>>      {task: cc_link
>>> pdb_tdb_1.o,server_mutex_33.o,pdb_get_set_27.o,passdb_27.o,util_wellknown_27.o,util_builtin_27.o,pdb_compat_27.o,util_unixsids_27.o,lookup_sid_27.o,login_cache_27.o,account_pol_27.o,privileges_27.o,util_nscd_27.o,winbind_util_27.o,pdb_util_27.o,pdb_interface_27.o,pdb_ldap_schema_27.o,pdb_secrets_27.o,pdb_unixid_27.o,pdb_wbc_sam_4.o,idmap_6.o,pdb_samba4_5.o,pdb_ldap_2.o,pdb_nds_2.o,pdb_ipa_2.o,pdb_ldap_util_2.o,mapping_25.o,mapping_tdb_25.o,pdb_smbpasswd_3.o
>>>
>>> ->  libpdb.so}
>>> make: *** [all] Error 1
>>>
>>> Could someone have a quick look?
>>
>> Hi Steve, please cleanup your git checkout and try to rebuild again.
>>
>> Git log shows the following:
>>
>> commit 9c715da1cbc256b9ae9298618c92807592607c9b
>> Author: Andrew Bartlett<abartlet at samba.org>
>> Date:   Sun Jun 3 10:54:06 2012 +1000
>>
>>      s3-passdb: Remove pdb_ads
>>
> I tried:
> make distclean
> but failed. I had to get root to remove the bin folder under
> samba-master before it would complete successfully.
> 
> It's now built fine.
> 
> Is this the correct way to proceed after checkout?

Hi Steve,

for a complete cleanup you can cd to the source-root directory and run:
git reset --hard origin/master
git clean -xdf

Björn


More information about the samba-technical mailing list