net getlocalsid default to get_global_sam_name() ?

Volker.Lendecke at SerNet.DE Volker.Lendecke at SerNet.DE
Thu Apr 15 20:03:08 GMT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20040415/231aaf6c/attachment.bin


More information about the samba-technical mailing list