summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-08-03This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett25-1417/+3312
samba-technical a few weeks ago. The idea here is to standardize the checking of user names and passwords, thereby ensuring that all authtentications pass the same standards. The interface currently implemented in as nt_status = check_password(user_info, server_info) where user_info contains (mostly) the authentication data, and server_info contains things like the user-id they got, and their resolved user name. The current ugliness with the way the structures are created will be killed the next revision, when they will be created and malloced by creator functions. This patch also includes the first implementation of NTLMv2 in HEAD, but which needs some more testing. We also add a hack to allow plaintext passwords to be compared with smbpasswd, not the system password database. Finally, this patch probably reintroduces the PAM accounts bug we had in 2.2.0, I'll fix that once this hits the tree. (I've just finished testing it on a wide variety of platforms, so I want to get this patch in). (This used to be commit b30b6202f31d339b48d51c0d38174cafd1cfcd42)
2001-08-03Fix for smbpasswd set_userinfo24 was in the wrong place!Tim Potter1-4/+4
(This used to be commit c9cbe3237e01983a5063e5680ad71c7579009f28)
2001-08-02Allow smbpasswd to join a W2K hosted AD domain.Jeremy Allison3-4/+17
Jeremy. (This used to be commit c51cfc7f0d3ad1614ca1e0330c8707f7b263b8e6)
2001-08-02Put HPUX on mmap blacklist.Jeremy Allison5-700/+713
Jeremy. (This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
2001-08-02Added mmap fix to pass lock test from HP.Jeremy Allison1-115/+222
Ok - now we're no longer trying to reach a silly 1k loc target, change the formatting to be *readable* - eg. change if (x) y else z to be : if (x) y else z and other compact sillyness. Oh look - when I did this I found some areas where we *WEREN'T CHECKING SYSTEM CALL ERROR RETURNS !!!!* CompSci 101 guys....... :-). Jeremy. (This used to be commit 38d2e6983a6be8232ae7ce21a950d69dd95ce3e6)
2001-08-02changed --with-profile to --with-profiling-data to "stop the madness!"Gerald Carter2-616/+613
of people somehow thinking this was related to user profiles. Hope this is ok Herb. jerry (This used to be commit 5704a9f0bb7f78c34f4141512159d0e7eb4305b8)
2001-08-01Added "strict allocate" per share parameter. This causes actual on-disk ↵Jeremy Allison3-12/+127
allocation to be done. Without it just does the ftruncate. Jeremy. (This used to be commit 0b052f103e82369088bc30724b86d8892c395cdb)
2001-08-01Oops. Typo.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d862be4b680fc495d920fa802854032e668a2073)
2001-08-01Pidfile check can be read-only. Removed old ifdef in password.cJeremy Allison2-30/+9
Jeremy. (This used to be commit d82efc61ef16533c5652a5d4a9863f8317cb4ea2)
2001-08-01Tweaked the installdirs target to ignore errors. This allows RPMS to beTim Potter1-2/+2
built as non-root user, assuming you have permissions set up properly in your /usr/src/redhat directory. Added nsswitch sub-target to all target. (This used to be commit 109840bb3abd75370e8ec14bf08bae35d04bcdaf)
2001-08-01Reran autoconf.Tim Potter1-627/+665
(This used to be commit 7bd901b6a89e34d111609892e0fe648248c9e21e)
2001-08-01Rewrite of winbind autoconf fragment.Tim Potter1-17/+50
- can now use --with-winbind to force compilation on systems that are not linux or solaris (-: - don't compile winbind if the unix domain socket test fails - compile right number of bits if --with-pam used (This used to be commit d77295ee701ecad4d563efe0632bea81b69f78a0)
2001-08-01Fixed up compilation of pam_winbind.so to be consistent with value ofTim Potter1-2/+5
--with-pam passed to configure. Fixed nsswitch target to compile the sbin and lib winbind targets. Winbind still doesn't install its lib targets (libnss_winbind.so and pam_winbind.so) properly - the install script is a big mess. )-: (This used to be commit fc83346a43ba59efcdf415437e6b99e68d2561c5)
2001-07-31Fix for rare tdb pattern store failure. Found & fixed by Rusty.Jeremy Allison1-1/+4
Jeremy. (This used to be commit aaa56bb3a3c5f0e4191c9b3efe9b8d92c22cf6c7)
2001-07-30Fixup error returns in updating driver db version.Jeremy Allison1-22/+40
Jeremy. (This used to be commit 5bd39ce233fd14d01f434f39ce53e3e77b428845)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison16-22/+27
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-30Throw out crappy (non-ascii unaware) mbtows stuff and use proper unicodeJeremy Allison1-57/+6
push calls. If this breaks authentication then good, it needed fixing anyway :-). Jeremy. (This used to be commit e3580b4033c551e215cb246d4e36c4870cb4a582)
2001-07-30uint -> uint32.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3e3155812c38cee65a5344a3879b07d27d160a1e)
2001-07-30Fixes for varargs problems with std c.Jeremy Allison4-13/+13
Fix from Rick Lake <rwlake@anp.nl> for QNX. Jeremy. (This used to be commit c13b77eb35fe51403a51e1a146cedc643e550de7)
2001-07-28Fix invalid uid being used after logoff. Thanks to Nigel WilliamsJeremy Allison1-2/+1
for this bug report. Jeremy. (This used to be commit 50d8e5b22f2c2c792e3a2d33e00a1c9caab48981)
2001-07-28Fix for potential crash bug with bad fid.Jeremy Allison1-1/+13
Jeremy. (This used to be commit 82f81c830db53ce507c2a8e65db962f931141afd)
2001-07-27Return an exit code when connect failed.Tim Potter1-1/+1
Patch from Michael Sweet <mike@easysw.com> (This used to be commit 2c7d09b38dceb58b85fe49efb7c7e3def84c587b)
2001-07-26better debug messages + fix typo in debug messageSimo Sorce1-2/+2
(This used to be commit b377f06fd90f607fa9e0e2e61981e835527b568c)
2001-07-26Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison7-622/+810
Digital UNIX). Jeremy. (This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
2001-07-25Always check fstat for error.Jeremy Allison1-10/+13
Jeremy. (This used to be commit 34951876a1bfad5aa3fc3bd05b808e150f639a8a)
2001-07-25Excellent patch from Anselm Kruis <A.Kruis@science-computing.de> to fixJeremy Allison1-1/+1
problem with wrong token being used in current_user. Jeremy. (This used to be commit 2c7d2a1d533052d3556715439fcd66c5233d3137)
2001-07-25we need to pull passwords in client charset for crypto to workAndrew Tridgell1-1/+1
(This used to be commit 9a87d6f58fc005ddf2daf6fceb12a54fdc48f3b7)
2001-07-25need to push smb_search strings in client charsetAndrew Tridgell1-5/+5
(This used to be commit df00e5dceae91f6ffca77704c4517b91fd796d32)
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter11-154/+153
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-25- don't try to print pointersAndrew Tridgell2-13/+2
- removed some unused mangling code (This used to be commit 36af1c0dc41f72ec6a5c671fd6b4f6eb2590b8b4)
2001-07-25Re-ran autoconf.Tim Potter1-548/+593
(This used to be commit 4ecc12e974cbc7edd0507cfb851f47f7f9c53d28)
2001-07-25Merge of change machine account password race fix from appliance branch.Tim Potter1-1/+17
(This used to be commit 6e698d65ecb13b0b46d15bce7e0314fa1a46a13a)
2001-07-25got rid of INFO: msgs at debug level 1Andrew Tridgell1-2/+2
(This used to be commit e6773b08a4a1a54dca4a2e2ec5d4e9c43383b072)
2001-07-25nicer smbtree outputAndrew Tridgell1-2/+4
(This used to be commit b840d7d65e0e8e437e016318d7ee702db2fa561b)
2001-07-25ucs2 is always a multiple of 2 bytesAndrew Tridgell1-0/+6
this gets rid of a bunch of iconv warnings (This used to be commit 2ec59f731df6489756c5606ed63de90fb2a9241f)
2001-07-25a better test for unix domain socketsAndrew Tridgell5-6/+24
(This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)
2001-07-25added a --with-libiconv=BASEDIR/ option to allow easier use of anAndrew Tridgell3-724/+824
alternative iconv library (This used to be commit cfb6e67bb92f9d73aadabebae3ea5baeb07158a0)
2001-07-25build smbtree by default. It's a very useful utility.Andrew Tridgell1-1/+8
(This used to be commit e2ab5e09d0721114f441d7227d4a5be21e8a59c6)
2001-07-24Store winbindd in the sbin directory. Make the winbind pam module also asTim Potter3-612/+624
a sbin program. Currently the pam and nss modules are installed into @prefix@/sbin - I'm not sure whether this is a good idea or not. Perhaps they should be left in the build tree and copied across as needed by hand or a packaging tool. (This used to be commit 09af934c4aa295bec494740d94de76e5e4497887)
2001-07-24Convert other parameters (read list, write list, valid users...) to the ↵Simo Sorce4-85/+184
P_LIST format. changed functions to use list instead of strings addedd lp_list_substitute function (This used to be commit 7257d07563ba21bd88733d5d2b4ec4829fab2507)
2001-07-24Make sure that a shared library build of libsmbclient causes buildRichard Sharpe1-1/+1
breakage if there are problems. I will take this out tomorrow if it causes too many problems. (This used to be commit f4d9abcac7f8b8fc1b3d380b76fc8c95688b5d5d)
2001-07-24make nsswitch target wasn't building the winbind pam module.Tim Potter1-1/+1
(This used to be commit 2484f0fc39f931d9c50dff2b89c4d30536ac8c60)
2001-07-24Commit an updated configure, but the build_farm should run autoconf!Richard Sharpe1-723/+738
(This used to be commit 81e39790f64fbccc6bdd967635a22a2e0ca666cc)
2001-07-24We were making an assumption in the oplockJeremy Allison1-1/+0
break code path that was invalid (ie. we were assuming we could infer a non-levelII oplock when such an oplock was detected - this may no longer be valid once we've processed the break process dealing with the break will change the state of it anyway. This prevents the state where we get the following packet trace : client server NTcreate -> <- NTcreate resp NTcreate -> <- break to level II ok - broken -> <- break to none Thanks to Alan Romeril for providing the trace that allowed me to track this down. Jeremy. (This used to be commit c343e4f49070011986fc2ed4acd4ce690d5f1d71)
2001-07-24Another fine mess, err, fine tune to the Slowaris build ...Richard Sharpe1-2/+1
(This used to be commit e8ee01eb779c1971fa269840cb14d2207b9d8569)
2001-07-24Make the Slowaris build a bit nicer with ccRichard Sharpe1-1/+1
(This used to be commit ea1a70fb42b3537524bbbf19b2d41a499411ff4e)
2001-07-23Fix case insensitive password change code.Jeremy Allison5-38/+47
Fixed crash bug with un-zeroed talloced memory. Jeremy. (This used to be commit eea1c30df246e081e672d7132345d0fd35ad9841)
2001-07-23Same fix for resume as for pause.Jeremy Allison1-1/+2
Jeremy.i (This used to be commit 9444fc554ba31ef516d0d98bbfe7f1af883e3970)
2001-07-23Fix for CUPS pause/restart code.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 592ef3d8eaea6421db758f39b694c84e8f66ec20)
2001-07-23Fix for cups compile.Jeremy Allison1-16/+17
Jeremy. (This used to be commit e90ad081ada5f3e11abe833b16a6416025ebcea5)