DEPRECATED

This page is now officially deprecated and will NOT be updated. See UbuntuWorkstations for our current Ubuntu setup notes.

Installing samba networking on Ubuntu Breezy (or Hoary) workstations

Description

To use Ubuntu (hoary or breezy) for programming classes we need to have it installed on dual boot machines. To integrate into the network it is highly desireable that:

Required packages

The standard Ubuntu (breezy or hoary) distribution requires the following packages. Either use Synaptic to find and install them or open a terminal and use sudo apt-get install smbfs winbind libpam-mount:

  1. smbfs - to allow mounting the shares
  2. winbind - to join the domain and manage connections
  3. libpam-mount - to mount the home directory automatically

DEPRECATED

This page is now officially deprecated and will NOT be updated. See UbuntuWorkstations for our current Ubuntu setup notes.

Basic Install

The following are needed for dualbooting. If you are just interested in validating from a windows network, skip this section

  1. Install or shrink WinXP partition to half size of drive
  2. install Ubuntu, allow it to add WinXP to GRUB menu
  3. Modify GRUB menu.lst to make WinXP the default
  4. Modify Linux side for authentication and automounting from network

DEPRECATED

This page is now officially deprecated and will NOT be updated. See UbuntuWorkstations for our current Ubuntu setup notes.

Required Modifications

1. samba - /etc/samba/smb.conf needs something like the following:

2. /etc/nsswitch.conf:

3. /etc/pam.d - edit the following files:

4. Join the domain and test:

Test it with:

The commands above should return lists of users and groups on the domain

5. Automounting with pam_mount

NOTE: if both winbind and unix are used in common-auth, it seems to count as two sessions and thus the network share is NOT unmounted on logout.

DEPRECATED

This page is now officially deprecated and will NOT be updated. See UbuntuWorkstations for our current Ubuntu setup notes.

Sound, USB, etc access

Logins validated by the Windows server won't correctly pickup membership in local groups, making sound, USB devices, etc. inaccessible. To fix that do the following (Thanks to Steve Towson, Marist Brothers International School, Japan):

  1. edit /etc/pam.d/gdm to include
    • auth optional pam_group.so
              
  2. edit /etc/security/group.conf to include
    • gdm;*;*;Al0000-2400;floppy,audio,cdrom,video,plugdev,scanner
             

Explanation:

DEPRECATED

This page is now officially deprecated and will NOT be updated. See UbuntuWorkstations for our current Ubuntu setup notes.

References

DualBoot (last modified 2008-11-17 18:28:50)