1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

26147 Commits

Author SHA1 Message Date
Günther Deschner
1bdce8e5b5 Remove unused marshalling for SRV_NET_REMOTE_TOD.
Guenther
(This used to be commit 9f0ea1d727046fef4c23bcf1e71d10f33c93b00f)
2008-03-05 10:40:52 +01:00
Günther Deschner
b0dad261ad Use rpccli_srvsvc_NetRemoteTOD() in rpcclient.
Guenther
(This used to be commit 5e9d8cdc948b678e5aa6e04ee13635376b7306f5)
2008-03-05 10:38:13 +01:00
Günther Deschner
78b20443c5 Use pidl for _srvsvc_NetRemoteTOD().
Guenther
(This used to be commit 2b4e0f0593c6378cdac4811ded830ca694afac9e)
2008-03-05 10:34:45 +01:00
Günther Deschner
91714e0429 Re-run make idl.
Guenther
(This used to be commit b9abb783200f6c14543c3b884b9393797cfa8dbd)
2008-03-05 10:32:55 +01:00
Günther Deschner
a7b00be766 Fix IDL for srvsvc_NetRemoteTOD().
Guenther
(This used to be commit cc3ec6ac65eab8c955cd17f3d4bdf58d6fcc22be)
2008-03-05 10:32:04 +01:00
Günther Deschner
c6c67005a8 Use pidl for _srvsvc_NetShareSetInfo().
Guenther
(This used to be commit 9bfa77edc68a887972b609bfb0aee8bbbc89ce04)
2008-03-05 10:00:31 +01:00
Günther Deschner
cc4cd73dc5 Re-run make idl.
Guenther
(This used to be commit 4ace93c3df280558ef75b6619297e367ac9713c9)
2008-03-05 10:00:22 +01:00
Günther Deschner
9e10620f85 Fix IDL for srvsvc_NetShareSetInfo().
Guenther
(This used to be commit 40d780f2e75c3a62853568a149a1229828ac9da4)
2008-03-05 10:00:15 +01:00
Günther Deschner
d1ef6699c0 Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.
Guenther
(This used to be commit 5911529205ca69c438e0782c07ee4fe5aa95de62)
2008-03-05 09:54:12 +01:00
Günther Deschner
2b5d47a093 Remove unused marshalling for SRV_NET_SRV_SET_INFO.
Guenther
(This used to be commit a7aef18797407b1f451191647d4b0225ac838817)
2008-03-05 09:50:11 +01:00
Günther Deschner
eb44792a22 Use pidl for _srvsvc_NetSrvSetInfo().
Guenther
(This used to be commit 75b0bbf790da44c45c679c374dbe09f288f3fb8c)
2008-03-05 09:50:02 +01:00
Günther Deschner
05ea7555c1 Re-run make idl.
Guenther
(This used to be commit ea03cb92c481b9bb47d2a4e133cf830acb0f22a3)
2008-03-05 09:49:52 +01:00
Günther Deschner
93cb719837 Fix IDL for srvsvc_NetSrvSetInfo().
Guenther
(This used to be commit 024021daabe825bc7a033951aa1073ab76bd34aa)
2008-03-05 09:49:42 +01:00
Günther Deschner
986005db13 Remove unused marshalling for SRV_NET_SRV_GET_INFO.
Guenther
(This used to be commit 53a7e9b07d07d3e9d21360dee35fee27b46929b3)
2008-03-05 09:49:34 +01:00
Günther Deschner
640f53fe5b Use rpccli_srvsvc_NetSrvGetInfo() in rpcclient.
Guenther
(This used to be commit 4a74f1e8d2c45574973fc4c0ce4fbc9a843afaa0)
2008-03-05 09:49:25 +01:00
Günther Deschner
2c3dc9baa5 Use pidl for _srvsvc_NetSrvGetInfo().
Guenther
(This used to be commit 34caa41fa6d44165b470508261c2bde124fc4955)
2008-03-05 09:49:15 +01:00
Günther Deschner
d89877070e Whitespace cleanup in srvsvc server.
Guenther
(This used to be commit 3c0a3f8de742678b56f6b998a014105c05400666)
2008-03-05 09:47:53 +01:00
Günther Deschner
ae45a74ddc Fix proxy_srvsvc_call().
Wow, this must have been broken a long time already.

