summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/irpc.idl
AgeCommit message (Collapse)AuthorFilesLines
2012-10-31imessaging: Add irpc_all_servers() to list all available serversAndrew Bartlett1-1/+12
This is implemented with a tdb_traverse_read(), and will allow a tool to disover the name and server_id of all Samba processes, as each process registers itself to recieve messages. Andrew Bartlett
2010-11-27s4:role transfer - use always type "enum drepl_role_master" for role ↵Matthias Dieter Wallnöfer1-1/+1
specifications Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 27 16:03:43 CET 2010 on sn-devel-104
2010-09-27s4-netlogon: added RODC DNS update call fwded to dnsupdate taskAndrew Tridgell1-1/+11
when we get a netlogon RODC DNS update, we send it to the dnsupdate task
2010-09-27s4:irpc: optionaly pass the security_token via IRPC requests.Stefan Metzmacher1-0/+5
metze
2010-09-23s4:irpc: add padding to the IPRC header for 8 byte alignmentStefan Metzmacher1-0/+1
As we marshall the iprc header and the payload to the ndr_push context, we should pad the irpc header to let the payload start at an 8 byte boundary. This way we get the alignment still be correct if we remove the header before passing the raw payload to the caller. As we use IRPC more and more for complex NDR marshalled structures we need to get this right, in order to not get random ndr_pull failures. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-15s4-rodc: add a trigger message for REPL_SECRET to auth_samAndrew Tridgell1-0/+7
when an RODC tries to authenticate against an account and the account has no password information it needs to send a message to the drepl server to tell it to try and replicate the secret information from a writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-10s4/fsmo: Change return type from NTSTATUS to WERROR for drepl_takeFSMOroleAnatoliy Atanasov1-1/+1
This removed an unnecessary conversion of the return type in drepl_take_FSMO_role.
2010-09-10s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transferNadezhda Ivanova1-0/+16
Basically the candidate owner makes a getncchanges call with extended op 6 when they want to become the new owner. The current owner then updates the corresponding fSMORoleOwner attribute in its database with the new owner, and replicates the change to the candidate, who then becomes the owner. The patch was made in cooperation with Anatoliy Atanasov <anatoliy.atanasov@postpath.com> who kindly helped to debug it.
2010-09-05s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitionsKamen Mazdrashki1-3/+1
Sorry for the 'custom' definition first time
2010-08-28s4-dreplsrv: Implement irpc stub to be used to force dreplsrv to update ↵Kamen Mazdrashki1-0/+11
internal cache This IRPC calls is to be used whenever repsFrom/repsTo are changed by administrative tool or KCC (i.e. Topology changes). At present, only KCC may change topology.
2009-10-19Fix typo.Karolin Seeger1-1/+1
privilage -> privilege Karolin
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell1-0/+7
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2008-12-12Remove noejs property, which is no longer used.Jelmer Vernooij1-4/+4
2008-09-03Implement NETLOGON PAC verfication on the server-sideAndrew Bartlett1-0/+17
This is implemented by means of a message to the KDC, to avoid having to link most of the KDC into netlogon. Andrew Bartlett (This used to be commit 82fcd7941f5c54da2d994c8bd99dd8d86299a296)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2007-10-10r22619: fix pidl warningsStefan Metzmacher1-2/+2
metze (This used to be commit 4105e3db317b124bb9c708d508895756c9c0c5a3)
2007-10-10r19588: Use include and import statements rather than depends() and helper().Jelmer Vernooij1-2/+3
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10r18639: Get rid of the keepref supportJelmer Vernooij1-2/+1
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+2
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r14739: keep the last request time for the smbsrv_connection,Stefan Metzmacher1-0/+2
smbsrv_session and smbsrv_tcon for management tools metze (This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)
2007-10-10r12022: add NBTD IRPC proxy calls for wins challenge and wins release demand,Stefan Metzmacher1-1/+17
used for replication conflicts metze (This used to be commit d7d14cb2bd9823d7e7d81266ca4014ea5263c714)
2007-10-10r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs itStefan Metzmacher1-1/+2
- add an idtree_limit to limit the max VUID we give the clients it's UINT16_MAX (0xffff) for the SMB protocol - add auth_time to the smbsrv_session statistics - use the session_info as marker for finished and non-finished session setups metze (This used to be commit 7eb10048b2c4e5ee9c39750dc877514ed9235a76)
2007-10-10r11782: - make the TID 32bit in the smbsrv_tcon structure, as SMB2 usesStefan Metzmacher1-1/+1
them - add a idtree_limit to the tcons substructure of smbsrv_connection this controls what the highest TID is we give away to the client it's UINT16_MAX (0xFFFF) for the SMB protocol metze (This used to be commit f3bf5a2c0947e33d4167fa4fa290968204a826e8)
2007-10-10r11781: rename tree to tcons to match the sessions substructure of ↵Stefan Metzmacher1-6/+6
smbsrv_connection metze (This used to be commit acd3e644e030a3544ddc6cdcd4e0ec9617732cba)
2007-10-10r11096: Eliminate pointer_default_top()Jelmer Vernooij1-3/+2
(This used to be commit b773d848e854394f36351f97130a20a245367b2c)
2007-10-10r10705: fixed a crash bug in the getdcname irpc server for winbind. TheAndrew Tridgell1-1/+1
problem was that the return string was declared as: [out] astring dcname which means "this is a non-NULL string". The server code sometimes returned NULL however (on getdc lookup failure), which caused the NDR marshalling code to crash. When you declare a non-pointer return value you are promising that the value can never be NULL. The trivial fix is to use: [out] astring *dcname which leaves the API alone, but includes a pointer in the wire format, which in turn means it is valid to send a NULL string as a response. (This used to be commit e39bac61960f6ce8957f148a482e39499a8e9096)
2007-10-10r10491: First step towards wbinfo -t: This issues a name request for the primaryVolker Lendecke1-1/+11
domain and gets the DC's name via a mailslot call. Metze, I renamed wbsrv_queue_reply to wbsrv_send_reply in accordance with irpc_send_reply. Having _queue_ here and _send_ there is a bit confusing. And as everything is async anyway, the semantics should not be too much of a problem. Volker (This used to be commit 4637964b19c6e9f7d201b287e2d409d029fced01)
2007-10-10r8587: - fixed ref allocation in irpc repliesAndrew Tridgell1-0/+4
- make every irpc server support the irpc_uptime() call (This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)
2007-10-10r8577: added management calls to list current tree connectsAndrew Tridgell1-1/+15
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10r8574: added server side irpc calls for listing the current sessionsAndrew Tridgell1-0/+30
(This used to be commit 391cfe3c9645a19f8f5ff5c11b1ac03ee0b10f8f)
2007-10-10r8286: it makes more sense to combine the refresh count with the register ↵Andrew Tridgell1-1/+0
count, as they are really the same packet (you can register with a refresh) (This used to be commit 5006528554a70c25fea15966d68b4002850ebb3e)
2007-10-10r8268: added the 'needed' logic to ehs generation, so we don't generateAndrew Tridgell1-1/+1
functions we don't need. That is a lot of functions, as ejs is only client side, so it only needs push functions for [out] vars, and pull functions for [in] vars added irpc and srvsvc IDL to list of available pipes. (This used to be commit c7a9dbe70a39156a20e56b4dd732fd838437eecd)
2007-10-10r7309: started adding IDL for nbt management calls. This adds aAndrew Tridgell1-4/+32
nbtd_information() call that has just one level for now, a NBTD_STATISTICS level for packet statistics (This used to be commit d0772eb5a7a023e08a7fff5ca8f4891630994e34)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell1-0/+23
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)