X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-roleadd;h=9c30bd180b6866c6c794dd81634c2ac5a67b1c9b;hb=0d0ec9c38991f84768628eee0de17888f29d48ea;hp=f6810f1b22704cdbcae8089dbc0e2757b2679ea3;hpb=dc2644ca6761003bc2ede1d8c92235096b11c6fb;p=mirror%2Fuserdir-ldap.git diff --git a/ud-roleadd b/ud-roleadd index f6810f1..9c30bd1 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 @@ -49,7 +50,7 @@ for (switch, val) in options: if (switch == '-u'): AdminUser = val -l = passwdAccessLDAP(LDAPServer, BaseDn, AdminUser) +l = passwdAccessLDAP(BaseDn, AdminUser) while 1: account = raw_input("Who are you going to add? ")