summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-26Kill of the reply.c end of the workstaion trust account mess.Andrew Bartlett2-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 (This used to be commit c04f063573c61d8ef3f43815bbb9b6b076dc23eb)
2001-09-26Process the workstation trust account code INSIDE the authenticaion subsystem,Andrew Bartlett2-10/+40
just like any other logon. Matching code removal in reply.c to follow. Andrew Bartlett (This used to be commit da4873d889928e9bd88e736e26e4e77e87bcd931)
2001-09-26Rearrange the order of the checks in auth_smbpasswd.c, always check passwordsAndrew Bartlett2-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. (This used to be commit 53c1c5091ea4e3ccc294f8b6f132be78c11c431f)
2001-09-26Fix this to use the plaintext password code directly, like SWAT does.Andrew Bartlett1-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 (This used to be commit 37655b42897031f754d436435e64a2548de756b5)
2001-09-26Update for new pdb_set_plaintext_passwd() interface.Andrew Bartlett1-6/+1
(This used to be commit ce676f8bfc6222df1e05b164420efab30eb1b2e1)
2001-09-26Make use of the pdb_set_plaintext_passwd() update to vastly simplifyAndrew Bartlett2-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 (This used to be commit 42402c87d6bcff71b700e497b74d2600d7ce8b95)
2001-09-26Fix the uninitialised variable, but more importantly fix the SEGFAULT.Andrew Bartlett1-2/+4
Merge for 2.2.2 Should TDB cope with TDB pointers itself? Andrew Bartlett (This used to be commit 27f0510a0b458792293d5ce2957f61383569f62f)
2001-09-26Fix up TDB_SAM with repect to case sensitvity. (need to use unix_strlower)Andrew Bartlett1-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... (This used to be commit 540abc8125f1b821bd362dc0d8c19a107382479f)
2001-09-26Fix up pdbedit to initialise its structures with the standard functions,Andrew Bartlett1-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 (This used to be commit f0f315f31533bb5dc47d27cd6823ad0b146f1ff9)
2001-09-26Add a new interface pdb_set_plaintext_passwd() to the passdb. This simplyAndrew Bartlett1-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. (This used to be commit 33e3591b2db377e720ec484872e2cbe7343350b1)
2001-09-26More updates to prevent account-guessing.Andrew Bartlett1-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 (This used to be commit f7ed0ecc14aeba5ad260f24a76ced70cf52f8e48)
2001-09-26We don't use a modified 'user' in any case, so don't modifiy it.Andrew Bartlett1-1/+1
(This used to be commit e0e05cb5a51e0e46162febd0a45ea4f59b6f6573)
2001-09-26Update build_options.c in line with new configure options.Andrew Bartlett1-6/+10
(This used to be commit 3f10b045666479e3e1981b09fcaa0d0810422fcb)
2001-09-26Finish Jeremy's passdb merge :-).Andrew Bartlett2-134/+200
(fix up configure.in for default (smbpasswd) option) Rerun autoconf. (This used to be commit 0b9e13530d728ef3c19d6ff05d74b7e594bf9a4c)
2001-09-26Added Elrond patch to make se_access_check use NT datastructures, not Samba.Jeremy Allison3-28/+17
Jeremy. (This used to be commit bca6419447e926e51aeecf3e484228f640cecb84)
2001-09-25Fixup passdb stuff to add new nisplus and ldap backends.Jeremy Allison17-1876/+4624
Jeremy. (This used to be commit 611bf806d569b70edabbc04a2f5408142370a550)
2001-09-25sorry to forget re-run autoconf again...Motonobu Takahashi1-118/+124
(This used to be commit 322ba52f71045002c6b969fb87932ee8b7d578c8)
2001-09-25now --with-i18n-swat works to install some international filesMotonobu Takahashi3-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 (This used to be commit 9ec2d5e96ebb907e66250772057bf5e2601f8ec9)
2001-09-25Don't segfault when deleting accounts not in /etc/passwd. The RID we want isAndrew Bartlett1-5/+2
the one in the sampass anyway. Andrew Bartlett (This used to be commit 29b7434293d7778376486b241f9458a71fa843a6)
2001-09-25Fix up the ./configure for the BSDs:Andrew Bartlett2-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. (This used to be commit cad971f4c37042c4e9b6e6332e55757473f6da78)
2001-09-25memory leak fixes ..Simo Sorce1-7/+21
(This used to be commit 7f07004571ad1b8d1ce787f6788b4c4d8685db37)
2001-09-25- the inactive core of the new mangling code that use tdbSimo Sorce2-0/+464
- some more utils for unicode string manipulation (This used to be commit 4ade36446e7dee1c3828d8c822f047c6e891a644)
2001-09-25fixed the really awful performance problem with the stat cache when itAndrew Tridgell2-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! (This used to be commit fdc9952391027e209fbd24f7794b1c2b551b1f9f)
2001-09-25fixed a typoAndrew Tridgell1-1/+1
(This used to be commit 11a2808e10bb7885da04c19c261d3876c31ac08d)
2001-09-25added a little smbtorture test for dumping the unicode table of aAndrew Tridgell5-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. (This used to be commit eb668b54af4925194c07b217724657f406ec00d0)
2001-09-25Change ./configure.developer to stay in effect across aAndrew Bartlett3-817/+829
'./config.status --recheck' by making it a real configure option. reran autoconf (This used to be commit 23173125cd124508a080cfc11436273efcbeedb6)
2001-09-25allow all ucs2 chars in utf8, rather than mapping some to a singleAndrew Tridgell1-10/+1
char like libiconv does (This used to be commit e13e8b190c70136cb2c3588bdcf7328a7f61d152)
2001-09-25added cli_qpathinfo_alt_name() for fetching the 8.3 name of a fileAndrew Tridgell1-0/+65
(This used to be commit b2eb7feb7f5bafe953fdeb92daaf9e4f08e44983)
2001-09-25Try to fix up manpage installationAndrew Bartlett1-1/+1
(This used to be commit a302bb20e28ea2e4d04eca34a23ff42e9bc07b05)
2001-09-25Fixed enumeration of large numbers of groups from a Samba DC.Jeremy Allison2-2/+8
Tidied up debug messages in lib/messages.c Jeremy. (This used to be commit dfb58f227609d6c8a255677b85ec853efa19f602)
2001-09-25Log sys_acl_set_XX at level 2 not zero.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 4a54a633c59a18b387427e89266e294bdddf8574)
2001-09-24Change log message to 2 from zero when failing to create directory.Jeremy Allison1-1/+1
Stops spurious profile creation messages. Jeremy. (This used to be commit fa74d07207fa9024b6ebdb10686b032ef6673d18)
2001-09-24Removed extra '()' s.Jeremy Allison1-8/+6
Jeremy. (This used to be commit b5f4a97bb028394f56c904dbb8e12827cb99e785)
2001-09-24fixed a typo in installman.shMotonobu Takahashi2-2/+2
fixed a problem that source/install-sh is not executable (This used to be commit c2e256c18cbaa1145ab6ca8ad59baadca36abbdd)
2001-09-24fixed a typoMotonobu Takahashi1-1/+1
(This used to be commit 87a945f13d2f241facdd3a1bdc636193339f1697)
2001-09-24added files and directories to support gettext() featureMotonobu Takahashi39-0/+16121
Also added some po files to support: English, Japanese, Polish, Turlish (This used to be commit 736b713c49ebe45923169b70f5c47f5afda8d94a)
2001-09-24Update configure from configure.inMotonobu Takahashi1-738/+2615
(This used to be commit 50a61b221ba97a41ecc52e862f7b41bc18b61852)
2001-09-24Added SWAT i18n feature:Motonobu Takahashi14-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. (This used to be commit 486b79a6fc4ba20a751aab544bd0f7ccff2b3d19)
2001-09-24added SWAT i18n support files for Japanese and TurkishMotonobu Takahashi23-0/+192
(This used to be commit 1e77e87dcf782a0b3b2f0509385b2edad6113a05)
2001-09-24fixed a silly off by 1 bugAndrew Tridgell2-2/+5
(This used to be commit e558ab6ac8930e3393291fe12289ad43175b8a1d)
2001-09-24fixed bug in POST var handlingAndrew Tridgell1-4/+2
(This used to be commit 73f10d3ef6de2dbcb23f93ef93eb9e7053ebf26b)
2001-09-24If we disable hostname lookups we can at least get a uniform answer for testingAndrew Bartlett2-3/+2
the rhosts and hostsequiv stuff with. Andrew Bartlett (This used to be commit 3a2a96772304bbf04a2bdb2d3a8f9d92df62fc5f)
2001-09-24tdbtorture updates from when I was trying to track down the hp tdb bugAndrew Tridgell1-12/+50
(This used to be commit b8d9d1fca3eec5150fb9784f1d0157a82e60cebd)
2001-09-24convert all POST variables from display to unix charsetAndrew Tridgell2-23/+29
(This used to be commit cd6478ad9890949d0ef34a7078ec5518debe4a3c)
2001-09-24Add .headers.stampAndrew Bartlett1-0/+1
(This used to be commit e12d7570997c229177c239cd2224574a943e262a)
2001-09-23Lets call an NTSTATUS an nt_status, not an ecode.Andrew Bartlett1-6/+6
(This used to be commit b6048e28ab996ba5581cfa3b50401c0f775befdd)
2001-09-23Zero out these pstrings before we start: makes for much easier debugging.Andrew Bartlett1-2/+2
(This used to be commit d417b6b5cbdbb244cc683387d73a9200eef53427)
2001-09-23Fix up NT_STATUS return for session setups, Win2k objects to anything otherAndrew Bartlett3-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 (This used to be commit 67947bf6e31ee9758f8a2186f83031ba21b716f2)
2001-09-22fixed the Makefile so we don't rebuild libsmbclient and build_env.hAndrew Tridgell4-642/+655
(and thus smbd) every time (This used to be commit e78d0a3615d74cdd023d2d623abc27ac59356ae0)
2001-09-22Ignore unmappable (NT Authority, BUILTIN etc.) SIDs in an ACL set.Jeremy Allison2-0/+35
Jeremy. (This used to be commit bc7963bd643422cce081b6284e3bdd49ae3a02ab)