This class allows to use user names and groups stored in an LDAP database inside Foswiki in a transparent way. This replaces Foswiki's native way to represent users and groups using topics with according LDAP records.
Complete processing after the client's HTTP request has been responded to. I.e. it disconnects the LDAP database connection.
Static method to write a debug messages.
overrides and thus disables the SUPER method
Maps a canonical user name to a wikiname
emails might be stored in the ldap account as well if the record is of type possixAccount and inetOrgPerson. if this is not the case we fallback to the default behavior
Determines if the user already exists or not.
returns a list iterator for all known users
returns a list iterator for all known groups
nativeGroupsBackoffis defined the set of LDAP and native groups will merged whereas LDAP groups have precedence in case of a name clash.
returns a list iterator for all groups members
returns a list iterator for all groups a user is in.
nativeGroupsBackoffis set the native mechanism are used to check if $user is a group
Return a list of canonical user names for the users that have this email registered with the password manager or the user mapping manager.
See baseclass for documentation
The user can be identified by any of $cUID, $login or $wikiName. Any of these parameters may be undef, and they should be tested in order; cUID first, then login, then wikiName.
Convert a login name to the corresponding canonical user name. The canonical name can be any string of 7-bit alphanumeric and underscore characters, and must correspond 1:1 to the login name. (undef on failure)
(if dontcheck is true, return a cUID for a nonexistant user too. This is used for registration)
normally, ldap-groups are read-only as they are maintained using ldap-specific tools.
this method only returns 1 if the group is a topic-based group