summaryrefslogtreecommitdiff
path: root/swat2
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-11-13 17:48:35 +1100
committerAndrew Tridgell <tridge@samba.org>2009-11-13 19:32:46 +1100
commitdbae29de1c146d1c6d2e1e0a2a82593f85c8ba0d (patch)
treecd681b6fa99f865015b20cdbe199e3f01b28d85e /swat2
parentf9ad5cd133b57b66a3b71ede7829ef8c226f2224 (diff)
downloadsamba-dbae29de1c146d1c6d2e1e0a2a82593f85c8ba0d.tar.gz
samba-dbae29de1c146d1c6d2e1e0a2a82593f85c8ba0d.tar.bz2
samba-dbae29de1c146d1c6d2e1e0a2a82593f85c8ba0d.zip
s4-ldb: make DN escaping/unescaping consistent
The DN escape function was using the form \c where c is any character. The unescape function was using \XX where XX is a 2 digit hex number. The asymmetry led to quite a few problems when we start to deal with DNs containing escape chars, such as CN=foo\0ADEL:XXX. The result was a DN that was not accessible. This patch changes the escaping to follow RFC2253 much more closely. We accept either type of escape, and produce the two types of escape, depending on the character being escaped
Diffstat (limited to 'swat2')
0 files changed, 0 insertions, 0 deletions