web2ldap
1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
![]() ![]() |
Public Member Functions | |
List[bytes] | transmute (self, List[bytes] attr_values) |
str | form_value (self) |
Field | input_field (self) |
![]() | |
str | display (self, vidx, links) |
Field | input_field (self) |
![]() | |
def | __init__ (self, app, str dn, schema, str attrType, bytes attr_value, entry=None) |
str | display (self, vidx, links) |
Dict[str, str] | get_attr_value_dict (self) |
Dict[str, str] | get_attr_value_dict (self) |
str | display (self, vidx, links) |
web_forms.Field | input_field (self) |
str | display (self, vidx, links) |
![]() | |
def | __init__ (self, app, Optional[str] dn, SubSchema schema, Optional[str] attrType, Optional[bytes] attr_value, entry=None) |
def | dn (self) |
def | av_u (self) |
bytes | sanitize (self, bytes attr_value) |
List[bytes] | transmute (self, List[bytes] attr_values) |
def | validate (self, bytes attr_value) |
str | value_button (self, command, row, mode, link_text=None) |
str | form_value (self) |
def | input_fields (self) |
web_forms.Field | input_field (self) |
str | display (self, vidx, links) |
![]() | |
def | __init__ (self, app, str dn, schema, str attrType, bytes attr_value, entry=None) |
bytes | sanitize (self, bytes attr_value) |
web_forms.Field | input_field (self) |
Static Public Attributes | |
str | |
int | minNewValue = 30000 |
int | maxNewValue = 49999 |
id_pool_dn = None | |
structural_oc_oids | |
![]() | |
str | |
int | min_value = 0 |
int | max_value = 4294967295 |
string | ldap_url = 'ldap:///_?gidNumber,cn?sub?(objectClass=posixGroup)' |
![]() | |
str | |
tuple | ignored_errors |
![]() | |
str | |
bool | |
![]() | |
str | |
string | html_tmpl = '{av}' |
![]() | |
str | |
int | |
bool | |
![]() | |
str | |
int | |
min_value = None | |
max_value = None | |
![]() | |
str | |
Private Member Functions | |
str | _get_id_pool_dn (self) |
int | _get_next_gid (self) |
Additional Inherited Members | |
![]() | |
lu_obj | |
min_len | |
![]() | |
max_len | |
Plugin for attribute 'gidNumber' in aeUser, aeGroup and aeService entries
|
private |
determine which ID pool entry to use
Definition at line 242 of file aedir.py.
References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.aedir.AEGIDNumber.id_pool_dn, and web2ldap.app.plugins.aedir.AEGIDNumber.str.
Referenced by web2ldap.app.plugins.aedir.AEGIDNumber._get_next_gid().
|
private |
consumes next ID by sending MOD_INCREMENT modify operation with pre-read entry control
Definition at line 248 of file aedir.py.
References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, web2ldap.app.plugins.aedir.AEGIDNumber._get_id_pool_dn(), and web2ldap.app.schema.syntaxes.Integer.int.
Referenced by web2ldap.app.plugins.aedir.AEGIDNumber.transmute().
str web2ldap.app.plugins.aedir.AEGIDNumber.form_value | ( | self | ) |
Transform LDAP string representations to HTML form input field values. Returns Unicode string to be encoded with the browser's accepted charset. This is the inverse of LDAPSyntax.sanitize().
Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.
Definition at line 283 of file aedir.py.
Referenced by web2ldap.app.schema.syntaxes.DNSDomain.display(), web2ldap.app.plugins.activedirectory.LogonHours.input_field(), web2ldap.app.plugins.aedir.AEHomeDirectory.input_field(), web2ldap.app.plugins.aedir.AEUIDNumber.input_field(), web2ldap.app.plugins.aedir.AEUserUid.input_field(), web2ldap.app.plugins.aedir.AEMemberUid.input_field(), web2ldap.app.plugins.aedir.AEDerefAttribute.input_field(), web2ldap.app.plugins.aedir.AEUniqueIdentifier.input_field(), web2ldap.app.plugins.aedir.AERFC822MailMember.input_field(), web2ldap.app.plugins.aedir.AESudoHost.input_field(), web2ldap.app.schema.syntaxes.LDAPSyntax.input_field(), web2ldap.app.schema.syntaxes.Integer.input_field(), web2ldap.app.schema.syntaxes.OctetString.input_field(), web2ldap.app.schema.syntaxes.MultilineText.input_field(), web2ldap.app.schema.syntaxes.SelectList.input_field(), web2ldap.app.schema.syntaxes.BitArrayInteger.input_field(), and web2ldap.app.schema.syntaxes.ComposedAttribute.input_field().
Field web2ldap.app.plugins.aedir.AEGIDNumber.input_field | ( | self | ) |
Reimplemented from web2ldap.app.plugins.nis.GidNumber.
Definition at line 286 of file aedir.py.
Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.input_fields().
List[bytes] web2ldap.app.plugins.aedir.AEGIDNumber.transmute | ( | self, | |
List[bytes] | attr_values | ||
) |
This method can be implemented to transmute attribute values and has to handle LDAP string representations (raw binary strings). This method has access to the whole entry after processing all input. Implementors should be prepared that this method could be called more than once. If there's nothing to change then simply return the same value list. Exceptions KeyError or IndexError are caught by the calling code to re-iterate invoking this method.
Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.
Definition at line 261 of file aedir.py.
References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, web2ldap.app.schema.syntaxes.LDAPSyntax._dn, web2ldap.app.search.PrintableHTMLWriter._dn, web2ldap.app.plugins.aedir.AEGIDNumber._get_next_gid(), and web2ldap.app.plugins.aedir.AEGIDNumber.str.
|
static |
Definition at line 240 of file aedir.py.
Referenced by web2ldap.app.plugins.aedir.AEGIDNumber._get_id_pool_dn().
|
static |
Definition at line 239 of file aedir.py.
Referenced by web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value().
|
static |
|
static |
Definition at line 236 of file aedir.py.
Referenced by web2ldap.app.plugins.aedir.AEGIDNumber._get_id_pool_dn(), and web2ldap.app.plugins.aedir.AEGIDNumber.transmute().
|
static |