s4:dsdb Don't cast an ldb_val into a const char * for schema lookups
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Aug 2009 22:53:11 +0000 (08:53 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Aug 2009 22:56:06 +0000 (08:56 +1000)
commit43aa546ecc3f05845793b1a7354685d50a77c170
tree282c318ee900ba81ee91fe95328871d175b24cd6
parent25a65d604676b25f97ca427b805d151c1a40a07e
s4:dsdb Don't cast an ldb_val into a const char * for schema lookups

This removes a number of cases where we did a cast into a const char *
of an ldb_val.  While convention is to alway have an extra \0 at
data[length] in the ldb_val, this is not required, and does not occour
at least on build farm host 'svart'.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/kludge_acl.c
source4/dsdb/samdb/ldb_modules/objectclass.c
source4/dsdb/samdb/ldb_modules/schema_fsmo.c
source4/dsdb/schema/schema_convert_to_ol.c
source4/dsdb/schema/schema_query.c