Merge lp:~nacc/serverguide/samba into lp:serverguide
| Status: | Merged |
|---|---|
| Approved by: | Doug Smythies on 2016-05-13 |
| Approved revision: | 290 |
| Merged at revision: | 290 |
| Proposed branch: | lp:~nacc/serverguide/samba |
| Merge into: | lp:serverguide |
| Diff against target: |
129 lines (+16/-17) 2 files modified
serverguide/C/network-auth.xml (+6/-7) serverguide/C/samba.xml (+10/-10) |
| To merge this branch: | bzr merge lp:~nacc/serverguide/samba |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Doug Smythies | 2016-04-29 | Approve on 2016-05-13 | |
|
Review via email:
|
|||
Description of the Change
Note that I am unable to test much of the configuration, due to not having a Windows environment, but I verified at least the package naming/availability in 16.04.
| Doug Smythies (dsmythies) wrote : | # |
- 290. By Nish Aravamudan on 2016-04-29
-
Update for Samba4
- Use libpam-winbind instead of libpam-smbpass
- Use cifs-utils instead of smbfs
- Be consistent in use of `systemctl restart smbd.service nmbd.service`
| Nish Aravamudan (nacc) wrote : | # |
Hi Doug,
Thanks for the quick response!
I've updated the systemctl references in the branch.
I would expect your troubles with Xenial are primarily with the lack of smbpass, but I really don't know :) It would be great for you to test and see if it does fix it for you -- I also noticed in this process that we weren't seeding libpam-winbind as part of the 'samba-server' seed, so that's a bugfix I've sent in for Xenial (won't help until .1 probably) and Yak.
| Doug Smythies (dsmythies) wrote : | # |
Nish, thanks for your update.
Back in February, I did manage to get Samba working again, but could only do so by adding the samba users and samba password file, which I had never had to do before. I'll try again with this new information. However, I am really running short of time, so If I can't get to it tonight, it might have to wait for a week.

Nish, thanks very much for this.
I see that when the entire serverguide was updated for "sudo systemctl restart/ start/stop/ ..." two were missed in the Samba chapter. ( I see 4 also were missed in file-server.xml )
However, the entire serverguide uses the "sudo systemctl restart bla.service" method not the shortened version, "sudo systemctl restart bla". It would be preferable to be consistent over the whole document.
So, evidently all my troubles in January and February were because I didn't know to load the "libpam-winbind" package. I'll try that as soon as I can, however I am running low on time before I will be away from internet for a week.