From 5cf899d9bd7e6f42621244325876dab9fb50c822 Mon Sep 17 00:00:00 2001 From: jgg <> Date: Mon, 29 Nov 1999 03:12:25 +0000 Subject: [PATCH 1/1] Fixes --- ud-generate | 2 ++ ud-info | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ud-generate b/ud-generate index e70efb0..e27b6fa 100755 --- a/ud-generate +++ b/ud-generate @@ -202,6 +202,8 @@ def GenGroup(l,File): # Output the group file. Counter = 0; for x in GroupMap.keys(): + if GroupIDMap.has_key(x) == 0: + continue; Line = "%s:x:%u:" % (x,GroupIDMap[x]); Comma = ''; for I in GroupMap[x]: diff --git a/ud-info b/ud-info index 4b0c103..ce06934 100755 --- a/ud-info +++ b/ud-info @@ -16,8 +16,6 @@ # database # -r Enable 'root' functions, do this if your uid has access to # restricted variables. -# -# http://www.geocode.com/eagle.html-ssi import string, time, posix, pwd, sys, getopt, ldap, crypt, whrandom, readline, copy; from userdir_ldap import *; -- 2.20.1