Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177105 > unrolled thread
| Started by | "R. Ramesh" <rramesh@verizon.net> |
|---|---|
| First post | 2017-01-29 09:30 +0100 |
| Last post | 2017-02-02 04:50 +0100 |
| Articles | 6 — 2 participants |
Back to article view | Back to linux.debian.user
Samba help. "R. Ramesh" <rramesh@verizon.net> - 2017-01-29 09:30 +0100
Re: Samba help. John Darrah <xyllyx@gmail.com> - 2017-01-29 20:30 +0100
Re: Samba help. John Darrah <xyllyx@gmail.com> - 2017-01-29 20:40 +0100
Re: Re: Samba help. "R. Ramesh" <rramesh@verizon.net> - 2017-01-30 07:50 +0100
Re: Re: Samba help. "R. Ramesh" <rramesh@verizon.net> - 2017-02-02 03:30 +0100
Re: Samba help. "R. Ramesh" <rramesh@verizon.net> - 2017-02-02 04:50 +0100
| From | "R. Ramesh" <rramesh@verizon.net> |
|---|---|
| Date | 2017-01-29 09:30 +0100 |
| Subject | Samba help. |
| Message-ID | <t4T21-4Fp-5@gated-at.bofh.it> |
I recently upgraded my debian jesse to 8.6. All of a sudden all samba
guest access to this box stopped working. I did not update smb.conf file
any time before or after. I vaguely remember that there was a flash of
notes flying by when samba was upgraded, but do not recall what it is.
BTW, I can mount if I provide an actual valid user with password. Only
guest access does not work.
Linux host 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)
i686 GNU/Linux
Samba Version: 2:4.2.14+dfsg-0+deb8u2
Guest access to the following share fails after the upgrade:
[data]
path = /data
create mask = 0755
directory mask = 0755
public = yes
browseable = yes
writable = yes
guest ok = yes
If it is not too much trouble, please copy me your responses
Thanks
Ramesh
[toc] | [next] | [standalone]
| From | John Darrah <xyllyx@gmail.com> |
|---|---|
| Date | 2017-01-29 20:30 +0100 |
| Message-ID | <t53kK-2Ce-11@gated-at.bofh.it> |
| In reply to | #177105 |
On 1/29/2017 12:25 AM, R. Ramesh wrote: > I recently upgraded my debian jesse to 8.6. All of a sudden all samba > guest access to this box stopped working. I did not update smb.conf > file any time before or after. I vaguely remember that there was a > flash of notes flying by when samba was upgraded, but do not recall > what it is. > > BTW, I can mount if I provide an actual valid user with password. Only > guest access does not work. > > Linux host 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2 > (2016-10-19) i686 GNU/Linux > Samba Version: 2:4.2.14+dfsg-0+deb8u2 > > Guest access to the following share fails after the upgrade: > > [data] > path = /data > create mask = 0755 > directory mask = 0755 > public = yes > browseable = yes > writable = yes > guest ok = yes > > If it is not too much trouble, please copy me your responses > > Thanks > > Ramesh > > Check to see that smb.conf was not replaced. If it was, the previous version will be called smb.conf.dpkg-dist or smb.conf.ucf-dist. You will have to compare them with your smb.conf file and merge any differences. -- john
[toc] | [prev] | [next] | [standalone]
| From | John Darrah <xyllyx@gmail.com> |
|---|---|
| Date | 2017-01-29 20:40 +0100 |
| Message-ID | <t53up-2FF-1@gated-at.bofh.it> |
| In reply to | #177118 |
On 1/29/2017 11:25 AM, John Darrah wrote:
> On 1/29/2017 12:25 AM, R. Ramesh wrote:
>> I recently upgraded my debian jesse to 8.6. All of a sudden all samba
>> guest access to this box stopped working. I did not update smb.conf
>> file any time before or after. I vaguely remember that there was a
>> flash of notes flying by when samba was upgraded, but do not recall
>> what it is.
>>
>> BTW, I can mount if I provide an actual valid user with password.
>> Only guest access does not work.
>>
>> Linux host 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2
>> (2016-10-19) i686 GNU/Linux
>> Samba Version: 2:4.2.14+dfsg-0+deb8u2
>>
>> Guest access to the following share fails after the upgrade:
>>
>> [data]
>> path = /data
>> create mask = 0755
>> directory mask = 0755
>> public = yes
>> browseable = yes
>> writable = yes
>> guest ok = yes
>>
>> If it is not too much trouble, please copy me your responses
>>
>> Thanks
>>
>> Ramesh
>>
>>
> Check to see that smb.conf was not replaced. If it was, the previous
> version will be called smb.conf.dpkg-dist or smb.conf.ucf-dist. You
> will have to compare them with your smb.conf file and merge any
> differences.
>
> -- john
>
>
Also check the following in [global] settings:
Change:
map to guest = Bad User
to:
map to guest = nobody
-- john
[toc] | [prev] | [next] | [standalone]
| From | "R. Ramesh" <rramesh@verizon.net> |
|---|---|
| Date | 2017-01-30 07:50 +0100 |
| Message-ID | <t5dWO-EH-5@gated-at.bofh.it> |
| In reply to | #177119 |
> On 1/29/2017 11:25 AM, John Darrah wrote: > > On 1/29/2017 12:25 AM, R. Ramesh wrote: > > I recently upgraded my debian jesse to 8.6. All of a sudden > all samba guest access to this box stopped working. I did not > update smb.conf file any time before or after. I vaguely > remember that there was a flash of notes flying by when samba > was upgraded, but do not recall what it is. BTW, I can mount > if I provide an actual valid user with password. Only guest > access does not work. Linux host 3.16.0-4-686-pae #1 SMP > Debian 3.16.36-1+deb8u2 (2016-10-19) i686 GNU/Linux > > Samba Version: 2:4.2.14+dfsg-0+deb8u2 > > Guest access to the following share fails after the upgrade: > > [data] > path = /data > create mask = 0755 > directory mask = 0755 > public = yes > browseable = yes > writable = yes > guest ok = yes > > If it is not too much trouble, please copy me your responses > > Thanks > > Ramesh > > > Check to see that smb.conf was not replaced. If it was, the > previous version will be called smb.conf.dpkg-dist or > smb.conf.ucf-dist. You will have to compare them with your > smb.conf file and merge any differences. > > -- john > > > Also check the following in [global] settings: > > Change: > > map to guest = Bad User > > to: > > map to guest = nobody > > -- john > Thanks for your help. I remember that apt-get asked if I wanted my smb.conf to be replaced. I said "no." Quick tkdiff between smb.conf and dist version shows that I miss these server role = standalone server map to guest = bad user usershare allow guests = yes Of course, I will fix the second line and add all three and see what happens. Ramesh
[toc] | [prev] | [next] | [standalone]
| From | "R. Ramesh" <rramesh@verizon.net> |
|---|---|
| Date | 2017-02-02 03:30 +0100 |
| Message-ID | <t6fjP-61r-1@gated-at.bofh.it> |
| In reply to | #177119 |
> On 1/29/2017 11:25 AM, John Darrah wrote: > > On 1/29/2017 12:25 AM, R. Ramesh wrote: > > I recently upgraded my debian jesse to 8.6. All of a sudden > all samba guest access to this box stopped working. I did not > update smb.conf file any time before or after. I vaguely > remember that there was a flash of notes flying by when samba > was upgraded, but do not recall what it is. BTW, I can mount > if I provide an actual valid user with password. Only guest > access does not work. Linux host 3.16.0-4-686-pae #1 SMP > Debian 3.16.36-1+deb8u2 (2016-10-19) i686 GNU/Linux > > Samba Version: 2:4.2.14+dfsg-0+deb8u2 > > Guest access to the following share fails after the upgrade: > > [data] > path = /data > create mask = 0755 > directory mask = 0755 > public = yes > browseable = yes > writable = yes > guest ok = yes > > If it is not too much trouble, please copy me your responses > > Thanks > > Ramesh > > > Check to see that smb.conf was not replaced. If it was, the > previous version will be called smb.conf.dpkg-dist or > smb.conf.ucf-dist. You will have to compare them with your > smb.conf file and merge any differences. > > -- john > > > Also check the following in [global] settings: > > Change: > > map to guest = Bad User > > to: > > map to guest = nobody > > -- john > > Thanks for your help. > > I remember that apt-get asked if I wanted my smb.conf to be replaced. > I said "no." Quick tkdiff between smb.conf and dist version shows that > I miss these > server role = standalone server > map to guest = bad user > usershare allow guests = yes > > Of course, I will fix the second line and add all three and see what > happens. > Ramesh > Adding the three lines with "bad user" replaced by "nobody" prevents nmbd from being restarted. It fails to restart and the syslong shows that it does not like nobody and commenting out the line allows restart of service. However I do not have guest mount permitted as before. I tried putting a valid user instead of nobody and nmbd does not like that either. So, I am lost. Ramesh
[toc] | [prev] | [next] | [standalone]
| From | "R. Ramesh" <rramesh@verizon.net> |
|---|---|
| Date | 2017-02-02 04:50 +0100 |
| Message-ID | <t6gzf-6Nd-1@gated-at.bofh.it> |
| In reply to | #177273 |
On 02/01/2017 08:02 PM, R. Ramesh wrote: >> On 1/29/2017 11:25 AM, John Darrah wrote: >> >> On 1/29/2017 12:25 AM, R. Ramesh wrote: >> >> I recently upgraded my debian jesse to 8.6. All of a sudden >> all samba guest access to this box stopped working. I >> did not >> update smb.conf file any time before or after. I vaguely >> remember that there was a flash of notes flying by when >> samba >> was upgraded, but do not recall what it is. BTW, I can >> mount >> if I provide an actual valid user with password. Only guest >> access does not work. Linux host 3.16.0-4-686-pae #1 SMP >> Debian 3.16.36-1+deb8u2 (2016-10-19) i686 GNU/Linux >> >> Samba Version: 2:4.2.14+dfsg-0+deb8u2 >> >> Guest access to the following share fails after the >> upgrade: >> >> [data] >> path = /data >> create mask = 0755 >> directory mask = 0755 >> public = yes >> browseable = yes >> writable = yes >> guest ok = yes >> >> If it is not too much trouble, please copy me your >> responses >> >> Thanks >> >> Ramesh >> >> >> Check to see that smb.conf was not replaced. If it was, the >> previous version will be called smb.conf.dpkg-dist or >> smb.conf.ucf-dist. You will have to compare them with your >> smb.conf file and merge any differences. >> >> -- john >> >> >> Also check the following in [global] settings: >> >> Change: >> >> map to guest = Bad User >> >> to: >> >> map to guest = nobody >> >> -- john >> >> Thanks for your help. >> >> I remember that apt-get asked if I wanted my smb.conf to be replaced. >> I said "no." Quick tkdiff between smb.conf and dist version shows >> that I miss these >> server role = standalone server >> map to guest = bad user >> usershare allow guests = yes >> >> Of course, I will fix the second line and add all three and see what >> happens. >> Ramesh >> > > Adding the three lines with "bad user" replaced by "nobody" prevents > nmbd from being restarted. It fails to restart and the syslong shows > that it does not like nobody and commenting out the line allows > restart of service. However I do not have guest mount permitted as > before. > > I tried putting a valid user instead of nobody and nmbd does not like > that either. So, I am lost. > > Ramesh > > Actually using "map to guest = bad user" is needed for guest mount to work. I read it on samba blog as part of an error report https://samba.plus/blog/ dated (5/3/16) So, problem solved for now (until I upgrade again :-) Ramesh
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web