X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-roleadd;h=2117308dd872957d0a90354343a3324ece48e76f;hb=c626017071b2de3c4623df898dcf0e16f25e7272;hp=a3dc1b5ccedc63f84938ba1bb688c80f47515dd7;hpb=efc48e4f01ce7f402a4c793727bf776bcf083c05;p=mirror%2Fuserdir-ldap.git diff --git a/ud-roleadd b/ud-roleadd index a3dc1b5..2117308 100755 --- a/ud-roleadd +++ b/ud-roleadd @@ -4,6 +4,7 @@ # Copyright (c) 1999-2000 Jason Gunthorpe # Copyright (c) 2001-2003 James Troup # Copyright (c) 2004-2005 Joey Schulze +# Copyright (c) 2007 Peter Palfrader # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,7 +20,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -import string, time, ldap, getopt, sys, os, pwd +import time, ldap, getopt, sys, os, pwd from userdir_ldap import * # This tries to search for a free UID. There are two possible ways to do