r2754: Change sldb_trim_dn() to be sldb_fix_dn() as we are not really trimming.
authorSimo Sorce <idra@samba.org>
Wed, 29 Sep 2004 17:37:59 +0000 (17:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:30 +0000 (12:59 -0500)
commit53e5e968305f226c967f64a2b7acac5e393b1287
tree0c6609bccf9c653fa246409b13bb6148a7dc3249
parentdcad0f6fd492506efd9a69b4e32c7bbfa5da90e5
r2754: Change sldb_trim_dn() to be sldb_fix_dn() as we are not really trimming.

Make it handle all cases:
- remove spaces before and after ','
- remove spaces after '='

TODO: check if there are escape chars in the RFC, they are not handled here yet.

Simo.
(This used to be commit ba2970c3a44562f071309198494c4b68659b2f3f)
source4/ldap_server/ldap_simple_ldb.c