You are not logged in.

#1 2016-11-14 16:21:12

elite4god
Member
From: Lansing, Michigan USA
Registered: 2012-10-22
Posts: 4
Website

Active Directory Integration failing.

I've followed the wiki on Active Directory integration.

https://wiki.archlinux.org/index.php/Ac … ntegration

While some of this is working I do have some issues. Things aren't working completely.

When I login locally or su to an AD user I get the following in the journal:

Nov 14 11:07:45 jeremylpc-arch login[4070]: pam_winbind(login:auth): getting password (0x00000000)
Nov 14 11:07:48 jeremylpc-arch login[4070]: pam_winbind(login:auth): user 'jeremyl' granted access
Nov 14 11:07:48 jeremylpc-arch login[4070]: pam_winbind(login:account): user 'jeremyl' granted access
Nov 14 11:07:48 jeremylpc-arch login[4070]: pam_unix(login:session): session opened for user jeremyl by LOGIN(uid=0)
Nov 14 11:07:48 jeremylpc-arch login[4070]: pam_systemd(login:session): Failed to create session: No such file or directory
Nov 14 11:07:48 jeremylpc-arch login[4070]: LOGIN ON tty3 BY jeremyl

And my prompt shows:

[I have no name!@jeremylpc-arch root]$

My home directory is created automatically and with the proper rights.

getent passwd jeremyl

jeremyl:*:11290:10513:Jeremy F. Leonard:/home/GSI/jeremyl:/bin/bash

But

getent passwd 11290

Doesn't return anything

When I try to login via ssh It accepts my username and password but then immediately closes the ssh session.

Nov 14 11:13:35 jeremylpc-arch sshd[4108]: pam_winbind(sshd:account): user 'jeremyl' granted access
Nov 14 11:13:35 jeremylpc-arch sshd[4108]: Accepted password for jeremyl from 172.30.6.156 port 36316 ssh2
Nov 14 11:13:36 jeremylpc-arch sshd[4108]: pam_unix(sshd:session): session opened for user jeremyl by (uid=0)
Nov 14 11:13:36 jeremylpc-arch sshd[4108]: pam_systemd(sshd:session): Failed to create session: No such file or directory
Nov 14 11:13:36 jeremylpc-arch sshd[4108]: fatal: login_get_lastlog: Cannot find account for uid 11290
Nov 14 11:13:36 jeremylpc-arch sshd[4108]: pam_unix(sshd:session): session closed for user jeremyl
Nov 14 11:13:36 jeremylpc-arch sshd[4108]: syslogin_perform_logout: logout() returned an error

When I try to login via GDM I get the following journal entry.

Nov 14 11:14:16 jeremylpc-arch gdm-password][4116]: pam_winbind(gdm-password:auth): getting password (0x00000000)
Nov 14 11:14:19 jeremylpc-arch gdm-password][4116]: pam_winbind(gdm-password:auth): user 'jeremyl' granted access
Nov 14 11:14:19 jeremylpc-arch gdm-password][4116]: pam_winbind(gdm-password:account): user 'jeremyl' granted access
Nov 14 11:14:19 jeremylpc-arch gdm-password][4116]: pam_unix(gdm-password:session): session opened for user jeremyl by (uid=0)
Nov 14 11:14:19 jeremylpc-arch gdm-password][4116]: pam_systemd(gdm-password:session): Failed to create session: No such file or directory
Nov 14 11:14:19 jeremylpc-arch gdm-password][4128]: GLib: getpwuid_r(): failed due to unknown user id (11290)
Nov 14 11:14:19 jeremylpc-arch gdm-password][4128]: GLib: g_once_init_leave: assertion 'result != 0' failed
Nov 14 11:14:19 jeremylpc-arch /usr/lib/gdm/gdm-wayland-session[4128]: Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry
Nov 14 11:14:19 jeremylpc-arch /usr/lib/gdm/gdm-wayland-session[4128]: Failed to start message bus: Memory allocation failure in message bus
Nov 14 11:14:19 jeremylpc-arch /usr/lib/gdm/gdm-wayland-session[4128]: Unable to run session message bus
Nov 14 11:14:19 jeremylpc-arch gdm-password][4116]: pam_unix(gdm-password:session): session closed for user jeremyl
Nov 14 11:14:19 jeremylpc-arch gdm[409]: GdmDisplay: display lasted 0.026721 seconds

I think this comes down to not being able to resolve uid numbers to usernames.

I'm not sure what I'm missing.

Last edited by elite4god (2016-11-14 16:57:32)

Offline

#2 2016-11-14 16:39:23

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,406
Website

Re: Active Directory Integration failing.

Please edit your post to use code tags.

https://wiki.archlinux.org/index.php/Co … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB