1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

403 Commits

Author SHA1 Message Date
Andrew Bartlett
aca6a1e1ee r1993: Allow WinXP domain logon to progress a bit further (it seems broken for me).
Fix indent, and add a few more useful debug messages.

Send a fault, if the bind is not accepted - don't just leave the client hanging.

Andrew Bartlett
(This used to be commit 486215edc1148ad754632be37760dc0d38b0340d)
2007-10-10 12:58:15 -05:00
Andrew Tridgell
b7e1ea20dc r1985: take advantage of the new talloc in a few more places
(This used to be commit 6ffdfd779936ce8c5ca49c5f444e8da2bbeee0a8)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
b83ba93eae r1983: a completely new implementation of talloc
This version does the following:

  1) talloc_free(), talloc_realloc() and talloc_steal() lose their
     (redundent) first arguments

  2) you can use _any_ talloc pointer as a talloc context to allocate
     more memory. This allows you to create complex data structures
     where the top level structure is the logical parent of the next
     level down, and those are the parents of the level below
     that. Then destroy either the lot with a single talloc_free() or
     destroy any sub-part with a talloc_free() of that part

  3) you can name any pointer. Use talloc_named() which is just like
     talloc() but takes the printf style name argument as well as the
     parent context and the size.

The whole thing ends up being a very simple piece of code, although
some of the pointer walking gets hairy.

So far, I'm just using the new talloc() like the old one. The next
step is to actually take advantage of the new interface
properly. Expect some new commits soon that simplify some common
coding styles in samba4 by using the new talloc().
(This used to be commit e35bb094c52e550b3105dd1638d8d90de71d854f)
2007-10-10 12:58:14 -05:00
Jelmer Vernooij
454e76dec2 r1929: CHeck if cpp on AIX likes /* */ better then //
(This used to be commit 8bf6841a8e9c7fa6d12c6631c9c845edbe52a455)
2007-10-10 12:58:12 -05:00
Volker Lendecke
3ccba74549 r1920: This needs more inspection by the IDL experts. Reverting my last change.
Volker
(This used to be commit 5d9b5a2e58cb271ea38de96e2b4b252ded2b1cdf)
2007-10-10 12:58:11 -05:00
Volker Lendecke
c3ec4582ba r1917: Attempt to push the AIX machine a bit further in the compile. I'm not sure,
but pidl there says "syntax error".

Volker
(This used to be commit c26dc367e4ef2619016d8063a9dfcc7a94be865b)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
1a89c76c93 r1884: remove empty header file
metze
(This used to be commit 874d4506094123a1f42c32c3ad37f6374f5958e8)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
2aa976aeb0 r1874: add dcerpc_errstr() function to display a fault code by name,
this should be used in the torture  tests when we got NT_STATU_NET_WRITE_FAULT

metze
(This used to be commit 964748389bb7560ba141d71bb9256a8552c7db92)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
70f457bd1a r1872: revert -r 1845 because the caling function should look at the fault_code
when it gets NT_STATUS_NET_WRITE_FAULT

metze
(This used to be commit 084845c1ab5e8acdb91f1d93b87d3f58e5de1bfd)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
0320233d15 r1850: when we have a username and use sign or seal on a dcerpc over np
use dcerpc auth instead off smb auth

metze
(This used to be commit 6b429234968da7e51de95b6ede2afe3c1605debb)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
b47f9985ce r1849: use LIBNDR_STRING_BYTESIZE here
metze
(This used to be commit 6e6bfd6dd290b5e1cd3e90ebf20cd2207f94342e)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
10126065d4 r1848: fix LIBNDR_STRING_FLAGS to include LIBNDR_STRING_BYTESIZE
metze
(This used to be commit 7f1fceeb7f7e2e51fb67f48b1513a32564b7cdff)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
07eab50180 r1847: add STR_BYTESIZE flag, to handle cases where
the size is in bytes not in unicode chars

metze
(This used to be commit 6d094d60d377479de28790bad8ceb4c083c902cd)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
bd30f32d4e r1846: add helpstring
metze
(This used to be commit b1c8611d730c8fd3927576faaa4b8fed8ad5b1fe)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6311e8955e r1845: map DCERPC_FAULT_LOGON_FAILURE to NT_STATUS_LOGON_FAILURE
metze
(This used to be commit 0cf0c3646038574e73c77a0b7adbdf6d04fe7207)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
c7088e5e3c r1842: add fault code that happens with wrong password
or when signing or sealing fails

