Anonymous
Not logged in
Log in
Request account
Search
Changes
From Pumping Station One
Namespaces
Page
Discussion
More
More
Languages
Page actions
Read
View source
History
← Older edit
Newer edit →
Linux Winbind Setup
(view source)
Revision as of 01:56, 5 September 2013
590 bytes added
,
01:56, 5 September 2013
Started adding ubuntu instructions
Line 1:
Line 1:
+
== Hostname ==
+
+
Put the machines hostname in /etc/hostname
+
+
'''thing2'''
+
+
And set the fqdn in /etc/hosts
+
+
127.0.0.1 '''thing2'''.ad.pumpingstationone.org localhost '''thing2'''
+
== Installation ==
== Installation ==
+
+
=== Arch Linux ===
sudo pacman -S krb5 samba
sudo pacman -S krb5 samba
+
+
=== Ubuntu ===
+
+
sudo apt-get install krb5-user samba
+
+
* Default Kerberos version 5 realm: AD.PUMPINGSTATIONONE.ORG
== /etc/nsswitch.conf ==
== /etc/nsswitch.conf ==
Line 24:
Line 42:
== /etc/samba/smb.conf ==
== /etc/samba/smb.conf ==
+
+
If there is an existing smb.conf file, move it:
+
+
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.default
+
[global]
[global]
workgroup = PS1
workgroup = PS1
Line 40:
Line 63:
idmap config *:backend = tdb
idmap config *:backend = tdb
template shell = /bin/bash
template shell = /bin/bash
+
+
== Join the domain ==
+
+
sudo ads join -U ```administrator```@PS1
== /etc/pam.d/system-auth ==
== /etc/pam.d/system-auth ==
+
+
=== Ubuntu ===
+
+
Ubuntu sets up pam_winbind.so automatically.
+
+
=== Arch ===
+
In Arch, make the following changes to system-auth
In Arch, make the following changes to system-auth
Hef
Bureaucrats
,
Administrators
3,430
edits
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
Userpage tools
More
Printable version