Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 32: Line 32:  
===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
 
  Winbind Domain            - this is the Windows Workgroup name for your SME Server
 
  Winbind Domain            - this is the Windows Workgroup name for your SME Server
Line 44: Line 42:  
  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
Line 53: Line 49:  
  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>
Line 77: Line 70:  
  pam password change = yes
 
  pam password change = yes
 
  hostname lookup = yes  
 
  hostname lookup = yes  
 
+
{{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
 
  smbtree
 
  smbtree
   
If it doesn't appear to have worked then run
 
If it doesn't appear to have worked then run
 
  net rpc join -D <WORKGROUP> -U admin
 
  net rpc join -D <WORKGROUP> -U admin
   
Enter the admin password for the SME server when prompted and you should get a message,
 
Enter the admin password for the SME server when prompted and you should get a message,
 
  Joined domain <WORKGROUP>
 
  Joined domain <WORKGROUP>

Navigation menu