summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11457: fixed the winreg IDL and torture code so key and value enumerationsAndrew Tridgell1-1/+4
work again. The automatic value() is fine for the length, but cannot be used for the size as the size is not the number of bytes being sent, but the number of bytes that the server is allowed to use in the reply (This used to be commit 46e91f269c83707863a726e716325eade38e1142)
2007-10-10r11438: Move enum samr_RejectReason into misc.idl so I can use it in a globalAndrew Bartlett2-5/+7
prototype. Andrew Bartlett (This used to be commit a3abffc75805c8e333f387a96a1dbc352669d359)
2007-10-10r11402: In response to comments by volker, expand our Netlogon DsRGetDCNameAndrew Bartlett1-17/+35
IDL and testsuites. The server-side of this remains a stub, we should probably be doing ldb searches for the server reference record. Andrew Bartlett (This used to be commit 0141ed309a664e7a9893c95232c2dcb9768f9315)
2007-10-10r11377: Add support for building LIBRARY elements as shared libraries:Jelmer Vernooij1-0/+6
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries. - Writes out pkg-config files when building shared libs - Supports automatic fallback to MERGEDOBJ (which is the default) or OBJ_LIST (if ld -r is not supported) Building with shared libs reduces the size of the Samba binaries from 197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging). To build with shared libraries support enabled, run: LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status init functions don't get called correctly yet when using shared libs, so you won't be able to actually run anything with success :-) Once init functions are done, I'll look at support for loading shared modules once again. Based on a patch by Peter Novodvorsky (nidd on IRC). (This used to be commit 0b54405685674a2b19a28d77aae5b1136b5a4728)
2007-10-10r11373: Handle an apparent alias in NBT ntlogin replies.Andrew Bartlett1-2/+4
Andrew Bartlett (This used to be commit 51d55d2211195fe5d345ce130001dff1bfbfcef3)
2007-10-10r11362: Remove attempt to decode uint8 array as a security descriptor. Pidl ↵Tim Potter1-2/+0
thinks that because it is an array, the import should also be an array, i.e of security descriptors. (This used to be commit fb313c19c60f6e0f69411a3bb96cd9d19fde7685)
2007-10-10r11352: Add newly discovered (via the radiator lists) flags for controllingAndrew Bartlett1-0/+4
plaintext and machine account logins. Update tests to confirm this behaviour. Andrew Bartlett (This used to be commit a0ed41d379f4b15a7f44ca93de9907f02bada163)
2007-10-10r11318: Tweak import statement for decoding KeySecurityData as a NT securityTim Potter1-1/+1
descriptor in ethereal. (This used to be commit 5af1b6df0afac28fb041b5b374b5c5b5e4ef15b3)
2007-10-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij1-108/+110
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11288: Fill out LSA LookupNames4 and LookupSids3, including a server-sideAndrew Bartlett1-1/+10
implementation. Andrew Bartlett (This used to be commit a6a615cc997cd3a71ea0d63994f6cd97096afc30)
2007-10-10r11262: Try to get the equivalent of a subcontext in pidl ethereal conformanceTim Potter1-0/+2
files working. It doesn't quite work though. (-: This patch also allows a struct.field format to be used in an IMPORT statement instead of a type name. Jelmer, what do you think? (This used to be commit d770f853475d12a33d23fc86ab30223dfde22dd7)
2007-10-10r11261: Rename access_required field in winreg idl to access_mask so it matchesTim Potter1-10/+10
the other interfaces. (This used to be commit 8eb582b5780188b6304c560b3e84fd7d75c483f8)
2007-10-10r11260: Delete a leftover scons file.Tim Potter1-21/+0
(This used to be commit 7b750a785bd2c77f4a299a5cb77a2c456b9c6610)
2007-10-10r11259: Map system_name and handle fields to new hf fields.Tim Potter1-0/+40
(This used to be commit 9be707bc4d07ef47f332ef5019549044bc239e03)
2007-10-10r11258: Dissect all access_required fields as hex using the same hf.Tim Potter1-1/+10
(This used to be commit 4365462dc62d78eb433748262c5ca7feb16be785)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij1-120/+120
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r11243: length and size can now be filled in automatically.Jelmer Vernooij1-5/+2
(This used to be commit 99444c129d08fe3e3e381b04c2da5ea5c9c10270)
2007-10-10r11187: in case the msDS-KeyVersionNumber is replicated (I didn't assume ↵Stefan Metzmacher1-0/+1
this...) show the string in the debug output, and show it with --option="dssync:print_pwd_blobs=yes" metze (This used to be commit 98c1e8e3df90c05691a12bb25357fd75da419c5c)
2007-10-10r11185: - resolve attid for "supplementalCredentials" into a nameStefan Metzmacher1-18/+19
- print "supplementalCredentials" also when --option="dssync:print_pwd_blobs=yes" is used abartlet: this field may contain the krb5 keys... metze (This used to be commit 26c69348ca3ae10128df9832f8b4d9c1024631e2)
2007-10-10r11179: revert to the old code, till jelmer find a solution how toStefan Metzmacher1-1/+1
handle a UTF16 string in a uint8 array metze (This used to be commit d13315f3b135228febcbe9b99d3550363c21da81)
2007-10-10r11141: Re-add paranoid string terminator checkJelmer Vernooij1-6/+9
(This used to be commit 55805b5ed9493160ff17c26d2e1361947f368707)
2007-10-10r11107: Include 0 byteJelmer Vernooij1-1/+2
(This used to be commit 407df9628e383822680af766dd94532e59397382)
2007-10-10r11105: Warn if conformant arrays are not at the end of a structJelmer Vernooij4-8/+15
Support conformant [string] arrays Eliminate utf8string This breaks xattr binary compatibility with previous versions - is that a problem? (This used to be commit 7596c708ba6642473319a1b699a5a910a639e50d)
2007-10-10r11104: Fix LOCAL-PAC testJelmer Vernooij1-1/+1
(This used to be commit 22d0e4a9bf853fe67c402ce3ba6d950e753ab4d2)
2007-10-10r11103: Eliminate ascstrJelmer Vernooij3-11/+5
(This used to be commit c8a0511f37f8cff3e949ffda0bb7fae714d5bbb4)
2007-10-10r11102: Remove unistr_notermJelmer Vernooij2-7/+1
(This used to be commit bb1ed44f45020f1e11d928f5130a889c11ee59c4)
2007-10-10r11101: Remove last instances of unistrJelmer Vernooij3-55/+50
(This used to be commit 7e057e6bdaf82bf8acdfc5d656dd75f367e70bf2)
2007-10-10r11100: Replace unistr with [string,charset(UTF16)]Jelmer Vernooij6-251/+251
(This used to be commit 48f45927ceb4f7d39c4cc47b3b843e43a53b7f2b)
2007-10-10r11099: Replace unistr with [string] equivalentJelmer Vernooij5-56/+56
(This used to be commit 6a8291c80ee814a6bdc092b3ef53f450f30b44a0)
2007-10-10r11098: Replace string with [string]Jelmer Vernooij3-34/+34
(This used to be commit 1ac8c96349c1241f75f7a133cfefa0df5aaae18e)
2007-10-10r11096: Eliminate pointer_default_top()Jelmer Vernooij17-215/+186
(This used to be commit b773d848e854394f36351f97130a20a245367b2c)
2007-10-10r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher1-0/+1
before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
2007-10-10r11037:Stefan Metzmacher1-1/+0
(This used to be commit 6913e338405a5aca5c70cf6e022532c596ed0a36)
2007-10-10r10997: r11980@SERNOX (orig r10037): metze | 2005-09-05 14:21:40 +0200Stefan Metzmacher1-1/+1
add struct nbt_peer_socket and use it instead of passing const char *addr, uint16 port everyhwere (tridge: can you review this please, (make test works) metze (This used to be commit a599d7a4ae881c94be2c2d908a398838549942bb)
2007-10-10r10984: fix valgrind warnings, I had used that to check if w2k3 accept ↵Stefan Metzmacher1-1/+1
random values here, as w2k generates also random stuff here metze (This used to be commit e04c78e4e925ce385651eb0e77e3ea7aee9e8008)
2007-10-10r10873: check the complete payload headerStefan Metzmacher1-3/+11
metze (This used to be commit 27f8d82231f2978ff15719e4b23912ae7f910638)
2007-10-10r10872: fix the length of the dummy XPRESS decompressed bufferStefan Metzmacher1-1/+1
metze (This used to be commit 0a1e4498a3550721b214716d1106843bf1ff4597)
2007-10-10r10870: decompress DsGetNCChangesCtr7 replies, that uses type 2 (MSZIP)Stefan Metzmacher1-19/+57
compression metze (This used to be commit b451137526c4872a808f14ef42b2ed50abce1355)
2007-10-10r10869: add dummy functions and dummy parsing of XPRESS decompression,Stefan Metzmacher2-8/+87
this is the compression algorithm used by w2k3 for DsGetNCChanges(). This algorithm isn't known yet, but it seems to be some sort of Lempel-Ziv algorithm. metze (This used to be commit 694252b6e02e365ae5baffb76cdbc89eec5358e7)
2007-10-10r10868: make flag(NDR_PAHEX) possible to use and show the union level in hexStefan Metzmacher1-1/+5
metze (This used to be commit 7efb92adc057ad8a993eb9de66c3806608747104)
2007-10-10r10839: Add some [ref] (required for ethereal and Samba3 parser generators)Jelmer Vernooij1-18/+20
(This used to be commit 5556deee30616396bbaf1182eca08bf1213c0860)
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-10r10699: fixed the dcerpc code so that you can shutdown the pipe safely fromAndrew Tridgell3-35/+36
within a callback on the pipe. This should fix a problem volker encountered with winbind. The fix invoolves making the recv_data handler free the memory for a packet, instead of having the transport layer free it after calling recv_data. When the transport layer freed it, it had no way of knowing if the callback had shutdown the pipe, so it had no way of knowing if it could safely use the pointer. Also changed the pipe shutdown hook for the smb transport to use an async SMB close. This ensures that when you shutdown the pipe, you don't block waiting for the server to ack the close of the pipe fnum. (This used to be commit c87d7f580e39245db181605f50883de07dd9632e)
2007-10-10r10683: Samba3's wbinfo -t should give the correct answer now.Volker Lendecke1-1/+1
Tridge, if you have time, you might want to look at the segfault I was still seeing. Now I store the handle to the netlogon pipe in the global winbind state and free it on the next entry into check_machacc. The problem seems to be that talloc_free()ing a pipe struct from within a callback function on that pipe is not possible. I think I can live with that, but it has been not really obvious. To reproduce the segfault you might want to look at putting a talloc_free(state->getcreds->out.netlogon) into wbsrv_samba3_check_machacc_receive_creds. This is called from a dcerpc callback function. In particular if the check failed it would be nice if I could delete the pipe directly and not post a different event to some winbind queue. I tried to delete the pipe from a timed event triggered immediately, but this also fails because the inner loop seems to hit the same event again, calling it twice. Volker (This used to be commit 5436d7764812bb632ba865e633005ed07923b57f)
2007-10-10r10681: Convert dcerpc_open_smb to a composite function.Volker Lendecke1-42/+113
Volker (This used to be commit 42ff218ac98fab00bd58c4f50f11843ef32b4698)
2007-10-10r10653: give unknown levels a name basicly the *2 levels meanStefan Metzmacher1-4/+4
that the update or inform should be propagaded to all servers metze (This used to be commit 33c7c101c024818694830ac11fefe70bd2edb1d4)
2007-10-10r10637: use the correct memory context in the ndr_pull_* functionStefan Metzmacher2-17/+29
to build the talloc hierachie correct metze (This used to be commit afd9dda5773d381550bdb061a8e345b33e1fc371)
2007-10-10r10627: - use a wrepl specific enum for the node typeStefan Metzmacher1-1/+8
- the unknown flag 0x10 seems to mean that this name was localy registered on this currently asked server, that flag is not present in replica records metze (This used to be commit ba3685c41dc934692bd653f4fe9c0ee451146c40)
2007-10-10r10610: forgot one file in the last commit:Stefan Metzmacher1-5/+37
make wrepl_nbt_name a scalar type that is another wire representation of struct nbt_name give wrepl_name->flags a meaning metze (This used to be commit 5fa13d6c2bd4cff9540ee97b3aa4c8a9c8e51fc5)
2007-10-10r10586: Add MergedObject() builder. Default to Library() ratherJelmer Vernooij1-3/+3
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)