[PATCH] samba4 proxy wild-card shares

Amin Azez azez at ufomechanic.net
Thu Dec 6 16:40:32 GMT 2007


When credential delegation is working it's a bit of a shame to have to
define every single proxied shares.

The attached patch is a first stab at wildcard proxying.

It's implemented in param/share.c but perhaps it should be handled in
each of the backends.

A typical wildcard share definition would be:

[*]
        ntvfs handler = cifs
        cifs:server =server.domain

and then any/every share is proxied.

I'm worried that this is to broad and there may want to be %M %U type
expansion and comparisons in selecting wildcard shares, but:

[*:%U=Admin*]

seems a bit ugly

Sam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wildcard-share.patch
Type: text/x-patch
Size: 1056 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071206/f2d2d344/wildcard-share.bin


More information about the samba-technical mailing list