Passdb and smbpasswd (following discussion in TODO list thread)
Simo Sorce
simo.sorce at polimi.it
Thu Oct 5 13:25:59 GMT 2000
Tim Potter wrote:
>
> Gerald Carter writes:
>
> [winbind stuff]
>
> > for PAMified applications, how hard would it be to
> > design a TDB used by both Samba and Winbind for
> > storing user UID/RID mappings.
>
> Not very hard at all. In fact having a plugin type extension can
> allow you to do whatever you like as long as you provide a
> uid/gid <-> rid mapping function. Some examples:
>
> - the existing first come first served system
> - a straight offset based system for those with 32-bit uids
> - ldap backend
> - nis+/sql database
> - anything else you can think of
>
> > I would opt for the TDB solution as we need many
> > more user attributes stored than smbpasswd is able
> > to handle.
>
> The smbpassword file is an obvious candidate to be tdb'ified.
> (-:
>
> Tim.
What about XMLify smbpasswd to let admin poke with it?
A procedure to load/dump smbpasswd tdb from/to smbpasswd.xml may do the
rest!
--
Simo Sorce - Integrazione Sistemi Unix/Windows - Politecnico di Milano
E-mail: simo.sorce at polimi.it
Tel.int: 02 2399 2425 - Fax.int. 02 2399 2451
-----------------------------------------------------------------
Be happy, use Linux!
More information about the samba-technical
mailing list