mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
fix merge error
This commit is contained in:
parent
d7a7ba4f45
commit
6be932e8af
@ -549,8 +549,6 @@ attributeTypes:
|
||||
EQUALITY caseIgnoreIA5Match
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
|
||||
)
|
||||
# c->ipaddr = radiusNASIpAddress
|
||||
# c->secret = radiusSecret
|
||||
objectClasses:
|
||||
( 1.3.6.1.4.1.3317.4.3.2.3
|
||||
NAME 'radiusClientProfile'
|
||||
|
@ -707,50 +707,6 @@ class IPAServer:
|
||||
|
||||
return radius_profiles
|
||||
|
||||
def get_add_schema (self):
|
||||
"""Get the list of fields to be used when adding users in the GUI."""
|
||||
|
||||
# FIXME: this needs to be pulled from LDAP
|
||||
fields = []
|
||||
|
||||
field1 = {
|
||||
"name": "uid" ,
|
||||
"label": "Login:",
|
||||
"type": "text",
|
||||
"validator": "text",
|
||||
"required": "true"
|
||||
}
|
||||
fields.append(field1)
|
||||
|
||||
field1 = {
|
||||
"name": "givenName" ,
|
||||
"label": "First name:",
|
||||
"type": "text",
|
||||
"validator": "string",
|
||||
"required": "true"
|
||||
}
|
||||
fields.append(field1)
|
||||
|
||||
field1 = {
|
||||
"name": "sn" ,
|
||||
"label": "Last name:",
|
||||
"type": "text",
|
||||
"validator": "string",
|
||||
"required": "true"
|
||||
}
|
||||
fields.append(field1)
|
||||
|
||||
field1 = {
|
||||
"name": "mail" ,
|
||||
"label": "E-mail address:",
|
||||
"type": "text",
|
||||
"validator": "email",
|
||||
"required": "false"
|
||||
}
|
||||
fields.append(field1)
|
||||
|
||||
return fields
|
||||
|
||||
def set_custom_fields (self, schema, opts=None):
|
||||
"""Set the list of custom user fields.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user