DCERPC_FAULT_LOGON_FAILURE      = 0x00000005;

metze
(This used to be commit 6ed2ce4edca9dbdb30e52e83d62227656d671a29)
2007-10-10 12:58:00 -05:00
Jelmer Vernooij
d3e8a74551 r1838: Updates from the airplane:
- IDL fixes + adding comments
 - Start working on dcom infrastructure
(This used to be commit ef0fc269f06c82594c34ad8673c76c5ea099250e)
2007-10-10 12:58:00 -05:00
Volker Lendecke
c17a1daf63 r1823: No real changes, I just did not like the ^M's an the line ends :-)
Volker
(This used to be commit ea73426e6557cbc35d38a312b0251e3979692efc)
2007-10-10 12:57:59 -05:00
Andrew Tridgell
10793fb249 r1821: fixed reference to "status" that should be "result"
(This used to be commit bdf7d66d299b0956fbf17b38291089585b2b54bf)
2007-10-10 12:57:59 -05:00
Andrew Tridgell
350673b2d0 r1818: _really_ fixed epmapper this time, it was using more than one old rpc interface method.
(This used to be commit ec41c73ae136bffea4285ade8be322b3c4cf3629)
2007-10-10 12:57:59 -05:00
Stefan Metzmacher
74a66a13ad r1801: fix the build
metze
(This used to be commit afe5715200cbbe2c9720c0455adddeb42776f5c4)
2007-10-10 12:57:58 -05:00
Jelmer Vernooij
b7779be06a r1799: List more uuids. From
http://www.hsc.fr/ressources/articles/win_net_srv
(This used to be commit 8d36dbed8c5bdc82176083b2c6f8d989ae903ba5)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
2a574e2245 r1790: a few updates on krb5 PAC...
metze
(This used to be commit 5a3a10c004ee2c94c42f08d52b36c75b413bdb79)
2007-10-10 12:57:56 -05:00
Jelmer Vernooij
daa7c98409 r1786: Add support for the 'helpstring' attribute on interfaces
(This used to be commit 85fb26a05d57e58795b0c0ffa93dc9e0fa902431)
2007-10-10 12:57:56 -05:00
Jelmer Vernooij
71e149a8a3 r1774: Add the uuids of the known exchange pipes
(This used to be commit 0e07a068b4fa6eaa4c73681dc2e4c156605aba89)
2007-10-10 12:57:56 -05:00
Stefan Metzmacher
8a0f6c9c79 r1770: here's the krb5 server code,
there're some cleanups needed and we need to verify the PAC correctly
and create the auth_session_info correctly...

metze
(This used to be commit d8fe497097ee49611bb05c4a2fed36912d8e16b4)
2007-10-10 12:57:55 -05:00
Andrew Tridgell
e2357c67f5 r1757: much simpler (and smaller, faster etc) way of doing relative pointers
in pidl. This mechanism should be much easier to extend to the
"retrospective subcontexts" that jelmer needs.

also produced more standards complient full-pointer offsets. This
keeps ethereal happy with decoding our epmapper frames.
(This used to be commit ecb7378bbcd86727aedfa04a9e302e06b0a2ccd9)
2007-10-10 12:57:54 -05:00
Jelmer Vernooij
0023e5b698 r1742: Add the IDispatch interface
(This used to be commit 798017bd10338a3a53aa5616a5eeb1146b24180f)
2007-10-10 12:57:52 -05:00
Jelmer Vernooij
1d3b81e6c0 r1736: - Pidl updates:
- Support for "object oriented" interfaces in pidl
 - Support for inherited interfaces in pidl
 - Simplification of the support for properties on an interface
- Start on dcom rpc torture tests
(This used to be commit 45c3d0036b8510102816f9cdff9210098259cc5f)
2007-10-10 12:57:51 -05:00
Jelmer Vernooij
e685961905 r1711: Add ServerAlive2
(This used to be commit fe6f82f3d9146c1fc9efb3b47a9e63361b62be14)
2007-10-10 12:57:50 -05:00
Stefan Metzmacher
a9b5ea6726 r1708: fix jelmers bugs:-)
metze
(This used to be commit ea076556602b81d33b4165f8a17bce1e127fb37f)
2007-10-10 12:57:49 -05:00
Jelmer Vernooij
a553517bd5 r1706: More IDL pipes
(This used to be commit fbbb020ea6a7cd8e7192b67ef8b45dbbc8474399)
2007-10-10 12:57:49 -05:00
Jelmer Vernooij
1f0ea81ae9 r1703: - Lots of RPC updates, adding new pipes and protocols.
- More updates/fixes to the ethereal parser generator
(This used to be commit 547f860285b117e291bf3dbaca0707dc268b214e)
2007-10-10 12:57:49 -05:00
Stefan Metzmacher
bf85647095 r1679: fix add the extrasids and resource group array in
the EXTRA_SIDS idl isn't verified to be correct yet

