summaryrefslogtreecommitdiff
path: root/source3/include/rpc_misc.h
Commit message (Collapse)AuthorAgeFilesLines
* Convert all uint32/16/8 to _t in a grab-bag of remaining files.Richard Sharpe2015-05-141-1/+1
| | | | | | | | | | I still need to fix the rpc stuff, but we are almost there. Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu May 14 22:16:56 CEST 2015 on sn-devel-104
* lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2012-03-241-2/+2
| | | | | | | | | The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
* s3-build: only include rpc_misc.h where needed.Günther Deschner2010-08-261-2/+0
| | | | Guenther
* s3-rpc_misc: remove unused UNISTR.Günther Deschner2010-07-071-11/+0
| | | | Guenther
* security: merge builtin rid tables.Günther Deschner2010-05-181-29/+0
| | | | Guenther
* s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner2010-05-181-20/+0
| | | | | | | Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
* s3-builtin: Add missing builtin groups.Karolin Seeger2010-03-231-0/+4
| | | | Karolin
* s3-builtin: Add some builtin groups.Karolin Seeger2010-03-231-0/+3
| | | | Karolin
* s3-passdb: move some defines out of rpc headers (they really belong to passdb).Günther Deschner2009-11-261-16/+0
| | | | Guenther
* s3: remove unused PRS_POINTER_CAST macro.Günther Deschner2009-10-051-1/+0
| | | | Guenther
* s3: remove unused SYSTEMTIME struct.Günther Deschner2009-10-051-19/+0
| | | | Guenther
* s3: remove unused unistr2_term_codes.Günther Deschner2009-09-301-3/+0
| | | | Guenther
* s3-rpc_parse: remove unused UNISTR2 struct and init function.Günther Deschner2009-09-301-10/+0
| | | | Guenther
* s3: remove POLICY_HND.Günther Deschner2009-03-181-2/+0
| | | | Guenther
* s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner2009-03-181-19/+0
| | | | Guenther
* s3-spoolss: move SYSTEMTIME parsing to a more generic place, as suggested.Günther Deschner2009-03-171-0/+19
| | | | Guenther
* s3-parsing: remove a lot of unused structures and their hand marshalling.Günther Deschner2009-02-051-201/+0
| | | | Guenther
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-0/+4
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r18802: Use the pidl-generated code for the srvsvc interface, both client ↵Jelmer Vernooij2007-10-101-5/+0
| | | | | | | | and server code. This has had some basic testing. I'll do more during the next couple of days and hopefully also make RPC-SRVSVC from Samba4 pass against it. (This used to be commit ef10672399c4b82700dc431b4d93431ffdd42d98)
* r18404: * swap from POLICY_HND to the struct policy_handle from ndr/misc.hGerald Carter2007-10-101-22/+5
| | | | | * move OUR_HANDLE macro to include/rpc_misc.h (This used to be commit 2b37079af2f569df7a58878150a61980c6fe06ee)
* r17806: Make NTTIME a UINT64_S rather than a separate structure consisting ofJelmer Vernooij2007-10-101-5/+0
| | | | | two uint32s. (This used to be commit 3556a9c26cf7728e2435bb28e69958751e883ab9)
* r13802: I *knew* ASU on sparc had to be good for *something* ! :-).Jeremy Allison2007-10-101-2/+2
| | | | | | | Fix incorrect size understanding of sid name type (yes it's already correct in the Samba4 IDL :-). Jeremy. (This used to be commit 305a774d2880a57d1ebdf2ecf2d7e0b519695a33)
* r13553: Fix all our warnings at -O6 on an x86_64 box.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit ea82958349a57ef4b7ce9638eec5f1388b0fba2a)
* r13455: Prepare to add lookupnames2.Jeremy Allison2007-10-101-2/+9
| | | | | Jeremy. (This used to be commit 2274709587bd1f27bea2eacf633182f20cd07b1e)
* r10781: merging eventlog and svcctl code from trunkGerald Carter2007-10-101-1/+1
| | | | (This used to be commit f10aa9fb84bfac4f1a22b74d63999668700ffaac)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-58/+8
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2007-10-101-2/+8
| | | | | | version to 3.0.20pre1 (This used to be commit 9727d05241574042dd3aa8844ae5c701d22e2da1)
* r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; ↵Gerald Carter2007-10-101-31/+11
| | | | | | rename REG_CREATE_VALE -> REG_SET_VALUE (This used to be commit 28d433351cf813c7fb57ebac0e0f4973c85f73e8)
* r6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()Gerald Carter2007-10-101-8/+1
| | | | | Tested client and server code. (This used to be commit efb3ac4c69c72c0fa01c558951fa357893562bce)
* r6221: format cleanup (got tied of looking for related structures)Gerald Carter2007-10-101-151/+168
| | | | | also remove unused SID_ARRAY structure.... (This used to be commit c8f808b0763f7abcc0d879057f4f17002e65b4e1)
* r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )Gerald Carter2007-10-101-21/+10
| | | | | | | * add some backwards compatibility to 'net rpc rights list' * verify privilege name in 'net rpc rights privileges <name>' in order to give back better error messages. (This used to be commit 0e29dc8aa384dfa6d2495beb8a9ffb5371e60a13)
* r6014: rather large change set....Gerald Carter2007-10-101-13/+25
| | | | | | | | | | | | | | | pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). (This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)
* r4601: Removed any use of the MAX_XXX_STR style definitions. A little largerJeremy Allison2007-10-101-6/+1
| | | | | | change than I'd hoped for due to formating changes to tidy up code. Jeremy. (This used to be commit a348f9221a9fe719dc6f0db6eb295575c2f95e1e)
* r4287: Vampire SAM_DELTA_DOMAIN_INFO.Günther Deschner2007-10-101-0/+9
| | | | | | | | Based on samba4-idl. The decoding of account-lockout-string is somewhat experimental though. Guenther (This used to be commit 721bf50d7446b8ce18bc1d45e17d4214d5a43d26)
* add well known rid for pre win2k compatible access group; bug 897Gerald Carter2003-12-221-0/+1
| | | | (This used to be commit 33a1a374ebb44c839d995d11e1229767fc679678)
* Fix UNISTR2 length bug in LsaQueryInfo(3) that cause SID resolution to fail ↵Gerald Carter2003-12-101-1/+1
| | | | | | on local files on on domain members; bug 875 (This used to be commit c6594e35573186966a4d57404f1c06b98670db06)
* Fix for #480. Change the interface for init_unistr2 to not take a lengthJeremy Allison2003-09-251-4/+4
| | | | | | | but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy. (This used to be commit f82c273a42f930c7152cfab84394781744815e0e)
* Reformat - preparing to fix bug #480 (which will be ugly).Jeremy Allison2003-09-221-81/+59
| | | | | Jeremy. (This used to be commit 605e257cab8041900ec9c6839c37e04d005a420e)
* And finally IDMAP in 3_0Simo Sorce2003-05-121-0/+16
| | | | | | | | | | | | | | | | | | | | | We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
* Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij2003-04-281-1/+1
| | | | | function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
* Merging tridge's privillage client changes from HEAD.Jeremy Allison2003-01-281-3/+3
| | | | | Jeremy. (This used to be commit 30a33920b4d834edc877cc0080291fbda983083a)
* merging some rpcclient and net functionality from HEADGerald Carter2003-01-151-0/+16
| | | | (This used to be commit 7a4c87484237308cb3ad0d671687da7e0f6e733b)
* If compiling with Insure, mallocate a byte of memory and attach it to theTim Potter2002-04-041-0/+12
| | | | | | | | | | | | | | POLICY_HND structure when passing new handles back from the appropriate cli_* functions. When closing the policy handle free the memory. Insure (and indeed other memory checkers) should detect handles that have not been closed properly as memory leaks. Unfortunately this can only be done when the program terminates (set insure++.summarize leaks in your .psrc file) rather than when the policy handle falls out of scope. Looks like Jeremy has squished all the policy handle leaks at the moment but more are bound to crop up later. (This used to be commit 6dc80d625752f0a3ce6fd7b2278095529c6ec29f)
* second step to gain free uid<->rid mappingSimo Sorce2002-03-191-0/+15
| | | | | we still need to free gid<->rid mapping and few other stuff (This used to be commit aa4b6f8181f34196a28951264dd8b631a5deef7f)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Merge of sam sync code from TNG.Tim Potter2001-08-281-0/+19
| | | | | | | | | | | | | Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area. (This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
* Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison2001-03-111-0/+13
| | | | | | | | | | now in pipe struct (where used) rather than user_struct. Secured machine account password changing in srv_netlog_nt.c - ensure that only the given machine can change its own password. May need to free this up later for NT admin tools, but this is a fail-safe secure position for now. Jeremy. (This used to be commit 46b12f2275dcd4b3114085160cd456441f9e921e)