Default to "passdb.xml" as default output filename instead of "-"
authorJelmer Vernooij <jelmer@samba.org>
Mon, 21 Apr 2003 01:56:13 +0000 (01:56 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 21 Apr 2003 01:56:13 +0000 (01:56 +0000)
(This used to be commit aa4c11370bb09bfd20d02da509ebdd6dc475439d)

source3/modules/xml.c

index 1a4aeeeac053e9f30d6855fa1a1db3893af5a6d3..d018175d38954a46956043d0310568a22f427da3 100644 (file)
@@ -554,7 +554,7 @@ NTSTATUS xmlsam_init(PDB_CONTEXT * pdb_context, PDB_METHODS ** pdb_method,
 
        data = talloc(pdb_context->mem_ctx, sizeof(pdb_xml));
        data->location =
-               (location ? talloc_strdup(pdb_context->mem_ctx, location) : "-");
+               (location ? talloc_strdup(pdb_context->mem_ctx, location) : "passdb.xml");
        data->pwent = NULL;
        data->written = 0;
        (*pdb_method)->private_data = data;