summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24746: As the winbindd pipe is officially broken since a while: split out ↵Günther Deschner2-13/+15
request specfic and generic flags in a winbindd_request. It turns out that the WBFLAG_RECURSE flag is the only non-PAM specific flag we put into the "flags" field of a winbind request anyway. Now each request command can use the entire space of the "flags" field. Guenther (This used to be commit 18b29763d1ea0e9198f45bafa460dd68cb69a3d5)
2007-10-10r24745: Merge Simo's shared lib build fix from svn r22842 that was lostGerald Carter1-4/+4
somehow. Don't include the PIE_FLAGS when building shared libs. (This used to be commit 22f2f1e033a7a6877c6b8a0847179728a408af85)
2007-10-10r24744: Increase length by what we got from recv, not from ioctlVolker Lendecke1-2/+3
(This used to be commit 23c8f4f74bfb761894034ce9375258411c80d74d)
2007-10-10r24743: Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit 579fb55b7556dc90b42f77d5fc9e9c31f34974e5)
2007-10-10r24742: Add experimental DsGetDcName() call (will be used by krb5 locator ↵Günther Deschner5-55/+1147
for fine grained KDC DNS queries). Guenther (This used to be commit 3263cd680fe429430d789b284464fca72ef45719)
2007-10-10r24740: Fix the build.Günther Deschner1-0/+2
Guenther (This used to be commit a30549bbf4521232158262e117219b0fa8f5eb74)
2007-10-10r24739: With resolve_ads() allow to query for PDCs as well.Günther Deschner2-34/+129
Also add dns query functions to find GCs and DCs by GUID. Guenther (This used to be commit cc469157f6684ec507bf1c3a659fc36a53d304a1)
2007-10-10r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and ↵Michael Adam1-6/+25
r23977. Michael (This used to be commit a3506f291abfb8a9516b79c10c79841a7391651e)
2007-10-10r24737: Remove older TODO: Convert internal_resolve_name() and friends to ↵Günther Deschner4-99/+138
NTSTATUS. Guenther (This used to be commit 8300aac4944613e411a78ab98de5d77f8fd38fa7)
2007-10-10r24734: Move nss_err_str() to a more public place.Günther Deschner3-19/+21
Guenther (This used to be commit f62292c5a1bcae2bfa10632014c5ac06dd1f50bb)
2007-10-10r24733: Add support for storing DATA_BLOBs in gencache.tdb (including ↵Günther Deschner2-0/+198
torturetest). Mimir, please have a look. DATA_BLOBs will now just show up as "DATA_BLOB" values with "net cache list". Guenther (This used to be commit b8ad546d041a2a8cc85c7db8eba4d2d3b97df1a8)
2007-10-10r24722: Squashed commit of the following:Gerald Carter4-3/+127
commit fb52f971986dd298abbcd9745ddf702820ce0184 Author: Gerald Carter <coffeedude@plainjoe.org> Date: Mon Aug 27 13:50:26 2007 -0500 Check correct return type for pam_winbind_request_log() wnibind_upn_to_username which is an int and not NSS_STATUS. commit 7382edf6fc0fe555df89d5b2a94d12b35049b279 Author: Gerald Carter <coffeedude@plainjoe.org> Date: Mon Aug 27 13:30:26 2007 -0500 Allow wbinfo -n to convert a UPN to a SID commit 8266c0fe1ccf2141e5a983f3213356419e626dda Author: Gerald Carter <coffeedude@plainjoe.org> Date: Fri Aug 3 09:53:16 2007 -0500 Merge some of Guenther UPN work for pam_winbind.c (check the winbind separator and better pam logging when converting a upn to a username). commit 15156c17bc81dbcadf32757015c4e5158823bf3f Author: Gerald Carter <coffeedude@plainjoe.org> Date: Fri Aug 3 08:52:50 2007 -0500 Include Universal groups from the cached PAC/SamLogon info when generating the list of domain group SIDs for a user's token. commit 979053c0307b051954261d539445102c55f309c7 Author: Gerald Carter <coffeedude@plainjoe.org> Date: Thu Aug 2 17:35:41 2007 -0500 merge upnlogon patch from my tree (This used to be commit 98fb5bcd5702d5086bdf9b58105a67efb90950f4)
2007-10-10r24714: Fix confusing indent.Günther Deschner1-6/+7
Guenther (This used to be commit 6a9af88a2d5daa0335a4596f7a826141ba81e303)
2007-10-10r24713: Fix obvious error in enum_dom_groups. We were returning NT_STATUS_OK ↵Günther Deschner1-2/+1
when the realloc failed. Guenther (This used to be commit 750b52cb47b2fd0d31125274fb471a4f1ad6ffa9)
2007-10-10r24711: Remove unused talloc context from query_user_list rpc.Günther Deschner1-7/+0
Guenther (This used to be commit 5187157607c0688e718079fb351e144d431e9040)
2007-10-10r24702: Remove the old API pointersVolker Lendecke8-537/+337
(This used to be commit 17df313db42199e26d7d2044f6a1d845aacd1a90)
2007-10-10r24701: Fix the swat buildVolker Lendecke3-6/+35
Swat has not been built by default for a while, so I did not notice that the _ macro is actually used. Re-add the lang_msg_rotate function, this time only to swat so that this is the only binary that has to take the 16k penalty. (This used to be commit 191e1ef840c293f8575cc0a3f3ffba2080431fae)
2007-10-10r24699: Actually write 24 zeros instead of zero 24's...Volker Lendecke1-1/+1
Jeremy, please check ;-) (This used to be commit 85b64bde7df10ade5ba0abd493d433a7688f0979)
2007-10-10r24661: Fix some obvious diffs between 3_2 and 3_2_0Volker Lendecke1-3/+5
Jeremy, there are two remaining diffs in sesssetup.c which I don't really know which one is right. Can you take a look? Thanks, Volker (This used to be commit d82f35448763eacd564836f34c9aa450b15ea582)
2007-10-10r24659: Some formatting changes helping to minimize the 3_2_0 diffVolker Lendecke3-16/+15
(This used to be commit c5caea43af154671448df82881efe09a5c982386)
2007-10-10r24654: Adapt to coding conventions.Günther Deschner1-21/+25
Guenther (This used to be commit a669ac2bc45dc6f261a789050a021d625c083829)
2007-10-10r24649: Attempt to fix bug 4917. Simo, please check!Volker Lendecke1-2/+2
Thanks Patrick Rynhart for reporting this. (This used to be commit b7c0404893bb789382a11f86d5156c4623a6de3a)
2007-10-10r24639: Add parameter "directory name cache size" - parameterizeJeremy Allison2-21/+41
use of directory name cache, 100 by default. Will be needed to turn this off for *BSD systems. Jeremy. (This used to be commit bea8e9840fd65268e649f813eba10502b0c4d721)
2007-10-10r24638: Remove redundent setting of vuid.Jeremy Allison1-3/+1
Jeremy (This used to be commit fd682c3f397714ebdaf4af3f6d1cbcbab6a2f572)
2007-10-10r24637: In order for "net rpc registry" to be able to write toMichael Adam1-4/+7
Samba's own registry, the access mask for opening the registry for the write operations needs to be SEC_RIGHTS_MAXIMUM_ALLOWED instead of REG_WRITE: we can not open e.g. HKLM read write explicitly, since we can not write to this virtual part of the registry, only to the subkeys like 'HKLM\Software\Samba\smbconf' that are stored on disk. Note that MAXIMUM_ALLOWED is also what windows' regedit passed to the open calls. Michael (This used to be commit 57c30f7319b35fa452e8a6c585810e55c7e934b2)
2007-10-10r24636: Raise one debug level, since the callers (that want to do so)Michael Adam1-1/+1
issue a level 0 debug message. Michael (This used to be commit c0022ff9278a06b92a550cf0d6a8e75af31a673c)
2007-10-10r24632: Fix build warnings.Günther Deschner1-2/+2
Guenther (This used to be commit e9178af01d68b7cbe91157d1d196f2148eeef7ca)
2007-10-10r24630: Store Samba configuratin options only under the default name, not as ↵Michael Adam1-3/+152
aliases. This prevents creation of problematic configurations from registry editors like regedit or "net rpc registry". I will refactor the code to be somewhat more concise, but I wanted to have this in the tree, now I got it working... :-) Michael (This used to be commit 4424a030324ab646a025b50fcb89e1b5cdfcbbe8)
2007-10-10r24629: Make read_sock return the total number of bytes read insteadMichael Adam1-3/+3
of the number of bytes read in the last of possibly several read calls. This was noted by Metze. Michael (This used to be commit 0193a49223c6314e2834c89fff9920ae7edc4f8a)
2007-10-10r24627: merge from SAMBA_4_0:Stefan Metzmacher1-2/+12
as TALLOC_ABORT() is defined to abort() by default wrap it into a function so that the function name in the backtrace shows what happens. metze (This used to be commit ddbe971030070ab1b9fc37b8b0ac44a3d9303fe4)
2007-10-10r24625: add '-D' option to winbinddStefan Metzmacher1-0/+1
TODO: don't allow '-i -D' and '-D -i' on all server binaries in the SAMBA_3_2 branch! The &server_mode patch makes this difficult to check... metze (This used to be commit 102bb0fc17d6dec102d628f1051675a1ae5a9c27)
2007-10-10r24621: - deferr calling build_options();exit(0);Stefan Metzmacher3-9/+16
- use poptPrintUsage() to give the user more info metze (This used to be commit a95d9d1ef99d6a2f77a289f8d2011cae482821b1)
2007-10-10r24618: move printing out the version string and exit()Stefan Metzmacher1-3/+12
into the popt _POST processing. Now 'smbd -V --bla' complains about an unknown option metze (This used to be commit c115de4beac887442a73b4a85367d7b5fded68e6)
2007-10-10r24616: In set_boolean(), only pass the result back to the callerMichael Adam1-1/+2
if parsing of the boolean string was successful. Also, initialize the local result variable (although not strictly necessary anymore, now.) (This used to be commit bf0daa74fadcd506b80c29d04ccf6ec7345ee0e1)
2007-10-10r24615: Say for which domain the getdcname request failed.Günther Deschner1-1/+2
Guenther (This used to be commit 1ce1958f7a5f41072ad1e2f1fb55f3cd4ebe4b14)
2007-10-10r24610: Add a debug message that the workaround has been activated...Michael Adam1-0/+2
(This used to be commit a12f3bf6e93f7a902a1f6274d67f15cc4eeb20bd)
2007-10-10r24609: Fix the fix of r23668 for win2k giving one zero byteMichael Adam1-1/+1
instead of a 2-byte zero character. I can't recall what rode me when I put that "2" there. But now I think I have got it right... :-) Michael (This used to be commit fa010bef11b78ac3bbf0091870ce8cd5a53334af)
2007-10-10r24605: remove some stuff samba3 doesn't need any moreStefan Metzmacher3-79/+0
metze (This used to be commit 5514e8487fee453b730a966ebc6fcdcd56da047a)
2007-10-10r24603: In case of error we need to free prefix_cache otherwise on re-init ↵Simo Sorce1-0/+1
the first statement will return positively but prefix_cache_hashes would be NULL (This used to be commit fdc20894a0deb3c68b834e5d9d466873ca634bed)
2007-10-10r24602: Add function lp_string_is_valid_boolean() to check if a stringMichael Adam1-2/+18
contains a correct representation of a boolean value (in the understanding of loadparm.c). Make set_boolean() catch passing NULL for the boolean target. Michael (This used to be commit d13eaa60f504987445b7333ef6972491c9483e6a)
2007-10-10r24601: Fix if statements where we still expected cli_connect() to return BOOL.Lars Müller2-2/+2
(This used to be commit 12cb06d6ad73c37b9ee4bdf31f88dd3ce8cc3935)
2007-10-10r24599: patch from Karolin Seeger <ks@sernet.de>:Stefan Metzmacher3-6/+23
smbd, nmbd and winbindd can be started with invalid options currently. The first patch attached would be a possible solution. It contains an exit if an invalid option has been used. The main problem is, that existing setups with wrong options or missing arguments in start scripts will break (which is the right behaviour from my point of view). metze (This used to be commit 8532e3182ab44d4ac84823e9798293f156192aaf)
2007-10-10r24597: - talloc request structure for the samba3 server bindingsStefan Metzmacher12-7435/+9997
and make that the primary context for the request which the implementations can also use. - go via functions pointers in the ndr_interface_table instead of calling functions directly. metze (This used to be commit 5c4d998300d0c9836eb3cc6c3cd8ee4f262396b8)
2007-10-10r24595: Fix Coverity ID 393Volker Lendecke1-2/+1
In this error case we would have used "start" not having it initialized (This used to be commit 751834fff92e85a424152c1642b238daa3060dbd)
2007-10-10r24594: pass down the ndr_interface_table in the samba3 client bindingsStefan Metzmacher13-371/+376
instead of the pull and push functions metze (This used to be commit 5e3d4df9bca069708d72f548dc5ddfc7708ac122)
2007-10-10r24590: Reformatting to coding standards. Added my (C) in places it already ↵Jeremy Allison2-191/+271
should have been :-). Jeremy. (This used to be commit 41611a22ed852bb74e2ef3f45766c0580ffd3a18)
2007-10-10r24589: Refactor our vuid code so that we keep the sameJeremy Allison3-176/+245
vuid that was allocated whilst the connection is being constructed and after the connection has been set up. This is what Windows does and at least one client (and HP printer) depends on this behaviour. As it depends on the req struct not yet ported to SAMBA_3_2_0 (Volker, hint hint.... :-) I am not yet adding this to that branch, but will investigate that tomorrow. Jeremy. (This used to be commit a54f2805df92c67e74a6764568eedebe394fd500)
2007-10-10r24584: Merge all pam post-processing code (in particular all extra_data ↵Günther Deschner1-147/+179
code) into append_data(). Guenther (This used to be commit 8c56ee2c58ef5aab64292d4420947ea0a5e2766f)
2007-10-10r24583: Make sure we don't accept invalid request options.Günther Deschner1-0/+41
Thanks to Michael for his bit-magic. Guenther (This used to be commit 8a493cce98c5fcc2e498df9ef1ac0f1e3ee6a75e)
2007-10-10r24579: Merge error reporting to the end of winbindd_pam_auth().Günther Deschner1-16/+14
Guenther (This used to be commit d5bd8b1d618828fe390ca76120863316606dc250)