[SAC] [OSGeo] #1461: OsGeo Account Creation Broken

#1461: OsGeo Account Creation Broken
---------------------------+------------------------------------------------
Reporter: pramsey | Owner: sac@…
     Type: defect | Status: new
Priority: critical | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------
A user trying to send us a ticket was unable to create an account to do
so. They reported
{{{
The Trac ID form is still not working correctly. It returns fallowing
error: "
Traceback (most recent call last): File "/usr/lib/cgi-
bin/ldap_create_user.py", line 98, in ldap_add(uid,cn,sn,mail,password)
File "/usr/lib/cgi-bin/ldap_create_user.py", line 30, in ldap_add
('objectClass','inetOrgPerson')] ) INVALID_SYNTAX: {'info': 'sn: value #0
invalid per syntax', 'desc': 'Invalid syntax'}
"
}}}

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1461&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1461: OsGeo Account Creation Broken
---------------------------+------------------------------------------------
Reporter: pramsey | Owner: sac@…
     Type: defect | Status: new
Priority: critical | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------

Comment(by jmckenna):

I have seen this reported many times, and 99.9% of the time the user is
entering a special character in the form (as name for example). Please
have your user retry with absolutely no special characters in the form.

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1461#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1461: OsGeo Account Creation Broken
---------------------------+------------------------------------------------
Reporter: pramsey | Owner: sac@…
     Type: defect | Status: new
Priority: critical | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------

Comment(by tomkralidis):

Looks like some related activity in http://osgeo-org.1560.x6.nabble.com
/Re-can-t-create-osgeo-user-id-td5155047.html

Is the code causing this somewhere in SVN/Git?

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1461#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1461: OsGeo Account Creation Broken
---------------------------+------------------------------------------------
Reporter: pramsey | Owner: sac@…
     Type: defect | Status: new
Priority: critical | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------

Comment(by jmckenna):

No idea. I can tell you that I get this report constantly, and each time
it is a special character that the user has entered. Maybe you can try to
create a username and report back here and then SAC can tackle.

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1461#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1461: OsGeo Account Creation Broken
---------------------------+------------------------
Reporter: pramsey | Owner: sac@…
     Type: defect | Status: closed
Priority: critical | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------
Changes (by strk):

* status: new => closed
* resolution: => fixed

Comment:

Same experience for me, it's non-ascii characters raising that error. I've
recently fixed the user creation form to give a meaningful error message
instead.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1461#comment:4&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.