s3:passdb: make marshalling struct samu from and to a buffer more generic
commit04708dd52fdd27071756d58851d541c05f27e9c2
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Dec 2008 17:46:37 +0000 (15 18:46 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 2 Jan 2009 11:44:27 +0000 (2 12:44 +0100)
treef0673e691956ead2432fde46cb7af1cf5258fe06
parent01b65cb84beec9278e1ee6fd1fd20541adf54e3d
s3:passdb: make marshalling struct samu from and to a buffer more generic

This marshalling isn't specific to tdbsam and it's
ugly to have the related functions in two different files.

metze
(cherry picked from commit 0544734309feea44e8d449737a9934231f63693d)
(cherry picked from commit d54fb8838a418493ebc7a559af4be95def97dfd9)
source/include/passdb.h
source/include/proto.h
source/passdb/passdb.c
source/passdb/pdb_tdb.c