[Samba] [PATCH] Re: Samba 4.1 DFS Share only access by administrator

Garming Sam garming at catalyst.net.nz
Mon Dec 23 13:53:02 MST 2013


Installing it should just install the binaries, but it would be wise to 
perform a backup.

https://wiki.samba.org/index.php/Backup_and_Recovery

Probably one of the main potential issues though is that if you weren't 
building from source originally, is that some of the directory locations 
may be in conflict. So just be wary.


Cheers,

Garming Sam


On 23/12/13 23:31, Daniel Müller wrote:
> In my case there are  users working on the shares.
> So can I apply this patch to the source and make install- and only the binaries are written?
> What about my ldb files ? Are they overwritten?
>
> Greetings
> Daniel
>
> -----------------------------------------------
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
>
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> -----------------------------------------------
> -----Ursprüngliche Nachricht-----
> Von: Garming Sam [mailto:garming at catalyst.net.nz]
> Gesendet: Montag, 23. Dezember 2013 05:50
> An: mueller at tropenklinik.de; samba at lists.samba.org
> Cc: 'Andrew Bartlett'
> Betreff: Re: AW: [PATCH] Re: [Samba] Samba 4.1 DFS Share only access by administrator
>
>
> The patch will only work on the source code. There's no way to apply it directly unfortunately.
>
> You'll need a copy of the samba source code and then you can apply the patch file. The following link may be helpful:
>
> http://www.samba.org/samba/patches/
>
>   From there you'd need to build samba and install it. I apologise if I can't be of much more help than this.
>
>
>
> Thanks,
>
> Garming Sam
>
>
>
> On 19/12/13 19:38, Daniel Müller wrote:
>> How do I run this patch? Is there a tool within samba 4?
>>
>> Greetings
>> Daniel
>>
>> -----------------------------------------------
>> EDV Daniel Müller
>>
>> Leitung EDV
>> Tropenklinik Paul-Lechler-Krankenhaus
>> Paul-Lechler-Str. 24
>> 72076 Tübingen
>>
>> Tel.: 07071/206-463, Fax: 07071/206-499
>> eMail: mueller at tropenklinik.de
>> Internet: www.tropenklinik.de
>> -----------------------------------------------
>> -----Ursprüngliche Nachricht-----
>> Von: Garming Sam [mailto:garming at catalyst.net.nz]
>> Gesendet: Donnerstag, 19. Dezember 2013 00:44
>> An: mueller at tropenklinik.de; samba at lists.samba.org; samba-technical at lists.samba.org
>> Cc: 'Andrew Bartlett'
>> Betreff: Re: [PATCH] Re: [Samba] Samba 4.1 DFS Share only access by administrator
>>
>> On 19/12/13 11:51, Garming Sam wrote:
>>> Hi there,
>>>
>>> I've attached a patch which should hopefully fix the problem you've
>>> identified. The patch forces a call, create_conn_struct to always
>>> assume root privileges and so this should fix the problem of only the
>>> administrator being able to access the share.
>>>
>>>
>>>
>>> Cheers,
>>>
>>> Garming Sam
>> Apologies, fixed an error in the patch and actually properly tested it this time.
>>
>> Hopefully this fixes the problem this time.
>>
>> Cheers,
>>
>> Garming Sam
>>
>



More information about the samba mailing list