]>
git.ipfire.org Git - thirdparty/samba.git/log
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
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: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
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
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
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
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: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
Derrell Lipman [Tue, 4 Mar 2008 03:56:32 +0000 (22:56 -0500)]
use constant name less likely to cause conflict
Derrell Lipman [Mon, 3 Mar 2008 23:27:41 +0000 (18:27 -0500)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Derrell Lipman [Mon, 3 Mar 2008 23:25:49 +0000 (18:25 -0500)]
Missed a few 'deprecated' markers
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
Volker Lendecke [Mon, 3 Mar 2008 17:12:26 +0000 (18:12 +0100)]
Zero out the out policy handler in lsa_Close
... after a REALLY long session staring at sniffs we can now join XP to
v3-2-test again...
Apparently not doing this makes XP keep an internal handle to LSA open which
confuses the hell out of it.
Karolin, this needs to be in v3-2-stable :-)
Volker
Günther Deschner [Mon, 3 Mar 2008 08:43:10 +0000 (09:43 +0100)]
Fix gp_find_file() which broke during the pstring removal.
Guenther
Karolin Seeger [Fri, 29 Feb 2008 16:51:00 +0000 (17:51 +0100)]
Update WHATSNEW.
Parameter 'hidden' has been renamed to 'administrative share'.
Karolin
Derrell Lipman [Sun, 2 Mar 2008 21:21:48 +0000 (16:21 -0500)]
Remove use of deprecated function
Derrell Lipman [Sun, 2 Mar 2008 21:13:25 +0000 (16:13 -0500)]
fixed missing white space
Derrell Lipman [Sun, 2 Mar 2008 04:08:19 +0000 (23:08 -0500)]
Update WHATSNEW for libsmbclient changes
Derrell Lipman [Sun, 2 Mar 2008 02:19:52 +0000 (21:19 -0500)]
Return NULL, not 0, from a function which returns a pointer.
Derrell Lipman [Sun, 2 Mar 2008 02:19:15 +0000 (21:19 -0500)]
change variable name from f to fn for function pointers
Derrell Lipman [Sun, 2 Mar 2008 01:56:54 +0000 (20:56 -0500)]
Comment was in wrong place
Derrell Lipman [Sun, 2 Mar 2008 01:55:21 +0000 (20:55 -0500)]
Mark smbc_option_{get,set} as deprecated
Derrell Lipman [Sun, 2 Mar 2008 01:44:21 +0000 (20:44 -0500)]
Additional revamped libsmbclient documentation
- Ensured that all public functions have documentation in libsmbclient.h
- Reformatted for "proper" indentation
- Re-added temporarily-disabled alternate authentication function capability
Derrell
Derrell Lipman [Fri, 29 Feb 2008 18:34:35 +0000 (13:34 -0500)]
Modified revamp of the libsmbclient interface.
Given the tacit (if that) approval by some people, and clear disapproval by
others for my proposed clean-up and reorganization of libsmbclient, I've come
up with a slightly different approach. This commit changes back to the
original libsmbclient.h SMBCCTX structure which will maintain ABI
compatibility. I retain, here, the setter and getter functions which all new
code should use. Older programs already compiled should continue to work
fine. Older programs being recompiled will encounter compile-time errors
(intentionally!) so that the code can be corrected to use the setter/getter
interfaces.
Although this doesn't clean up the interface in the way I had wanted, the code
reorganization and requirement for new programs to use the setters and getters
allows future progress to be made on libsmbclient without further muddying up
the interface, while retaining the ABI compatibility that was the big issue
causing disapproval. I hope that this compromise is adequate.
Derrell
Derrell Lipman [Thu, 28 Feb 2008 16:23:20 +0000 (11:23 -0500)]
Initial revamp of the libsmbclient interface.
The libsmbclient interface has suffered from difficulty of improvement and
feature enrichment without causing ABI breakage. Although there were a number
of issues, the primary ones were:
(a) the user of the library would manually manipulate the context structure
members, meaning that nothing in the context structure could change other
than adding stuff at the end;
(b) there were three methods of setting options: setting bits in a flags field
within the context structure, setting explicit options variables within an
options structure in the context structure, and by calling the
smbc_option_set() function;
(c) the authentication callback did not traditionally provide enough
information to the callee which required adding an option for a callback
with a different signature, and now there are requests for even more
information at the callback, requiring yet a third signature and option to
set it (if we implement that feature).
This commit provides a reorganization of the code which fixes (a) and (b).
The context structure is now entirely opaque, and there are setter and getter
functions for manipulating it. This makes maintaining ABI consistency much,
much easier.
Additionally, the options setting/getting has been unified into a single
mechanism using smbc_option_set() and smbc_option_get().
Yet to be completed is a refactoring of the authentication callback (c).
The test programs in examples/libsmbclient have been modified (if necessary;
some applications require no changes at all) for the new API and a few have
been minimally tested.
Derrell
Günther Deschner [Sat, 1 Mar 2008 15:13:25 +0000 (16:13 +0100)]
Make sure we are still able to join Windows 2008.
Guenther
Volker Lendecke [Sat, 1 Mar 2008 08:26:43 +0000 (09:26 +0100)]
Revert "Add basic infrastructure for general async requests"
This reverts commit
ae254cb61f4b9331755848c47ebc34e90dd80390 .
Volker Lendecke [Sat, 1 Mar 2008 08:26:27 +0000 (09:26 +0100)]
Revert "Add infrastructure to support async SMB requests"
This reverts commit
f5356825698a02df2d400b51dd95d1f857c83e81 .
Volker Lendecke [Sat, 1 Mar 2008 08:26:18 +0000 (09:26 +0100)]
Revert "Add async cli_pull support"
This reverts commit
844a163458c7585e4306a21ffdae5d08e03d6e4d .
Volker Lendecke [Sat, 1 Mar 2008 08:26:06 +0000 (09:26 +0100)]
Revert "Convert cli_read to use cli_pull"
This reverts commit
719527f55e88f0c5fdceda5c807475aba299c79f .
Volker Lendecke [Sat, 1 Mar 2008 08:25:52 +0000 (09:25 +0100)]
Revert "Fix warnings"
This reverts commit
9a966e5593ae4474014aec5d8c68c489ac8ce0c9 .
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
Volker Lendecke [Fri, 29 Feb 2008 21:38:10 +0000 (22:38 +0100)]
Restore 3.0 behaviour with empty /etc/hosts
Jeremy, in 3.0 we allowed get_mydnsdomname and get_mydnsfullname to fail
without filling in anything useful. Worked fine. Without this patch and a empty
/etc/hosts and no DNS configured, session setup would return
NT_STATUS_BAD_NETWORK_NAME. This is confusing at best, BAD_NETWORK_NAME afaik
is only ever returned from tcon normally.
This restores the 3.0 behaviour.
Comments?
Volker
Volker Lendecke [Fri, 29 Feb 2008 21:33:35 +0000 (22:33 +0100)]
Check the right variable for being NULL
Günther Deschner [Fri, 29 Feb 2008 19:52:35 +0000 (20:52 +0100)]
Fix the build w/o ldap.
Guenther
Günther Deschner [Fri, 29 Feb 2008 17:23:53 +0000 (18:23 +0100)]
Add gp_get_machine_token().
Guenther
Günther Deschner [Fri, 29 Feb 2008 17:19:06 +0000 (18:19 +0100)]
Revert "what a wurst."
That commit message was just too silly, this happens to me during interactive
rebase all the time...
This reverts commit
ab687104c1371c84c510eca7ef2caad7c21ea8fc .
Günther Deschner [Fri, 29 Feb 2008 16:45:25 +0000 (17:45 +0100)]
what a wurst.
Günther Deschner [Fri, 29 Feb 2008 16:06:22 +0000 (17:06 +0100)]
Add "registry" Group Policy extension.
Guenther
Günther Deschner [Fri, 29 Feb 2008 15:03:23 +0000 (16:03 +0100)]
Add Group Policy extension infrastructure.
Guenther
Jeremy Allison [Fri, 29 Feb 2008 14:56:06 +0000 (06:56 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 29 Feb 2008 14:55:33 +0000 (06:55 -0800)]
Patch to fix the "Invalid read of size 4" errors. Bug #3617.
Jeremy.
Günther Deschner [Fri, 29 Feb 2008 14:46:14 +0000 (15:46 +0100)]
Add infrastructure for reading/storing Group Policy state and control data in the registry.
Guenther
Volker Lendecke [Fri, 29 Feb 2008 14:13:02 +0000 (15:13 +0100)]
Fix warnings
Günther Deschner [Fri, 29 Feb 2008 13:51:37 +0000 (14:51 +0100)]
Pure cosmetics, trying to get my group policy diff smaller.
Gunther
Jeremy Allison [Fri, 29 Feb 2008 13:51:09 +0000 (05:51 -0800)]
Fix part of bug #3617 from valgrind trace.
"Invalid read of size 1" errors.
Jeremy.
Michael Adam [Fri, 29 Feb 2008 12:35:16 +0000 (13:35 +0100)]
Eliminate tons of build warnings on non-IPV6 system.
Michael
Michael Adam [Fri, 29 Feb 2008 12:17:18 +0000 (13:17 +0100)]
Revert "make idl: Only compile idl files newer than the output to be generated."
This reverts commit
79c199d16e565eabd9fd971247f8df62689bb92a .
Revert this until pidl is capable of doing decent dependency tracking
itself (importing types from imported idls).
Michael
Michael Adam [Fri, 29 Feb 2008 12:15:56 +0000 (13:15 +0100)]
Revert "Add libnet_join.idl to the IDL files to be processed by "make idl"."
This reverts commit
9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60 .
libnet_join.idl should not be processed along with the other idl files
since it should not produce server and client code, just the header.
Michael
Andreas Schneider [Thu, 28 Feb 2008 13:06:11 +0000 (14:06 +0100)]
Rename the 'hidden' variable to 'administrative share'.
Michael Adam [Fri, 29 Feb 2008 11:38:29 +0000 (12:38 +0100)]
Fix linking of smbget when there is no shared library support.
smbget needs libwbclient.
Michael
Günther Deschner [Fri, 29 Feb 2008 10:43:06 +0000 (11:43 +0100)]
Fill in WHATSNEW.txt.
Guenther
Volker Lendecke [Fri, 29 Feb 2008 09:17:35 +0000 (10:17 +0100)]
Attempt to fix the build
Stefan Metzmacher [Fri, 29 Feb 2008 08:58:37 +0000 (09:58 +0100)]
configure: only build vfs_syncops if dirfd() is available
This hopefully fixes the build on HP-UX.
metze
Stefan Metzmacher [Fri, 29 Feb 2008 08:25:18 +0000 (09:25 +0100)]
configure: Remove lib/repdir.c and related stuff
It was only used in configure, but lib/replace already
has a much better version of it.
metze
Volker Lendecke [Thu, 21 Feb 2008 15:14:08 +0000 (16:14 +0100)]
Add vfs_aio_fork
This is used for two purposes:
First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.
Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.
Also add tests how to pass file descriptors