r16797: Add msdfs proxy junctions in the netdfs rpc enumeration.
authorGünther Deschner <gd@samba.org>
Tue, 4 Jul 2006 13:49:17 +0000 (13:49 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:19:11 +0000 (11:19 -0500)
Guenther
(This used to be commit 6bf350895a648ef9b824c94b894e8d7a8989eb97)

source3/smbd/msdfs.c

index 55a6850478fa69d2dd9c34b6052086f7eac88480..b22b5674d6fd651b3357038b773d9148a282d001 100644 (file)
@@ -1058,6 +1058,7 @@ static int form_junctions(TALLOC_CTX *ctx, int snum, struct junction_map *jucn,
        ref->ttl = REFERRAL_TTL;
        if (*lp_msdfs_proxy(snum) != '\0') {
                pstrcpy(ref->alternate_path, lp_msdfs_proxy(snum));
+               cnt++;
                goto out;
        }