winbind apis
Shirish Pargaonkar
shirishpargaonkar at gmail.com
Thu Nov 4 11:49:43 MDT 2010
On Wed, Nov 3, 2010 at 11:23 AM, Shirish Pargaonkar
<shirishpargaonkar at gmail.com> wrote:
> On Wed, Nov 3, 2010 at 11:09 AM, simo <idra at samba.org> wrote:
>> On Wed, 2010-11-03 at 17:02 +0100, Volker Lendecke wrote:
>>> On Wed, Nov 03, 2010 at 11:59:12AM -0400, simo wrote:
>>> > At the very least it would be an API change.
>>> > Potentially also an ABI change, but why should we change it ? bool has
>>> > been standard for quite a while now.
>>>
>>> Then our wbclient.h is broken. Apparently Shirish can not
>>> compile the program due to this severe bug. Otherwise this
>>> discussion would not have come up here.
>>
>> As far as I understand shirish just needs to include stdbool.h in his
>> program.
>> Not ideal, but doesn't look like "severe" to me. Or is there something
>> else I missed ?
>>
>> Simo.
>>
>>
>> --
>> Simo Sorce
>> Samba Team GPL Compliance Officer <simo at samba.org>
>> Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
>>
>>
> Including stdbool.h works. I think AFAIC, including stdbool.h is
> just like include stdint.h in my program or stdio.h, stdlib.h etc..
> I had to include stdint.h for uint16_t etc. to get defined in my .c file.
>
I have not debugged this much but with winbind, I see sid
resolving to name but sometimes they do not.
/tmp # ./getcifsacl /mnt/smb_c/file
Revision: 0x1
Type: 0x9404
Owner: BUILTIN\Administrators
Group: S-1-5-21-2849063682-2007077719-983662776-513
ACE: BUILTIN\Administrators: Denied/ 0x0/ 0x116
ACE: BUILTIN\Administrators: Allowed/ 0x0/ READ
ACE: S-1-5-21-2849063682-2007077719-983662776-513: Allowed/ 0x0/ R W X
ACE: Everyone: Allowed/ 0x0/ 0x120088
/tmp # ./getcifsacl /mnt/smb_c/file
Revision: 0x1
Type: 0x9404
Owner: BUILTIN\Administrators
Group: CIFSTESTDOM\Domain Users
ACE: BUILTIN\Administrators: Denied/ 0x0/ 0x116
ACE: BUILTIN\Administrators: Allowed/ 0x0/ READ
ACE: CIFSTESTDOM\Domain Users: Allowed/ 0x0/ R W X
ACE: Everyone: Allowed/ 0x0/ 0x120088
It is like winbind wakes up after some time (some kind of lag), not sure.
More information about the samba-technical
mailing list