1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

26146 Commits

Author SHA1 Message Date
Günther Deschner
5e9d8cdc94 Use rpccli_srvsvc_NetRemoteTOD() in rpcclient.
Guenther
2008-03-05 10:38:13 +01:00
Günther Deschner
2b4e0f0593 Use pidl for _srvsvc_NetRemoteTOD().
Guenther
2008-03-05 10:34:45 +01:00
Günther Deschner
b9abb78320 Re-run make idl.
Guenther
2008-03-05 10:32:55 +01:00
Günther Deschner
cc3ec6ac65 Fix IDL for srvsvc_NetRemoteTOD().
Guenther
2008-03-05 10:32:04 +01:00
Günther Deschner
9bfa77edc6 Use pidl for _srvsvc_NetShareSetInfo().
Guenther
2008-03-05 10:00:31 +01:00
Günther Deschner
4ace93c3df Re-run make idl.
Guenther
2008-03-05 10:00:22 +01:00
Günther Deschner
40d780f2e7 Fix IDL for srvsvc_NetShareSetInfo().
Guenther
2008-03-05 10:00:15 +01:00
Günther Deschner
5911529205 Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.
Guenther
2008-03-05 09:54:12 +01:00
Günther Deschner
a7aef18797 Remove unused marshalling for SRV_NET_SRV_SET_INFO.
Guenther
2008-03-05 09:50:11 +01:00
Günther Deschner
75b0bbf790 Use pidl for _srvsvc_NetSrvSetInfo().
Guenther
2008-03-05 09:50:02 +01:00
Günther Deschner
ea03cb92c4 Re-run make idl.
Guenther
2008-03-05 09:49:52 +01:00
Günther Deschner
024021daab Fix IDL for srvsvc_NetSrvSetInfo().
Guenther
2008-03-05 09:49:42 +01:00
Günther Deschner
53a7e9b07d Remove unused marshalling for SRV_NET_SRV_GET_INFO.
Guenther
2008-03-05 09:49:34 +01:00
Günther Deschner
4a74f1e8d2 Use rpccli_srvsvc_NetSrvGetInfo() in rpcclient.
Guenther
2008-03-05 09:49:25 +01:00
Günther Deschner
34caa41fa6 Use pidl for _srvsvc_NetSrvGetInfo().
Guenther
2008-03-05 09:49:15 +01:00
Günther Deschner
3c0a3f8de7 Whitespace cleanup in srvsvc server.
Guenther
2008-03-05 09:47:53 +01:00
Günther Deschner
821762e5ab Fix proxy_srvsvc_call().
Wow, this must have been broken a long time already.

Guenther
2008-03-04 22:54:14 +01:00
Günther Deschner
f88910c1e5 Add secure_channel_type to libnetjoin.
Guenther
2008-03-04 19:04:54 +01:00
Günther Deschner
8e601e2365 Re-run make idl.
Guenther
2008-03-04 15:44:19 +01:00
Günther Deschner
4ba62d49d7 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
2008-03-04 15:43:32 +01:00
Günther Deschner
e052d6f2c8 Fix counter mismatch in lsa_LookupNames3 server.
Guenther
2008-03-04 13:22:40 +01:00
Günther Deschner
80fd085c34 Fix counter mismatch in lsa_LookupNames server.
Guenther
2008-03-04 13:22:40 +01:00
Karolin Seeger
5eacf7c672 Update release date.
Karolin
(cherry picked from commit 491535d0911c64869055b85a210c2ef076086b83)
2008-03-04 13:02:58 +01:00
Günther Deschner
b9441232d6 Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.
Guenther
2008-03-04 12:52:37 +01:00
Günther Deschner
b753087ff7 Use TALLOC_FREE in libnetjoin debugging dump code.
Guenther
2008-03-04 11:07:13 +01:00
Günther Deschner
d7ce643285 Zero more structs initially in LSA rpc server.
Guenther
2008-03-04 11:06:02 +01:00
Günther Deschner
8cd07c1fa8 Move talloc_init to the right place in "net ads join".
Guenther
2008-03-04 11:04:36 +01:00
Günther Deschner
0d73bde6de Fix crash bug in pdb_init_ldapsam().
Karolin, this needs to be in 3-2-stable.

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

Karolin
2008-03-03 09:26:26 +01:00
Derrell Lipman
93580bce83 Remove use of deprecated function 2008-03-02 16:21:48 -05:00
Derrell Lipman
71e86f13b0 fixed missing white space 2008-03-02 16:13:25 -05:00
Derrell Lipman
f07407a32e Update WHATSNEW for libsmbclient changes 2008-03-01 23:08:19 -05:00
Derrell Lipman
23cb9c49e3 Return NULL, not 0, from a function which returns a pointer. 2008-03-01 21:19:52 -05:00
Derrell Lipman
1fd65359f6 change variable name from f to fn for function pointers 2008-03-01 21:19:15 -05:00
Derrell Lipman
dec70fa3c0 Comment was in wrong place 2008-03-01 20:56:54 -05:00
Derrell Lipman
a8b4b773d4 Mark smbc_option_{get,set} as deprecated 2008-03-01 20:55:21 -05:00
Derrell Lipman
64b7150d92 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
2008-03-01 20:47:22 -05:00
Derrell Lipman
56429a3d60 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
2008-03-01 20:47:22 -05:00
Derrell Lipman
d4b4bae8de 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
2008-03-01 20:47:22 -05:00
Günther Deschner
aa9c0f5877 Make sure we are still able to join Windows 2008.
Guenther
2008-03-01 16:14:39 +01:00
Volker Lendecke
030bef7f22 Revert "Add basic infrastructure for general async requests"
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390.
2008-03-01 09:38:14 +01:00
Volker Lendecke
5f53a62be8 Revert "Add infrastructure to support async SMB requests"
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81.
2008-03-01 09:38:14 +01:00
Volker Lendecke
5ab1cfda50 Revert "Add async cli_pull support"
This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d.
2008-03-01 09:38:14 +01:00
Volker Lendecke
ac301fada2 Revert "Convert cli_read to use cli_pull"
This reverts commit 719527f55e88f0c5fdceda5c807475aba299c79f.
2008-03-01 09:38:14 +01:00