search for: username_b

Displaying 5 results from an estimated 5 matches for "username_b".

Did you mean: username_a
2019 Jan 21
2
force re-authentication when 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 has not been authenticated for accessing this different share, and should require authentication. the selft written nss source (/etc/nsswitch.conf, additional source for database 'passwd') installs a handler for getpwnam_r() and return...
2019 Jan 21
3
force re-authentication when accessing different shares
...d passdb, you > should be using tdbsam. > > > > > 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 has not been > > authenticated for accessing this different share, and should require > > authentication. > > If you are connecting from a Windows computer that already has a > connection open, it will use that co...
2019 Jan 21
0
force re-authentication when accessing different shares
...;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/%S > ... > -------- 8< ------- > > if in the next step i want to access /data/samba/username_b, samba > should know that the client which is connecting has not been > authenticated for accessing this different share, and should require > authentication. If you are connecting from a Windows computer that already has a connection open, it will use that connection. > > the sel...
2019 Jan 21
0
force re-authentication when accessing different shares
...tdbsam. >> >>> >>> 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 has not been >>> authenticated for accessing this different share, and should require >>> authentication. >> >> If you are connecting from a Windows computer that already has a >> connection open...
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