s4/dsdb/cracknames: Remove unneeded attribute
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 26 Jan 2023 18:59:00 +0000 (07:59 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:31 +0000 (13:52 +0000)
The cracknames code never uses this.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/dsdb/samdb/cracknames.c

index af8730bd7e2ce03db92223129eca9ddaa2f90740..253d80cf59a1621e6e533c31eb0789dc1c811c0d 100644 (file)
@@ -1625,7 +1625,6 @@ WERROR dcesrv_drsuapi_ListInfoServer(struct ldb_context *sam_ctx, TALLOC_CTX *me
        int ret, i;
        const char *str;
        const char *attrs[] = {
-               "dn",
                "dNSHostName",
                "serverReference",
                NULL