Guenther
(This used to be commit 821762e5ab32a2fbea7c41f1d2c2ea8589daa1d3)
2008-03-04 22:54:14 +01:00
Günther Deschner
d06274b541 Add secure_channel_type to libnetjoin.
Guenther
(This used to be commit f88910c1e5186737da4eda5a7a396c3238fc6775)
2008-03-04 19:04:54 +01:00
Günther Deschner
29eb634399 Re-run make idl.
Guenther
(This used to be commit 8e601e2365f50e582de442daa1559f828bda3e89)
2008-03-04 15:44:19 +01:00
Günther Deschner
9a05f49ca6 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
(This used to be commit 4ba62d49d740c43cf17ceef1534cf1c8a7e4a130)
2008-03-04 15:43:32 +01:00
Günther Deschner
7c95f53b68 Fix counter mismatch in lsa_LookupNames3 server.
Guenther
(This used to be commit e052d6f2c82a644986e5d99f640310d71cd5c396)
2008-03-04 13:22:40 +01:00
Günther Deschner
253dc4d728 Fix counter mismatch in lsa_LookupNames server.
Guenther
(This used to be commit 80fd085c34befd38d33cf6e59080a2a36016a92d)
2008-03-04 13:22:40 +01:00
Karolin Seeger
959cb482d3 Update release date.
Karolin
(cherry picked from commit 491535d0911c64869055b85a210c2ef076086b83)
(This used to be commit 5eacf7c672ce8a2cf17f05c62789d321ed9d89bb)
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 b9441232d66d78e66464be6c9748a023681ce6ca)
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 b753087ff79c1d35a409eddc1f61e115e887c1e1)
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 d7ce643285276790a65faff76666498595a508d7)
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 8cd07c1fa8f435f7ff3dc79c195da9324fb2452f)
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 0d73bde6de4391e7aec862424762473441fa0905)
2008-03-04 11:03:35 +01:00
Derrell Lipman
8a22800028 use constant name less likely to cause conflict
(This used to be commit fd18b01016d1dc4b08983975353e62084fdc323c)
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 8927b50d6051fcefd87f19dc90c5826378d03e4e)
2008-03-03 18:27:41 -05:00
Derrell Lipman
ee45d0d663 Missed a few 'deprecated' markers
(This used to be commit 76ba37ac46b4a77fe228ca90635fa19140541ccd)
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 a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd)
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 2c42fc21d8bede226e411623aecd69038477373b)
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 f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4)
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 d0ab519652c3036725b0cea1b4930fc759b4d9fe)
2008-03-03 09:26:26 +01:00
Derrell Lipman
8a05c0a884 Remove use of deprecated function
(This used to be commit 93580bce833453ba512ee436d6dfdbdcd2c53777)
2008-03-02 16:21:48 -05:00
Derrell Lipman
bf950ea758 fixed missing white space
(This used to be commit 71e86f13b0ace3841c6712084728c79db74ff803)
2008-03-02 16:13:25 -05:00
Derrell Lipman
3c0029e9bf Update WHATSNEW for libsmbclient changes
(This used to be commit f07407a32e178a47c8f9b3e3703aa5a20f0a4f06)
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 23cb9c49e3724cecaa66655ef64c3111bf14c552)
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 1fd65359f6cd07539cfe43146ac367a48708a678)
2008-03-01 21:19:15 -05:00
Derrell Lipman
b3c16a241d Comment was in wrong place
(This used to be commit dec70fa3c0424c148016cc667a3c159e16d8a944)
2008-03-01 20:56:54 -05:00
Derrell Lipman
0bd3df33ed Mark smbc_option_{get,set} as deprecated
(This used to be commit a8b4b773d4647f28e7b92c5968469721d34eb550)
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 64b7150d92849a1e1e2416b9dcc12fae8d6bea99)
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 56429a3d60b2a48963342f6340b3c01469a892c6)
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 d4b4bae8ded824d06ad5ab0e219f71187ee5c771)
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 aa9c0f587718f4d647e87b9662acbedba042b9cb)
2008-03-01 16:14:39 +01:00
Volker Lendecke
c3cb59ae2b Revert "Add basic infrastructure for general async requests"
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390.
(This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
2008-03-01 09:38:14 +01:00
Volker Lendecke
45a877f392 Revert "Add infrastructure to support async SMB requests"
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81.
(This used to be commit 5f53a62be8a21b8d92ac44b18d202882500356e8)
2008-03-01 09:38:14 +01:00
Volker Lendecke
a34d158880 Revert "Add async cli_pull support"
This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d.
(This used to be commit 5ab1cfda500de07ff3c712442ab2fc74eecc8886)
2008-03-01 09:38:14 +01:00