* returns the internal ownCloud name for the given LDAP DN of the group, false on DN outside of search DN or failure
*/
publicfunctiondn2groupname($dn,$ldapname=null){
//To avoid bypassing the base DN settings under certain circumstances with the group support, check whether the provided DN matches one of the given Bases
//To avoid bypassing the base DN settings under certain circumstances
//with the group support, check whether the provided DN matches one of
* returns the internal ownCloud name for the given LDAP DN of the user, false on DN outside of search DN or failure
*/
publicfunctiondn2username($dn,$ldapname=null){
//To avoid bypassing the base DN settings under certain circumstances with the group support, check whether the provided DN matches one of the given Bases
//To avoid bypassing the base DN settings under certain circumstances
//with the group support, check whether the provided DN matches one of