1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Jeremy Allison
1c714850d5 Clean up some const and other compiler warnings.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu May  5 00:59:40 CEST 2011 on sn-devel-104
2011-05-05 00:59:40 +02:00
Volker Lendecke
240aeeb588 s3: Fix Coverity ID 2200: NULL_RETURNS (cut&paste error) 2011-03-27 22:22:11 +02:00
Volker Lendecke
a6a722b5ba libwbclient: CID 2199 -- NULL pointer return
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Mar 15 12:08:48 CET 2011 on sn-devel-104
2011-03-15 12:08:47 +01:00
Volker Lendecke
7f87d58900 s3: Add wbinfo --dc-info
wbinfo --dc-info prints the current DC name and IP address. This helps
diagnosing problems that might happen when a later wbinfo --ping-dc fails.

This patch started out by using the SAF and NBT cache entires, but those are
relatively short-lived. So I decided to invent a new gencache entry with a very
long timeout. We need to go via the gencache because when for some reason a
winbind child process is stuck, we can't query it for the current DC it's
connected to. This must eventually go away again when we have a fully async
winbind.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 19 08:40:28 CET 2011 on sn-devel-104
2011-01-19 08:40:28 +01:00
Volker Lendecke
87c67433c8 libwbclient: Correctly order the wbcAllocateMemory args
In these cases, it does not make a functional difference.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Nov 27 19:56:02 CET 2010 on sn-devel-104
2010-11-27 19:56:02 +01:00
Volker Lendecke
7072cc0c9d libwbclient: Make wbcListTrusts not use talloc 2010-04-19 14:27:23 +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
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
488fe76a22 libwbclient: Fix a memleak in wbcListTrusts 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
Kai Blin
b99d9f86e4 libwbclient: Separate out the async functions 2010-02-13 14:30:36 +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
3204113efe libwbclient: Add async wbcPing_send/_recv 2010-02-11 23:56:32 +01:00
Volker Lendecke
6ada1f250b libwbclient: Remove a pointless check
We have dereferenced "blobs" before
2010-01-03 11:38:22 +01:00
Günther Deschner
110a40d4bc libwbclient: fix wbcLookupDomainController().
Found by WINBIND-WBCLIENT torture test.

Guenther
2009-10-19 18:44:51 +02:00
Volker Lendecke
bb1f56a814 s3:libwbclient: Fix bug 6349, initialize domain info struct 2009-08-30 11:40:59 +02:00
Volker Lendecke
5ae122ed7a s3:winbind: Fix a potential segfault in libwbclient 2009-08-16 10:38:24 +02: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