Displaying 5 results from an estimated 5 matches for "username_a".
2019 Jan 21
2
force re-authentication when accessing different shares
thats interesting. shouldn't samba force to authenticate every distinct
username, accessing different shares?
as written, if i want to access directory /data/samba/username_a, i need to
supply the correct password for username_a, as hashed
in smbpasswd.
smb.conf:
-------- 8< -------
...
valid users = %S
path = /data/samba/%S
...
-------- 8< -------
if in the next step i want to access /data/samba/username_b, samba should
know that the client which is connecting...
2019 Jan 21
3
force re-authentication when accessing different shares
...nt clients, yes, but as Samba tries to work just like
> Windows, not from the same client. Windows only allows one user at once
> to log in, so it only allows one connection to Samba from the Windows
> computer.
>
> >
> > as written, if i want to access directory /data/samba/username_a, i
> > need to supply the correct password for username_a, as hashed
> > in smbpasswd.
>
> That's another thing, you shouldn't be using the smbpasswd passdb, you
> should be using tdbsam.
>
> >
> > smb.conf:
> > -------- 8< -------
> > ......
2019 Jan 21
0
force re-authentication when accessing different shares
...ferent shares?
From different clients, yes, but as Samba tries to work just like
Windows, not from the same client. Windows only allows one user at once
to log in, so it only allows one connection to Samba from the Windows
computer.
>
> as written, if i want to access directory /data/samba/username_a, i
> need to supply the correct password for username_a, as hashed
> in smbpasswd.
That's another thing, you shouldn't be using the smbpasswd passdb, you
should be using tdbsam.
>
> smb.conf:
> -------- 8< -------
> ...
> valid users = %S
> path = /data/samba/%...
2019 Jan 21
0
force re-authentication when accessing different shares
...s Samba tries to work just like
>> Windows, not from the same client. Windows only allows one user at once
>> to log in, so it only allows one connection to Samba from the Windows
>> computer.
>>
>>>
>>> as written, if i want to access directory /data/samba/username_a, i
>>> need to supply the correct password for username_a, as hashed
>>> in smbpasswd.
>>
>> That's another thing, you shouldn't be using the smbpasswd passdb, you
>> should be using tdbsam.
>>
>>>
>>> smb.conf:
>>> ------...
2019 Jan 18
3
force re-authentication when accessing different shares
hi all!
using samba 4.9 to export directories for 'virtual' users, i.e. users which
have distinct homedirectories and distinct smbpasswd entries under a
writeable /data partition.
to prevent the need to create /etc/passwd useraccounts (on read-only /), a
self written libnss modul acts as a source. the lib only checks if the
homedirectory exists, returns a fake passwd struct, and finally