username map and user tokens [was Re: Samba 3.0.23pre1 Available
Gerald (Jerry) Carter
jerry at samba.org
Sat Apr 29 13:11:31 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Volker Lendecke wrote:
> Jerry, before you do much work here, I'm also looking at it
> right now. I'll send you my patch when I have something.
ok. My idea was to try to remove the sids life from the
server_supplied_info struct and just use the ptok pointer.
Then simply check the returned username from make_user_info_map()
to see if it had changed.
if ( user has been mapped)
server->ptok = create_local_token_by_name( username )
server->ptok = create_token_from_info3( info3 )
or something like this.
I'm not sure the sids list in the server struct can be removed
but it seems like a lot of duplication.
I live in a Reply-to-All world. -----------------------
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical