个人工具

“UbuntuHelp:ActiveDirectoryWinbind-SADMS/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第9行: 第9行:
 
== 安装 ==
 
== 安装 ==
 
* 首先在SADMS的网站阅读指导手册(tuts),就在External Docs章节下面。
 
* 首先在SADMS的网站阅读指导手册(tuts),就在External Docs章节下面。
* 解压缩
+
* 解压缩。
* 安装Winbind dependency并运行START脚本.
+
* 安装Winbind dependency并运行START脚本。
* check that nsswitch is correct.  Shadow should not reference winbind.  Shadow passwords will be retrieved through the pam implementation of winbind.
+
* 检查nsswitch是否正确。 Shadow不应引用winbind。Shadow密码将通过winbind的pam implementation恢复。
 
file: /etc/nsswitch.conf
 
file: /etc/nsswitch.conf
 
<pre><nowiki>
 
<pre><nowiki>
第22行: 第22行:
 
sudo ./START
 
sudo ./START
 
</nowiki></pre>
 
</nowiki></pre>
* Detect your Domain settings, fill in the missing information and Install.
+
* 检查你的域名设置,填写缺少的信息并安装。
* When you install samba's winbind to Pam, unselect the Pam_mount module as it doesn't seem to install properly through sadms in version 2.0.11, it causes graphical sudo authentications to fail.
+
* 当你将samba的winbind安装到Pam,不要选择Pam_mount模块,因为它像是不能通过sadms 2.0.11版本正确安装,会导致图形的sudo认证失败。
 
==== Troubleshooting ====
 
==== Troubleshooting ====
 
'''kdesudo and gksudo failing'''
 
'''kdesudo and gksudo failing'''

2009年7月30日 (四) 15:37的版本

介绍

SADMS package允许通过GUI图形界面自动加入到活动目录。本页将描述如何使用SADMS来安装/调试,将一台Ubuntu机器加入到活动目录。[1]

获取SADMS Ubuntu package

从下面的地址下载 SADMS packagesourceforge 当前的Ubuntu package是: sadms-install-ubu-2.0.11.tar.gz

安装

  • 首先在SADMS的网站阅读指导手册(tuts),就在External Docs章节下面。
  • 解压缩。
  • 安装Winbind dependency并运行START脚本。
  • 检查nsswitch是否正确。 Shadow不应引用winbind。Shadow密码将通过winbind的pam implementation恢复。

file: /etc/nsswitch.conf

passwd:         compat winbind
group:          compat winbind
shadow:         compat
sudo apt-get install winbind
sudo ./START
  • 检查你的域名设置,填写缺少的信息并安装。
  • 当你将samba的winbind安装到Pam,不要选择Pam_mount模块,因为它像是不能通过sadms 2.0.11版本正确安装,会导致图形的sudo认证失败。

Troubleshooting

kdesudo and gksudo failing The pam module pam_mount.so refers to a config file located in /etc/security - pam_mount.conf. pam_mount.conf appears to be configured incorrectly and causing kdesudo and gksudo to break. One must either decipher pam_mount.conf or disable pam from mounting shares at login. /etc/pam.d/common-auth: comment out this line

auth required pam_mount.so

(http://ubuntuforums.org/archive/index.php/t-215791.html) No Logon Servers This is caused by a problem with name resolution of the logon server. The name service cache daemon (nscd) can interfere with winbind, as winbind maintains its own cache. Remove it.

sudo apt-get remove nscd

External Docs

install tutorial from SADMS site install-PAM tutorial from SADMS site