Andreas Schneider
8682c32c1a
nsswitch: Disable uid_wrapper in libwbclient.
...
This way we don't have to link against it in the autoconf build.
2011-10-27 13:32:01 +02:00
Andrew Bartlett
b21b012756
lib/param move source4 param code to the top level
...
This is done so that the lpcfg_ functions are available across the whole
build, either with the struct loadparm_context loaded from an smb.conf directly
or as a wrapper around the source3 param code.
This is not the final, merged loadparm, but simply one step to make
it easier to solve other problems while we make our slow progress
on this difficult problem.
Andrew Bartlett
2011-10-11 13:41:34 +11:00
Andrew Bartlett
078db8f6c9
build: build wbinfo only once in the waf build
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Oct 8 04:52:03 CEST 2011 on sn-devel-104
2011-10-08 04:52:03 +02:00
Ewoud Kohl van Wijngaarden
2d6571d2e5
Add missing com_err dependencies
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 6 02:10:21 CEST 2011 on sn-devel-104
2011-10-06 02:10:21 +02:00
Andrew Bartlett
d40fe50a67
build: avoid util.h as a public header name due to conflict with MacOS
2011-09-23 09:24:03 +02:00
Andrew Tridgell
dbbb69e572
wbclient: added support for handling WBC_ID_TYPE_BOTH mappings
...
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
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
Günther Deschner
e68c4f4b33
waf: install pam modules in PAMMODULESDIR.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Sep 6 11:09:45 CEST 2011 on sn-devel-104
2011-09-06 11:09:45 +02:00
Jelmer Vernooij
2b40283591
wbclient: Add pkg-config file.
2011-08-21 03:22:04 +02:00
Volker Lendecke
ebf04d79ab
s3: Remove "struct ip_service" from resolve_wins
2011-06-12 17:07:47 +02:00
Volker Lendecke
eb16915e28
nsswitch: Remove some refs to the global winbindd_fd
2011-06-12 17:07:47 +02:00
Günther Deschner
850460c96c
nsswitch/winbind_client.h: fix licence/copyright
...
Guenther
2011-06-10 15:12:00 +02:00
Günther Deschner
acf9ca5f8f
nsswitch/pam_winbind.h: fix licence/copyright.
...
Guenther
2011-06-10 15:11:57 +02:00
Andrew Bartlett
ad0a07c531
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Volker Lendecke
13ac91d9a1
nss_wins: Add a stackframe to lookup_byname_backend()
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jun 5 15:17:42 CEST 2011 on sn-devel-104
2011-06-05 15:17:42 +02:00
Jeremy Allison
388bba05cf
Remove a PATH_MAX.
2011-06-01 16:07:42 -07:00
Andrew Bartlett
c615ebed6e
s3-lib Replace StrCaseCmp() with strcasecmp_m()
...
strcasecmp_m() never needs to call to talloc, and via next_codepoint()
still has an ASCII fast-path bypassing iconv() calls.
Andrew Bartlett
2011-05-18 16:12:08 +02:00
Jeremy Allison
87a1888272
Fix redefinition of fstrcpy.
2011-05-17 16:18:37 -07:00
Volker Lendecke
068f847fe2
s3: Fix return check in nss_wins
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon May 16 00:30:42 CEST 2011 on sn-devel-104
2011-05-16 00:30:42 +02:00
Kai Blin
05d00ed479
nsswitch: Fix build check logic
...
Only build pam_winbind.so if we want pam modules _and_ have the libs
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Sun May 8 23:56:33 CEST 2011 on sn-devel-104
2011-05-08 23:56:33 +02:00
Jeremy Allison
7d6ebe0de7
More const fixes. Remove CONST_DISCARD.
2011-05-06 01:44:07 +02:00
Jeremy Allison
e131c94ac1
More const fixes for compiler warnings from the waf build.
2011-05-05 23:56:07 +02:00
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
Jeremy Allison
017e0c8d95
Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.
2011-05-04 12:12:13 -07:00
Andrew Bartlett
2742ec0e34
Remove strlower_m() and strupper_m() from source4 and common code.
...
This function is problematic because a string may expand in size when
changed into upper or lower case. This will then push characters off
the end of the string in the s3 implementation, or panic in the former
s4 implementation.
Andrew Bartlett
2011-05-03 07:37:07 +02:00
Sergey Korsak
9bf3dc3ca7
Fix Bug #8099 setpwent() actually does endpwent() and vice versa on FreeBSD
...
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Apr 19 19:15:14 CEST 2011 on sn-devel-104
2011-04-19 19:15:13 +02:00
Andrew Bartlett
4fd6ebf544
selftest: Remove duplication between BUILDIR and BINDIR
...
Just have BINDIR, and have it default to ./bin
Andrew Bartlett
2011-04-16 11:43:04 +02:00
Volker Lendecke
b8dc235b08
nsswitch: Add wbinfo --sids-to-unix-ids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07: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
69ba25948a
nsswitch: wbinfo --lookup-sids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
cfe30df98e
libwbclient: Add wbcLookupSids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
63446c2c2a
s3: Add winbindd_lookupsids
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:24 -07:00
Volker Lendecke
0fea80c1d6
s3: Fix Coverity ID 2217: RESOURCE_LEAK
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 30 10:45:44 CEST 2011 on sn-devel-104
2011-03-30 10:45:44 +02:00
Volker Lendecke
40306f2247
s3: Fix Coverity ID 2220: RESOURCE_LEAK
2011-03-30 09:58:35 +02:00
Volker Lendecke
a56eb9b887
s3: Fix Coverity ID 2221: RESOURCE_LEAK
2011-03-30 09:58:35 +02:00
Volker Lendecke
9a97a8307c
s3: Fix Coverity ID 2222: RESOURCE_LEAK
2011-03-30 09:58:35 +02:00
Volker Lendecke
12bf847058
s3: Fix Coverity ID 2223: RESOURCE_LEAK
2011-03-30 09:58:35 +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
c58eb1f8c5
s3: Fix Coverity ID 2148, FORWARD_NULL
...
Further down we unconditionally reference *info
2011-03-16 22:07:23 +01: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
cdb9e4b8fe
libwbclient: Add some input check
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Mar 10 11:10:30 CET 2011 on sn-devel-104
2011-03-10 11:10:30 +01:00
Volker Lendecke
c22151ea3a
libwbclient: Remove a pointless check
2011-03-10 10:25:19 +01:00
Volker Lendecke
85ee3360e1
wbinfo: Use wbcSidToStringBuf
2011-03-05 14:29:33 +01:00
Volker Lendecke
d34092e919
wbinfo: Fix a debug message
2011-03-05 14:29:33 +01:00
Volker Lendecke
e0fae3d494
pam_winbind: Use wbcSidToStringBuf
2011-03-05 14:29:32 +01:00
Volker Lendecke
7ffa7e4bca
libwbclient: Use wbcSidToStringBuf
2011-03-05 14:29:32 +01:00
Volker Lendecke
afb6752fa7
libwbclient: Add wbcSidToStringBuf
2011-03-05 14:29:32 +01:00
Volker Lendecke
181b23ceed
nsswitch: wbcFreeMemory deals fine with NULL
2011-03-05 14:29:32 +01:00
Volker Lendecke
8635a3834a
s3: Attempt to fix the build on IRIX
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 2 11:33:05 CET 2011 on sn-devel-104
2011-03-02 11:33:04 +01:00
Volker Lendecke
c1bc916507
nsswitch: Eliminate select from wb_common
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 28 17:26:18 CET 2011 on sn-devel-104
2011-02-28 17:26:18 +01:00
Günther Deschner
9154f0b451
nsswitch: make libwbclient a public library again.
...
Guenther
2011-02-18 15:40:59 +01:00
Andrew Bartlett
1ad8e5229f
lib/util/charset Add back setlocale(), but only when called from binaries
...
When called from a library, we don't want to call this, as we may
overwrite some of our calling program's context.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
2011-02-18 09:29:35 +01:00
Andrew Tridgell
a493bf9103
nsswitch: depend on dl
...
The previous merge in this area didn't preserve the 'dl' depedency,
which may be required on some platforms.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 17:00:34 +11:00
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
Volker Lendecke
e1ab3c3470
s3: Remove an ancient typedef
2010-12-28 12:59:11 +01:00
Volker Lendecke
a881d6ab86
wb_reqtrans is not used in libwbclient
2010-12-19 23:25:06 +01:00
Volker Lendecke
c0a7c9f991
Move wbc_async.[ch] to its only user: smbtorture3
2010-12-19 23:25:06 +01:00
Volker Lendecke
6bfd745c61
libwbclient: Put the wb_reqtrans definitions into wb_reqtrans.h
2010-12-19 23:25:06 +01:00
Volker Lendecke
af4a5f4c13
s3: Add -P as an alias for --ping-dc
...
This is a much less intrusive version of the DC connectivity check
than wbinfo -t is. Make it simple to use.
2010-12-19 23:25:06 +01:00
Günther Deschner
ba21b6e3d4
s4-waf: nsstest only needs replace.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Dec 16 11:40:52 CET 2010 on sn-devel-104
2010-12-16 11:40:52 +01:00
Günther Deschner
af99f0a067
s3-waf: use shared libwbclient wscript_build.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 15 11:42:16 CET 2010 on sn-devel-104
2010-12-15 11:42:16 +01:00
Matthieu Patou
24cac449a1
build: change lib order to fix build on netbsd
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Dec 12 10:54:02 CET 2010 on sn-devel-104
2010-12-12 10:54:02 +01:00
Jelmer Vernooij
35fbc7bbda
s4-smbtorture: Make test names lowercase and dot-separated.
...
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Björn Jacke
ffc3f943cd
s4/waf: add intl dependency for nss_winnbind
...
needed to fix a build issue on NetBSD and other platforms
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Wed Dec 1 16:15:19 CET 2010 on sn-devel-104
2010-12-01 16:15:19 +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
a642cb5a92
libwbclient: Fix a division by zero
...
If wbinfo -r returns no groups, wbcAllocateMemory divides by zero
2010-11-27 19:11:03 +01:00
Andrew Tridgell
9432eabb2f
developer: only do the C++ reserved name checking on Linux
...
this prevents us breaking the solaris build, but will still mean we
prevent C++ vars in our code
2010-11-17 23:55:39 +11:00
Andrew Bartlett
cf4de8ec2c
s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() instead
...
By removing this global variable, the API between the two different
debug systems is made more similar. Both s3 and s4 now have
lp_set_cmdline() which ensures that the smb.conf cannot overwrite
these the user-specified log level.
Andrew Bartlett
2010-11-02 04:36:04 +00:00
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Jelmer Vernooij
8cf61377aa
waf: Remove lib prefix from libraries manually.
2010-10-26 10:17:17 -07:00
Jelmer Vernooij
d9cbcdd410
s4: Drop duplicate 'lib' prefix for private libraries.
2010-10-26 10:17:16 -07:00
Jelmer Vernooij
a57bd4e2d8
s4: Rename WBCLIENT to wbclient.
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
833480d3ad
s4: Rename LIBSAMBA-* to libsamba-*
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
ca16d805bd
s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
2bcd7f6827
waf: Rename LIBWINBIND-CLIENT to libwinbind-client
2010-10-24 00:20:04 +00:00
Jelmer Vernooij
2933fac7c7
s4: Rename NSS_WRAPPER to nss_wrapper.
...
Only link to nss_wrapper when it is enabled.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 23 23:05:44 UTC 2010 on sn-devel-104
2010-10-23 23:05:43 +00:00
Jelmer Vernooij
9757a0c54c
s4: Rename UID_WRAPPER to uid_wrapper.
...
Only link to uid_wrapper when it is enabled.
2010-10-23 22:24:06 +00:00
Andrew Tridgell
323c1a8679
nsswitch: make LIBWINBIND-CLIENT a private library
2010-10-21 19:03:25 +11:00
Andrew Tridgell
0b255c0da6
nsswitch: make LIBWBCLIENT a private library
2010-10-21 19:03:25 +11:00
Günther Deschner
ab01d6139f
nsstest: no need for two copies of the same tool.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Oct 20 15:05:34 UTC 2010 on sn-devel-104
2010-10-20 15:05:33 +00:00
Andrew Bartlett
a879a4610d
libcli/auth Merge source4/libcli/security and util_sid.c into the common code
...
This should ensure we only have one copy of these core functions
in the tree.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Kai Blin
5ad0ed2181
libwbclient: Remove half-finished async implementation
...
The old approach on doing async libwbclient was never really finished.
Go ahead and remove this implementation.
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Tue Oct 12 07:05:31 UTC 2010 on sn-devel-104
2010-10-12 07:05:31 +00:00
Andrew Tridgell
b04b8b5610
wbclient: gr_mem can be NULL
...
if the structure was partly created and an error occurred, then don't
crash
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:18 +10:00
Andrew Tridgell
a163284491
wbclient: paranoid check for double free
...
added while tracking down a crash in the wbinfo blackbox test
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Tridgell
f95e6a32e4
s4-test: enable valgrind on wbinfo tests
2010-09-16 16:08:45 +10:00
Jelmer Vernooij
3db545ece4
nss_winbind: Fix soname.
2010-09-14 12:48:57 +02:00
Volker Lendecke
4dcd5ac442
s3: Do not directly log off after a pam_logon
2010-09-13 10:05:42 -07:00
Volker Lendecke
2ef4acb2bd
s3: Fix wbinfo arg for --pam-logon
2010-09-13 10:05:41 -07:00
Matthieu Patou
6bd6fdcd72
s4:unittest: Test wbinfo --group-info and --gid-info
...
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-09-11 19:13:46 +02:00
Matthias Dieter Wallnöfer
8a0db43ad8
test_wbinfo.c - count more possible failures
2010-09-11 19:13:13 +02:00
Andrew Tridgell
6d6158617c
nss-waf: use the right winbind pipe path
...
s4 uses a different location for the winbind pipe to s3
2010-09-11 22:32:43 +10:00
Andrew Tridgell
a82fe6f472
winbind-waf: the installed name is libnss_winbind.so.2
...
the .2 is what libc adds to the name for this version of the nss API
2010-09-11 22:32:43 +10:00
Volker Lendecke
8de2c15df3
s3: auth.krb5ccname and auth.unix_username are both fstrings
...
There's no point in checking for != NULL
2010-09-10 10:52:18 -07:00
Volker Lendecke
7277c9e5ad
s3: Fix messsssages
2010-09-09 14:59:07 -07:00
Stefan Metzmacher
14ffb7d699
nsswitch/libwbclient: LIBWBCLIENT depends on LIBWINBIND-CLIENT
...
metze
2010-09-03 13:31:05 +02:00
Günther Deschner
7ff7eb0b52
s3-build: only include nsswitch header where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
d55e7e52f1
s4-waf: try to fix the s4 wbinfo build dependencies.
...
Guenther
2010-08-24 03:04:41 +02:00
Michael Adam
ccfe40c27f
s3:winbind: increase interface version after removing calls
...
Michael
2010-08-14 02:10:35 +02:00
Michael Adam
3b56f7f6b5
s3:winbind: remove the method REMOVE_MAPPING from winbind's API
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
474020b1ae
s3:winbind: remove the method SET_MAPPING from winbind's API
...
Michael
2010-08-14 02:10:33 +02:00