X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-useradd;h=23e1cd0ce098e2cbba301c1e6b38e6b931635023;hb=91e87667ac77b0814130822608305c7c689e815f;hp=494c348091c533c2105986201612e3734c4e11a7;hpb=198bda079d03f7251b50f95e6a28c1fb046e616a;p=mirror%2Fuserdir-ldap.git diff --git a/ud-useradd b/ud-useradd index 494c348..23e1cd0 100755 --- a/ud-useradd +++ b/ud-useradd @@ -67,10 +67,10 @@ for (switch, val) in options: elif (switch == '-n'): NoAutomaticIDs = 1; -l = passwdAccessLDAP(LDAPServer, BaseDn, AdminUser) +l = passwdAccessLDAP(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 == "":