X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-useradd;h=f5c1fbcf8b48805a364672e75b6cd329bf98e1f0;hb=c626017071b2de3c4623df898dcf0e16f25e7272;hp=8cc425b6f8521225588ffa964ed8c5186ac07e06;hpb=7a14013dff13a4dd7689f8c35c4f0d1c4f17ef19;p=mirror%2Fuserdir-ldap.git diff --git a/ud-useradd b/ud-useradd index 8cc425b..f5c1fbc 100755 --- a/ud-useradd +++ b/ud-useradd @@ -19,7 +19,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -import string, re, time, ldap, getopt, sys, os, pwd; +import re, time, ldap, getopt, sys, os, pwd; from userdir_ldap import *; from userdir_gpg import *; @@ -70,7 +70,7 @@ for (switch, val) in options: l = passwdAccessLDAP(LDAPServer, BaseDn, AdminUser) # Locate the key of the user we are adding -SetKeyrings(["/org/keyring.debian.org/keyrings/debian-keyring.gpg"]) +SetKeyrings(ConfModule.add_keyrings.split(":")) while (1): Foo = raw_input("Who are you going to add (for a GPG search)? "); if Foo == "":