Ubuntu 18.04 as LDAP Authentification Client -- What am I missing?
Robert Heller
heller at deepsoft.com
Wed Mar 6 21:46:53 UTC 2019
OK, I followed the instructions here:
https://computingforgeeks.com/how-to-configure-ubuntu-18-04-ubuntu-16-04-lts-as-ldap-client/
But things are not working:
Script started on Wed 06 Mar 2019 04:38:06 PM EST
newserver.wendellfreelibrary.org% slogin ub180464
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-46-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
0 packages can be updated.
0 updates are security updates.
Last login: Wed Mar 6 16:35:25 2019 from 192.168.1.251
heller at ub180464:~$ ldapsearch -v -x '(uid=wendelladmin)'
ldap_initialize( <DEFAULT> )
filter: (uid=wendelladmin)
requesting: All userApplication attributes
# extended LDIF
#
# LDAPv3
# base <dc=wendellfreelibrary,dc=org> (default) with scope subtree
# filter: (uid=wendelladmin)
# requesting: ALL
#
# wendelladmin, People, wendellfreelibrary.org
dn: uid=wendelladmin,ou=People,dc=wendellfreelibrary,dc=org
uid: wendelladmin
cn: wendelladmin
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowLastChange: 13664
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 1001
gidNumber: 50
homeDirectory: /home/wendelladmin
gecos: wendelladmin,,,,
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
heller at ub180464:~$ sudo su -l wendelladmin
[sudo] password for heller:
No passwd entry for user 'wendelladmin'
heller at ub180464:~$ logout
Connection to ub180464 closed.
newserver.wendellfreelibrary.org% exit
Script done on Wed 06 Mar 2019 04:39:50 PM EST
But it works just fine for Ubuntu 14.04:
Script started on Wed 06 Mar 2019 04:40:20 PM EST
newserver.wendellfreelibrary.org% slogin ub140464
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-165-generic x86_64)
* Documentation: https://help.ubuntu.com/
6 packages can be updated.
5 updates are security updates.
New release '16.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
No mail.
Last login: Wed Mar 6 16:14:09 2019 from newserver.wendellfreelibrary.org
ub140464.wendellfreelibrary.org% ldapsearch -x '(uid=wendelladmin)'
# extended LDIF
#
# LDAPv3
# base <dc=wendellfreelibrary,dc=org> (default) with scope subtree
# filter: (uid=wendelladmin)
# requesting: ALL
#
# wendelladmin, People, wendellfreelibrary.org
dn: uid=wendelladmin,ou=People,dc=wendellfreelibrary,dc=org
uid: wendelladmin
cn: wendelladmin
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowLastChange: 13664
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 1001
gidNumber: 50
homeDirectory: /home/wendelladmin
gecos: wendelladmin,,,,
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
ub140464.wendellfreelibrary.org% sudo su -l wendelladmin
[sudo] password for heller:
]0;wendelladmin at ub140464.wendellfreelibrary.org: /home/wendelladminwendelladmin at ub140464:~$ logout
ub140464.wendellfreelibrary.org% ^Dlogout
Connection to ub140464 closed.
newserver.wendellfreelibrary.org% exit
Script done on Wed 06 Mar 2019 04:41:06 PM EST
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller at deepsoft.com -- Webhosting Services
More information about the ubuntu-users
mailing list