diff --git a/mkapachepw.py b/mkapachepw.py index a0142d6..2c750cd 100755 --- a/mkapachepw.py +++ b/mkapachepw.py @@ -9,7 +9,7 @@ # Program Information PROGNAME = "mkapachepw" -RCSID = "$Id: mkapachepw.py,v 1.112 2005/04/05 21:56:30 root Exp $" +RCSID = "$Id: mkapachepw.py,v 1.113 2005/04/05 23:08:30 root Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -25,6 +25,7 @@ # Variables User Might Change # #----------------------------------------------------------# +BOGUSID = 100000 # Fake GID/UID used when external files GRFILE = "./.htgroups" # Group output file PWFILE = "./.htpasswords" # Password output file STARTUID = 100 # User IDs below this ignored @@ -317,11 +318,11 @@ if opt == "-I": temp = ReadFile(val) for entry in temp: - groups[entry[0]] = [65535, entry[1], False] + groups[entry[0]] = [BOGUSID, entry[1], False] if opt == "-i": temp = ReadFile(val) for entry in temp: - users[entry[0]] = [65535, entry[1][0], False] + users[entry[0]] = [BOGUSID, entry[1][0], False] if opt == "-h": Usage() sys.exit(0)