~ubuntu-branches/ubuntu/precise/krb5/precise-updates

« back to all changes in this revision

Viewing changes to src/windows/identity/sample/templates/credprov/version.rc

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2011-12-01 19:34:41 UTC
  • mfrom: (28.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20111201193441-9tipg3aru1jsidyv
Tags: 1.10+dfsg~alpha1-6
* Fix segfault with unknown hostnames in krb5_sname_to_principal,
  Closes: #650671
* Indicate that this library breaks libsmbclient versions that depend on
  krb5_locate_kdc, Closes: #650603, #650611

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2006 Secure Endpoints Inc.
2
 
 *
3
 
 * Permission is hereby granted, free of charge, to any person
4
 
 * obtaining a copy of this software and associated documentation
5
 
 * files (the "Software"), to deal in the Software without
6
 
 * restriction, including without limitation the rights to use, copy,
7
 
 * modify, merge, publish, distribute, sublicense, and/or sell copies
8
 
 * of the Software, and to permit persons to whom the Software is
9
 
 * furnished to do so, subject to the following conditions:
10
 
 *
11
 
 * The above copyright notice and this permission notice shall be
12
 
 * included in all copies or substantial portions of the Software.
13
 
 *
14
 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
 
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
 
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
 
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18
 
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19
 
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
 
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
 
 * SOFTWARE.
22
 
 *
23
 
 */
24
 
 
25
 
/* $Id$ */
26
 
 
27
 
#include "credprov.h"
28
 
#include<netidmgr_version.h>
29
 
 
30
 
/* We use the same version.rc file for the main plugin DLL as well as
31
 
   for the localized resource DLLs.*/
32
 
 
33
 
#ifndef LANGVER
34
 
 
35
 
#define STR_FILEDESC "My Credentials Provider Plugin for NetIDMgr"
36
 
#define STR_INTNAME  MYPLUGIN_NAME
37
 
#define STR_ORIGNAME MYPLUGIN_DLLBASE ".dll"
38
 
 
39
 
#else
40
 
 
41
 
#ifdef LANG_en_us
42
 
 
43
 
#define STR_FILEDESC "English(US) language resources for My Credentials Provider"
44
 
#define STR_INTNAME  MYPLUGIN_DLLBASE "_en_us"
45
 
#define STR_ORIGNAME MYPLUGIN_DLLBASE "_en_us.dll"
46
 
 
47
 
#else
48
 
 
49
 
#error Unknown langugae
50
 
 
51
 
#endif
52
 
 
53
 
#endif
54
 
 
55
 
1 VERSIONINFO 
56
 
        FILEVERSION     VERSION_LISTC
57
 
        PRODUCTVERSION  VERSION_LISTC
58
 
        FILEFLAGSMASK   KH_VER_FILEFLAGMASK
59
 
        FILEFLAGS       KH_VER_FILEFLAGS
60
 
        FILEOS          KH_VER_FILEOS
61
 
        FILETYPE        KH_VER_FILETYPEDLL
62
 
        FILESUBTYPE     0
63
 
  {
64
 
 
65
 
    BLOCK "StringFileInfo"
66
 
    {
67
 
      BLOCK "040904b0"
68
 
      {
69
 
        VALUE "CompanyName",     "My Company"
70
 
        VALUE "FileDescription", "My Credentials Provider Plugin"
71
 
        VALUE "FileVersion",     VERSION_STRING
72
 
        VALUE "InternalName",    STR_INTNAME
73
 
        VALUE "LegalCopyright",  "(C) 2006 My Company"
74
 
        VALUE "OriginalFilename", STR_ORIGNAME
75
 
        VALUE "ProductName",     "My Plugin Product"
76
 
        VALUE "ProductVersion",  VERSION_STRING
77
 
#ifndef LANGVER
78
 
        VALUE NIMV_MODULE,       MYMODULE_NAME
79
 
 
80
 
/* if more than one plugin is provided by this module, then all of
81
 
   those plugins should be listed here separated by commas. */
82
 
        VALUE NIMV_PLUGINS,      MYPLUGIN_NAME
83
 
 
84
 
        VALUE NIMV_APIVER,       KH_VERSION_STRINGAPI
85
 
        VALUE NIMV_SUPPORT,      "http://example.com/myplugin"
86
 
#endif
87
 
      }
88
 
    }
89
 
 
90
 
    BLOCK "VarFileInfo"
91
 
    {
92
 
        VALUE "Translation", 0x409, 1200
93
 
    }
94
 
  }