Web lists-archives.com

Re: [Samba] Replication failures




Hai, 

I snapped this part of you logs. 

>   Successful AuthZ: [DCE/RPC,krb5] user [COMPANY]\[DC6$] [S-1-5-21-2660373802-310620142-1895175072-6626] at [Fri, 26 Apr 2019 10:16:20.224329 PDT] Remote host [ipv4:10.14.16.11:35006] local host [ipv4:10.12.16.11:49153]
> [2019/04/26 10:16:23.503632,  0] ../../source4/lib/cmdline/popt_common.c:74(popt_s4_talloc_log_fn)
>   Bad talloc magic value - unknown value
> [2019/04/26 10:16:23.503698,  0] ../../lib/util/fault.c:128(smb_panic_default)
>   smb_panic_default: PANIC (pid 8888): Bad talloc magic value - unknown value
> [2019/04/26 10:16:23.505811,  0] ../../lib/util/fault.c:261(log_stack_trace)
>   BACKTRACE: 50 stack frames:
>    #0 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x30) [0x7fe1294e7ba0]
>    #1 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x4b) [0x7fe1294e7cab]
>    #2 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(talloc_strdup+0x305) [0x7fe127677d15]
>    #3 /usr/lib/x86_64-linux-gnu/libldb.so.1(+0x15f4f) [0x7fe12724bf4f]
>    #4 /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/samba/objectclass_attrs.so(+0x2461) [0x7fe10fd6f461]
> .
> .
> .
> [2019/04/26 10:37:29.854836,  0] ../../source4/smbd/process_standard.c:160(standard_child_pipe_handler)
>   standard_child_pipe_handler: Child 9937 (kcc) terminated with signal 6
> 
> ===
> This last line about (kcc) terminated may hold more clues


Yes, not only the last line, this complete part, this is an ubuntu server and debian/ubuntu these kind of errors.. 
Well, thats long ago that i have seen things like that. 
Anf because of that i can see im 90% sure your problem is due to the DNS setup. 

If its wrong packages, based on this, that post the requested package version info, i'll check. 
> Bad talloc magic value - unknown value	
which version of talloc is used/installed? 

And to be sure, run this.
Run : dpkg -l |egrep "samba|winbin|?db|tevent|talloc|nss|wrapper"

And post it on the list. 

Now going through the logs i noticed that. 


10.14.16.11, the problem ip is a DC and the DC's are NOT supported in bind9_flat files. 


>  Successful AuthZ: [DCE/RPC,krb5] user [COMPANY]\[DC6$] [S-1-5-21-2660373802-310620142-1895175072-6626] at [Fri, 26 Apr 2019 10:16:20.224329 PDT] Remote host [ipv4:10.14.16.11:35006] local host [ipv4:10.12.16.11:49153]
	Line 855: >>  forwarders { 10.14.16.11; 10.14.16.12; };

zone "sql01.company.tld" {
>>  type forward;
>> 
>>  forwarders { 10.14.16.11; 10.14.16.12; };
>> 
>> };

>> zone "14.10.in-addr.arpa" {
>>  type forward;
>> 
>>  forwarders { 10.14.16.11; 10.14.16.12; };
>> 
>> };

So basicly, for every zone where you use samba AD, these must be in bind_DLZ and not in flat files. 

Review you setup base on this, and if you have question ask again. 

Greetz, 

Louis



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba