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

« back to all changes in this revision

Viewing changes to source3/librpc/gen_ndr/cli_wbint.c

  • 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:
2509
2509
                                                struct tevent_context *ev,
2510
2510
                                                struct rpc_pipe_client *cli,
2511
2511
                                                struct wbint_RidArray *_rids /* [in] [ref] */,
 
2512
                                                const char **_domain_name /* [out] [ref,charset(UTF8)] */,
2512
2513
                                                struct wbint_Principals *_names /* [out] [ref] */)
2513
2514
{
2514
2515
        struct tevent_req *req;
2527
2528
        state->orig.in.rids = _rids;
2528
2529
 
2529
2530
        /* Out parameters */
 
2531
        state->orig.out.domain_name = _domain_name;
2530
2532
        state->orig.out.names = _names;
2531
2533
 
2532
2534
        /* Result */
2575
2577
        }
2576
2578
 
2577
2579
        /* Copy out parameters */
 
2580
        *state->orig.out.domain_name = *state->tmp.out.domain_name;
2578
2581
        *state->orig.out.names = *state->tmp.out.names;
2579
2582
 
2580
2583
        /* Copy result */
2612
2615
NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
2613
2616
                                 TALLOC_CTX *mem_ctx,
2614
2617
                                 struct wbint_RidArray *rids /* [in] [ref] */,
 
2618
                                 const char **domain_name /* [out] [ref,charset(UTF8)] */,
2615
2619
                                 struct wbint_Principals *names /* [out] [ref] */)
2616
2620
{
2617
2621
        struct wbint_LookupRids r;
2635
2639
        }
2636
2640
 
2637
2641
        /* Return variables */
 
2642
        *domain_name = *r.out.domain_name;
2638
2643
        *names = *r.out.names;
2639
2644
 
2640
2645
        /* Return result */