From: jgg <> Date: Mon, 29 Nov 1999 03:12:25 +0000 (+0000) Subject: Fixes X-Git-Tag: debian_userdir-ldap_0-3-7~192 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5cf899d9bd7e6f42621244325876dab9fb50c822;hp=17c6cdd5a42e568584e72c886c3d79b64bca1e9e;p=mirror%2Fuserdir-ldap.git Fixes --- 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 *;