svn commit: samba r4285 - branches/SAMBA_3_0/source/utils trunk/source/utils

gd at samba.org gd at samba.org
Mon Dec 20 11:05:54 GMT 2004


Author: gd
Date: 2004-12-20 11:05:54 +0000 (Mon, 20 Dec 2004)
New Revision: 4285

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4285

Log:
Allow -v or -l for displaying verbose groupmap-listing as well as
"verbose".
 
Guenther

Modified:
   branches/SAMBA_3_0/source/utils/net_groupmap.c
   trunk/source/utils/net_groupmap.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_groupmap.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_groupmap.c	2004-12-20 03:12:09 UTC (rev 4284)
+++ branches/SAMBA_3_0/source/utils/net_groupmap.c	2004-12-20 11:05:54 UTC (rev 4285)
@@ -113,6 +113,9 @@
 	int i;
 	fstring ntgroup = "";
 	fstring sid_string = "";
+
+	if (opt_verbose || opt_long_list_entries)
+		long_list = True;
 	
 	/* get the options */
 	for ( i=0; i<argc; i++ ) {

Modified: trunk/source/utils/net_groupmap.c
===================================================================
--- trunk/source/utils/net_groupmap.c	2004-12-20 03:12:09 UTC (rev 4284)
+++ trunk/source/utils/net_groupmap.c	2004-12-20 11:05:54 UTC (rev 4285)
@@ -113,6 +113,9 @@
 	int i;
 	fstring ntgroup = "";
 	fstring sid_string = "";
+
+	if (opt_verbose || opt_long_list_entries)
+		long_list = True;
 	
 	/* get the options */
 	for ( i=0; i<argc; i++ ) {



More information about the samba-cvs mailing list