[SAC] Re: create account page

Tyler Mitchell (OSGeo) wrote:

Scott - you can change your settings here:
https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py

Frank,
Scott is talking about how his name appears in the Moodle example. I matched the LDAP "common name" attribute to the common name property in the moodle profile. There is a cn and ln (last name) attribute in the directory, which I thought made sense to use. Having full name put into the cn attribute is kind weird, we cannot then, programmatically know what their first and last names are. Can you change the new user form to say "Given Name" instead? I think it will be much more useful in the long run.

Tyler,

All the "cn" values were set to the full name in the LDAP server when
it was pre-populated by Shawn in January. I've just kept the pattern.
I'm not unwilling to change, but I think it should be discussed somewhat
more widely first (cc:ing SAC for that).

Best regards,

--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

On 24-Jul-07, at 8:56 PM, Frank Warmerdam wrote:

All the "cn" values were set to the full name in the LDAP server when
it was pre-populated by Shawn in January. I've just kept the pattern.
I'm not unwilling to change, but I think it should be discussed somewhat
more widely first (cc:ing SAC for that).

No problem, I understand.

I think "common name" (cn) should mean "first name" not "full name". In some of the apps that are calling from LDAP we get stuck in a pickle because we actually have no first name attribute to populate user profiles with. I don't see any reason to have a full name attribute - does anyone else?

Tyler

There is a firstname attribute but, it is called givenName.

The minimal attributes that were originally populated are,

  givenName -> firstname
  sn -> lastname
  cn -> firstname lastname
  mail -> email
  uid
  userPassword

shawn

Tyler Mitchell (OSGeo) wrote:

On 24-Jul-07, at 8:56 PM, Frank Warmerdam wrote:

All the "cn" values were set to the full name in the LDAP server when
it was pre-populated by Shawn in January. I've just kept the pattern.
I'm not unwilling to change, but I think it should be discussed somewhat
more widely first (cc:ing SAC for that).

No problem, I understand.

I think "common name" (cn) should mean "first name" not "full name". In
some of the apps that are calling from LDAP we get stuck in a pickle
because we actually have no first name attribute to populate user
profiles with. I don't see any reason to have a full name attribute -
does anyone else?

Tyler
_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac

On 25-Jul-07, at 5:47 AM, shawn barnes wrote:

There is a firstname attribute but, it is called givenName.
The minimal attributes that were originally populated are,

  givenName -> firstname
  sn -> lastname
  cn -> firstname lastname
  mail -> email
  uid
  userPassword

So, Frank, it's safe to say that givenName attribute has not been populated as there is no form field for it in the sign up page?

Tyler Mitchell (OSGeo) wrote:

On 25-Jul-07, at 5:47 AM, shawn barnes wrote:

There is a firstname attribute but, it is called givenName.
The minimal attributes that were originally populated are,

  givenName -> firstname
  sn -> lastname
  cn -> firstname lastname
  mail -> email
  uid
  userPassword

So, Frank, it's safe to say that givenName attribute has not been populated as there is no form field for it in the sign up page?

Tyler,

That is correct. It is possible that givenName was set for a few
accounts created by hand but it is generally not set.

We have "cn" which is clearly the full name in LDAP usage, and
"sn" which is surname. I am hesitant to automatically populate
the givenName automatically because I don't think it is entirely
obvious what is the givenName in the cn field. Not all cultures
will have entered the "cn" as firstname lastname as we tend to.
Also the "cn" hasn't been populated all that consistently. Lots of
folks just put first name. Some have included honorifics, middle names,
first initials, etc.

Does Moodle really require a first name and a last name?

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

I wouldn't worry about trying to programatically do anything. That
said, I'll gladly go through the directory and populate/fix any
entries...if there is a way I can do that.

I'd just like to see the field on the sign-up and edit forms you've
made. It's not just for moodle, but several apps I've been working
on.

On 7/25/07, Frank Warmerdam <warmerdam@pobox.com> wrote:

Tyler Mitchell (OSGeo) wrote:
>
> On 25-Jul-07, at 5:47 AM, shawn barnes wrote:
>
>> There is a firstname attribute but, it is called givenName.
>> The minimal attributes that were originally populated are,
>>
>> givenName -> firstname
>> sn -> lastname
>> cn -> firstname lastname
>> mail -> email
>> uid
>> userPassword
>
> So, Frank, it's safe to say that givenName attribute has not been
> populated as there is no form field for it in the sign up page?

Tyler,

That is correct. It is possible that givenName was set for a few
accounts created by hand but it is generally not set.

We have "cn" which is clearly the full name in LDAP usage, and
"sn" which is surname. I am hesitant to automatically populate
the givenName automatically because I don't think it is entirely
obvious what is the givenName in the cn field. Not all cultures
will have entered the "cn" as firstname lastname as we tend to.
Also the "cn" hasn't been populated all that consistently. Lots of
folks just put first name. Some have included honorifics, middle names,
first initials, etc.

Does Moodle really require a first name and a last name?

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac