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
Michael Adam
1ac8bf4ea8
libwbclient: unimplement wbcRemoveGidMapping()
...
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
89100cb509
libwbclient: unimplement wbcRemoveUidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
788123ec2e
libwbclient: unimplement wbcSetGidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
2e65703508
libwbclient: unimplement wbcSetUidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
66e67c1bad
s3:winbind: remove SET_HWM from winbind's API.
2010-08-14 02:10:31 +02:00
Michael Adam
ec33a624a3
libwbclient: unimplement wbcSetGidHwm()
...
Michael
2010-08-14 02:10:31 +02:00
Michael Adam
e09a269bcc
libwbclient: unimplement wbcSetUidHwm()
...
Michael
2010-08-14 02:10:31 +02:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Volker Lendecke
bd54969d9b
pam_winbind: Fix shadowing a global on FreeBSD
...
FreeBSD defines a function pam_error()
2010-07-17 21:48:35 +02:00
Matthieu Patou
b7a1dd6980
s4 pam_winbind: don't build if pam header are not installed
2010-07-17 21:46:04 +04:00
Matthieu Patou
dbbfad8286
s4-waf: add the missing bits for builing nss_winbind and pam_winbind
...
This is something that was not picked up during the migration to waf
2010-07-17 18:05:12 +04:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Günther Deschner
309ad2b08f
s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
...
Guenther
2010-07-08 15:59:44 +02:00
Volker Lendecke
e17ce247a3
wbinfo: Fix error messages
2010-07-03 22:42:52 +02:00
Andreas Schneider
f324036e76
s3-winbind: Make sure we crash if domain is really not found.
...
Found by clang-analyzer.
2010-06-29 11:12:12 +02:00
Andreas Schneider
790d01cb2e
wbinfo: Document the deprecated sequence option correctly.
...
I didn't find a way in popt to hide it.
2010-06-23 11:01:58 +02:00
Björn Jacke
a8c051b2f9
s3: readd h_errno struct member but rename it
...
as pointed out by metze this is a structure of fixed size, which should not be
changed.
2010-06-10 23:22:49 +02:00
Björn Jacke
ec94efb79d
s3: fix build on HP-UX
...
this struct member h_errno is not used in the HP-UX code paths, it was just
there because Solaris has it, too. As h_errno is a function call macro on HP-UX
when thread support is enabled we run into trouble here. Just commenting it out
should be okay as we don't use it anyway.
2010-06-10 17:24:18 +02:00
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