summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r24578: Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit 27ecb0df792b54d167a829f23bd82c27e0731f0d)
2007-10-10r24573: Fix build without LDAP. Thanks Volker for pointing this out.Günther Deschner3-16/+13
Guenther (This used to be commit 1bae53e39f86a9b3b277578a71b906ca1cd0e4fa)
2007-10-10r24572: Allow for functions map_parameter_canonical() and is_synonym_of() toMichael Adam1-11/+33
be called with inverse == NULL. Add a new function lp_parameter_is_canonical() to check whether a parameter name is the canonical name (as apposed to an alias). Michael (This used to be commit 07dc0fecf5116b34e468bddae8b36920c492717a)
2007-10-10r24571: Only look at errno if the close call actually failedVolker Lendecke1-1/+4
Patch from Ofir Azoulay <Ofir.Azoulay@expand.com> -- thanks (This used to be commit 888e657d758173c0eb4b68059d6fb5ae45b2b2ed)
2007-10-10r24564: regenerate after pidl changes...Stefan Metzmacher12-12/+0
metze (This used to be commit ec8858c37482f0d2ac1291d9a9df00dace6944a8)
2007-10-10r24561: merge from SAMBA_4_0:Stefan Metzmacher53-1192/+1192
rename some DCERPC_ prefixes into NDR_ metze (This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
2007-10-10r24558: merge from SAMBA_4_0:Stefan Metzmacher26-38/+38
rename 'dcerpc_table_' -> 'ndr_table_' metze (This used to be commit 4e5908cd596f97d3bb73bd9c0bf3d360944f7810)
2007-10-10r24552: merge from SAMBA_4_0:Stefan Metzmacher28-51/+46
rename dcerpc_interface_table -> ndr_interface_table rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit f57d23d0f1b1c7a435f3a4ad801e58519cc92a77)
2007-10-10r24550: Attempt to fix the non-LDAP buildVolker Lendecke1-0/+4
For example host "bigboy" doesn't have it. Günther, please fix it properly and merge to 3_2_0 Thanks, Volker (This used to be commit 0d294267414b12c31afd316c39689984e5047865)
2007-10-10r24549: Fix unix_convert to return the already converted partVolker Lendecke1-4/+10
This API will change anyway when moving away from pstrings. It took so long to fix, because that rename bug I just fixed gave make test failures that had nothing to do with this one. I have samba4 tests for both bugs, will check them in when the build farm has caught up (This used to be commit d4f442ed9b145990af4db26859663954ddd70926)
2007-10-10r24548: Fix the case-changing renamesVolker Lendecke2-15/+29
This was broken when I changed reply_mv to wrap in a open_file_ntcreate call, unix_convert on the destination was called twice (This used to be commit fddc9db91175bdb0b7ac6a636f8bef918bd7c1b4)
2007-10-10r24547: Fix #4897, patch from David S. Collier-Brown <davecb@spamcop.net> -- ↵Volker Lendecke1-6/+6
Thanks! (This used to be commit 4a90264d173ef5a870f2a44554c3bb9e738e98fb)
2007-10-10r24543: Apply missing portion of correction for bug 4750Derrell Lipman1-0/+5
(This used to be commit 5a83c306bb80b492a3c3d5e86b0767dc45e5c262)
2007-10-10r24541: merge from SAMBA_4_0:Stefan Metzmacher14-36/+31
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list into ndr_interface_string_array and move it to libndr.h metze (This used to be commit 9fec0d6c2ceaf66752baa5c8a34821bef2c5b833)
2007-10-10r24538: merge from SAMBA_4_0:Stefan Metzmacher15-27/+24
rename struct dcerpc_interface_call -> struct ndr_interface_call and move it to librpc/ndr/libndr.h metze (This used to be commit 24e096b3659c3070a1ce029174fba51ae59e89ad)
2007-10-10r24537: regenerate after pidl fixesStefan Metzmacher2-2/+2
metze (This used to be commit e827c7311ce9890358be145099391c6b3cee15a1)
2007-10-10r24533: merge from SAMBA_4_0:Stefan Metzmacher5-10/+15
rename dcerpc_syntax_id -> ndr_syntax_id metze (This used to be commit 7facd9bf3ffd0718bc9f9161274d18a0014f3744)
2007-10-10r24527: Add a function lp_canonicalize_parameter_with_value that turnsMichael Adam2-33/+55
a parameter and value into the canonical paramter with the value inverted if it was in invers boolean synonym. Make net conf use this function when storing parameters. Michael (This used to be commit 3b762ab18392fd06427957b0263262e3b8e34b9d)
2007-10-10r24526: Refactor determiniation of the index of the canonical form of aMichael Adam1-15/+35
parameter given in string representation into a function of its own (map_parameter_canonical). Michael (This used to be commit 0dfb5eee25e287c129f7d34e4d079c60d56dce59)
2007-10-10r24525: Add output of synonym information to show_parameter_list().Michael Adam1-8/+52
Also simplify lp_canonicalize_parameter by making use of the new function "is_synonym_of". Michael Note: If anything depends on the exact former output format of show_parameter list, I would trigger the output of synonym information by a boolean verbose switch (that could be passed to testparm via the "-v" command line switch). (This used to be commit fd2dbae82594c6d6ab10a7318f127aea0a9a61ea)
2007-10-10r24519: Refactor printing of one parameter into a helper function of its own.Michael Adam1-30/+42
(This used to be commit 70dfe5d098b5d815e652b82fca57be0eb826f820)
2007-10-10r24513: Reformatting: eliminate trailing spaces, overly long linesMichael Adam1-69/+64
and adjust some formattings to standard. Michael (This used to be commit 00432bcd69bb1c30774af277af1dc7271380d75b)
2007-10-10r24512: Fix RAW-NOTIFYVolker Lendecke1-2/+10
With the inbuf consistency checks we have to more correctly fake the inbuf (This used to be commit 2b8ecda30fc57bb4027b7208d22d85d213074158)
2007-10-10r24510: Fix logic. Thanks to Volker for the hint!Michael Adam1-1/+1
Michael (This used to be commit ce1d7ad1acb48a254add3ddfac5f13e05b8ec646)
2007-10-10r24501: Added bcc test for reply_tcon & removed Vl's comment :-).Jeremy Allison1-6/+5
Jeremy. (This used to be commit 9d9ed41f2139051578c35f80112640cffb5f7608)
2007-10-10r24500: Add check that bcc is correct in an incoming packet.Jeremy Allison1-1/+10
Jeremy. (This used to be commit 267a0ac48d358e1bd10d92238352ca3d867a58d4)
2007-10-10r24498: More extra code into a function, reply_openerror.Jeremy Allison4-155/+96
Jeremy. (This used to be commit 43ddfb8c918bd27e2efd3b54077db815da80a53a)
2007-10-10r24497: Revert r24485 -- this needs more thoughtVolker Lendecke1-1/+1
(This used to be commit 01f701ba1ea9859b090aaf8f4ae9722c5502316c)
2007-10-10r24496: Add initial synonym handling to "net conf":Michael Adam1-11/+45
When storing parameters in the smbconf portion of the registry, up to now, synonyms could be misused to store a parameter twice. Now this is prevented by canonicalizing the paramter name first. Also, the value for a boolean parameter checked for validity before storing the bool in registry. (The canonicalization should finally go into the registry smbconf code to also prevent e.g. "regedit" or "net rpc registry" from storing synonyms. - This is in the making.) Michael (This used to be commit 95447dde860f54d835b3fe90d95fe60231788d1b)
2007-10-10r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameterMichael Adam1-0/+108
and produces the "canonical" (or main) name of the parameter (the one synonym that does not have the flag FLAG_HIDE). The function also sets a flag as to whether the synonym is a reverse boolean synonym. Add some functions for the handling of string representations of boolean values: return the canonical string representation of a bool, invert a bool given as a string, canonicalize a bool given as a string. Michael (This used to be commit 113ac07199aaf2271af6eba2611dad429ee4c416)