summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
Commit message (Collapse)AuthorAgeFilesLines
* r12935: After discussion with Volker fix bug #3397 using a variant of the ↵Alexander Bokovoy2007-10-101-0/+42
| | | | | | | | | | | patch by Alex Deiter (tiamat@komi.mts.ru). Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003 on a member of a Samba domain. Also added support for this level in rpcclient. The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter. Jerry, we need this in 3.0.21b.
* r12914: adding query/set ops for security descriptors on services.Gerald Carter2007-10-101-0/+103
|
* r12176: fix type mismatch after rpc structure change in rpc_svcctl.hGerald Carter2007-10-101-1/+1
|
* r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison2007-10-102-1/+30
| | | | | | | | | | | box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy.
* r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's whatGünther Deschner2007-10-101-3/+3
| | | | | | it is. (SAM_UNK_INFO_1 should get a better name as well). Guenther
* r11963: add rpccli_samr_chgpasswd3 from samba4.Günther Deschner2007-10-101-1/+167
| | | | Guenther
* r11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.Günther Deschner2007-10-101-0/+42
| | | | Guenther
* r11856: Replace unknown1 with group_attr.Günther Deschner2007-10-101-4/+4
| | | | | | Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ? Guenther
* r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).Günther Deschner2007-10-101-0/+72
| | | | Guenther
* r11852: Fill in samr_get_dom_pwinfo based on Samba4.Günther Deschner2007-10-101-6/+2
| | | | Guenther
* r11793: Fix the SAMR cache so it works across completely insaneJeremy Allison2007-10-101-9/+9
| | | | | | | | | | | | | client behaviour (ie.: open pipe/open SAMR handle/enumerate 0 - 1024 close SAMR handle, close pipe. open pipe/open SAMR handle/enumerate 1024 - 2048... close SAMR handle, close pipe. And on ad-nausium. Amazing.... probably object-oriented client side programming in action yet again. This change should *massively* improve performance when enumerating users from an LDAP database. Jeremy.
* r11769: Looking at a performance problem enumerating accounts, wonderedJeremy Allison2007-10-101-1/+111
| | | | | | if changing to support samr_connect5 might help so quickly coded it up. No it doesn't :-(. Don't merge this for 3.0.21 please. Jeremy.
* r11760: fix sequential reads in the eventlog; event viewer is behaving ↵Gerald Carter2007-10-101-1/+1
| | | | better now as well but needs more testing
* r11706: Implement dsr_getdcname client code. It's handy: It not only gives ↵Volker Lendecke2007-10-101-0/+236
| | | | | | | | you the IP address but also the fqdn of the remote dc and site info. Volker
* r11446: Remove unused fn. Remove unneeded strncpy use.Jeremy Allison2007-10-101-26/+0
| | | | Jeremy.
* r11332: eventlog API uses NTSTATUS, not WERROR for return codesGerald Carter2007-10-101-6/+6
|
* r11326: Fix alignment in getdc responseVolker Lendecke2007-10-101-0/+3
|
* r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2007-10-103-4/+4
| | | | | x86_64 box. Jeremy.
* r10782: Only parse the group rid_array in net_user_info3() when num_group is ↵Günther Deschner2007-10-101-8/+20
| | | | | | | | | > 0. This fixes the PAC parsing for win2k DCs up to SP3. (Where full SIDs are stored in the PAC instead of RIDs). Guenther
* r10781: merging eventlog and svcctl code from trunkGerald Carter2007-10-102-1/+5
|
* r10720: Add helper function that does prs alignment on a specified number of ↵Jelmer Vernooij2007-10-101-0/+18
| | | | bytes.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-1013-691/+881
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r10432: BUG 3080: fix 'net rpc shutdown' for XP clientsGerald Carter2007-10-102-2/+4
|
* r10278: more fixes for bug 3080. Ensure the length on the message string is ↵Gerald Carter2007-10-102-0/+13
| | | | correct. Windows 2000 is very senstive io this apparently
* r10243: fix net rpc shutdown (missing alignments and sending an invalid ↵Gerald Carter2007-10-102-5/+20
| | | | UNISTR4 for this request)
* r10205: fix obvious typo in the NET_USER_INFO_3 parsingGünther Deschner2007-10-101-1/+1
| | | | Guenther
* r9935: Make it easier to find overruns.Jeremy Allison2007-10-101-2/+4
| | | | Jeremy.
* r9893: fix REG_CREATE_KEY_EX parsing error caused by WinXP clientsGerald Carter2007-10-101-10/+9
| | | | | | | | | | looking for an not finding a 'Terminal Server' key. Claims to make problems with usrmgr.exe support as well according the Samba ml. Posted on samba@samba.org for review. Reviewed by Thomas Bork (comments integrated into the reg_db.c patch coming up next).
* r9780: Clean up a bunch of compiler warnings.James Peach2007-10-101-1/+0
|
* r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter2007-10-101-23/+1
| | | | | | | | | | | | | | | | the new talloc() features: Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d since the methods use the object pointer as the talloc context for internal private data. There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy() pair of functions. Simply TALLOC_ZERO_P() and TALLOC_FREE() the object. Also had to convert the printer_info_2->NT_PRINTER_DATA field to be talloc()'d as well. This is just a stop on the road to cleaning up the printer memory management.
* r9660: real fix for group enumeration bug in 3.0.20; only affected the ↵Gerald Carter2007-10-101-1/+1
| | | | ldapsam code
* r9593: fix enumerated group name (should be full name (i.e. mapped name) and ↵Gerald Carter2007-10-101-1/+1
| | | | not unix name)
* r9086: * fix invalid read in parse_spoolss when writing a devmode toGerald Carter2007-10-101-6/+24
| | | | | | | the wire * fix dup_a_regval() when size is 0 * ensure we pass a pstring to unlink_internals (fixes delete_driver code)
* r8956: fix segfault caused by trying to parse a UNISTR2Gerald Carter2007-10-101-1/+3
| | | | and not a UNISTR2*
* r8899: various compiler warning fixes reported by Jason Mader ↵Gerald Carter2007-10-101-1/+1
| | | | <jason@ncac.gwu.edu>
* r8869: Get rid of a warning.Volker Lendecke2007-10-101-1/+1
| | | | Volker
* r8805: Merge a duplicate struct. Get ready to support SPNEGO rpc binds.Jeremy Allison2007-10-101-45/+29
| | | | Jeremy.
* r8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (aTim Potter2007-10-101-1/+1
| | | | #define) to quieten a warning. Bugzilla #2892.
* r8564: Sometimes we're too dumb to live... Fix samr calls where we wereJeremy Allison2007-10-101-44/+44
| | | | | | | using USER_INFO_XX structs and functions where XX was sometimes in hex and sometimes in decimal. Now it's all in decimal (should be no functionality change). Jeremy.
* r8553: Another compile warning fix from jason@ncac.gwu.edu.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r8507: BUG 2557: don't give and rpc fault when you get an unsupported ↵Gerald Carter2007-10-101-0/+16
| | | | SetPrinter() level
* r8398: Fix segfault in the client addprinterex-call. Found with "net rpcGünther Deschner2007-10-101-1/+2
| | | | | | | | printer"-functions. Thanks to Thomas Di Naro (Novell) for the detailed debug-logs. Guenther
* r7995: * privileges are local except when they're *not*Gerald Carter2007-10-101-6/+6
| | | | | | | | | | | | | | | | | | printmig.exe assumes that the LUID of the SeBackupPrivlege on the target server matches the LUID of the privilege on the local client. Even though an LUID is never guaranteed to be the same across reboots. How *awful*! My cat could write better code! (more on my cat later....) * Set the privelege LUID in the global PRIVS[] array * Rename RegCreateKey() to RegCreateKeyEx() to better match MSDN * Rename the unknown field in RegCreateKeyEx() to disposition (guess according to MSDN) * Add the capability to define REG_TDB_ONLY for using the reg_db.c functions and stress the RegXXX() rpc functions.
* r7908: * change REGISTRY_HOOK api to use const (fix compiler warningGerald Carter2007-10-101-5/+0
| | | | | | | | | | | | | | | | | | | in init_registry_data() * Add means of storing registry values in registry.tdb * add builtin_registry_values[] array for REG_DWORD and REG_SZ values needed during startup * Finish up RegDeleteValue() and RegSetValue() * Finish up regdb_store_reg_values() and regdb_fetch_reg_values() I can now create and retrieve values using regedit.exe on Win2k. bin/net -S rain -U% rpc registry enumerate 'hklm\software\samba' Valuename = Version Type = REG_SZ Data = 3.0.20 Next is to do the virtual writes in reg_printing.c and I'll be done with Print Migrator (yeah! finally)
* r7890: * add Reg[SG]etKeySec() server stubsGerald Carter2007-10-101-4/+4
| | | | * merge a compile warning fix from trunk to SAMBA_3_0
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-102-15/+15
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r7880: fix a typo and memleak on failures cases (patch from marcin)Gerald Carter2007-10-101-3/+3
|
* r7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarityGerald Carter2007-10-101-7/+7
|
* r7839: remove C++ style commentGerald Carter2007-10-101-1/+0
|
* r7789: fix overparanoid assert() call when checking spolss buffer pointersGerald Carter2007-10-101-6/+12
|