net getlocalsid default to get_global_sam_name() ?

Simo Sorce idra at samba.org
Fri Apr 16 11:21:08 GMT 2004


The name getlocalsid seem to mean you want a sim local to the machine.
In this case your atch seem right.

But we should assure the getlocalsid is used in the right way before
applying the patch.

Simo.

On Thu, 2004-04-15 at 22:03, Volker.Lendecke at SerNet.DE wrote:
> Hi!
> 
> Wouldn't it be more consistent if we use the following patch?  It changes
> behaviour of net getlocalsid, that's why I did not apply it right away.
> 
> Index: utils/net.c
> ===================================================================
> --- utils/net.c	(revision 215)
> +++ utils/net.c	(working copy)
> @@ -418,7 +418,7 @@
>  		name = argv[0];
>          }
>  	else {
> -		name = global_myname();
> +		name = get_global_sam_name();
>  	}
>  
>  	if(!initialize_password_db(False)) {
> 
> Volker
-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list