new password API needed

Jeremy Allison jallison at whistle.com
Fri May 22 17:21:13 GMT 1998


Luke Kenneth Casson Leighton wrote:
> 
> jeremy, jean-f, danny, nis people,
> 
> i'm creating a set of functions in passdb.c: pdb_get/set for the various
> fields in the password databases.  these are all "char*" fields (at the
> moment: none of the database systems store ints or floats like relational
> databases).
> 

Well that may be a good idea, but don't change the
code in smbpass.c to use them right now. The reason
is some password databases may use an internal binary
format for storing such things. Keep these functions
like the 'iterate_xxx' functions in passdb.c - available
for external use but not mandatory.

I'm thinking of some pretty drastic changes in smbpass.c
myself right now (with gdbm) so don't change it too
much :-).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list