Public bug reported:
When calling chsh.ldap as a normal user (user info is stored in ldap) I
get promted for my password an then chsh.ldap crashes with the following
output:
Traceback (most recent call last):
File "/usr/bin/chsh.ldap", line 80, in <module>
main()
File "/usr/bin/chsh.ldap", line 69, in main
shell = ask_shell(user.shell)
File "/usr/bin/chsh.ldap", line 50, in ask_shell
shell = input(' Login Shell [%s]: ' % oldshell)
UnboundLocalError: local variable 'input' referenced before assignment
I believe, this was fixed upstream with this commit:
https://github.com/arthurdejong/nss-pam-
ldapd/commit/1025d5de336d8c9585b79df3154b5649da344281
$ lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
$ apt-cache policy nslcd-utils
nslcd-utils:
Installiert: 0.9.11-1
Installationskandidat: 0.9.11-1
Versionstabelle:
*** 0.9.11-1 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages
100 /var/lib/dpkg/status
** Affects: nss-pam-ldapd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1892482
Title:
chsh.ldap crashes in ask_shell
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/1892482/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs