CVS update: samba/source/utils

Andrew Bartlett abartlet at
Fri Feb 27 23:26:50 GMT 2004

On Sat, 2004-02-28 at 08:02, mimir at wrote:
> Date:	Fri Feb 27 21:02:00 2004
> Author:	mimir
> Update of /home/cvs/samba/source/utils
> In directory
> Modified Files:
> 	pdbedit.c 
> Log Message:
> Adding ability to operate on trust passwords to pdbedit. This enables
> new functionality and testing interface for new pdb functions.
> Also, quite a bit of objects is being added to pdbedit in order to make
> it able to find domain sid automatically (if not given explicitly).
> If such amount of "wisdom" is not required to be in pdbedit, I'll move
> it to 'net' which will have this new functionality, anyway.

Please do not make 'pdbedit' call out to cli* functions.  For one, then
you need to start adding all the authentication stuff.  If we want to
manipulate domain trusts, that's fine - but it should be an offline
activity at least as far as CIFS is concerned.  'net' is the place for
online activity.

If we are adding a new trust, I would really like to see 'net rpc join'
generalised, so that we can 'net rpc join TRUSTDOM', and just mark the
stored secret/joined account as such.

If we must add a trusted domain with a password (like NT4 does), then
simply modify code that might read that SID to behave the same way NT4
does - have a 'verify' codepath, and a 'we just don't have the SID yet'

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list