Volker Lendecke
148452b446
libwbclient: Use wbcCtxUnixIdsToSids in wbcCtxGidToSid
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2016-02-22 20:29:16 +01:00
Volker Lendecke
1e4e215f2f
libwbclient: Use wbcCtxUnixIdsToSids in wbcCtxUidToSid
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2016-02-22 20:29:16 +01:00
Volker Lendecke
122b1a3650
libwbclient: Use wbcCtxSidsToUnixIds in wbcCtxSidToGid
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2016-02-22 20:29:15 +01:00
Volker Lendecke
fbbe017820
libwbclient: Use wbcCtxSidsToUnixIds in wbcCtxSidToUid
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2016-02-22 20:29:15 +01:00
Volker Lendecke
171931cf7d
libwbclient: Implement wbc[Ctx]UnixIdsToSids
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2016-02-22 20:29:15 +01:00
Matthew Newton
063c56dba5
Add context versions of wbclient functions
...
To make the libwbclient library thread-safe, all functions
that call through to wb_common winbindd_request_response need
to have context that they can use. This commit adds all the
necessary functions.
Signed-off-by: Matthew Newton <matthew-git@newtoncomputing.co.uk>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-03-10 00:50:10 +01:00
Andrew Tridgell
7945949177
libwbclient: added support for WBC_ID_TYPE_BOTH
...
the Samba4 winbindd allows for a single SID to map to both a user and
group id. This is used to support files with the owner_sid set to a
group
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2011-09-23 00:16:41 +02:00
Andrew Tridgell
38198e8f3e
nsswitch: make the wbcSidsToUnixIds() parser more robust
...
this allows it to handle new types of responses
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08 15:09:54 +02:00
Volker Lendecke
a93c49d7e6
libwbclient: Add wbcSidsToUnixIds
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
7ffa7e4bca
libwbclient: Use wbcSidToStringBuf
2011-03-05 14:29:32 +01:00
Michael Adam
0def826ec5
Revert "libwbclient: remove two unused defines"
...
This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f.
Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
7dca8bcbb9
Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more"
...
This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955.
Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
1f4a06e64f
Revert "libwbclient: remove wbcSetGidMapping() - not implemented any more"
...
This reverts commit 52e1be2139d370bf0ce99371bc9ab73db41c6236.
Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
ecbb223989
Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"
...
This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d.
Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
75b2a2f999
Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"
...
This reverts commit 393c866c517636e94b48ca6030a57b712892d568.
Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
748cccde42
Revert "libwbclient: remove wbcSetUidHwm() - not implemented any more"
...
This reverts commit 6558323c84cdd929716c59ba66d2ae6b699931d2.
Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
7a3bc46e7b
Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"
...
This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3.
Undo the library version bump.
2011-02-10 13:57:31 +01:00
Michael Adam
68a9b726be
libwbclient: remove wbcSetGidHwm() - not implemented any more
2011-01-27 21:58:02 +01:00
Michael Adam
6558323c84
libwbclient: remove wbcSetUidHwm() - not implemented any more
2011-01-27 21:57:24 +01:00
Michael Adam
393c866c51
libwbclient: remove wbcRemoveGidMapping() - not implemented any more
2011-01-27 21:56:47 +01:00
Michael Adam
1ed5961df2
libwbclient: remove wbcRemoveUidMapping() - not implemented any more
2011-01-27 21:56:11 +01:00
Michael Adam
52e1be2139
libwbclient: remove wbcSetGidMapping() - not implemented any more
2011-01-27 21:55:42 +01:00
Michael Adam
25a0dc44f7
libwbclient: remove wbcSetUidMapping() - not implemented any more
2011-01-27 21:54:25 +01:00
Michael Adam
58bf6f9ff0
libwbclient: remove two unused defines
2011-01-27 21:46:12 +01:00
Michael Adam
1ac8bf4ea8
libwbclient: unimplement wbcRemoveGidMapping()
...
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
89100cb509
libwbclient: unimplement wbcRemoveUidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
788123ec2e
libwbclient: unimplement wbcSetGidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
2e65703508
libwbclient: unimplement wbcSetUidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
ec33a624a3
libwbclient: unimplement wbcSetGidHwm()
...
Michael
2010-08-14 02:10:31 +02:00
Michael Adam
e09a269bcc
libwbclient: unimplement wbcSetUidHwm()
...
Michael
2010-08-14 02:10:31 +02:00
Volker Lendecke
be813ff2d4
libwbclient: Re-Fix a bug that was fixed with e5741e27c4c
...
> r21878: Fix a bug with smbd serving a windows terminal server: If winbind
> decides smbd to be idle it might happen that smbd needs to do a winbind
> operation (for example sid2name) as non-root. This then fails to get the
> privileged pipe. When later on on the same connection another authentication
> request comes in, we try to do the CRAP auth via the non-privileged pipe.
>
> This adds a winbindd_priv_request_response() request that kills the existing
> winbind pipe connection if it's not privileged.
The fix for this was lost during the conversion to libwbclient.
Thanks to Ira Cooper <samba@ira.wakeful.net> for pointing this out!
Volker
2010-04-13 13:30:53 +02:00
Kai Blin
b99d9f86e4
libwbclient: Separate out the async functions
2010-02-13 14:30:36 +01:00
Kai Blin
57886720bb
libwbclient: Implement wbcGidToSid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
ada6e26d5e
libwbclient: Implement wbcSidToGid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
446b4aa17c
libwbclient: Implement wbcUidToSid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
4ff1906357
libwbclient: Implement wbcSidToUid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
5e67aa92f6
libwbclient: Attempt to fix build on AIX
2009-06-04 22:32:50 +02:00
Kai Blin
6821d898d7
nsswitch: Move source3 files to top level dir.
...
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16 13:02:45 +01:00