summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam10-126/+126
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r25287: Eliminate a handful of red bars and overly long lines I justMichael Adam1-32/+40
came across. Michael (This used to be commit bf12f0c0f843f088c7fa2d1eca3298a3d76e9761)
2007-10-10r25286: Fix one more caller of unistr2_to_ascii() that passedMichael Adam1-1/+1
in -1 for maxlen. Michael (This used to be commit cd3d652d0d7609fc369ed0743c1fc54c87558438)
2007-10-10r25285: Fix some more callers of unistr2_to_ascii to use the size ofMichael Adam1-4/+4
destination instead of source as maxlen. Michael (This used to be commit 76cb05deec153c1e0003776339da912a0f3d73a9)
2007-10-10r25281: Fix a caller of unistr2_to_ascii():Michael Adam1-1/+1
The maxlen parameter should be set to the size of the destination, not to the size of the soruce. Michael (This used to be commit 841ff0beee7ea44ee92d1f90de3edeb53edcae0a)
2007-10-10r25277: Belt-and-braces approach to Volker's fix for RPC-SAMBA3-GETUSERNAME.Jeremy Allison1-4/+7
If we promise dest is null terminated, ensure we do it even on fast path exits. Jeremy. (This used to be commit 32626e2b9770eb6b15c191a8feb881f81ed6c57a)
2007-10-10r25275: w2k3 (as PDC emulator) returns WERR_NO_SUCH_DOMAIN to ↵Stefan Metzmacher1-3/+13
netlogon_getanydcname() when called for it's own domain. So we should use netlogon_getdcname() which returns WERR_OK:-) gd: feel free to usage rpccli_netlogon_dsr_getdcname(), but please make sure the new WINBIND-STRUCT-GETDCNAME test is still passing. metze (This used to be commit 9a9c164366a252ab8268b687699d54048ced993f)
2007-10-10r25274: Attempt to fix RPC-SAMBA3-GETUSERNAMEVolker Lendecke1-2/+2
(This used to be commit f6f64cf0b51f2fb841bd1c0f800c66114c213577)
2007-10-10r25273: unistrX_to_ascii calls pull_ucs2 - ensure it's neverJeremy Allison1-8/+8
called with -1 (these calls were wrong anyway, target was an fstring, not a pstring). Found by Michael Adam <ma@sernet.de>, now to check all other uses. Michael - this version uses sizeof(target) not sizeof(fstring). This way is more future proof. Jeremy. (This used to be commit 9ed3046633b6949c68c9aed61b8e9444601cf101)
2007-10-10r25272: Fix a bunch of callers of pull_ucs2 that passed -1 for dest_len.Michael Adam1-8/+8
Michael (This used to be commit a4f53fe22569a63fe7b196971ac6c28a676ee4e8)
2007-10-10r25270: for internal domains we should not ask a remote DC.Stefan Metzmacher1-0/+9
metze (This used to be commit 579ed8ae87e449dbd5e4f78609754df0556fbf68)
2007-10-10r25260: add trusted domains always to the end of the list.Stefan Metzmacher1-20/+20
Now BUILTIN is always the first domain followed by the domain of our own SAM DB and the primary domain (in member server mode). metze (This used to be commit b8d67b78aa1c35e4e7e61050c1fccbb6d76d9fd7)
2007-10-10r25258: Fix a panic message and remove superfluous return after the call to ↵Michael Adam1-2/+1
smb_panic(). Michael (This used to be commit 8b5c34b7d141c44d65622f44f9432723230cea47)
2007-10-10r25257: When dumping eventlist, display full timestring.Günther Deschner1-2/+3
Guenther (This used to be commit 38eca60913f513accb24b31dcb6d1d7e92b0ba66)
2007-10-10r25254: Add my C - MichaelMichael Adam1-0/+1
(This used to be commit 3246be8cf05a867b74b4b96697c99cc62f13c2a9)
2007-10-10r25252: move macro defines to the end of replace.hStefan Metzmacher1-32/+35
and move the include location sys/param.h before we redefine missing macros metze (This used to be commit 862046028c3c61adf6da2effac91abf3c763635d)
2007-10-10r25248: According to the build-farm all this defines are not neededStefan Metzmacher1-19/+3
for HPUX large file support. But it would be nice if someone could verify that. metze (This used to be commit b09024928d036933a47e4f1c2e246426fb3792aa)
2007-10-10r25247: Rename the rpccli_lsa_lookup_sids_all() function to ↵Michael Adam2-127/+19
rpccli_lsa_lookup_sids() and remove the old rpccli_lsa_lookup_sids() function. The old function would fail due to server limits when requesting to resolve too many sids at once (20480 for W2k3). The new version passes the list of sids in hunks to the server. It has up to now been used (and tested) in the winbindd_ads lookup_groupmem() function, and I think the time has come to replace the actual function with this correct version. Michael (This used to be commit 1194d4f36ef720747e62dde31881c295e44e4a76)
2007-10-10r25245: rerun 'make idl'Stefan Metzmacher13-1897/+1897
metze (This used to be commit af91f4fd08aae117d9b48eade4d49762c9634cbc)
2007-10-10r25244: see what the build-farm says when we only use large file supportStefan Metzmacher1-11/+13
detection from libreplace... It would be good if someone could test that on HPUX... metze (This used to be commit 00ea030e67c519ebb69e5932f607b4ac6e834f0e)
2007-10-10r25241: remove sequence_number out of WINBINDD_DOMAIN_INFO callStefan Metzmacher4-13/+3
as this is always answered by the winbindd parent and will most times return old sequence number values. metze (This used to be commit 9caf54c868e8c0109730860e772c9cc404e2f899)
2007-10-10r25239: fix cut-n-paste bug in code with LIBUNWIND supportStefan Metzmacher1-4/+0
metze (This used to be commit ff94d055760b16786d1a998e251d487fb886a64c)
2007-10-10r25238: Make the error returns from the string functionsJeremy Allison2-23/+47
always consistent. Return -1 on error, and ensure we check for this. In cases where the dest is already specified and we've been asked to terminate with a null, ensure we always do so even on error. Jeremy. (This used to be commit abedd967869ade9a43c3a8e1b889c60d4aca81cf)
2007-10-10r25236: make it possible to alter WINBINDD_SOCKET_DIR viaStefan Metzmacher2-2/+7
"winbindd:socket dir=/path/to/dir" for usage in make test metze (This used to be commit 5566cf01e827edf60c0235a661d95dd376210108)
2007-10-10r25232: sync lib/replace with SAMBA_4_0Stefan Metzmacher7-24/+13
metze (This used to be commit 828d2ca0610ab5ee3b96d187b3432b9b4fea72f8)
2007-10-10r25230: sync lib/talloc with SAMBA_4_0Stefan Metzmacher4-125/+184
metze (This used to be commit 84ebb6cac224cabf3856a632de80a8a9c687329b)
2007-10-10r25227: Patch from "Steven Danneman" <steven.danneman@isilon.com>:Stefan Metzmacher1-0/+14
- We ran across a bug joining our Samba server to a Win2K domain with LDAP signing turned on. Upon investigation I discovered that there is a bug in Win2K server which returns a duplicated responseToken in the LDAP bindResponse packet. This blob is placed in the optional mechListMIC field which is unsupported in both Win2K and Win2K3. You can see RFC 2478 for the proper packet construction. I've worked with metze on this to confirm all these finding. This patch properly parses then discards the mechListMIC field if it exists in the packet, so we don't produce a malformed packet error, causing LDAP signed joins to fail. Also attached is a sniff of the domain join, exposing Win2Ks bad behavior (packet 21). - (I've just changed the scope of the DATA_BLOB mechList) metze (This used to be commit 200b5bfb8180af09446762e915eac63d14c6c7b0)
2007-10-10r25226: Get rid of more red bars...Michael Adam1-96/+96
(This used to be commit aa603bcc6c848de67ea07d6028ab841a8401d9ad)
2007-10-10r25225: Add a debug message.Michael Adam1-0/+3
Michael (This used to be commit 7238884c2cb25dd9279703004ffab6618715a275)
2007-10-10r25224: Fix a potential segfault in lsa_lookupsids client code due toMichael Adam1-1/+4
uninitialized data. Michael (This used to be commit b4fff6d09d17a18eae61e8ca789f128cd094ba09)
2007-10-10r25223: Fix behaviour of rpccli_lsa_lookupsids_all() whenMichael Adam1-5/+11
rpccli_lsa_lookupsids_noalloc() returns an error for one hunk of SIDs: free all allocated arrays and return the error code returned by the hunk lookup. Michael (This used to be commit 2c68ebd6934206186dc6e635401f66c2fd1e1234)
2007-10-10r25222: Fix last assumptions that (size_t)-1 can be usedJeremy Allison2-19/+37
as a special dest_len of sizeof(pstring). Jeremy. (This used to be commit 9fc14c83cc5e3a360464c33e26b1073db63763d7)
2007-10-10r25201: Fight those red bars...Michael Adam1-182/+183
(This used to be commit cc4599fdc1fb9aa51f6a4487cb1aa78a5556757a)
2007-10-10r25200: Fix a debug message.Michael Adam1-1/+1
(This used to be commit f1f4758e2c40a470c19b4b738f79ec5807522909)
2007-10-10r25199: Remove pstring from strdup_upper - make it theJeremy Allison1-14/+31
same as talloc_strdup_upper. Jeremy. (This used to be commit db1b6293771755f20660b071aac0284638dbed46)
2007-10-10r25198: Change net_rpc_join_ok() to return NTSTATUS for betterMichael Adam2-14/+25
error propagation. Michael (This used to be commit 5a16da2185f07d1f48fabd93a7a6b8f2d6b91089)
2007-10-10r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() toMichael Adam5-49/+72
return NTSTATUS to allow for better error propagation. Michael (This used to be commit 46093004a788dae83a4ddb888ca5d72f555c236c)
2007-10-10r25195: Fix issue with calling pull_uc2_*alloc withJeremy Allison1-0/+8
str_len == 0. We should just return 0 in this case. Jeremy. (This used to be commit 8bb85f3f141f0f45b06d28f004cb2cf18252d4e1)
2007-10-10r25184: Fix some C++ warnings and an uninitialized variableVolker Lendecke5-6/+6
(This used to be commit b64df8a3c504ab7749c21ffb26e4771a9a0a328f)
2007-10-10r25179: fix libunwind detection on x86 based hostsStefan Metzmacher1-7/+29
we need -lunwind-x86 not -lunwind-i686 metze (This used to be commit 2e5f4781652961d6369a64c48b92697c11262c51)
2007-10-10r25177: if configured using --enable-socket-wrapperStefan Metzmacher2-1/+22
allow overwritting the location of the WINBINDD_SOCKET_DIR via an environment variable metze (This used to be commit 93bdd2724cc711005a5f2f223b499199394e78e7)
2007-10-10r25173: Use the append_buffer version in a loop.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 37cf2c272751065245dd46708af0a78f1f0c47df)
2007-10-10r25172: Remove commented out code we will never enable.Jeremy Allison1-172/+0
Jeremy. (This used to be commit 6032fbc358c5015b2b6a23e13d978bf41ef9e5f3)
2007-10-10r25171: More pstring removal.Jeremy Allison2-29/+51
Jeremy. (This used to be commit 4748d2639796e8caa67fae44d1cf660d49d82663)
2007-10-10r25170: Remove pstring limits from ms_fnmatch and module load.Jeremy Allison3-41/+50
Jeremy. (This used to be commit 764574ee05ea4f13cdd30c0a0668ffeb81756989)
2007-10-10r25169: Fix bug 4028Volker Lendecke1-0/+4
(This used to be commit 1a022267003480b4487a780ebaa6016f491828a3)
2007-10-10r25167: Fix breakage from mangling rewrite. Use theJeremy Allison1-1/+2
new name if unmangling succeeded, not if it failed. Jerry - please re-test, this should fix your bug. Jeremy. (This used to be commit c215d6e84929b70e4472e19f32ec4f1db7449d90)
2007-10-10r25165: Use talloc_asprintf_append_buffer with an unmodifiedJeremy Allison6-19/+19
string. Jeremy. (This used to be commit fe30a523dfc77cc373145624246fd3ad5c62b9ac)
2007-10-10r25164: Add talloc_asprintf_append_buffer() and the docs for it.Jeremy Allison3-4/+82
Jeremy. (This used to be commit 2243a73d650319208aebbbaf65dfba2a508a7c10)
2007-10-10r25163: Fix wrong ctx passed to talloc_asprintf_append().Jeremy Allison1-1/+1
Found by Metze's code review (thanks Metze !). Jeremy. (This used to be commit a7370eea6be29c0e2adf5ae62aa6182b9165e744)