I'm trying to work out a way to force password authentication on a cifs share instead of trusting the user that's passed from the connecting client.
Is there any way to do this without linking into an external auth service? I have everything working fine as documented, If i'm logged into a windows machine as "foo" and create a share on freenas with user "foo" it all works automatically, but that's really not secure enough for what I'm trying to do.
I can also auth with the local smb client and password as so:
Is there any way to do this without linking into an external auth service? I have everything working fine as documented, If i'm logged into a windows machine as "foo" and create a share on freenas with user "foo" it all works automatically, but that's really not secure enough for what I'm trying to do.
I can also auth with the local smb client and password as so:
Code:
[root@deathstar] ~# /usr/local/bin/smbclient -U foo //localhost/foo Enter foo's password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.17] smb: \>