----------------------------------------------------------------------------------
@MSGID: <slrnubfhut.f45.dan@djph.net> 66fafc81
@REPLY: 1@dont-email.me> a52d47e5
@REPLYADDR Dan Purgert <dan@djph.net>
@REPLYTO 2:5075/128 Dan Purgert
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: <slrnubfhut.f45.dan@djph.net>
@RFC-References:
<20230717210521.86130f8c4336fbd2a7d1c42c@gmail.com> 1@dont-email.me>
<20230718073514.e66db53de5f32efce7feaf32@gmail.com> 1@dont-email.me> 1@dont-email.me>
@TZUTC: -0000
@PID: slrn/1.0.3 (Linux)
@TID: FIDOGATE-5.12-ge4e8b94
On 2023-07-19, Paul wrote:
> [...]
> Apparently smb.conf has some sort of password sync, which
> might imply that the smbpasswd and the Linux account and
> passwd are handled the same somehow. Even though there
> is the possibility of setting up Samba server on the
> LM212 side, to use one of three different databases
> for the password.
They`re not, but (as I recall), if the samba user (configured with, iirc
`smbpasswd`) is the same name as a standard user (in /etc/passwd), then
there is a setting that allows samba to execute passwd(1) to keep the
system login in sync with the samba password. Can`t recall ever using
it though :( .
>
> I tested this one, where the password value is the same on the two,
> and the bullwinkle account worked to get me in. It`s possible
> installing samba, provided the smb.conf starting file, to which
> I added my six line stanza.
>
> [...]
>
> The testfile in /topshared
>
> ls -al /topshared
>
> rwx r r nobody nogroup 5 WALLACE.txt
>
> From Win10, I tried to edit the file and I was denied.
> Then I notice /var/log/samba/log.wallace was updated a
> minute or two ago.
>
> Segmentation fault (/usr/sbin/smbd ? hard to tell)
>
> And now I`m editing the file. See how neat it is, to
> not read LOG FILES :-) The test file has five characters
> in it "saved", which is from where I saved out my Notepad
> session into the share, yesterday. And the nobody:nogroup
> suggests I did this as Guest, and not as bullwinkle.
IIRC, samba doesn`t assume samba users are also users on the local
system; although I recall it saving as samba:samba by default (but it`s
been ages since i`ve set up a samba server).
--
|_|O|_|
|_|_|O| Github:
https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
--- slrn/1.0.3 (Linux)
* Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441