Line 31: |
Line 31: |
| | | |
| ===Samba Modifications=== | | ===Samba Modifications=== |
− | Open 'System - Administration - Services' and enable 'smb' | + | # Open 'System - Administration - Services' and enable 'smb' |
| | | |
− | Open 'System - Administration - Authentication'. This will open an 'Authentication Configuration' dialogue. | + | # Open 'System - Administration - Authentication'. This will open an 'Authentication Configuration' dialogue. |
| {{Tip box| Do not press the 'Join Domain' button until you have completed the changes below on all three of the dialogue tabs}} | | {{Tip box| Do not press the 'Join Domain' button until you have completed the changes below on all three of the dialogue tabs}} |
− | On the 'User Information' tab tick 'Enable Winbind Support' and press the 'Configure Winbind ' button. | + | #On the 'User Information' tab tick 'Enable Winbind Support' and press the 'Configure Winbind ' button. |
| | | |
| A 'Winbind Configuration' dialogue opens. Complete the boxes with the relevant information and press OK | | A 'Winbind Configuration' dialogue opens. Complete the boxes with the relevant information and press OK |
Line 43: |
Line 43: |
| Template Shell - set this to /bin/bash | | Template Shell - set this to /bin/bash |
| Allow Offline Login - tick | | Allow Offline Login - tick |
− | Change to the 'Authentication' tab. Check 'Enable Winbind Support' is ticked and press the 'Configure Winbind' button. | + | #Change to the 'Authentication' tab. Check 'Enable Winbind Support' is ticked and press the 'Configure Winbind' button. |
| | | |
| A 'Winbind Settings' dialogue opens. Check the values are the same as above and press OK. | | A 'Winbind Settings' dialogue opens. Check the values are the same as above and press OK. |
| | | |
− | Change to the Options tab and check the following are ticked or set | + | #Change to the Options tab and check the following are ticked or set |
| Use Shadow Passwords | | Use Shadow Passwords |
| Password Hashing Algorithym - MD5 | | Password Hashing Algorithym - MD5 |
| Local Authorization is sufficient for local users | | Local Authorization is sufficient for local users |
| Create Home directories on first login | | Create Home directories on first login |
− | Now change back to the 'User Information' tab, press 'Configure Winbind' and then 'Join Domain'. Save the configuration when prompted. | + | #Now change back to the 'User Information' tab, press 'Configure Winbind' and then 'Join Domain'. Save the configuration when prompted. |
| | | |
− | Close this application down. | + | #Close this application down. |
| | | |
− | Open an 'Applications - Accessories - Terminal' cli and 'su' to root | + | #Open an 'Applications - Accessories - Terminal' cli and 'su' to root |
| | | |
− | Open and edit /etc/samba/smb.conf. Under [global] there will be a section commented as having been generated by authconfig. Check this section is as below. Some lines may not exist and may need to be added. | + | #Open and edit /etc/samba/smb.conf. Under [global] there will be a section commented as having been generated by authconfig. Check this section is as below. Some lines may not exist and may need to be added. |
| workgroup = <WORKGROUP> | | workgroup = <WORKGROUP> |
| password server = <ip of sme server> | | password server = <ip of sme server> |
Line 80: |
Line 80: |
| Replace <WORKGROUP> above (and below) 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. | | Replace <WORKGROUP> above (and below) 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. |
| {{Note box| If you run the 'System - Administration - Authentication' tool again your amendments will be lost}} | | {{Note box| If you run the 'System - Administration - Authentication' tool again your amendments will be lost}} |
− | To check validation of smb.conf, run | + | #To check validation of smb.conf, run |
| testparm | | testparm |
| | | |
− | The 'Join Domain' above should also have worked so to list users, groups and available shares respectively from the SME server, test with | + | #The 'Join Domain' above should also have worked so to list users, groups and available shares respectively from the SME server, test with |
| wbinfo -u | | wbinfo -u |
| wbinfo -g | | wbinfo -g |