issues spotted by andrej: %s\\%s not %s\%s
authorLuke Leighton <lkcl@samba.org>
Wed, 2 Dec 1998 16:20:36 +0000 (16:20 +0000)
committerLuke Leighton <lkcl@samba.org>
Wed, 2 Dec 1998 16:20:36 +0000 (16:20 +0000)
(This used to be commit 779a7aa30d4b8a3c8ca1d817a3fd9886c0437def)

source3/lib/domain_namemap.c
source3/rpc_client/cli_lsarpc.c
source3/rpc_server/srv_lookup.c

index 8bfaba287b70b30b411e2ec1fb68e6cddbafc5e3..407de944a785022b4d611aaa002fab7f32eaaba4 100644 (file)
@@ -303,7 +303,7 @@ static BOOL make_mydomain_sid(DOM_NAME_MAP *grp, DOM_MAP_TYPE type)
        {
                if (type != DOM_MAP_USER)
                {
-                       DEBUG(0,("well-known NT user %s\%s listed in wrong map file\n",
+                       DEBUG(0,("well-known NT user %s\\%s listed in wrong map file\n",
                                  grp->nt_domain, grp->nt_name));
                        return False;
                }
@@ -313,7 +313,7 @@ static BOOL make_mydomain_sid(DOM_NAME_MAP *grp, DOM_MAP_TYPE type)
        {
                if (type != DOM_MAP_DOMAIN)
                {
-                       DEBUG(0,("well-known NT group %s\%s listed in wrong map file\n",
+                       DEBUG(0,("well-known NT group %s\\%s listed in wrong map file\n",
                                  grp->nt_domain, grp->nt_name));
                        return False;
                }
index 087ee5dadee671dc49b580b785eb51e2c5b08d0d..81202fedb59ba4cecb4db1fb930770759e9bb3b1 100644 (file)
@@ -310,6 +310,7 @@ BOOL do_lsa_lookup_sids(struct cli_state *cli,
                                        fstrcpy(name    , unistr2_to_str(&t_names.uni_name[i]));
                                        
                                        memset(full_name, 0, sizeof(full_name));
+
                                        slprintf(full_name, sizeof(full_name)-1, "%s\\%s",
                                                 dom_name, name);
 
index fc73edc4edb7d97167c1f3de7eecab62a56dd872..c97a4cd0b9973c4a2ead1ea77ad455fc321023aa 100644 (file)
@@ -453,7 +453,7 @@ uint32 lookup_added_alias_name(const char *als_name, const char *domain,
        LOCAL_GRP *als = NULL;
        (*type) = SID_NAME_ALIAS;
 
-       DEBUG(5,("lookup_added_alias_name: name: %s\%s", domain, als_name));
+       DEBUG(5,("lookup_added_alias_name: name: %s\\%s", domain, als_name));
 
        if (!strequal(domain, global_sam_name))
        {