s3-passdb: Fix the get/set routines for pw_history for samu
authorAmitay Isaacs <amitay@gmail.com>
Fri, 19 Aug 2011 05:50:49 +0000 (15:50 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 19 Aug 2011 06:35:11 +0000 (16:35 +1000)
commit22cce0015146c24692209dd9cc5ad0d2dc0f8ce3
tree93a9c89563344b7add5426b17687c659e9b91aaa
parent149845fb18e016f8e8e8a415f936b62278b83fc0
s3-passdb: Fix the get/set routines for pw_history for samu

Return pw_history with current string length (which is a multiple
of PW_HISTORY_ENTRY_LEN) and same thing for setting the pw_history.

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