| 1 |
This is the 'CIFS on CIFS' backend for Samba. It provides a NTVFS |
| 2 |
backend that talks to a remote CIFS server. The primary aim of this |
| 3 |
backend is for debugging and development, although some people may |
| 4 |
find it useful as a CIFS gateway. |
| 5 |
|
| 6 |
There are two modes of operation: Password specified and delegated |
| 7 |
credentials. |
| 8 |
|
| 9 |
Password specified: |
| 10 |
------------------- |
| 11 |
|
| 12 |
This uses a static username/password in the config file, example: |
| 13 |
|
| 14 |
[myshare] |
| 15 |
ntvfs handler = cifs |
| 16 |
cifs:server = myserver |
| 17 |
cifs:user = tridge |
| 18 |
cifs:password = mypass |
| 19 |
cifs:domain = TESTDOM |
| 20 |
cifs:share = test |
| 21 |
|
| 22 |
|
| 23 |
Delegated credentials: |
| 24 |
---------------------- |
| 25 |
|
| 26 |
If your incoming user is authenticated with Kerberos, and the machine |
| 27 |
account for this Samba4 proxy server is 'trusted for delegation', then |
| 28 |
the Samba4 proxy can forward the client's credentials to the target. |
| 29 |
|
| 30 |
You must be joined to the domain (net join <domain> member). |
| 31 |
|
| 32 |
To set 'trusted for delegation' with MMC, see the checkbox in the |
| 33 |
Computer account property page under Users and Computers. |
| 34 |
|
| 35 |
[myshare] |
| 36 |
ntvfs handler = cifs |
| 37 |
cifs:server = myserver |
| 38 |
cifs:share = test |
| 39 |
|
| 40 |
|