r11229: an even bigger speedup spotted by Volker. string_to_sid() is now taking...
authorJim McDonough <jmcd@samba.org>
Thu, 20 Oct 2005 16:05:12 +0000 (16:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:07 +0000 (11:05 -0500)
commit46c6d81a4a977c9a83cfd53c2d748876a080dc71
tree5b967221c584b44e5af519a07b640df551bc0608
parent87d6e590f261ca6137fcaa115fcb5d6b00ed447e
r11229: an even bigger speedup spotted by Volker.  string_to_sid() is now taking 1/5th
the time it used to.  Replace strcasecmp with invididual char checks for
"S-" sid prefix.
(This used to be commit de3d0094b78cb20da7ed958e8d3a428583694309)
source3/lib/util_sid.c