特殊:Badtitle/NS100:ActiveDirectoryWinbind-SADMS:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/ActiveDirectoryWinbind-SADMS}} {{Languages|UbuntuHelp:ActiveDirectoryWinbind-SADMS}} == Introduction == The SADMS package allows for automated ...
 
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/ActiveDirectoryWinbind-SADMS}}
{{From|https://help.ubuntu.com/community/ActiveDirectoryWinbind-SADMS}}
{{Languages|UbuntuHelp:ActiveDirectoryWinbind-SADMS}}
{{Languages|UbuntuHelp:ActiveDirectoryWinbind-SADMS}}
== Introduction ==
== Introduction ==
The SADMS package allows for automated joining to Active Directory through a GUI interface.  This page will describe how to install/troubleshoot using SADMS to join a Ubuntu machine to Active Directory. [http://sadms.sourceforge.net/]
The SADMS package allows for automated joining to Active Directory through a GUI interface.  This page will describe how to install/troubleshoot using SADMS to join a Ubuntu machine to Active Directory. [http://sadms.sourceforge.net/]
==== Acquire the SADMS Ubuntu package ====
==== Acquire the SADMS Ubuntu package ====
Download the SADMS package from [http://sourceforge.net/project/showfiles.php?group_id=93499 sourceforge]
Download the SADMS package from [http://sourceforge.net/project/showfiles.php?group_id=93499 sourceforge]
Current Ubuntu package as of this writing: [http://downloads.sourceforge.net/sadms/sadms-install-ubu-2.0.11.tar.gz?modtime=1182683519&big_mirror=0 sadms-install-ubu-2.0.11.tar.gz]
Current Ubuntu package as of this writing: [http://downloads.sourceforge.net/sadms/sadms-install-ubu-2.0.11.tar.gz?modtime=1182683519&big_mirror=0 sadms-install-ubu-2.0.11.tar.gz]
== Installation ==
== Installation ==
 
* Read the tuts from the SADMS site '''first''', under the External Docs section.
* Read the tuts from the SADMS site first, under the External Docs section.
 
* Extract Package
* Extract Package
* Install Winbind dependency and run START script.
* check that nsswitch is correct.  Shadow should not reference winbind.  Shadow passwords will be retrieved through the pam implementation of winbind.
* check that nsswitch is correct.  Shadow should not reference winbind.  Shadow passwords will be retrieved through the pam implementation of winbind.
file: /etc/nsswitch.conf
file: /etc/nsswitch.conf
<pre><nowiki>
<pre><nowiki>
passwd:        compat winbind
passwd:        compat winbind
第31行: 第16行:
shadow:        compat
shadow:        compat
</nowiki></pre>
</nowiki></pre>
 
* Install Winbind dependency, then run the START script from the directory you extracted the SADMS archive to:
<pre><nowiki>
<pre><nowiki>
sudo apt-get install winbind
sudo apt-get install winbind
sudo ./START
sudo ./START
</nowiki></pre>
</nowiki></pre>
* Detect your Domain settings, fill in the missing information and Install.
* 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.
* 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.
==== Troubleshooting ====
==== Troubleshooting ====
'''kdesudo and gksudo failing'''
'''kdesudo and gksudo failing'''
The pam module pam_mount.so refers to a config file located in /etc/security - pam_mount.conf.
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.
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.
One must either decipher pam_mount.conf or disable pam from mounting shares at login.
/etc/pam.d/common-auth:
/etc/pam.d/common-auth:
comment out this line
comment out this line
<pre><nowiki>
<pre><nowiki>
auth required pam_mount.so
auth required pam_mount.so
</nowiki></pre>
</nowiki></pre>
(http://ubuntuforums.org/archive/index.php/t-215791.html)
(http://ubuntuforums.org/archive/index.php/t-215791.html)
'''No Logon Servers'''
'''No Logon Servers'''
This is caused by a problem with name resolution of the logon server.
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.
The name service cache daemon (nscd) can interfere with winbind, as winbind maintains its own cache.
Remove it.
Remove it.
<pre><nowiki>
<pre><nowiki>
sudo apt-get remove nscd
sudo apt-get remove nscd
</nowiki></pre>
</nowiki></pre>
== External Docs ==
== External Docs ==
[http://sadms.sourceforge.net/tut-sadms.html install tutorial from SADMS site]
[http://sadms.sourceforge.net/tut-sadms.html install tutorial from SADMS site]
[http://sadms.sourceforge.net/tut-pam.html install-PAM tutorial from SADMS site]
[http://sadms.sourceforge.net/tut-pam.html install-PAM tutorial from SADMS site]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2010年5月19日 (三) 17:15的最新版本

{{#ifexist: :ActiveDirectoryWinbind-SADMS/zh | | {{#ifexist: ActiveDirectoryWinbind-SADMS/zh | | {{#ifeq: {{#titleparts:ActiveDirectoryWinbind-SADMS|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:ActiveDirectoryWinbind-SADMS|1|-1|}} | zh | | }}

Introduction

The SADMS package allows for automated joining to Active Directory through a GUI interface. This page will describe how to install/troubleshoot using SADMS to join a Ubuntu machine to Active Directory. [1]

Acquire the SADMS Ubuntu package

Download the SADMS package from sourceforge Current Ubuntu package as of this writing: sadms-install-ubu-2.0.11.tar.gz

Installation

  • Read the tuts from the SADMS site first, under the External Docs section.
  • Extract Package
  • check that nsswitch is correct. Shadow should not reference winbind. Shadow passwords will be retrieved through the pam implementation of winbind.

file: /etc/nsswitch.conf

passwd:         compat winbind
group:          compat winbind
shadow:         compat
  • Install Winbind dependency, then run the START script from the directory you extracted the SADMS archive to:
sudo apt-get install winbind
sudo ./START
  • 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.

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