[SAC] [OSGeo] #2782: Can't add new user to shell group
OSGeo
trac_osgeo at osgeo.org
Tue Jul 5 13:03:06 PDT 2022
#2782: Can't add new user to shell group
---------------------------+-----------------------
Reporter: robe | Owner: sac@…
Type: task | Status: new
Priority: critical | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+-----------------------
I was trying to add a new user to shell group and I'm getting a strange
error.
Not sure if it has to do with the python3 upgrade or something I am
missing.
https://id.osgeo.org/ldap/shell
The new user geoserverdocs per #2640. It ends up getting listed, but
can't ssh with it so assume it's missing some bits
{{{
Traceback (most recent call last): File "/usr/lib/cgi-
bin/auth/ldap_shell.py", line 293, in shell_enable_userid( new_uid ) File
"/usr/lib/cgi-bin/auth/ldap_shell.py", line 153, in shell_enable_userid
uidNumber = get_and_increment_uidNumber( l ) File "/usr/lib/cgi-
bin/auth/ldap_shell.py", line 135, in get_and_increment_uidNumber
l.modify_s( target, ml ) File "/usr/lib/python3/dist-
packages/ldap/ldapobject.py", line 631, in modify_s return
self.modify_ext_s(dn,modlist,None,None) File "/usr/lib/python3/dist-
packages/ldap/ldapobject.py", line 603, in modify_ext_s msgid =
self.modify_ext(dn,modlist,serverctrls,clientctrls) File "/usr/lib/python3
/dist-packages/ldap/ldapobject.py", line 600, in modify_ext return
self._ldap_call(self._l.modify_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 315, in
_ldap_call result = func(*args,**kwargs) TypeError: ('Tuple_to_LDAPMod():
expected a byte string in the list', 'N')
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2782>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list