LDAP: compatibility with Novell eDirectory UUID

fixes #1968 

OK to be merged after 5.0 release (for the first maintenance release) to not delay it.