Michael Adam [Thu, 6 Mar 2008 16:49:07 +0000 (17:49 +0100)]
Revert "Build: Add an rpath of $(LIBDIR) to binary targets."
This reverts commit
3a0f781352f364ce625a35ffd78257b27d984c47.
This needs more thought.
Setting RPATH like this does not work on all supported
platforms (Linux, Solaris and AIX seem to work, HP-UX,
Tru64 and MacOS don't, MacOS doesn't even seem to have
an rpath at all prior to 10.4).
What is more, rpath also has some bad effects (when
updating libraries, e.g.), so it should not be set
unconditionally.
I will come up with a confiugure mechanism to control this.
For now, just use the LDFLAGS environment variable if
you want to use an rpath.
Sorry for any inconveniences.
Michael
Günther Deschner [Thu, 6 Mar 2008 15:43:05 +0000 (16:43 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Thu, 6 Mar 2008 15:41:24 +0000 (16:41 +0100)]
Ignore Kerberos PAC type 12.
Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation)
ignore it so that the PAC parsing can proceed.
Guenther
Derrell Lipman [Thu, 6 Mar 2008 15:41:42 +0000 (10:41 -0500)]
Eliminate global variable in_client and a plethora of extern declarations.
Derrell
Volker Lendecke [Thu, 6 Mar 2008 11:44:41 +0000 (12:44 +0100)]
Fix a "nested extern declaration" warning
Derrell Lipman [Thu, 6 Mar 2008 14:00:37 +0000 (09:00 -0500)]
Check for NULL pointers before dereferencing them.
Michael Adam [Thu, 6 Mar 2008 13:50:52 +0000 (14:50 +0100)]
Build: Add an rpath of $(LIBDIR) to binary targets.
This removes the need of setting LD_LIBRARY_PATH.
Michael
Günther Deschner [Thu, 6 Mar 2008 13:47:21 +0000 (14:47 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Thu, 6 Mar 2008 13:15:07 +0000 (14:15 +0100)]
Slowly making progress on PAC_UNKNOWN_12.
unknown1 and unknown2 are offset headers for the strings.
Guenther
Volker Lendecke [Sat, 1 Mar 2008 11:11:22 +0000 (12:11 +0100)]
Change default bufsize to 512k
I did not do any scientific tests, but the dummy test on my laptop against a
w2k3 vmware shows that in this specific situation going beyond 512k seems not
to gain anything anymore.
smb: \> iosize 64512
iosize is now 64512
smb: \> lcd /dev
smb: \> get random null
getting file \random of size
104857600 as null (33453,1 kb/s) (average 19718,5 kb/s)
smb: \> get random null
getting file \random of size
104857600 as null (34236,0 kb/s) (average 20509,1 kb/s)
smb: \> iosize 524288
iosize is now 524288
smb: \> get random null
getting file \random of size
104857600 as null (49042,1 kb/s) (average 22521,9 kb/s)
smb: \> get random null
getting file \random of size
104857600 as null (49420,8 kb/s) (average 23432,9 kb/s)
smb: \> iosize
1048576
iosize is now
1048576
smb: \> get random null
getting file \random of size
104857600 as null (49420,8 kb/s) (average 24284,2 kb/s)
smb: \> get random null
getting file \random of size
104857600 as null (49136,3 kb/s) (average 25076,9 kb/s)
Volker Lendecke [Sat, 1 Mar 2008 11:05:09 +0000 (12:05 +0100)]
Use io_bufsize as window size in smbclient get command
Volker Lendecke [Thu, 28 Feb 2008 14:26:01 +0000 (15:26 +0100)]
Convert cli_read to use cli_pull
Volker Lendecke [Thu, 28 Feb 2008 14:21:33 +0000 (15:21 +0100)]
Add async cli_pull support
This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)
Make use of it in the smbclient "get" command.
Volker
Volker Lendecke [Thu, 28 Feb 2008 13:41:25 +0000 (14:41 +0100)]
Add infrastructure to support async SMB requests
Volker Lendecke [Thu, 28 Feb 2008 12:55:53 +0000 (13:55 +0100)]
Add basic infrastructure for general async requests
Stefan Metzmacher [Thu, 6 Mar 2008 12:16:30 +0000 (13:16 +0100)]
Merge commit 'origin/v3-2-stable' into v3-2-test
This brings the release-3-2-0pre2 tag into the v3-2-test history.
I skipped the source/VERSION changes.
metze
Günther Deschner [Thu, 6 Mar 2008 11:24:37 +0000 (12:24 +0100)]
Be more verbose why create local token has failed during
NTLMSSP and Kerberos session setup
Guenther
Volker Lendecke [Thu, 6 Mar 2008 10:42:48 +0000 (11:42 +0100)]
Fix an uninitialized variable, Coverity ID 481
Volker Lendecke [Thu, 6 Mar 2008 10:37:01 +0000 (11:37 +0100)]
Fix a memleak
Fixes Coverity ID 557
Volker Lendecke [Thu, 6 Mar 2008 10:27:49 +0000 (11:27 +0100)]
Check the right pointer for non-NULL
Fix Coverity ID 558, 559
Michael Adam [Thu, 6 Mar 2008 09:26:29 +0000 (10:26 +0100)]
Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael
(cherry picked from commit
21a527569bccff8e8cb6e751c9f3fce6ff598204)
Günther Deschner [Wed, 5 Mar 2008 21:21:10 +0000 (22:21 +0100)]
Fix build targets for bin/net.
Guenther
(cherry picked from commit
5159e3dafa9f9bb85cde6681052d8f54b8bf8a2e)
Günther Deschner [Wed, 5 Mar 2008 18:54:34 +0000 (19:54 +0100)]
Another build fix for pam_smbpass: make sure libwbclient is there.
Guenther
(cherry picked from commit
f6762f9cd0b2ace46e16d246adf2e386749650f9)
Volker Lendecke [Thu, 6 Mar 2008 06:19:46 +0000 (07:19 +0100)]
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos
(cherry picked from commit
8ef57a34ebf24e577ba7bca57a5456c1f78a3659)
Michael Adam [Wed, 5 Mar 2008 22:47:59 +0000 (23:47 +0100)]
Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so
Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML.
Michael
(cherry picked from commit
3398403c22c0f39b0d91621d81e31004fc8d28bc)
Michael Adam [Wed, 5 Mar 2008 14:04:28 +0000 (15:04 +0100)]
Makefile: reformat - break long target lines.
Michael
(cherry picked from commit
e26133808469cb7e9acc41cb15219d7b736d228a)
Michael Adam [Wed, 5 Mar 2008 13:16:46 +0000 (14:16 +0100)]
Makefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.
Michael
(cherry picked from commit
237ea62a49fbf47634b55795c1065250d5148600)
Michael Adam [Thu, 6 Mar 2008 09:26:29 +0000 (10:26 +0100)]
Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.
Michael
Volker Lendecke [Thu, 6 Mar 2008 06:19:46 +0000 (07:19 +0100)]
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos
Günther Deschner [Wed, 5 Mar 2008 23:45:20 +0000 (00:45 +0100)]
In libnetapi, point out that lp_load has failed.
Guenther
(cherry picked from commit
be673bfc61559f661040c6fb1ba7d2e4552967f2)
Günther Deschner [Wed, 5 Mar 2008 23:51:20 +0000 (00:51 +0100)]
Fix lp_load with an empty registry and "config backend = registry". Michael, please check.
Guenther
(cherry picked from commit
d9f4060c660da0ad671e061b123df71d109d51b9)
Günther Deschner [Wed, 5 Mar 2008 23:51:20 +0000 (00:51 +0100)]
Fix lp_load with an empty registry and "config backend = registry". Michael, please check.
Guenther
Günther Deschner [Wed, 5 Mar 2008 23:45:20 +0000 (00:45 +0100)]
In libnetapi, point out that lp_load has failed.
Guenther
Michael Adam [Thu, 6 Mar 2008 08:25:38 +0000 (09:25 +0100)]
Test: Properly track current test binary for tracking crashes.
Make sure the panic action always has the right test binary set.
Michael
Günther Deschner [Wed, 5 Mar 2008 14:21:43 +0000 (15:21 +0100)]
Give a better error message why NetServerSetInfo() may fail in the gui.
Guenther
(cherry picked from commit
1bbbebb7767b8a25532e8be3dbd274c211e34bbd)
Günther Deschner [Wed, 5 Mar 2008 12:20:32 +0000 (13:20 +0100)]
Add PICFLAG to libnetapi Makefile.
Guenther
(cherry picked from commit
29fca3c0353f2be4577613d7e38fbc51d2a370fa)
Volker Lendecke [Wed, 5 Mar 2008 15:20:34 +0000 (16:20 +0100)]
Fix coverity ID 525, 526, 527, 528, 529 and 530
Upon failure to allocate one of the arrays, further down the TALLOC_FREE would
have looked at the variables given to it without initizalizing.
(cherry picked from commit
6cac3127312acaac65fcd54280605605765787ad)
Michael Adam [Wed, 5 Mar 2008 22:47:59 +0000 (23:47 +0100)]
Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.so
Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML.
Michael
Volker Lendecke [Wed, 5 Mar 2008 15:20:34 +0000 (16:20 +0100)]
Fix coverity ID 525, 526, 527, 528, 529 and 530
Upon failure to allocate one of the arrays, further down the TALLOC_FREE would
have looked at the variables given to it without initizalizing.
Günther Deschner [Wed, 5 Mar 2008 21:21:10 +0000 (22:21 +0100)]
Fix build targets for bin/net.
Guenther
Günther Deschner [Wed, 5 Mar 2008 18:54:34 +0000 (19:54 +0100)]
Another build fix for pam_smbpass: make sure libwbclient is there.
Guenther
Jelmer Vernooij [Wed, 5 Mar 2008 18:42:15 +0000 (19:42 +0100)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Volker Lendecke [Wed, 5 Mar 2008 16:20:01 +0000 (17:20 +0100)]
Fix Coverity ID 565
This would crash safely
Volker Lendecke [Wed, 5 Mar 2008 15:28:43 +0000 (16:28 +0100)]
Fix a memleak -- Coverity ID 222
(cherry picked from commit
a40781bafa3a8f0c7737164bca6cf74b0a452e72)
Jelmer Vernooij [Wed, 5 Mar 2008 16:30:18 +0000 (17:30 +0100)]
Fix formatting.
Günther Deschner [Wed, 5 Mar 2008 15:31:04 +0000 (16:31 +0100)]
Revert "Make sure to generate pkgconfig files for libtdb and libtalloc."
This uses incorrect version numbers for tdb and talloc.
Guenther
This reverts commit
df97fb019b89a147a0a2c560003d74c354fcc4b6.
Günther Deschner [Wed, 5 Mar 2008 14:40:23 +0000 (15:40 +0100)]
Make sure to generate pkgconfig files for libtdb and libtalloc.
Guenther
Günther Deschner [Wed, 5 Mar 2008 14:21:43 +0000 (15:21 +0100)]
Give a better error message why NetServerSetInfo() may fail in the gui.
Guenther
Charles [Wed, 5 Mar 2008 14:20:29 +0000 (15:20 +0100)]
Add --update option to smbget.
Michael Adam [Wed, 5 Mar 2008 14:04:28 +0000 (15:04 +0100)]
Makefile: reformat - break long target lines.
Michael
Michael Adam [Wed, 5 Mar 2008 13:16:46 +0000 (14:16 +0100)]
Makefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.
Michael
Günther Deschner [Wed, 5 Mar 2008 12:20:32 +0000 (13:20 +0100)]
Add PICFLAG to libnetapi Makefile.
Guenther
Michael Adam [Wed, 5 Mar 2008 10:39:47 +0000 (11:39 +0100)]
Makefile: Add explicit dependecies to libtalloc.so.
So as to fix building of isolated targets.
Michael
(cherry picked from commit
7dbc251e1cd28abf28342529607fa4b5f579a9c4)
Michael Adam [Wed, 5 Mar 2008 10:39:47 +0000 (11:39 +0100)]
Makefile: Add explicit dependecies to libtalloc.so.
So as to fix building of isolated targets.
Michael
Günther Deschner [Wed, 5 Mar 2008 10:31:26 +0000 (11:31 +0100)]
Fix build of pam_smbpass.
Guenther
(cherry picked from commit
cd582b7705dca40b3c688c9e23d8375dab43b4d0)
Günther Deschner [Wed, 5 Mar 2008 10:31:26 +0000 (11:31 +0100)]
Fix build of pam_smbpass.
Guenther
Günther Deschner [Wed, 5 Mar 2008 09:40:52 +0000 (10:40 +0100)]
Remove unused marshalling for SRV_NET_REMOTE_TOD.
Guenther
Günther Deschner [Wed, 5 Mar 2008 09:38:13 +0000 (10:38 +0100)]
Use rpccli_srvsvc_NetRemoteTOD() in rpcclient.
Guenther
Günther Deschner [Wed, 5 Mar 2008 09:34:45 +0000 (10:34 +0100)]
Use pidl for _srvsvc_NetRemoteTOD().
Guenther
Günther Deschner [Wed, 5 Mar 2008 09:32:55 +0000 (10:32 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 5 Mar 2008 09:32:04 +0000 (10:32 +0100)]
Fix IDL for srvsvc_NetRemoteTOD().
Guenther
Günther Deschner [Wed, 5 Mar 2008 00:26:39 +0000 (01:26 +0100)]
Use pidl for _srvsvc_NetShareSetInfo().
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:50:51 +0000 (23:50 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:50:23 +0000 (23:50 +0100)]
Fix IDL for srvsvc_NetShareSetInfo().
Guenther
Günther Deschner [Wed, 5 Mar 2008 08:53:33 +0000 (09:53 +0100)]
Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:40:53 +0000 (23:40 +0100)]
Remove unused marshalling for SRV_NET_SRV_SET_INFO.
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:40:25 +0000 (23:40 +0100)]
Use pidl for _srvsvc_NetSrvSetInfo().
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:47:28 +0000 (23:47 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:47:01 +0000 (23:47 +0100)]
Fix IDL for srvsvc_NetSrvSetInfo().
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:26:27 +0000 (23:26 +0100)]
Remove unused marshalling for SRV_NET_SRV_GET_INFO.
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:11:53 +0000 (23:11 +0100)]
Use rpccli_srvsvc_NetSrvGetInfo() in rpcclient.
Guenther
Günther Deschner [Tue, 4 Mar 2008 22:07:45 +0000 (23:07 +0100)]
Use pidl for _srvsvc_NetSrvGetInfo().
Guenther
Günther Deschner [Tue, 4 Mar 2008 20:46:09 +0000 (21:46 +0100)]
Whitespace cleanup in srvsvc server.
Guenther
Günther Deschner [Tue, 4 Mar 2008 21:54:14 +0000 (22:54 +0100)]
Fix proxy_srvsvc_call().
Wow, this must have been broken a long time already.
Guenther
Günther Deschner [Tue, 4 Mar 2008 18:04:54 +0000 (19:04 +0100)]
Add secure_channel_type to libnetjoin.
Guenther
Karolin Seeger [Tue, 4 Mar 2008 16:27:08 +0000 (17:27 +0100)]
ask for the keyid in the release script.
Günther Deschner [Tue, 4 Mar 2008 11:28:36 +0000 (12:28 +0100)]
Re-run make idl.
Guenther
(cherry picked from commit
8e601e2365f50e582de442daa1559f828bda3e89)
Günther Deschner [Tue, 4 Mar 2008 11:26:05 +0000 (12:26 +0100)]
Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).
We need at least to parse this in order to correctly support kerberized session
setup from w2k8 as well as local pam_winbind logons using kerberos.
Guenther
(cherry picked from commit
4ba62d49d740c43cf17ceef1534cf1c8a7e4a130)
Günther Deschner [Tue, 4 Mar 2008 11:28:36 +0000 (12:28 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 4 Mar 2008 11:26:05 +0000 (12:26 +0100)]
Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).
We need at least to parse this in order to correctly support kerberized session
setup from w2k8 as well as local pam_winbind logons using kerberos.
Guenther
Günther Deschner [Tue, 4 Mar 2008 12:19:38 +0000 (13:19 +0100)]
Fix counter mismatch in lsa_LookupNames3 server.
Guenther
(cherry picked from commit
e052d6f2c82a644986e5d99f640310d71cd5c396)
Günther Deschner [Tue, 4 Mar 2008 12:16:02 +0000 (13:16 +0100)]
Fix counter mismatch in lsa_LookupNames server.
Guenther
(cherry picked from commit
80fd085c34befd38d33cf6e59080a2a36016a92d)
Günther Deschner [Tue, 4 Mar 2008 11:46:15 +0000 (12:46 +0100)]
Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.
Guenther
(cherry picked from commit
b9441232d66d78e66464be6c9748a023681ce6ca)
Günther Deschner [Tue, 4 Mar 2008 10:06:02 +0000 (11:06 +0100)]
Zero more structs initially in LSA rpc server.
Guenther
(cherry picked from commit
d7ce643285276790a65faff76666498595a508d7)
Günther Deschner [Tue, 4 Mar 2008 12:19:38 +0000 (13:19 +0100)]
Fix counter mismatch in lsa_LookupNames3 server.
Guenther
Günther Deschner [Tue, 4 Mar 2008 12:16:02 +0000 (13:16 +0100)]
Fix counter mismatch in lsa_LookupNames server.
Guenther
Karolin Seeger [Tue, 4 Mar 2008 08:53:37 +0000 (09:53 +0100)]
Update release date.
Karolin
(cherry picked from commit
491535d0911c64869055b85a210c2ef076086b83)
Günther Deschner [Tue, 4 Mar 2008 11:46:15 +0000 (12:46 +0100)]
Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.
Guenther
Günther Deschner [Tue, 4 Mar 2008 10:02:26 +0000 (11:02 +0100)]
Fix crash bug in pdb_init_ldapsam().
Karolin, this needs to be in 3-2-stable.
Guenther
(cherry picked from commit
0d73bde6de4391e7aec862424762473441fa0905)
Günther Deschner [Tue, 4 Mar 2008 10:07:13 +0000 (11:07 +0100)]
Use TALLOC_FREE in libnetjoin debugging dump code.
Guenther
Günther Deschner [Tue, 4 Mar 2008 10:06:02 +0000 (11:06 +0100)]
Zero more structs initially in LSA rpc server.
Guenther
Günther Deschner [Tue, 4 Mar 2008 10:04:36 +0000 (11:04 +0100)]
Move talloc_init to the right place in "net ads join".
Guenther
Günther Deschner [Tue, 4 Mar 2008 10:02:26 +0000 (11:02 +0100)]
Fix crash bug in pdb_init_ldapsam().
Karolin, this needs to be in 3-2-stable.
Guenther
Karolin Seeger [Tue, 4 Mar 2008 08:53:37 +0000 (09:53 +0100)]
Update release date.
Karolin
Günther Deschner [Fri, 29 Feb 2008 23:32:36 +0000 (00:32 +0100)]
Fix init_registry_data for subkeyless top-level keys.
On a fresh install with no existing registry.tdb, make sure we are able to
create our initial top-level entries.
Michael, Volker, please check.
Guenther
(cherry picked from commit
956bc602062825493e1c357e2388fee1e5514b50)
Derrell Lipman [Tue, 4 Mar 2008 03:56:32 +0000 (22:56 -0500)]
use constant name less likely to cause conflict
(cherry picked from commit
fd18b01016d1dc4b08983975353e62084fdc323c)
Derrell Lipman [Mon, 3 Mar 2008 23:25:49 +0000 (18:25 -0500)]
Missed a few 'deprecated' markers
(cherry picked from commit
76ba37ac46b4a77fe228ca90635fa19140541ccd)
Derrell Lipman [Mon, 3 Mar 2008 23:13:33 +0000 (18:13 -0500)]
Continued revamping of libsmbclient.
- James suggested using gcc's "deprecated" attribute to mark the context
structure fields to generate warnings. This creates a scenario with the
best of all worlds. I'm able to move to an organization that more easily
allows future enhancements, while avoiding any mandatory changes by
applications. Thanks, James!
- Updated WHATSNEW.txt so that it accurately reflects the current state of
affairs.
Derrell
(cherry picked from commit
a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd)
Derrell Lipman [Sun, 2 Mar 2008 21:21:48 +0000 (16:21 -0500)]
Remove use of deprecated function
(cherry picked from commit
93580bce833453ba512ee436d6dfdbdcd2c53777)
Derrell Lipman [Sun, 2 Mar 2008 21:13:25 +0000 (16:13 -0500)]
fixed missing white space
(cherry picked from commit
71e86f13b0ace3841c6712084728c79db74ff803)