s3-passdb: Convert lm_pw and nt_pw to python string using length
authorAmitay Isaacs <amitay@gmail.com>
Thu, 25 Aug 2011 06:48:40 +0000 (16:48 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 26 Aug 2011 00:06:32 +0000 (10:06 +1000)
commita38a3b16e1b39985d8d9e084a1ca31e7e14d0198
tree7a1412c4b47e5799b2e9be9f78c9fe8eff7cd0f4
parentb2068162f71d762fb862daa8f84cbfce64217161
s3-passdb: Convert lm_pw and nt_pw to python string using length

lm_pw and nt_pw are fixed length strings and convert them to python
strings as fixed length strings.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/passdb/py_passdb.c