Patch rpc samr "RemoveMemeberForeignDomain" on pre3
Gerald (Jerry) Carter
jerry at samba.org
Thu Dec 4 02:38:57 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 3 Dec 2003, Jianliang Lu wrote:
> I have tried your patch, but it didn't work. I think that you may let a
> user can be deleted also if the user is not in any localgroup. I will
> do like this (test ok with usrmgr):
> --- srv_samr_nt.c Wed Dec 3 14:49:20 2003
> +++ srv_samr_nt.c Wed Dec 3 17:51:30 2003
> @@ -4369,7 +4369,7 @@
>
> if ( type == SID_NAME_UNKNOWN ) {
> DEBUG(10, ("_samr_remove_sid_foreign_domain: can't operate on what we
> don't ow
> n!\n"));
> - return NT_STATUS_NO_SUCH_ALIAS;
> + return NT_STATUS_OK;
> }
Makes sense to me.
cheers, jerry
----------------------------------------------------------------------
Hewlett-Packard ------------------------- http://www.hp.com
SAMBA Team ---------------------- http://www.samba.org
GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE/zp5CIR7qMdg1EfYRArjSAKDmYl6ghk5UI3UoOnIcLYY2CtAbNACfTLMH
B3ki+nSoY1NWEXhMwvOcdOQ=
=e9/u
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list