summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a few const statements to various odd bits of the tree. (Fixes someAndrew Bartlett2001-09-293-4/+4
| | | | warnings)
* Don't build make_printerdef in HEAD. This tool is not needed exceptGerald Carter2001-09-291-1/+1
| | | | to support 2.0.x style WIn9x driver download.
* Fixed CUPS detection - patch from Michael Sweet.Jeremy Allison2001-09-283-10/+10
| | | | Jeremy.
* How the heck I missed this I don't know, but somehow I got a copy-and-pasteAndrew Bartlett2001-09-281-16/+12
| | | | | | | | | | | | | | | error in here... Now you can change local passwords again. There is stil somthing broken about remote (via windows/sampasswd) password changing. I shall have to revise my testing, I honestly don't know how this slipped through the net. MERGE for 2.2.2. Sorry, Andrew Bartlett
* Removed smbpasswd_XX call (how did this get re-added, I removed allJeremy Allison2001-09-271-1/+1
| | | | | these yesterday ?). Jeremy.
* Sync 2.2.2 and HEAD (I will keep these the same if it kills me :-).Jeremy Allison2001-09-271-127/+103
| | | | Jeremy.
* Merge HEAD and 2.2 - try frantically to keep in sync.Jeremy Allison2001-09-271-13/+13
| | | | Jeremy.
* How often did I read the CVS commit messageVolker Lendecke2001-09-271-1/+1
| | | | | | "Always compile before commit" :-(( Volker
* get out unicode_from_buffer and buffer_from_unicode, unneeded.Simo Sorce2001-09-271-112/+139
| | | | | | | store mangled filename in dos charset and unmangled in unicode. clean ups still lot to do. againg compiled but not yet tested.
* Major update to pdbedit's import and export code, in line with reqests for itAndrew Bartlett2001-09-271-81/+83
| | | | | | | | | to use the pdb_ formatting functions. Similarly, it now uses pdb_set...() rather than accessing passdb members directly. Andrew Bartlett
* Kill unused variablesAndrew Bartlett2001-09-271-2/+0
|
* Fix memory leak in get_sampwd_entries(), reindent for clarity.Andrew Bartlett2001-09-272-74/+153
| | | | | | | | | | | | | | | | | - call pdb_reset_sam() after each getent call. Fix bug in get_group_alias_entries(), were if num_entries was zero this caused talloc() to return NULL, failing a test below with NT_STATUS_NO_MEMORY. Fix pdb_reset_sam() to correctly initalise the sam structure. Move default value code into a single place, likewise for sam freeing code. - should make things easier if we decide to malloc other strings, or get more non-zero default values. Finally, add a function in init a sam struct from a getpwnam() return. Andrew Bartlett
* sync up with 2.2Gerald Carter2001-09-271-0/+0
|
* minor fixesSimo Sorce2001-09-272-32/+15
|
* fixed compilation of tdbtortureAndrew Tridgell2001-09-271-0/+5
|
* OpenSSL merge from 2.2Gerald Carter2001-09-267-911/+966
|
* From 2.2.Volker Lendecke2001-09-261-0/+6
| | | | Volker
* merge from 2.2Gerald Carter2001-09-262-3/+3
|
* Kill of the reply.c end of the workstaion trust account mess.Andrew Bartlett2001-09-262-169/+61
| | | | | | | | | | | | | | Fix the NT errror codes, this time in line with WinXP/2k. - Return the normal error codes, expect for bad user/bad password. These map to logon failure, as a quick security hack. We follow suit. Simplfy some of the password extraction code, the auth subsytem has the intelegence to sort this stuff out, no need to do it here. Move to 'global_encrypted_passwords_negotiated' to determine the use of unencrypted hacks, replacing the current mess. Andrew Bartlett
* Process the workstation trust account code INSIDE the authenticaion subsystem,Andrew Bartlett2001-09-262-10/+40
| | | | | | just like any other logon. Matching code removal in reply.c to follow. Andrew Bartlett
* Rearrange the order of the checks in auth_smbpasswd.c, always check passwordsAndrew Bartlett2001-09-262-146/+222
| | | | | | | first. Add password expiry and 'must change before first logon' support. - This requires that the passdb be up to the job to supply the info.
* Fix this to use the plaintext password code directly, like SWAT does.Andrew Bartlett2001-09-261-7/+11
| | | | | | | | | | | This whole area needs to be cleaned up. Should this kind of passowrd change/check be permitted with encrypt passwords = yes? In any case I've also had trouble testing this, as I can't find the right software/configuration to exersise this behaviour. But its better than the previous situation. Any assistance greatly appriciated. Andrew Bartlett
* Update for new pdb_set_plaintext_passwd() interface.Andrew Bartlett2001-09-261-6/+1
|
* Make use of the pdb_set_plaintext_passwd() update to vastly simplifyAndrew Bartlett2001-09-262-66/+21
| | | | | | | | | | | decode_pw_buffer() and the samr password changing routines. And yes, I know that we can lost some information in the Unicode->UTF->Unicode bit of this, but its worth the code cleanup. This also takes into account the possability of multibyte passwords. Andrew Bartlett
* Fix the uninitialised variable, but more importantly fix the SEGFAULT.Andrew Bartlett2001-09-261-2/+4
| | | | | | | | Merge for 2.2.2 Should TDB cope with TDB pointers itself? Andrew Bartlett
* Fix up TDB_SAM with repect to case sensitvity. (need to use unix_strlower)Andrew Bartlett2001-09-261-7/+9
| | | | | | | Also attempt to make some of the syntax clearer, its confusing enought for the compiler... (it thinks that there is use of an unitilaised variable) In fact there is, see next patch...
* Fix up pdbedit to initialise its structures with the standard functions,Andrew Bartlett2001-09-261-40/+52
| | | | | | | | | | therfore ensuring sensible defaults for some values, notably account expriries which mean 'locked out' if == 0. This NEEDS to be merged into 2.2.2 or people can get wrongly initilaised TDB records. (which will only fail on future versions of samba). Andrew Bartlett
* Add a new interface pdb_set_plaintext_passwd() to the passdb. This simplyAndrew Bartlett2001-09-261-11/+26
| | | | | | | | interfaces to the existing set NT and LM functions, but ensures we always do it in the same way. This also allows for the possibility for the unix password sync code to be hidden behind the passdb interface as some stage.
* More updates to prevent account-guessing.Andrew Bartlett2001-09-261-12/+10
| | | | | | | | | | This moves the check that ensures that the account being looked up is the same account as the machine logged in as to the front, before we even start with passdb. Merge for 2.2.2? Andrew Bartlett
* We don't use a modified 'user' in any case, so don't modifiy it.Andrew Bartlett2001-09-261-1/+1
|
* Update build_options.c in line with new configure options.Andrew Bartlett2001-09-261-6/+10
|
* Finish Jeremy's passdb merge :-).Andrew Bartlett2001-09-262-134/+200
| | | | | | (fix up configure.in for default (smbpasswd) option) Rerun autoconf.
* Added Elrond patch to make se_access_check use NT datastructures, not Samba.Jeremy Allison2001-09-263-28/+17
| | | | Jeremy.
* Fixup passdb stuff to add new nisplus and ldap backends.Jeremy Allison2001-09-2517-1876/+4624
| | | | Jeremy.
* sorry to forget re-run autoconf again...Motonobu Takahashi2001-09-251-118/+124
|
* now --with-i18n-swat works to install some international filesMotonobu Takahashi2001-09-253-11/+35
| | | | | | | | | used by SWAT into $swatdir/$ln/{help,images,include} we have still points which needs to discuss, that is how to archive and install lots of HTML help files and Using Samba files. -- monyo
* Don't segfault when deleting accounts not in /etc/passwd. The RID we want isAndrew Bartlett2001-09-251-5/+2
| | | | | | the one in the sampass anyway. Andrew Bartlett
* Fix up the ./configure for the BSDs:Andrew Bartlett2001-09-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | Subject: Re: bugs in installman.sh script Date: Tue, 25 Sep 2001 16:02:11 +0200 (CEST) From: Rafal Szczesniak <mimir@spin.ict.pwr.wroc.pl> To: Andrew Bartlett <abartlet@pcug.org.au> CC: <samba-technical@lists.samba.org> On Tue, 25 Sep 2001, Andrew Bartlett wrote: > Its broken for BSDs and was broken for many others. You might want to > re-checkout. Any fixes appricatiated. OK. Here's the patch for configure.in. Replaces illegal, under [t]csh, substitution with more general sed construction. Apply it, please, and I'll see if I can clean up the installman.sh further.
* memory leak fixes ..Simo Sorce2001-09-251-7/+21
|
* - the inactive core of the new mangling code that use tdbSimo Sorce2001-09-252-0/+464
| | | | - some more utils for unicode string manipulation
* fixed the really awful performance problem with the stat cache when itAndrew Tridgell2001-09-252-9/+11
| | | | | ran out of primes and used a power of two hash modulus. It ended up sticking all the entries in just a few buckets. Yuck!
* fixed a typoAndrew Tridgell2001-09-251-1/+1
|
* added a little smbtorture test for dumping the unicode table of aAndrew Tridgell2001-09-255-4/+86
| | | | | | | | | server. This is just a framework right now - I want this to eventually replace the win32 test code from monyo The interesting this about this test is that it shows up a really horrible performance bug in our stat cache code. I'll see if I can fix it.
* Change ./configure.developer to stay in effect across aAndrew Bartlett2001-09-253-817/+829
| | | | | | './config.status --recheck' by making it a real configure option. reran autoconf
* allow all ucs2 chars in utf8, rather than mapping some to a singleAndrew Tridgell2001-09-251-10/+1
| | | | char like libiconv does
* added cli_qpathinfo_alt_name() for fetching the 8.3 name of a fileAndrew Tridgell2001-09-251-0/+65
|
* Try to fix up manpage installationAndrew Bartlett2001-09-251-1/+1
|
* Fixed enumeration of large numbers of groups from a Samba DC.Jeremy Allison2001-09-252-2/+8
| | | | | Tidied up debug messages in lib/messages.c Jeremy.
* Log sys_acl_set_XX at level 2 not zero.Jeremy Allison2001-09-251-2/+2
| | | | Jeremy.
* Change log message to 2 from zero when failing to create directory.Jeremy Allison2001-09-241-1/+1
| | | | | Stops spurious profile creation messages. Jeremy.