|
From: Murray T. <mtr...@ce...> - 2006-02-14 06:24:21
|
Hi Jamie,
I had a problem in the past creating users because my LDAP server
doesn't like the name attribute. I have just had it again and looked
into it further. I had a look at a recent Openldap core.schema file and
think I understand what is going on now. It looks from the snippets
below that the attribute 'name' used to be used as the attribute to
contain the user's first or given name. The attribute 'givenname' or
'gn' is nowadays used for this purpose. The name is a SUP (superior)
objectclass - probably containing all forms of the user's 'name'. This
means that 'name' can't be used as an LDAP user attribute. Could you
please change the 'name' attribute to 'gn' in the LDAP Users & Groups
module. You might need an option to use the old attribute in the module
config to stop breaking sites still using the 'name' attribute. I will
hack the version of Webmin for now so it's not urgent.
Thanks
Murray
# OpenLDAP Core schema
# $OpenLDAP: pkg/ldap/servers/slapd/schema/core.schema,v 1.68.2.6
2005/01/20 17:01:18 kurt Exp $
.
.
.
# 2.5.4.41 is defined above as it's used for subtyping
#attributetype ( 2.5.4.41 NAME 'name'
# EQUALITY caseIgnoreMatch
# SUBSTR caseIgnoreSubstringsMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' )
DESC 'RFC2256: first name(s) for which the entity is known by'
SUP name )
|