1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-28 03:33:13 +03:00
Commit Graph

402 Commits

Author SHA1 Message Date
Andrew Tridgell
6ffdfd7799 r1985: take advantage of the new talloc in a few more places 2007-10-10 12:58:14 -05:00
Andrew Tridgell
e35bb094c5 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().
2007-10-10 12:58:14 -05:00
Jelmer Vernooij
8bf6841a8e r1929: CHeck if cpp on AIX likes /* */ better then // 2007-10-10 12:58:12 -05:00
Volker Lendecke
5d9b5a2e58 r1920: This needs more inspection by the IDL experts. Reverting my last change.
Volker
2007-10-10 12:58:11 -05:00
Volker Lendecke
c26dc367e4 r1917: Attempt to push the AIX machine a bit further in the compile. I'm not sure,
but pidl there says "syntax error".

Volker
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
874d450609 r1884: remove empty header file
metze
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
964748389b 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
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
084845c1ab r1872: revert -r 1845 because the caling function should look at the fault_code
when it gets NT_STATUS_NET_WRITE_FAULT

metze
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
6b42923496 r1850: when we have a username and use sign or seal on a dcerpc over np
use dcerpc auth instead off smb auth

metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6e6bfd6dd2 r1849: use LIBNDR_STRING_BYTESIZE here
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
7f1fceeb7f r1848: fix LIBNDR_STRING_FLAGS to include LIBNDR_STRING_BYTESIZE
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6d094d60d3 r1847: add STR_BYTESIZE flag, to handle cases where
the size is in bytes not in unicode chars

metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
b1c8611d73 r1846: add helpstring
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
0cf0c36460 r1845: map DCERPC_FAULT_LOGON_FAILURE to NT_STATUS_LOGON_FAILURE
metze
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6ed2ce4edc r1842: add fault code that happens with wrong password
or when signing or sealing fails

DCERPC_FAULT_LOGON_FAILURE      = 0x00000005;

metze
2007-10-10 12:58:00 -05:00
Jelmer Vernooij
ef0fc269f0 r1838: Updates from the airplane:
- IDL fixes + adding comments
 - Start working on dcom infrastructure
2007-10-10 12:58:00 -05:00
Volker Lendecke
ea73426e65 r1823: No real changes, I just did not like the ^M's an the line ends :-)
Volker
2007-10-10 12:57:59 -05:00
Andrew Tridgell
bdf7d66d29 r1821: fixed reference to "status" that should be "result" 2007-10-10 12:57:59 -05:00
Andrew Tridgell
ec41c73ae1 r1818: _really_ fixed epmapper this time, it was using more than one old rpc interface method. 2007-10-10 12:57:59 -05:00
Stefan Metzmacher
afe5715200 r1801: fix the build
metze
2007-10-10 12:57:58 -05:00
Jelmer Vernooij
8d36dbed8c r1799: List more uuids. From
http://www.hsc.fr/ressources/articles/win_net_srv
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
5a3a10c004 r1790: a few updates on krb5 PAC...
metze
2007-10-10 12:57:56 -05:00
Jelmer Vernooij
85fb26a05d r1786: Add support for the 'helpstring' attribute on interfaces 2007-10-10 12:57:56 -05:00
Jelmer Vernooij
0e07a068b4 r1774: Add the uuids of the known exchange pipes 2007-10-10 12:57:56 -05:00
Stefan Metzmacher
d8fe497097 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
2007-10-10 12:57:55 -05:00
Andrew Tridgell
ecb7378bbc 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.
2007-10-10 12:57:54 -05:00
Jelmer Vernooij
798017bd10 r1742: Add the IDispatch interface 2007-10-10 12:57:52 -05:00
Jelmer Vernooij
45c3d0036b 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
2007-10-10 12:57:51 -05:00
Jelmer Vernooij
fe6f82f3d9 r1711: Add ServerAlive2 2007-10-10 12:57:50 -05:00
Stefan Metzmacher
ea07655660 r1708: fix jelmers bugs:-)
metze
2007-10-10 12:57:49 -05:00
Jelmer Vernooij
fbbb020ea6 r1706: More IDL pipes 2007-10-10 12:57:49 -05:00
Jelmer Vernooij
547f860285 r1703: - Lots of RPC updates, adding new pipes and protocols.
- More updates/fixes to the ethereal parser generator
2007-10-10 12:57:49 -05:00
Stefan Metzmacher
43fd611593 r1679: fix add the extrasids and resource group array in
the EXTRA_SIDS idl isn't verified to be correct yet

metze
2007-10-10 12:57:48 -05:00
Andrew Tridgell
a9c46aefaf r1677: security descriptors are always little-endian, regardless of DCE/RPC
level byte order flags
2007-10-10 12:57:48 -05:00
Andrew Tridgell
ae49221301 r1675: netlogon deltas IDL update from Richard Renard 2007-10-10 12:57:48 -05:00
Andrew Tridgell
c33bf6f935 r1673: using the new [relative] pidl handling, the PAC decode is now much closer 2007-10-10 12:57:48 -05:00
Andrew Tridgell
0d063725e1 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.
2007-10-10 12:57:48 -05:00
Andrew Tridgell
589c5e394c r1657: fixed the string types of two strings in svcctl.
we still need to fix the handling of subcontexts
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
8441750fd9 r1654: rename cli_ -> smbcli_
rename CLI_ -> SMBCLI_

metze
2007-10-10 12:57:47 -05:00
Stefan Metzmacher
a60ce66a01 r1648: the endpoints for the DRSUAPI pipe are
lsass,protected_storage not drsuapi:-)

metze
2007-10-10 12:57:47 -05:00
Andrew Tridgell
cb18309099 r1645: added a debug when a RPC fault is received 2007-10-10 12:57:46 -05:00
Andrew Tridgell
573f56a447 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.
2007-10-10 12:57:46 -05:00
Jelmer Vernooij
c395652aa0 r1641: Finish IDL for EnumServicesStatus 2007-10-10 12:57:46 -05:00
Jelmer Vernooij
518ff5f505 r1617: Start working on the svcctl pipe 2007-10-10 12:57:44 -05:00
Stefan Metzmacher
bb906e5e9e r1558: the unknown_time is the same as the logon_time in the PAC_LOGON_INFO
the account_name is a 'nstring'

metze
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
b94a09d461 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
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
7d5ca8cc7c r1545: add some comments and move a transport function to the transport section
metze
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
3f2b77d7ec r1543: add srvsvc_NetRemoteTOD idl and torture tests
metze
2007-10-10 12:57:41 -05:00
Stefan Metzmacher
5fe88379ad r1525: share info level 1004 is invalid,
but is not the same as the default case

metze
2007-10-10 12:57:39 -05:00
Stefan Metzmacher
f524073762 r1524: add some comments
metze
2007-10-10 12:57:39 -05:00