~ubuntu-branches/ubuntu/oneiric/samba/oneiric-security

« back to all changes in this revision

Viewing changes to .pc/fix-windows7-print-connection.patch/librpc/gen_ndr/misc.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-03-10 10:03:01 UTC
  • mfrom: (0.39.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110310100301-jfjg41wv0iq05zj4
Tags: 2:3.5.8~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access. 
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/mksmbpasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd
  + debian/control:
    - Make libwbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
    - Add cuups breaks to push the package to aslo upgrade cups (LP: #639768)
  + debian/rules:
    - enable "native" PIE hardening.
    - Add BIND_NOW to maximize benefit of RELRO hardening.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
    - Don't ship the /etc/network/if-up.d file.
  + debian/samba.postinst: 
    - Fixed bashism.
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/samba.logrotate: Make it upstart compatible
  + debian/samba-common.dhcp: Fix typo to get a proper parsing in
    /etc/samba/dhcp.
  + Dropped:
    - debian/patches/fix-windows7-print-connection.patch: Merged upstream.
    - debian/patches/security-CVE-2011-0719.patch: Merged upstream. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* header auto-generated by pidl */
2
 
 
3
 
#include <stdint.h>
4
 
 
5
 
#include "libcli/util/ntstatus.h"
6
 
 
7
 
#ifndef _HEADER_misc
8
 
#define _HEADER_misc
9
 
 
10
 
struct GUID {
11
 
        uint32_t time_low;
12
 
        uint16_t time_mid;
13
 
        uint16_t time_hi_and_version;
14
 
        uint8_t clock_seq[2];
15
 
        uint8_t node[6];
16
 
}/* [noprint,gensize,public] */;
17
 
 
18
 
struct ndr_syntax_id {
19
 
        struct GUID uuid;
20
 
        uint32_t if_version;
21
 
}/* [public] */;
22
 
 
23
 
struct policy_handle {
24
 
        uint32_t handle_type;
25
 
        struct GUID uuid;
26
 
}/* [public] */;
27
 
 
28
 
enum netr_SchannelType
29
 
#ifndef USE_UINT_ENUMS
30
 
 {
31
 
        SEC_CHAN_NULL=(int)(0),
32
 
        SEC_CHAN_WKSTA=(int)(2),
33
 
        SEC_CHAN_DNS_DOMAIN=(int)(3),
34
 
        SEC_CHAN_DOMAIN=(int)(4),
35
 
        SEC_CHAN_BDC=(int)(6)
36
 
}
37
 
#else
38
 
 { __donnot_use_enum_netr_SchannelType=0x7FFFFFFF}
39
 
#define SEC_CHAN_NULL ( 0 )
40
 
#define SEC_CHAN_WKSTA ( 2 )
41
 
#define SEC_CHAN_DNS_DOMAIN ( 3 )
42
 
#define SEC_CHAN_DOMAIN ( 4 )
43
 
#define SEC_CHAN_BDC ( 6 )
44
 
#endif
45
 
;
46
 
 
47
 
struct KRB5_EDATA_NTSTATUS {
48
 
        NTSTATUS ntstatus;
49
 
        uint32_t unknown1;
50
 
        uint32_t unknown2;
51
 
}/* [public] */;
52
 
 
53
 
enum winreg_Type
54
 
#ifndef USE_UINT_ENUMS
55
 
 {
56
 
        REG_NONE=(int)(0),
57
 
        REG_SZ=(int)(1),
58
 
        REG_EXPAND_SZ=(int)(2),
59
 
        REG_BINARY=(int)(3),
60
 
        REG_DWORD=(int)(4),
61
 
        REG_DWORD_BIG_ENDIAN=(int)(5),
62
 
        REG_LINK=(int)(6),
63
 
        REG_MULTI_SZ=(int)(7),
64
 
        REG_RESOURCE_LIST=(int)(8),
65
 
        REG_FULL_RESOURCE_DESCRIPTOR=(int)(9),
66
 
        REG_RESOURCE_REQUIREMENTS_LIST=(int)(10),
67
 
        REG_QWORD=(int)(11)
68
 
}
69
 
#else
70
 
 { __donnot_use_enum_winreg_Type=0x7FFFFFFF}
71
 
#define REG_NONE ( 0 )
72
 
#define REG_SZ ( 1 )
73
 
#define REG_EXPAND_SZ ( 2 )
74
 
#define REG_BINARY ( 3 )
75
 
#define REG_DWORD ( 4 )
76
 
#define REG_DWORD_BIG_ENDIAN ( 5 )
77
 
#define REG_LINK ( 6 )
78
 
#define REG_MULTI_SZ ( 7 )
79
 
#define REG_RESOURCE_LIST ( 8 )
80
 
#define REG_FULL_RESOURCE_DESCRIPTOR ( 9 )
81
 
#define REG_RESOURCE_REQUIREMENTS_LIST ( 10 )
82
 
#define REG_QWORD ( 11 )
83
 
#endif
84
 
;
85
 
 
86
 
union winreg_Data {
87
 
        const char * string;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_SZ)] */
88
 
        DATA_BLOB binary;/* [flag(LIBNDR_FLAG_REMAINING),case(REG_BINARY)] */
89
 
        uint32_t value;/* [case(REG_DWORD)] */
90
 
        const char ** string_array;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_MULTI_SZ)] */
91
 
        DATA_BLOB data;/* [flag(LIBNDR_FLAG_REMAINING),default] */
92
 
}/* [public,nodiscriminant,flag(LIBNDR_FLAG_LITTLE_ENDIAN)] */;
93
 
 
94
 
#endif /* _HEADER_misc */