Displaying 2 results from an estimated 2 matches for "metadata_usn".
Did you mean:
  metadata_len
  
2017 Nov 16
2
Curious: Schema refresh needed 1 != 2
On 16 November 2017 at 10:29, Rowland Penny <rpenny at samba.org> wrote:
> On Thu, 16 Nov 2017 08:40:01 +0200
> Ian Coetzee via samba <samba at lists.samba.org> wrote:
>
>> Hi Rowland,
>>
>> > How did you upgrade ?
>>
>> I upgraded by merging the latest code from the samba git repo, doing a
>> git clean to remove old local files. Then
2017 Nov 16
0
Curious: Schema refresh needed 1 != 2
...bsearch -V
> 
> Hi Rowland
> 
> $ ldbsearch -V
> Version 4.7.2
> 
> Kind regards
> >
> > Rowland
The message seems to be coming from here:
source4/dsdb/samdb/ldb_modules/schema_load.c [line 218]
	if (schema != NULL) {
		if (ret == LDB_SUCCESS) {
			if (schema->metadata_usn == schema_seq_num) {
				TALLOC_FREE(mem_ctx);
				return schema;
			} else {
				DEBUG(3, ("Schema refresh needed %lld != %lld\n",
					  (unsigned long long)schema->metadata_usn,
					  (unsigned long long)schema_seq_num));
			}
		} else {
I wouldn't use Samba from git in produ...