metze
(This used to be commit 43fd611593af030a3d86d2640be6b1de959939c7)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
ac2c620c50 r1677: security descriptors are always little-endian, regardless of DCE/RPC
level byte order flags
(This used to be commit a9c46aefaf4b53329eaf1a8e0446e74c4d1c750c)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
0f32036afe r1675: netlogon deltas IDL update from Richard Renard
(This used to be commit ae49221301215a6aa12666f2ea336a42120459c5)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
11afc70bb0 r1673: using the new [relative] pidl handling, the PAC decode is now much closer
(This used to be commit c33bf6f935025b5623f21cca50664ba70f886b49)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
15dddf7b1e r1671: make [relative] pointers in idl much more generic, treating them just
like normal pointers in most cases. This means we can now support
relative pointers to unions, builtin types etc, whereas we could only
previously support relative pointers to structures.

metze needs this for the PAC decoding.
(This used to be commit 0d063725e12f51375b7d0be55a19072a9a54e7e6)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
7011c71600 r1657: fixed the string types of two strings in svcctl.
we still need to fix the handling of subcontexts
(This used to be commit 589c5e394ca1c7ef29f2a0f755a5f932ce60dde5)
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
c5fbb6f23c r1654: rename cli_ -> smbcli_
rename CLI_ -> SMBCLI_

metze
(This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
3a296195b3 r1648: the endpoints for the DRSUAPI pipe are
lsass,protected_storage not drsuapi:-)

metze
(This used to be commit a60ce66a01ff7528778dfded43d2a6e893acc5e2)
2007-10-10 12:57:47 -05:00
Andrew Tridgell
79a228a35b r1645: added a debug when a RPC fault is received
(This used to be commit cb1830909952dd0d0fed2090e820f1ee2552a7a2)
2007-10-10 12:57:46 -05:00
Andrew Tridgell
60708de658 r1644: changed the way [relative] pointers work in pidl, making them much
simpler. This doesn't appear to hurt any of the existing uses of
[relative], but fixes its use for svcctl that jelmer is working on.
(This used to be commit 573f56a44785526d15c0179c5bbdab4c8b9461f1)
2007-10-10 12:57:46 -05:00
Jelmer Vernooij
076d0bc8c4 r1641: Finish IDL for EnumServicesStatus
(This used to be commit c395652aa033502e4e0944b8031c869f479c888a)
2007-10-10 12:57:46 -05:00
Jelmer Vernooij
0c55b8d8c2 r1617: Start working on the svcctl pipe
(This used to be commit 518ff5f505446fee623365fd5bdfc75c0cb93d2a)
2007-10-10 12:57:44 -05:00
Stefan Metzmacher
1ce4a2d5fe r1558: the unknown_time is the same as the logon_time in the PAC_LOGON_INFO
the account_name is a 'nstring'

metze
(This used to be commit bb906e5e9e566e7ed931436956ba8323503875f9)
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
dafcc76e2e r1552: commit the first version of the pidl generated krb5 PAC parser
NOTE: there a lot of work todo, maybe we need to extent pidl

metze
(This used to be commit b94a09d461291d9dd47c5859537d6025f02a80ff)
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
ae0018ad2a r1545: add some comments and move a transport function to the transport section
metze
(This used to be commit 7d5ca8cc7cdeef0fc9307f8f98366958aa4ce3c2)
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
b56fbe6d14 r1543: add srvsvc_NetRemoteTOD idl and torture tests
metze
(This used to be commit 3f2b77d7ec024f54dc478522d85278ced8fce617)
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
84735e42d4 r1525: share info level 1004 is invalid,
but is not the same as the default case

metze
(This used to be commit 5fe88379ad2de0a346bb7155e74eb00cfa3ef44c)
2007-10-10 12:57:39 -05:00