[PATCH] add pdb_set_{user,group}_sid_from_string

Andrew Bartlett abartlet at samba.org
Thu Jun 13 17:15:01 GMT 2002


Jelmer Vernooij wrote:
> 
> Hi,
> 
> After some discussion with idra and metze updated patch to use more
> virtualization (use pdb_get_user_sid(sampass) instead of
> &sampass->private.user_sid).

NO!!!

That function is const, and that is deliberate.

The previous patch was better, but I really would much rather see it
implemented using pdb_set_user_sid() and a local variable.

Andrew Bartlett

--
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list