Line 6: |
Line 6: |
| | | |
| ===Install Ubuntu=== | | ===Install Ubuntu=== |
− | Download the Ubuntu .iso and install. When prompted for a user name give a non-SME user such as 'administrator', as this first user effectively becomes a local user with sudo root access. Complete install, login and apply all updates. Install the 'Guest Additions'. | + | Download the Ubuntu .iso and install. |
| + | |
| + | {{Tip box| When prompted for a user name give a non-SME user such as 'administrator', as this first user effectively becomes a local user with sudo root access. |
| + | |
| + | Make sure you set the machine name to something less than 15 characters.}} |
| + | |
| + | Complete install, login and apply all updates. Install the 'Guest Additions'. |
| | | |
| ===Additional Packages=== | | ===Additional Packages=== |
Line 21: |
Line 27: |
| | | |
| Open and edit /etc/samba/smb.conf. Find the relevant lines and alter them or uncomment them as below. Some lines may not exist and may need to be added. | | Open and edit /etc/samba/smb.conf. Find the relevant lines and alter them or uncomment them as below. Some lines may not exist and may need to be added. |
− | workgroup=<WORKGROUP> | + | workgroup = <WORKGROUP> |
− | wins server=<ip of sme server> | + | wins server = <ip of sme server> |
− | security=domain | + | name resolve order = wins host lmhosts bcast |
− | password server=<ip of sme server> | + | security = domain |
− | winbind use default domain=yes
| + | password server = <ip of sme server> |
− | socket options=TCP_NODELAY | + | socket options = TCP_NODELAY |
− | idmap uid=5000-20000 | + | idmap uid = 5000-20000 |
− | idmap gid=5000-20000 | + | idmap gid = 5000-20000 |
− | template shell=/bin/bash | + | template shell = /bin/bash |
− | template homedir=/home/%D/%U | + | template homedir = /home/%D/%U |
− | winbind enum user=yes | + | winbind enum user = yes |
− | winbind enum groups=yes | + | winbind enum groups = yes |
− | winbind cache time=10 | + | winbind cache time = 10 |
| + | winbind use default domain = yes |
| + | |
| + | Replace <WORKGROUP> above with the 'Windows workgroup' name of your SME server. Replace <ip of sme server> above with the internal network ip address of your SME server. |
| + | |
| + | To check validation of smb.conf, run |
| + | testparm |
| + | |
| + | If all OK, then run |
| + | net rpc join -D <WORKGROUP> -U admin |
| + | |
| + | Enter the admin password for the SME server when prompted and you should get a message, |
| + | Joined domain <WORKGROUP> |
| + | |
| | | |
− | Replace <WORKGROUP> above with the workgroup name of your SME server. Replace <ip of sme server> above with the internal network ip address of your SME server.
| |
| | | |
| Edit | | Edit |