[Samba] [samba4] crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol"

samba at nisx.de samba at nisx.de
Wed Apr 24 04:51:51 MDT 2013

Hi there,

I have done this:
useradd -d /tmp -M -s /bin/false -u 3000000 -g 100 -o -l samba4-workaround0
and also for users from 3000001 up to 3000008.

groupadd -g 516 -o samba4-workaround-group 516
and also for groups from 517 up to 561.

Now all group and user ids are masked, which let winbind crashes:

root at leela:~# ll /opt/samba/var/locks/sysvol
insgesamt 4
drwxrws---+ 4 root samba4-workaround-group544 35 Mär 18 00:41 futurama.loc

  Thomas Nolte
Nolte Infosysteme,  Im Sikfeld 8, 38304 Wolfenbuettel
Tel 05331-946210, Fax 05331-946211, Handy 0170-5508198

Computer, Netzwerk, Kommunikation www.nisx.de

-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von François Lafont
Gesendet: Dienstag, 23. April 2013 01:37
An: samba at lists.samba.org
Cc: Andrew Bartlett
Betreff: Re: [Samba] [samba4] crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol"

[Ooops, sorry Michael for my first message, I have made a mistake with the recipients]


Le 22/04/2013 13:29, Michael Wood a écrit :

> Did winbind also crash when you ran it under valgrind?

Yes, I think so. I have done 2 tests with "valgrind --leak-check=full samba -i M single > out 2>&1" and for the 2 tests I have the same problem:

~# wbinfo -u

~# time ls -l /usr/local/samba/var/locks/sysvol/
total 8
drwxrws---+ 4 root 3000000 4096 Apr 21 13:00 chezmoi.priv

real	1m13.350s
user	0m0.000s
sys	0m0.068s

~# wbinfo -u
Error looking up domain users

> Perhaps you should attach the two logs directly to the bug instead of 
> just linking to them.

Ok, it's done.

> One of the Samba developers will have to let you know if the 
> information you have provided is enough.

Ok, thanks for your help Michael. :)

François Lafont

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