[SAC] [OSGeo] #1768: Add information about ASCII only character requirement to https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py

#1768: Add information about ASCII only character requirement to
https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py
---------------------------+-----------------------
Reporter: ehjuerrens | Owner: sac@…
     Type: enhancement | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+-----------------------
The form available via

     https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py

has certain requirements on the input that are not clearly stated on the
page itself.

Please add something like "Please use only ASCII characters here!" to the
fileds "Full name" and "Surname".

The problem is that if non ASCII characters are used, the following error
message is displayed and the edit operation fails:

{{{
Traceback (most recent call last):
   File "/usr/lib/cgi-bin/auth/ldap_edit_user.py", line 207, in
     ldap_apply_user_info( userid, cn, sn, mail, password )
   File "/usr/lib/cgi-bin/auth/ldap_edit_user.py", line 52, in
ldap_apply_user_info
     l.modify_s( target, ml )
   File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 322,
in modify_s
     return self.result(msgid,all=1,timeout=self.timeout)
   File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 422,
in result
     res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
   File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 426,
in result2
     res_type, res_data, res_msgid, srv_ctrls =
self.result3(msgid,all,timeout)
   File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432,
in result3
     ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
   File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96,
in _ldap_call
     result = func(*args,**kwargs)
INVALID_SYNTAX: {'info': 'cn: value #0 invalid per syntax', 'desc':
'Invalid syntax'}

LDAP update has failed!
}}}

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

#1768: Add information about ASCII only character requirement to
https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py
---------------------------+------------------------
Reporter: ehjuerrens | Owner: sac@…
     Type: enhancement | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+------------------------
Changes (by ehjuerrens):

* Attachment "form_original.png" added.

Original form

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

#1768: Add information about ASCII only character requirement to
https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py
---------------------------+------------------------
Reporter: ehjuerrens | Owner: sac@…
     Type: enhancement | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+------------------------
Changes (by ehjuerrens):

* Attachment "form_with-info.png" added.

Updated form

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

#1768: Add information about ASCII only character requirement to
https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py
---------------------------+------------------------
Reporter: ehjuerrens | Owner: sac@…
     Type: enhancement | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+------------------------

Comment (by ehjuerrens):

See the attachment for the original and updated form as an example for a
potential solution.

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

#1768: Add information about ASCII only character requirement to
https://www.osgeo.org/cgi-bin/auth/ldap_edit_user.py
---------------------------+------------------------
Reporter: ehjuerrens | Owner: sac@…
     Type: enhancement | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------
Changes (by strk):

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

Comment:

I've added the same <em>IMPORTANT</em> paragraph as the one found on the
new user creation form.
Thanks for spotting this.

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