[Samba] AD + winbindd(8): group permissions being ignored ? WTF ?

Wilkinson, Alex alex.wilkinson at dsto.defence.gov.au
Mon Aug 13 13:10:46 GMT 2007


    0n Mon, Aug 13, 2007 at 01:44:19AM -0700, Doug VanLeuven wrote: 

    >Have a look and see if this report is relevant in your case (it's fairly
    >long): >https://bugzilla.samba.org/show_bug.cgi?id=3990

This is my *exact* problem. I am using version 3.0.25a,1.1. And looking at
work/samba-3.0.25a/source/smbd/sec_ctx.c it looks like Björn Jacke's patch has
not been included. So I proceed to apply the patch myself and run into:

    # patch -p0 < group_fix_patch.txt
    Hmm...  Looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |Index: source/smbd/sec_ctx.c
    |===================================================================
    |--- source/smbd/sec_ctx.c      (Revision 23033)
    |+++ source/smbd/sec_ctx.c      (Arbeitskopie)
    --------------------------
    Patching file source/smbd/sec_ctx.c using Plan A...
    Hunk #1 succeeded at 248 (offset 2 lines).
    done
    #

    #cd /usr/ports/net/samba3/
    #make install
    ===>  Patching for samba-3.0.25a_1,1
    ===>  Applying FreeBSD patches for samba-3.0.25a_1,1
    1 out of 5 hunks failed--saving rejects to smbd/sec_ctx.c.rej
    => Patch patch-smbd_sec_ctx.c failed to apply cleanly.
    => Patch(es) patch-Makefile.in patch-client_client.c patch-configure.in
    patch-include_includes.h patch-lib_ico
    nv.c patch-lib_replace_libreplace_cc.m4 patch-nsswitch_pam_winbind.c
    patch-nsswitch_winbindd.c patch-pam_smbpa
    ss_pam_smb_auth.c patch-pam_smbpass_pam_smb_passwd.c patch-pam_smbpass_support.c
    patch-script_installbin.sh.in
     patch-script_installswat.sh patch-smbd_aio.c applied cleanly.
    *** Error code 1

I *really* need this patch so that I can manage shared data via AD groups.
Can anyone lend a helping hand in making samba compile in FreeBSD ports with the
following patch [http://marc.info/?l=samba-technical&m=117976475614078&w=2] ?

Or can the FreeBSD net/samba3 port maintainer get this patch included into the
port ASAP ?

Thanks

 -aW

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.




More information about the samba mailing list