s4:provision Fix provision on FreeBSD
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 Jul 2009 08:04:58 +0000 (18:04 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Jul 2009 08:04:58 +0000 (18:04 +1000)
commit1887ad0a26cca026c3503f0ef4e40f8eff42a121
treeb3eedb187d8d7ee41e5f52d4cd8107f034ba7fae
parent605649edc3d3ce4f760b08fd8ee5684007369be8
s4:provision Fix provision on FreeBSD

We were missing the 'cn' attribute, which we then prepare a sorted
list based on.  On Linux, strcmp(NULL, NULL) does not segfault, where
it does on FreeBSD.

Reported by Timur I. Bakeyev <timur@com.bat.ru>

Andrew Bartlett
source4/scripting/python/samba/ms_schema.py