PowerBroker(同样开放)+ Ubuntu 13.04 -> 13.10 升级

PowerBroker(同样开放)+ Ubuntu 13.04 -> 13.10 升级

我刚刚将 Ubuntu 从 13.04 升级到 13.10,现在我无法登录 Active Directory;我的系统集成使用PowerBroker 身份服务(PBIS),原名 Likewise-Open。

到目前为止,我发现了以下症状:

  • 我可以通过 ssh 使用我的凭证登录。
  • 当我尝试通过登录屏幕登录我的帐户时,屏幕变黑。

我尝试过退出域、清除 PBIS 并重新安装最新版本的 PBIS。我一直在尝试我找到的故障排除部分这里,但我还没有取得任何成功。

auth.log 的相关部分

Oct 22 09:30:26 mypc lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "myusername"
Oct 22 09:30:29 mypc lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm
Oct 22 09:30:29 mypc lightdm: pam_unix(lightdm:session): session opened for user myusername by (uid=0)
Oct 22 09:30:29 mypc lightdm: pam_unix(lightdm:session): session closed for user myusername
Oct 22 09:30:30 mypc lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Oct 22 09:30:30 mypc systemd-logind[718]: New session c5 of user lightdm.
Oct 22 09:30:30 mypc lightdm: pam_ck_connector(lightdm-greeter:session): nox11 mode, ignoring PAM_TTY :1
Oct 22 09:30:31 mypc dbus[535]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.129" (uid=110 pid=5139 comm="/usr/lib/x86_64-linux-gnu/indicator-keyboard-servi") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.39" (uid=0 pid=2024 comm="/usr/sbin/console-kit-daemon --no-daemon ")

我的 .xsession-errors 日志

Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
/usr/sbin/lightdm-session: 5: exec: init: not found

答案1

我发现了这个错误: https://bugs.launchpad.net/ubuntu/+source/likewise-open/+bug/1162836

我遇到了同样的问题,当我最终登录后,我的 $PATH 变量与本地用户的值相差甚远。根据该错误,我更新了 /etc/pam.d/common-session 并对行进行了以下更改:

会话足够的pam_lsass.so

到:

会话 [成功=ok 默认=忽略] pam_lsass.so

进行此更改后,我也不需要创建指向 init 的符号链接作为解决方法。我现在能够使用 PBIS 7.5.2 成功以 Active Directory 用户身份登录

相关内容