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)
commitba2970c3a44562f071309198494c4b68659b2f3f
tree3de0a9048b7189ac2df96579e2ee2dd77dd139dc
parent3ff03b5cb21bb79afdd3b1609be9635f6688a539
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.
source/ldap_server/ldap_simple_ldb.c