scripting: Correct parsing of binary DN
commitdb6b93916444f44708af0bdabd6f4d002630c834
authorAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2013 06:29:09 +0000 (1 17:29 +1100)
committerKarolin Seeger <kseeger@samba.org>
Sun, 7 Apr 2013 19:34:00 +0000 (7 21:34 +0200)
tree259c19089d8002d125f37f97b76fd2c314776e4b
parent8bdc63c0fb004093212cc737db773ab9b27459e0
scripting: Correct parsing of binary DN

The DN is of the form B:8:01020304:DC=samba,DC=example,DC=com.  We need
to account for the case where the 8 is actually (say) 16, and so not just
one character.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 97389c3ec24526837e91fcfcaf7439491fcdb214)
python/samba/common.py