X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-roleadd;h=3332b6dd3b6fd6c9dca00d299511933a6bd5afe6;hp=2117308dd872957d0a90354343a3324ece48e76f;hb=HEAD;hpb=0159c3e12f39119617f4c93319a1500284f8958a diff --git a/ud-roleadd b/ud-roleadd index 2117308..3332b6d 100755 --- a/ud-roleadd +++ b/ud-roleadd @@ -4,7 +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 +# Copyright (c) 2007,2008 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 @@ -50,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? ")