[Samba] Odd behavior since upgrading to 4.9.6

L.P.H. van Belle belle at bazuin.nl
Wed Apr 24 06:42:18 UTC 2019


I would suggest first.

Whats the OS? 
And sharing your smb.conf might help. 

Now, i suggest have a look here, 
Its only missing the step from 4.0 to 4.1 ) 
( this part ) 
The important change you need to know is : 
   Parameter Name			Description	Default
   --------------			-----------	-------

   acl allow execute always		New		False
   password level				Removed
   set directory				Removed
   use ntdb					New		No

The commands Andrew showed are working. 
You need to trigger a re-index and that should work. 

Before you do that, run on all servers:
samba-tool dbcheck --cross-ncs
( to fix errors, run it again , add --fix (--yes) 

samba-tool dbcheck --reindex
You need to run it once on every server. 

I think personaly, something is off on DC5. thats why i want to see the smb.conf and want to know the os. 
>> "ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out of range". 

And you did all needed steps as shown in: 
https://wiki.samba.org/index.php/Updating_Samba ? 

And other way to fix this, check all server, push the database from a good server to DC5. 
But try above first. 



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Rowland Penny via samba
> Verzonden: dinsdag 23 april 2019 19:54
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Odd behavior since upgrading to 4.9.6
> On Tue, 23 Apr 2019 11:51:48 -0500 (CDT)
> Mike Ray <mray at xes-inc.com> wrote:
> > > I wonder if you are hitting this bug:
> > > 
> > > https://bugzilla.samba.org/show_bug.cgi?id=13760
> > > 
> > > I know it is supposed to be fixed, but I wonder ??  
> > 
> > It looks like Andrew suggests a number of commands can be run to fix
> > it. Think there is any chance that simply running them now may work?
> > Or danger?
> You will not be any worse off trying the commands, so give it a try.
> I am not 100% sure the bug is your problem, but it sounds likely.
> > > 
> > > Is there anyway you can downgrade again, then walk your way up the
> > > versions ?  
> > 
> > Is there a builtin way to downgrade or official 
> documentation on that
> > process?
> No, the easiest way would be to set up Samba 4.7.x in a VM and join
> this to the domain. If this works, I would transfer the FSMO roles to
> this VM and then demote the other DC's. You could could then reinstall
> Samba 4.7.x on these and rejoin them to the domain, then upgrade each
> to 4.8.x, restart Samba on each. Once all your old DC's are running
> 4.8.x correctly, you could then transfer the FSMO roles, then 
> demote and
> remove the VM.
> I would also suggest you get good backups before doing anything.
> Rowland
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list