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

26124 Commits

Author SHA1 Message Date
Karolin Seeger
959cb482d3 Update release date.
Karolin
(cherry picked from commit 491535d091)
(This used to be commit 5eacf7c672)
2008-03-04 13:02:58 +01:00
Günther Deschner
33322a7ced Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.
Guenther
(This used to be commit b9441232d6)
2008-03-04 12:52:37 +01:00
Günther Deschner
5a4182012d Use TALLOC_FREE in libnetjoin debugging dump code.
Guenther
(This used to be commit b753087ff7)
2008-03-04 11:07:13 +01:00
Günther Deschner
b2729f4e2d Zero more structs initially in LSA rpc server.
Guenther
(This used to be commit d7ce643285)
2008-03-04 11:06:02 +01:00
Günther Deschner
f7b4485fbe Move talloc_init to the right place in "net ads join".
Guenther
(This used to be commit 8cd07c1fa8)
2008-03-04 11:04:36 +01:00
Günther Deschner
2c5e04b1f7 Fix crash bug in pdb_init_ldapsam().
Karolin, this needs to be in 3-2-stable.

Guenther
(This used to be commit 0d73bde6de)
2008-03-04 11:03:35 +01:00
Derrell Lipman
8a22800028 use constant name less likely to cause conflict
(This used to be commit fd18b01016)
2008-03-03 22:56:32 -05:00
Derrell Lipman
b6595bd38b Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 8927b50d60)
2008-03-03 18:27:41 -05:00
Derrell Lipman
ee45d0d663 Missed a few 'deprecated' markers
(This used to be commit 76ba37ac46)
2008-03-03 18:25:49 -05:00
Derrell Lipman
1363ee9d65 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
(This used to be commit a67f96fbe9)
2008-03-03 18:13:33 -05:00
Volker Lendecke
4aa0bfc985 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
(This used to be commit 2c42fc21d8)
2008-03-03 18:13:38 +01:00
Günther Deschner
2418916460 Fix gp_find_file() which broke during the pstring removal.
Guenther
(This used to be commit f18ba6c877)
2008-03-03 09:44:36 +01:00
Karolin Seeger
e447bf2edb Update WHATSNEW.
Parameter 'hidden' has been renamed to 'administrative share'.

Karolin
(This used to be commit d0ab519652)
2008-03-03 09:26:26 +01:00
Derrell Lipman
8a05c0a884 Remove use of deprecated function
(This used to be commit 93580bce83)
2008-03-02 16:21:48 -05:00
Derrell Lipman
bf950ea758 fixed missing white space
(This used to be commit 71e86f13b0)
2008-03-02 16:13:25 -05:00
Derrell Lipman
3c0029e9bf Update WHATSNEW for libsmbclient changes
(This used to be commit f07407a32e)
2008-03-01 23:08:19 -05:00
Derrell Lipman
fc65c6698e Return NULL, not 0, from a function which returns a pointer.
(This used to be commit 23cb9c49e3)
2008-03-01 21:19:52 -05:00
Derrell Lipman
4a3410b766 change variable name from f to fn for function pointers
(This used to be commit 1fd65359f6)
2008-03-01 21:19:15 -05:00
Derrell Lipman
b3c16a241d Comment was in wrong place
(This used to be commit dec70fa3c0)
2008-03-01 20:56:54 -05:00
Derrell Lipman
0bd3df33ed Mark smbc_option_{get,set} as deprecated
(This used to be commit a8b4b773d4)
2008-03-01 20:55:21 -05:00
Derrell Lipman
223940d9a8 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
(This used to be commit 64b7150d92)
2008-03-01 20:47:22 -05:00
Derrell Lipman
4ba42cbe0f 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
(This used to be commit 56429a3d60)
2008-03-01 20:47:22 -05:00
Derrell Lipman
257b7b0929 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
(This used to be commit d4b4bae8de)
2008-03-01 20:47:22 -05:00
Günther Deschner
422af9a516 Make sure we are still able to join Windows 2008.
Guenther
(This used to be commit aa9c0f5877)
2008-03-01 16:14:39 +01:00
Volker Lendecke
c3cb59ae2b Revert "Add basic infrastructure for general async requests"
This reverts commit ae254cb61f.
(This used to be commit 030bef7f22)
2008-03-01 09:38:14 +01:00
Volker Lendecke
45a877f392 Revert "Add infrastructure to support async SMB requests"
This reverts commit f535682569.
(This used to be commit 5f53a62be8)
2008-03-01 09:38:14 +01:00
Volker Lendecke
a34d158880 Revert "Add async cli_pull support"
This reverts commit 844a163458.
(This used to be commit 5ab1cfda50)
2008-03-01 09:38:14 +01:00
Volker Lendecke
342859edfc Revert "Convert cli_read to use cli_pull"
This reverts commit 719527f55e.
(This used to be commit ac301fada2)
2008-03-01 09:38:14 +01:00
Volker Lendecke
1c02bee829 Revert "Fix warnings"
This reverts commit 9a966e5593.
(This used to be commit 413695e8d0)
2008-03-01 09:38:14 +01:00
Günther Deschner
87222d3f11 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
(This used to be commit 956bc60206)
2008-03-01 01:02:15 +01:00
Volker Lendecke
5e0d86c407 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
(This used to be commit 2bd3b7d474)
2008-02-29 22:39:45 +01:00
Volker Lendecke
45615d6283 Check the right variable for being NULL
(This used to be commit f2c6780379)
2008-02-29 22:39:45 +01:00
Günther Deschner
c5249935d4 Fix the build w/o ldap.
Guenther
(This used to be commit 5f592d030b)
2008-02-29 20:52:35 +01:00
Günther Deschner
72b8392f9c Add gp_get_machine_token().
Guenther
(This used to be commit 2f1bc7ddad)
2008-02-29 18:23:53 +01:00
Günther Deschner
f3efceace4 Revert "what a wurst."
That commit message was just too silly, this happens to me during interactive
rebase all the time...

