summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Removed extra '()' s.Jeremy Allison2001-09-241-8/+6
| | | | Jeremy.
* fixed a typo in installman.shMotonobu Takahashi2001-09-242-2/+2
| | | | fixed a problem that source/install-sh is not executable
* fixed a typoMotonobu Takahashi2001-09-241-1/+1
|
* added files and directories to support gettext() featureMotonobu Takahashi2001-09-2439-0/+16121
| | | | | Also added some po files to support: English, Japanese, Polish, Turlish
* Update configure from configure.inMotonobu Takahashi2001-09-241-738/+2615
|
* Added SWAT i18n feature:Motonobu Takahashi2001-09-2414-526/+1623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | TO enable configure with --with-i18n-swat to support this gettext is integrated and a new directories name "po" and "intl" are created. now these languages are supported: en - English (default) ja - Japanese po - Polish tr - Turkish To add your language, to create ${your_language}.po by translating source/po/en.po into your language is needed. some of html and image files of various language version are not included yet, though message catalogue files are installed. you need to copy files manually under ${swatdir}/lang/$ln/{help,images,included,using_samba} And also added a option to intall manual pages: of various lang version To enable configure with --with-manlangs but manual pages themself are not included yet.
* added SWAT i18n support files for Japanese and TurkishMotonobu Takahashi2001-09-2423-0/+192
|
* fixed a silly off by 1 bugAndrew Tridgell2001-09-242-2/+5
|
* fixed bug in POST var handlingAndrew Tridgell2001-09-241-4/+2
|
* If we disable hostname lookups we can at least get a uniform answer for testingAndrew Bartlett2001-09-242-3/+2
| | | | | | the rhosts and hostsequiv stuff with. Andrew Bartlett
* tdbtorture updates from when I was trying to track down the hp tdb bugAndrew Tridgell2001-09-241-12/+50
|
* convert all POST variables from display to unix charsetAndrew Tridgell2001-09-242-23/+29
|
* Add .headers.stampAndrew Bartlett2001-09-241-0/+1
|
* Lets call an NTSTATUS an nt_status, not an ecode.Andrew Bartlett2001-09-231-6/+6
|
* Zero out these pstrings before we start: makes for much easier debugging.Andrew Bartlett2001-09-231-2/+2
|
* Fix up NT_STATUS return for session setups, Win2k objects to anything otherAndrew Bartlett2001-09-233-12/+7
| | | | | | | | | | | than NT_STATUS_LOGON_FAILURE. This also brings us (almost) back in line with their implementation. Kill off SMBENCRYPT() macro Kill off 'nt smb support' paramater - tridge okayed this one. Andrew Bartlett
* fixed the Makefile so we don't rebuild libsmbclient and build_env.hAndrew Tridgell2001-09-224-642/+655
| | | | (and thus smbd) every time
* Ignore unmappable (NT Authority, BUILTIN etc.) SIDs in an ACL set.Jeremy Allison2001-09-222-0/+35
| | | | Jeremy.