summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* People were being tripped up by the fact that we havn't updated acconfig.hAndrew Bartlett2003-02-172-235/+3
| | | | | | | | as we don't need it for autoconf 2.53. Remove it from CVS, and assert the newer autotools in configure.in Andrew Bartlett (This used to be commit 14b38c004f4bd5b695d04941b03e3bfa31372da3)
* Add the 'session key' output of the NTLMSSP exchange to the cli struct, soAndrew Bartlett2003-02-165-10/+39
| | | | | | | | | | it can be used for 'net rpc join'. Also fix a bug in our server-side NTLMSSP code - a client without any domain trust links to us may calculate the NTLMv2 response with "" as the domain. Andrew Bartlett (This used to be commit ddaa42423bc952e59b95362f5f5aa7cca10d1ad4)
* Recover much of my changes to editreg.c. Add some const and start codingRichard Sharpe2003-02-161-8/+203
| | | | | the regedit file parser etc. (This used to be commit 5040b498675b91cd18bc7fe4456c94df0a8fa41d)
* * set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter2003-02-154-5/+40
| | | | | | | | * never save a pointer to an automatic variable (they go away) implement a deep copy for SPOOLSS_NOTIFY_MSG to correct messages being sent that have junk for strings; fix in response to changes for CR 1504 (This used to be commit 043b9dff22e909fc290c34d879cad8b4c980fc13)
* Third-party configuration scripts may produce undesirable additions to ↵Alexander Bokovoy2003-02-152-0/+31
| | | | | | | | | | | | | | CFLAGS/CPPFLAGS and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS. While the latter isn't dangerous, passing system include directory through -I lead to change of its status in CPP from system to user-defined in many cases. This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT. (This used to be commit 643172ac1a9b53823d704690eb03120074bbef78)
* Don't return NULL pointers for now.Andrew Bartlett2003-02-151-4/+4
| | | | | | | | We should look into how to deal with NULL v "" strings, and the NTLMSSP code underneath properly at some stage. Andrew Bartlett (This used to be commit dc934412b0190ea75073cccddac45e74ebcd4a6b)
* fix dumb perror used without errno beeing set.Simo Sorce2003-02-151-2/+2
| | | | | thanks to RedHat developers for the report (This used to be commit 4a3c6c62d979707900b95e6c38b0132f522269ca)
* When checking for tgetent, include libtinfo from recent Ncurses as wellAlexander Bokovoy2003-02-151-1/+1
| | | | (This used to be commit c88a5b1abaaee9aea3ece5677fce8b79bcd00552)
* Add support for krb5-config from recent MIT and Heimdal. And fallback to ↵Alexander Bokovoy2003-02-151-1/+16
| | | | | | traditional guessing only if krb5-config was not found. (This used to be commit ca27334ba0f2ffbe0fd2a18ef5edf644d4e52190)
* Move our NTLMSSP client code into ntlmssp.c. The intention is to provide aAndrew Bartlett2003-02-157-128/+459
| | | | | | | | | | | relitivly useful external lib from this code, and to remove the dupicate NTLMSSP code elsewhere in samba (RPC pipes, LDAP client). The code I've replaced this with in cliconnect.c is relitivly ugly, and I hope to replace it with a more general SPENGO layer at some later date. Andrew Bartlett (This used to be commit b2b66909ac2e251f8189e0696b6075dbf748521a)
* Use more portable @SHLIBEXT@ instead of .soJelmer Vernooij2003-02-151-1/+1
| | | | (This used to be commit ba25db83f241a28200132f3dc52f7f5f93a3b00e)
* Remove obsolete file lib/netatalk.c - We have a VFS module nowJelmer Vernooij2003-02-153-159/+0
| | | | (This used to be commit 28653989cfe5d705b99a4888c0c3fb79d1f89162)
* Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrapJeremy Allison2003-02-151-65/+107
| | | | | | | all cm_get_XX calls and their subsequent requests in a retry loop in case we've temporarily lost connection to the DC. Makes winbindd more reliable. Jeremy. (This used to be commit 81f358b632dbf7043d2a716359b0fcf7c647af0a)
* Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett2003-02-1513-181/+475
| | | | | | | | | | | | | | | | | | | | | | | | | | users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett (This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
* Move our NTLMSSP code into easily seperated peices, not relying on the wholeAndrew Bartlett2003-02-154-327/+353
| | | | | | | of libsmb. Andrew Bartlett (This used to be commit b5ec7efa80478187124c1cfa8c7fcc4036506a37)
* Oops, forgot the header file changes.Andrew Bartlett2003-02-141-0/+1
| | | | (This used to be commit 5492fc1144abac74959b7e0938ce1bb387fa7429)
* NTLMSSP parinoia - we really don't want to run over the end of our blob,Andrew Bartlett2003-02-142-14/+46
| | | | | | | and make sure we can never get an 'authenticate' packet without a challenge. Andrew Bartlett (This used to be commit 4d94f8e6912c1339515cd1f68d1b698e7c699626)
* Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison2003-02-1411-79/+118
| | | | | | Needed to move to disk based i/o later. Jeremy. (This used to be commit 4c3ee228fcdb089eaeead95e79532a9cf6cb0de6)
* off by one bug in string length; CR 1159Gerald Carter2003-02-141-1/+1
| | | | (This used to be commit 4b5b0bcd9092a6003e3494dda949e03e803ec0aa)
* Put dynrpc modules as part of make all, when specified in configure.Jim McDonough2003-02-141-4/+6
| | | | (This used to be commit b44be1c7c4b8c7a8c1d35fe8b24aeff0ff0af32b)
* Further extract our NTLMv2 code into smbencrypt.c, prior to merge into ourAndrew Bartlett2003-02-142-32/+51
| | | | | | | NTLMSSP client code. Andrew Bartlett (This used to be commit eaa8e7d1f82b30e7af14a0a58d7ca3eb66a06053)
* DocMartin Pool2003-02-141-1/+5
| | | | (This used to be commit 11c1e712d48438bd80c4f347a2f31e308bd54d7a)
* Simplify some return values in gencache functions:Tim Potter2003-02-141-5/+5
| | | | | | | | | | | - return ret == 0 ? True : False; + return ret == 0; and - return tdb_close(cache) ? False : True; + return tdb_close(cache) != -1; (This used to be commit 026b988b132ec76fdd3821639960658e1d36cd43)
* Fix for trusted domains scan not working inspired by Ken Cross.Tim Potter2003-02-142-7/+8
| | | | | (Sorry - I should have checked this in yesterday but forgot) (This used to be commit 7420ddcda8e7189cedacb2c60f5ea265b8c35bda)
* A few typo fixes Andrew eventually let off to me.Rafal Szczesniak2003-02-133-8/+8
| | | | | Rafal (This used to be commit 16a66cf17a544a214b7c5b483c81c7568a18a779)
* Removed unused variable.Jeremy Allison2003-02-131-1/+0
| | | | | Jeremy. (This used to be commit c9654c8ec71903c59ff5f66c3fd6ea1baa599133)
* Fix typo in WIFSIGNALED (as per Waider's report)Alexander Bokovoy2003-02-131-1/+1
| | | | (This used to be commit 4463ffeed91163314d2d903a271b29e87edaadcf)
* Merge JohnR's patch.Jeremy Allison2003-02-131-3/+1
| | | | | | | | Removed extra copy of server name in the printername field (it was mangling the the name to be \\server\\\server\printer ... yes, there were 3 backslashes) reported by get & enum jobs level 2. Jeremy. (This used to be commit d079edf7327acba7f00b5868e7e6ce91ddc1eb14)
* Add FIXME about checking exit code for popen'd commands.Martin Pool2003-02-131-1/+4
| | | | | Fix typo. (This used to be commit 2b5664823e05e328c86051fb607182ad20d786d4)
* waitstatus audit: Correctly handle case where smbmnt is killed by aMartin Pool2003-02-131-0/+3
| | | | | signal. Previously this was incorrectly treated as success. (This used to be commit fe5582c1b2e1c6a6ed5e048dd169a1fcf908069c)
* DocMartin Pool2003-02-131-1/+9
| | | | | Set HTML output directory (This used to be commit 38b5a219eeec128db4630a9fb8d0615324cc74e7)
* Update towards automatic building on dp.samba.org:Martin Pool2003-02-131-5/+4
| | | | | | | | | | | | | | | Remove features not supported by Doxygen 1.2.14 on RH7.3. Remove dependence on dot tool, which is apparently not in Redhat, and doesn't produce very interesting results for C code anyhow. Make Doxygen --quiet to support running from cron. Remove references to files which are gone from Samba (CodingSuggestions). Put HTML output in the right directory. (This used to be commit 5904260f4842adb36e30b36b37cf7e6ed1bc03f2)
* Added code based on Michael Steffens <michael.steffens@hp.com> uid/gidJeremy Allison2003-02-121-1/+205
| | | | | | | caching code. Reduces load on winbindd. Probably should be moved to use gencache at some future date. Jeremy. (This used to be commit 19f577e23ba3dd9101fb3e77a729906fdb8f5df7)
* Fixes for HPUX only having limited POSIX lock range from Michael Steffens ↵Jeremy Allison2003-02-122-14/+9
| | | | | | | <michael.steffens@hp.com> Jeremy. (This used to be commit ba0f47f78db488bd8dcd59023f48aa77a1cb2c27)
* adding more descriptions for nt status codesGerald Carter2003-02-121-1/+66
| | | | (This used to be commit dfceb0aab5d97df5b6b744143db254656398f0e9)
* Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmbAndrew Bartlett2003-02-121-1/+1
| | | | | | | back working again. Andrew Bartlett (This used to be commit 512e65a6a6ac5ee97edf1868007db20bb144857f)
* initial server side privileges implementation, using a tdb. This needs to be ↵Andrew Tridgell2003-02-124-7/+375
| | | | | | hooked into pdb, and we need some access control on changing privileges. That's next (This used to be commit f4f1f84a6bf1d356ccc83f0ecb135bef4a39619e)
* Prevent NULL-pointer induced segfaults.Andrew Bartlett2003-02-121-4/+4
| | | | | | | Is tdb_pack in appliance_head different for some reason? Andrew Bartlett (This used to be commit 9deb14a2e63fa71a05915b5ab865b8d0c11df098)
* Correctly return access denied on share mode deny when we can't open theJeremy Allison2003-02-121-3/+19
| | | | | | file. This is a regression that was damaged by other code. Jeremy. (This used to be commit 5cdc957ea6335d8bb4248065a3b60a0a26e766a8)
* setup the %U substitution in winbindd for the homedir templateAndrew Tridgell2003-02-121-0/+1
| | | | (This used to be commit 6186c10ceb2e61cd684968b56d3f32d9916538f8)
* add a note about relative opens with blank paths - its a re-open!Andrew Tridgell2003-02-121-0/+10
| | | | | (not implemented yet) (This used to be commit bceac9cdde04a57d661b6a7ece329fa6d5a169bd)
* add a note about a better method for finding netbios name of workgroupAndrew Tridgell2003-02-121-0/+7
| | | | | (not implemented yet) (This used to be commit 8a8cca78adebba640c6ce971d8888515bf0ea4be)
* pull_ucs2_talloc() should pull to a char**, not a void**Andrew Tridgell2003-02-121-2/+2
| | | | (This used to be commit 3cf539421fa2a5c276baeedbdbf42ced29d9f1e4)
* removed a duplicate copy of smb_io_sid_array()Andrew Tridgell2003-02-111-46/+0
| | | | (This used to be commit 2ef72f95003cebf2ff56e47f16fb8be0e8032042)
* added server stubs for lsa_enum_acct_with_rightAndrew Tridgell2003-02-114-0/+147
| | | | (This used to be commit aa2abacaf48924797b6803786c14c9f303185e4a)
* Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portabilityAndrew Bartlett2003-02-111-16/+15
| | | | | | | madness. Andrew Bartlett (This used to be commit 7836b9a58d158a54a7326b3de5d2fa757a9bb5b6)
* remove trailing 'a' from VFS_MODULES targets...fix buildJim McDonough2003-02-111-1/+1
| | | | (This used to be commit fa4961b1fc9f0ab2a1c32c56c6200d86a61093c9)
* Fixup delete on close torture.Jeremy Allison2003-02-111-10/+4
| | | | | Jeremy. (This used to be commit b031e81f4f4d5dc10e792c216d269b49569f5af9)
* Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).Jeremy Allison2003-02-112-45/+46
| | | | | | | Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to track it down. Jeremy. (This used to be commit c98ebb3031649203e607264ecb15722adf55af58)
* Fix the msdfs proxy handling code in dfsenum to return the cumulative number ofShirish Kalele2003-02-111-1/+1
| | | | | | | dfs links encountered. Previously the number was being mistakenly reset to 1. Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix. [Check into HEAD] (This used to be commit 9307942a89600004ae3467b1bbf0dc536698ecdf)