~ubuntu-branches/ubuntu/vivid/samba/vivid

« back to all changes in this revision

Viewing changes to librpc/idl/epmapper.idl

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + 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/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + 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.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - 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/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
          with.
31
31
        */
32
32
 
 
33
        const int EPMAPPER_STATUS_CANT_PERFORM_OP = 0x6d8;
33
34
        const int EPMAPPER_STATUS_NO_MORE_ENTRIES = 0x16c9a0d6;
34
35
        const int EPMAPPER_STATUS_NO_MEMORY = 0x16C9A012;
35
36
        const int EPMAPPER_STATUS_OK = 0;
36
37
 
37
 
 
38
 
 
39
38
        typedef [enum8bit] enum {
40
39
                
41
40
                /* Level 4 and higher */
216
215
        } epm_tower;
217
216
 
218
217
        typedef struct {
219
 
                [value(ndr_size_epm_tower(&tower, ndr->iconv_convenience, ndr->flags))] uint32  tower_length;
 
218
                [value(ndr_size_epm_tower(&tower, ndr->flags))] uint32  tower_length;
220
219
                [subcontext(4)] epm_tower tower;
221
220
        } epm_twr_t;
222
221
 
255
254
                [in]            uint32          num_ents,
256
255
                [in, size_is(num_ents)]  epm_entry_t entries[]
257
256
                );
258
 
    
 
257
 
 
258
        typedef [v1_enum] enum {
 
259
                RPC_C_EP_ALL_ELTS               = 0x00000000,
 
260
                RPC_C_EP_MATCH_BY_IF            = 0x00000001,
 
261
                RPC_C_EP_MATCH_BY_OBJ           = 0x00000002,
 
262
                RPC_C_EP_MATCH_BY_BOTH          = 0x00000003
 
263
        } epm_InquiryType;
 
264
 
 
265
        typedef [v1_enum] enum {
 
266
                RPC_C_VERS_ALL                  = 0x00000000,
 
267
                RPC_C_VERS_COMPATIBLE           = 0x00000001,
 
268
                RPC_C_VERS_EXACT                = 0x00000002,
 
269
                RPC_C_VERS_MAJOR_ONLY           = 0x00000003,
 
270
                RPC_C_VERS_UPTO                 = 0x00000004
 
271
        } epm_VersionOption;
 
272
 
259
273
        /**********************/
260
274
        /* Function 0x02      */
261
275
        error_status_t epm_Lookup(
262
 
                [in]            uint32          inquiry_type,
263
 
                [in,ptr]       GUID            *object,
264
 
                [in,ptr]       rpc_if_id_t     *interface_id,
265
 
                [in]            uint32          vers_option,
266
 
                [in,out]        policy_handle   *entry_handle,
267
 
                [in]            uint32          max_ents,
268
 
                [out]           uint32          *num_ents,
 
276
                [in]            epm_InquiryType    inquiry_type,
 
277
                [in,ptr]        GUID               *object,
 
278
                [in,ptr]        rpc_if_id_t        *interface_id,
 
279
                [in]            epm_VersionOption  vers_option,
 
280
                [in,out]        policy_handle      *entry_handle,
 
281
                [in]            uint32             max_ents,
 
282
                [out]           uint32             *num_ents,
269
283
                [out, length_is(*num_ents), size_is(max_ents)]  epm_entry_t entries[]
270
284
                );
271
285