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

340 Commits

Author SHA1 Message Date
Günther Deschner
bc83400d81 nsswitch: make wb_reqtrans a common subsystem.
Guenther
2011-02-17 00:52:42 +01:00
Günther Deschner
743b13b8e0 s3-waf: make most of the nsswitch common.
Guenther
2011-02-17 00:52:42 +01:00
Günther Deschner
9867b7bf34 s4-waf: move wbinfo buildrule to winbind.
Will be moved back later, once we have a more common samba-util.so

Guenther
2011-02-17 00:52:16 +01:00
Christian Ambach
d62aa577c3 nsswitch: fix a segfault in the krb5 locator plugin
after the number of retries was exceeded, the loop did not
    bail out correctly with an error and went on using a null pointer
2011-02-10 17:01:18 +01:00
Volker Lendecke
831974a762 s3: Slightly simplify winbind_write_sock
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 10 17:00:46 CET 2011 on sn-devel-104
2011-02-10 17:00:46 +01:00
Michael Adam
6d3625de67 libwbclient: doxygen: mark wbcSetGidHwm deprecated
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Feb 10 14:42:24 CET 2011 on sn-devel-104
2011-02-10 14:42:24 +01:00
Michael Adam
3c6ae6d4d7 libwbclient: doxygen: mark wbcSetUidHwm deprecated 2011-02-10 13:57:32 +01:00
Michael Adam
37575560bf libwbclient: doxygen: mark wbcRemoveGidMapping deprecated 2011-02-10 13:57:32 +01:00
Michael Adam
7494724b84 libwbclient: doxygen: mark wbcRemoveUidMapping deprecated 2011-02-10 13:57:32 +01:00
Michael Adam
d75ad33598 libwbclient: doxygen: mark wbcSetGidMapping deprecated 2011-02-10 13:57:32 +01:00
Michael Adam
cb5e685d54 libwbclient: doxygen: mark wbcSetUidMapping deprecated 2011-02-10 13:57:32 +01:00
Michael Adam
4242d633d8 Revert "wbinfo: remove --set-uid-mapping - winbindd does not implement that any more."
This reverts commit 0e90d01d53.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
70ebfc16b4 Revert "wbinfo: remove --set-gid-mapping - winbindd does not implement that any more."
This reverts commit 9de1fd4352.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
71ce276c12 Revert "wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more."
This reverts commit 36e2baa8da.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
1ea1043f8d Revert "wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more."
This reverts commit 48ad64aa78.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
0def826ec5 Revert "libwbclient: remove two unused defines"
This reverts commit 58bf6f9ff0.

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 25a0dc44f7.

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 52e1be2139.

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 1ed5961df2.

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 393c866c51.

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 6558323c84.

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 68a9b726be.

Undo the library version bump.
2011-02-10 13:57:31 +01:00
Michael Adam
9bc1a7ba16 Revert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)"
This reverts commit 128bed20c4.

Undo the library version bump.
2011-02-10 13:57:31 +01:00
Michael Adam
d0ceb4c83a Revert "nsswitch: libwbclient has vnum 1 now."
This reverts commit c9cb42a276.

Undo the library version bump.
2011-02-10 13:57:31 +01:00
Michael Adam
76ea4fd03a Revert "nsswitch: remove unused code from wbinfo.c"
This reverts commit 3bdd2efff8.

Undo the library version bump.
2011-02-10 13:57:31 +01:00
Günther Deschner
3bdd2efff8 nsswitch: remove unused code from wbinfo.c
Guenther
2011-02-02 14:59:19 +01:00
Günther Deschner
c9cb42a276 nsswitch: libwbclient has vnum 1 now.
Michael, please check.

Guenther
2011-01-31 10:04:42 +01:00
Michael Adam
128bed20c4 libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols) 2011-01-27 22:00:33 +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
48ad64aa78 wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:49 +01:00
Michael Adam
36e2baa8da wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:49 +01:00
Michael Adam
9de1fd4352 wbinfo: remove --set-gid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:49 +01:00
Michael Adam
0e90d01d53 wbinfo: remove --set-uid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:48 +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
Jeremy Allison
52aac4dd54 Move wins_lookup_open_socket_in() to remove a compile warning.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan  8 01:48:27 CET 2011 on sn-devel-104
2011-01-08 01:48:27 +01:00
Volker Lendecke
6ba4bddb61 s3: Make name_query use /tmp/.nmbd/unexpected 2011-01-07 13:28:05 +01:00
Stefan Metzmacher
b79c0e1adb Revert "nsswitch Add talloc depencency for nsstest"
This reverts commit 640028d158.

This is not needed anymore.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan  4 09:38:57 CET 2011 on sn-devel-104
2011-01-04 09:38:57 +01:00
Stefan Metzmacher
ce113ea029 nsswitch: remove includes.h dependency from nsstest.c
metze
2011-01-04 08:43:42 +01:00
Andrew Bartlett
640028d158 nsswitch Add talloc depencency for nsstest
nsstest does not use talloc, but it includes talloc.h via includes.h,
and so without this it cannot find the right internal header.

This wasn't noticed before, as most linux developer boxes have a talloc.h.

The issue was reported by Adam Tauno Williams <awilliam at whitemice.org>

Andrew Bartlett
2011-01-04 14:41:38 +11:00
Volker Lendecke
407a1b3e74 nss_wins: Fix a type-punned warning 2011-01-01 15:16:38 +01:00
Volker Lendecke
4622812a41 s3: Make name_query return NTSTATUS
Also use talloc for the result

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 28 18:21:05 CET 2010 on sn-devel-104
2010-12-28 18:21:05 +01:00
Volker Lendecke
28d997a890 s3: AllowDebugChange is gone 2010-12-28 17:18:14 +01:00
Volker Lendecke
5f79588de0 Fix a memleak in nss_wins 2010-12-28 17:11:34 +01:00
Volker Lendecke
181cd3281c Fix a crash in libnss_wins
lp_set_parm accesses the case tables
2010-12-28 17:11:33 +01:00