Volker Lendecke
ab892389db
libwbclient: Add wbcAllocateStringArray
2010-04-19 14:27:17 +02:00
Volker Lendecke
250bea02b5
libwbclient: Test wbcLookupRids
2010-04-19 14:27:17 +02:00
Volker Lendecke
0a966980f4
libwbclient: Make wbcLookupSid not use talloc
2010-04-19 14:27:16 +02:00
Volker Lendecke
a0162303c6
libwbclient: Add wbcStrDup
2010-04-19 14:27:16 +02:00
Volker Lendecke
ed1981db05
libwbclient: Convert wbcSidToString to not use talloc
2010-04-19 14:27:16 +02:00
Volker Lendecke
b75106b2ed
libwbclient: Make copy_group_entry not use talloc
2010-04-19 14:27:16 +02:00
Volker Lendecke
041be88bd0
libwbclient: Make copy_passwd_entry not use talloc
2010-04-19 14:27:16 +02:00
Volker Lendecke
20011f4681
libwbclient: Make wbcGuidToString not use talloc
2010-04-19 14:27:16 +02:00
Volker Lendecke
769997786c
libwbclient: Make wbcLibraryDetails not use talloc
2010-04-19 14:27:16 +02:00
Volker Lendecke
f2a04a0ccb
libwbclient: Add wbcAllocateMemory()
...
This prepares for removing libwbclient's talloc dependency. It is a
non-hierarchical "talloc-lite" that has destructors. It is necessary because we
have the catch-call wbcFreeMemory call. Individual wbcFreeXXX calls for the
different structures wbclient returns would have made this easier, but
wbcFreeMemory is the API we have to live with.
2010-04-19 14:27:16 +02:00
Volker Lendecke
be813ff2d4
libwbclient: Re-Fix a bug that was fixed with e5741e27c4
...
> 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
Volker Lendecke
fcab3d64f4
libwbclient: Remove a pointless variable
2010-04-13 13:28:39 +02:00
Volker Lendecke
1038a134ed
libwbclient: Fix a memleak in wbcGetDisplayName
2010-04-10 17:05:38 +02:00
Volker Lendecke
27d3bdd36b
libwbclient: Ensure correct 0-termination in wbcGetSidAliases
2010-04-10 17:05:38 +02:00
Volker Lendecke
a10f024083
libwbclient: Fix some memleaks in the tests
2010-04-09 13:15:05 +02:00
Andrew Tridgell
b690fedef5
s4-waf: removed the AUTOGENERATED markers
...
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Volker Lendecke
488fe76a22
libwbclient: Fix a memleak in wbcListTrusts
2010-04-04 23:22:52 +02:00
Volker Lendecke
50a625ce0e
libwbclient: Fix memleaks in tests
2010-04-04 23:22:52 +02:00
Volker Lendecke
b1b723da6f
libwbclient: Fix a memleak in wbcListTrusts
2010-04-04 23:22:52 +02:00
Volker Lendecke
9b1f9da436
libwbclient: Streamline result processing of wbcCredentialCache()
2010-04-04 12:51:24 +02:00
Volker Lendecke
b198283f1f
libwbclient: Fix a memleak in wbcCredentialCache
2010-04-04 12:51:24 +02:00
Volker Lendecke
bbe07972e6
libwbclient: Both talloc_free and wbcFreeMemory deal with NULL
...
This is in line with the ANSI C standard definition of free(NULL)
2010-04-03 22:12:23 +02:00
Andrew Tridgell
fae84f98e3
libutil: moved the networking defines to util_net.h
...
These were causing thousands of warnings on solaris8
2010-03-26 17:36:02 +11:00
Kai Blin
9848086aa8
libwbclient: Fix s4 build failure by fixing up includes.
...
Sorry about this, folks.
2010-02-13 17:55:01 +01:00
Kai Blin
b99d9f86e4
libwbclient: Separate out the async functions
2010-02-13 14:30:36 +01:00
Kai Blin
5d848053a7
libwbclient: Test wbcLookupName async functions
2010-02-11 23:56:35 +01:00
Kai Blin
cf968371ef
libwbclient: Implement wbcLookupName_send/recv
2010-02-11 23:56:35 +01:00
Kai Blin
145f2c751b
libwbclient: Implement wbcAuthenticateUserEx_send/recv
2010-02-11 23:56:35 +01:00
Kai Blin
749fb03971
libwbclient: Implement wbcLookupSid_send/recv
2010-02-11 23:56:34 +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
33bbe1cafd
libwbclient: Add wbcInterfaceDetails_send/recv
2010-02-11 23:56:33 +01:00
Kai Blin
861ef367c8
libwbclient: Add wbcDomainInfo_send/recv calls
2010-02-11 23:56:33 +01:00
Kai Blin
99c0f569f9
libwbclient: Add wbcDomainName_send/recv call
2010-02-11 23:56:33 +01:00
Kai Blin
7cb070f2b3
libwbclient: Add wbcNetbiosName_send/recv calls
2010-02-11 23:56:33 +01:00
Kai Blin
fd6b145793
libwbclient: Add async wbcInfo_send()/wbcInfo_recv() calls
2010-02-11 23:56:33 +01:00
Kai Blin
a0895222be
libwbclient: add wbcInterfaceVersion send/recv calls
2010-02-11 23:56:32 +01:00
Kai Blin
1ca727420a
libwbclient: torture-test wbcPing async functions.
2010-02-11 23:56:32 +01:00
Kai Blin
3204113efe
libwbclient: Add async wbcPing_send/_recv
2010-02-11 23:56:32 +01:00
Kai Blin
f9d041ccd3
libwbclient: Zero out context on initialization
...
This prevents a segfault when using wbcDebug without prior call to wbcSetDebug
2010-02-11 23:53:36 +01:00
Volker Lendecke
e2ddda3289
libwbclient: wbc_create_logon_info is always called with mem_ctx==NULL
2010-02-07 12:29:24 +01:00
Volker Lendecke
2607dc5ee8
libwbclient: wbc_create_password_policy_info is always called with mem_ctx==NULL
2010-02-07 12:29:24 +01:00
Volker Lendecke
1b2aad29a8
libwbclient: wbc_create_error_info is always called with mem_ctx==NULL
2010-02-07 12:29:24 +01:00
Günther Deschner
b5d4726316
s4-smbtorture: test wbcResolveWinsByName/wbcResolveWinsByIP in WINBIND-WBCLIENT testsuite.
...
Guenther
2010-01-25 11:20:06 +01:00
Günther Deschner
e16e75a4f0
s4-smbtorture: add test for wbcPingDc to WINBIND-WBCLIENT testsuite.
...
Volker, please check, you know best how this interface is designed :-)
Guenther
2010-01-25 11:20:06 +01:00
Volker Lendecke
e879b50b32
libwbclient: Actually implement wbcCredentialCache()
2010-01-24 20:32:16 +01:00