Günther Deschner
8a4525d9fa
waf: fix the build of nsswitch libwbclient.
...
Guenther
2010-05-20 23:40:30 +02:00
Andrew Tridgell
419873f2ee
s3-waf: All sorts of nasty hacks to finally get smbd to build/link
...
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-05-20 22:16:13 +02:00
Kai Blin
765e9c7c67
wbinfo: Add better libwbclient error reporting
2010-05-17 10:50:45 +02:00
Volker Lendecke
aa8d91ae8e
libwbclient: Fix a fd-leak at dlclose-time
...
__attribute__((destructor)) makes winbind_close_sock() being called at
dlclose() time.
Found while testing apache on Linux with mod_auth_pam.
Other platforms will have to find a different fix. One possibility would be to
always close the socket after each operation, but this badly sucks
performance-wise.
2010-05-10 14:11:14 +02:00
Andreas Schneider
b4c46bd7df
libwbclient: Fixed doxygen errors.
2010-05-05 15:36:10 +02:00
Volker Lendecke
d61b07253b
libwbclient: Talloc is no longer used
2010-04-25 10:16:11 +02:00
Volker Lendecke
4c7cc8bb63
Revert "nsswitch: Fix a memleak in wbinfo"
...
This reverts commit a97f2a0a9c
.
This was not a memleak, it was a valgrind false positive. We store "details" in
a static.
2010-04-24 12:41:47 +02:00
Volker Lendecke
328ca041e0
libwbclient: Test WBC_CHANGE_PASSWORD_LEVEL_RESPONSE
2010-04-23 23:41:05 +02:00
Volker Lendecke
03115efae8
libwbclient: Actually copy something in wbcChangeUserPasswordEx
...
The length argument for memcpy was initialized to 0 and not initialized
2010-04-23 23:41:04 +02:00
Volker Lendecke
7574347e68
libwbclient: Remove some pointless BAIL_ON_WBC_ERROR macro calls
2010-04-23 23:41:04 +02:00
Volker Lendecke
ba537079cf
libwbclient: wbcFreeMemory deals fine with a NULL pointer
2010-04-19 16:31:03 +02:00
Volker Lendecke
89bbc41d02
libwbclient: Fix wbcListGroups against too small num_entries
...
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
2010-04-19 16:31:02 +02:00
Volker Lendecke
6d898b45a3
libwbclient: Fix wbcListUsers against too small num_entries
...
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
2010-04-19 16:31:02 +02:00
Volker Lendecke
c04ce964e9
nsswitch: Add wbinfo --pam-logon
...
This does a wbcLogonUser with credential caching
2010-04-19 14:27:24 +02:00
Volker Lendecke
76972533da
libwbclient does not need talloc_free anymore
2010-04-19 14:27:24 +02:00
Volker Lendecke
7072cc0c9d
libwbclient: Make wbcListTrusts not use talloc
2010-04-19 14:27:23 +02:00
Volker Lendecke
d582caa175
libwbclient: Make wbc_create_error_info not use talloc
2010-04-19 14:27:23 +02:00
Volker Lendecke
f4c8f5146c
libwbclient: Make wbcCredentialCache not use talloc
2010-04-19 14:27:23 +02:00
Volker Lendecke
802876af3b
libwbclient: Make wbcAuthenticateUserEx not use talloc
2010-04-19 14:27:23 +02:00
Volker Lendecke
406e55fafb
libwbclient: Make wbc_create_logon_info not use talloc
2010-04-19 14:27:23 +02:00
Volker Lendecke
d36829c108
libwbclient: Make wbc_create_auth_info not use talloc
2010-04-19 14:27:22 +02:00
Volker Lendecke
1ecdff2bf8
libwbclient: Make wbc_create_password_policy_info not use talloc
2010-04-19 14:27:22 +02:00
Volker Lendecke
ac8860d83d
libwbclient: Test wbcGetGroups
2010-04-19 14:27:22 +02:00
Volker Lendecke
fc2cca5c28
libwbclient: Make wbcGetGroups not use talloc
2010-04-19 14:27:21 +02:00
Volker Lendecke
f6a34cb0e0
libwbclient: Make wbc_create_domain_controller_info_ex not use talloc
2010-04-19 14:27:21 +02:00
Volker Lendecke
d959fec39e
libwbclient: Make wbcLookupDomainController not use talloc
2010-04-19 14:27:21 +02:00
Volker Lendecke
df831df666
libwbclient: Make wbcLookupUserSids not use talloc
2010-04-19 14:27:20 +02:00
Volker Lendecke
3aaa07afea
libwbclient: Test wbcChangeUserPassword
2010-04-19 14:27:20 +02:00
Volker Lendecke
496c459388
libwbclient: Abstract out test_wbc_authenticate_user for reuse
2010-04-19 14:27:20 +02:00
Volker Lendecke
fddef8fd0a
libwbclient: Test wbcLogonUser
2010-04-19 14:27:19 +02:00
Volker Lendecke
8869480f01
libwbclient: Make wbcAddNamedBlob not use talloc
2010-04-19 14:27:19 +02:00
Volker Lendecke
8ebb999b4a
libwbclient: Make wbcResolveWinsByIP not use talloc
2010-04-19 14:27:19 +02:00
Volker Lendecke
1637be5c55
libwbclient: Make wbcResolveWinsByName not use talloc
2010-04-19 14:27:19 +02:00
Volker Lendecke
f3e87ecd2c
libwbclient: Make wbcDomainInfo not use talloc
2010-04-19 14:27:19 +02:00
Volker Lendecke
7f454c3078
libwbclient: Make wbcInterfaceDetails not use talloc
2010-04-19 14:27:19 +02:00
Volker Lendecke
b62e57cec2
libwbclient: Test wbcAuthenticateUser[Ex]
2010-04-19 14:27:18 +02:00
Volker Lendecke
77c0b015c7
libwbclient: Make _SID_COMPOSE a function instead of a macro
2010-04-19 14:27:18 +02:00
Volker Lendecke
b828985aa1
libwbclient: Make wbcGetDisplayName not use talloc
2010-04-19 14:27:18 +02:00
Volker Lendecke
ae3edf85d4
libwbclient: Test wbcGetDisplayName
2010-04-19 14:27:18 +02:00
Volker Lendecke
8f3ab439f3
libwbclient: Make wbcListGroups not use talloc
2010-04-19 14:27:18 +02:00
Volker Lendecke
1152cba5d2
libwbclient: Make wbcListUsers not use talloc
2010-04-19 14:27:18 +02:00
Volker Lendecke
cafba3d7a7
winbindd: Fill in num_entries where available
...
The server implementation of WINBINDD_LIST_USERS, WINBINDD_LIST_GROUPS and
WINBINDD_LIST_TRUSTDOM knows the number of entries returned.
Bump up the version number so that a newer lib does not rely on something an
older winbind does not do.
2010-04-19 14:27:18 +02:00
Volker Lendecke
e80d0ecf8b
libwbclient: Make wbcGetSidAliases not use talloc
2010-04-19 14:27:18 +02:00
Volker Lendecke
9e353a917b
libwbclient: Test wbcGetSidAliases
2010-04-19 14:27:17 +02:00
Volker Lendecke
4f5100bcb2
libwbclient: Simplify test_wbc_domain_info a bit
2010-04-19 14:27:17 +02:00
Volker Lendecke
679e7ef6e6
libwbclient: Fix some pointless macro calls
2010-04-19 14:27:17 +02:00
Volker Lendecke
3d3b84bdec
libwbclient: Take -21 into account in length guessing
2010-04-19 14:27:17 +02:00
Volker Lendecke
d29a5e69f4
libwbclient: Fix some pointless macro calls
2010-04-19 14:27:17 +02:00
Volker Lendecke
4f88b7015d
libwbclient: Make wbcLookupRids not use talloc
2010-04-19 14:27:17 +02:00
Volker Lendecke
ab892389db
libwbclient: Add wbcAllocateStringArray
2010-04-19 14:27:17 +02:00