Adding a New Machine to the Network: Difference between revisions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
* Has the device been allocated an IP address in one of the subnets allocated to us by IT Services? Have you updated the Google Doc (at https://docs.google.com/spreadsheet/ccc?key=0AtlIZR-runbWdEphYXdNQkcxU25BeFJfUGtQeFRRWnc&usp=drive_web)? | * Has the device been allocated an IP address in one of the subnets allocated to us by IT Services? Have you updated the Google Doc (at https://docs.google.com/spreadsheet/ccc?key=0AtlIZR-runbWdEphYXdNQkcxU25BeFJfUGtQeFRRWnc&usp=drive_web)? | ||
* Have you informed IT Services that the new device exists? See [[#Registering with LAN DB]] | * Have you informed IT Services that the new device exists? See [[#Registering with LAN DB]] | ||
* Have you configured the IP Address for the device *statically*, with DNS Servers 144.32.64.164, 144.32.128.242, 144.32.128.243? A sample /etc/network/interfaces file is below in [[#Static IP Configuration]] | |||
* If Windows, has it been Domain Joined? If Linux/FreeBSD, have you set up Samba as per [[#Single Sign On with Samba]]? | |||
=== Registering with LAN DB === | === Registering with LAN DB === | ||
| Line 40: | Line 42: | ||
(Your Signoff Here) | (Your Signoff Here) | ||
==== | === Single Sign On with Samba === | ||
==== FreeBSD ==== | |||
http://www.whitneytechnologies.com/?p=119 | * Follow the following guide: http://www.whitneytechnologies.com/?p=119 | ||
* Change the home directory path configuration from above to just be /home/%U (no domain in the path) | |||
* Edit /etc/pam.d/system to have | |||
<code> | |||
auth sufficient /usr/local/lib/pam_winbind.so | auth sufficient /usr/local/lib/pam_winbind.so | ||
</code> | |||
* Edit sudoers to use <code>%domain\x20admins ALL=(ALL) ALL</code> | |||
* If you are using ZFS data anywhere and plan to share over NFS or SMB, also look at https://mywushublog.com/2012/05/zfs-and-acls-with-samba/ | |||
==== Debian ==== | |||
We haven't tried this with Debian yet. We should try this with Debian. | |||
=== | |||
=== Static IP Configuration === | |||
/etc/network/interfaces: | |||
<code> | <code> | ||
iface eth0 inet static | iface eth0 inet static | ||
address 144.32.64.xxx | |||
netmask 255.255.255.224 | |||
network 144.32.64.160 | |||
broadcast 144.32.64.191 | |||
gateway 144.32.64.161 | |||
dns-search york.ac.uk | |||
mtu 1500 | |||
</code> | |||
<code> | |||
/etc/resolv.conf: | |||
domain ury.york.ac.uk york.ac.uk | |||
nameserver 144.32.64.164 | |||
nameserver 144.32.128.242 | |||
nameserver 144.32.128.243 | |||
</code> | </code> | ||