This reverts commit ab687104c1.
(This used to be commit a3a1edab0d)
2008-02-29 18:19:06 +01:00
Günther Deschner
3afcd3ab83 what a wurst.
(This used to be commit ab687104c1)
2008-02-29 17:45:25 +01:00
Günther Deschner
485b070eb8 Add "registry" Group Policy extension.
Guenther
(This used to be commit 4e93301ca4)
2008-02-29 17:25:28 +01:00
Günther Deschner
41efa5ca45 Add Group Policy extension infrastructure.
Guenther
(This used to be commit 6d543b1a1a)
2008-02-29 17:07:57 +01:00
Jeremy Allison
ad38725f96 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit e7406822d3)
2008-02-29 06:56:06 -08:00
Jeremy Allison
6a7b6a1961 Patch to fix the "Invalid read of size 4" errors. Bug #3617.
Jeremy.
(This used to be commit fa12667ec2)
2008-02-29 06:55:33 -08:00
Günther Deschner
c613bd5d4e Add infrastructure for reading/storing Group Policy state and control data in the registry.
Guenther
(This used to be commit f673bbd300)
2008-02-29 15:48:14 +01:00
Volker Lendecke
b50eb31bb4 Fix warnings
(This used to be commit 9a966e5593)
2008-02-29 15:17:38 +01:00
Günther Deschner
f12770079b Pure cosmetics, trying to get my group policy diff smaller.
Gunther
(This used to be commit d7346e9360)
2008-02-29 14:53:13 +01:00
Jeremy Allison
6346ab79a6 Fix part of bug #3617 from valgrind trace.
"Invalid read of size 1" errors.
Jeremy.
(This used to be commit d954a4954b)
2008-02-29 05:51:09 -08:00
Michael Adam
e9c2515df0 Eliminate tons of build warnings on non-IPV6 system.
Michael
(This used to be commit ee4810099c)
2008-02-29 13:35:16 +01:00
Michael Adam
af3e746d9e Revert "make idl: Only compile idl files newer than the output to be generated."
This reverts commit 79c199d16e.

Revert this until pidl is capable of doing decent dependency tracking
itself (importing types from imported idls).

Michael
(This used to be commit 1fb69ad1f5)
2008-02-29 13:17:28 +01:00
Michael Adam
d40b891eb0 Revert "Add libnet_join.idl to the IDL files to be processed by "make idl"."
This reverts commit 9b47a73290.

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
(This used to be commit 2967b29f23)
2008-02-29 13:17:28 +01:00
Andreas Schneider
1751b533f0 Rename the 'hidden' variable to 'administrative share'.
(This used to be commit eff3d3bad5)
2008-02-29 13:08:04 +01:00
Michael Adam
4688f2600b Fix linking of smbget when there is no shared library support.
smbget needs libwbclient.

Michael
(This used to be commit 78bc496ecf)
2008-02-29 12:38:29 +01:00
Günther Deschner
a068dc6ede Fill in WHATSNEW.txt.
Guenther
(This used to be commit 55e85ccd3e)
2008-02-29 11:43:54 +01:00