summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-08Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce8-48/+45
changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
2001-08-08Some better debugs for our security=server code. I want to track down whyAndrew Bartlett1-1/+3
we occasionally don't make the connection to the server. (This used to be commit 08e99f4c12ad8747a8fd0e47ed4165cea428128d)
2001-08-08Merge of modesty patch from 2.2 spec file.Tim Potter1-2/+2
(This used to be commit 4c4d128d08e848c65b1aec8bcc0b1bc3a913d55b)
2001-08-08Factored out common rpc pipe initialisation and shutdown code.Tim Potter7-300/+86
(This used to be commit 04d978258ba2fea702232c815e140ab12364e8e7)
2001-08-07Patch for having spaces in tdb keys, NULL termination fixes and otherTim Potter1-22/+87
stuff. From Andrew Esh <AEsh@tricord.com> (This used to be commit 78207d0fc8c4641fbd8f63f469c4135357edfad8)
2001-08-07Update to work with no crypt available, just like it will in Samba.Jeremy Allison1-0/+778
Jermey. (This used to be commit 84e15b81992977fd546f2118d1f9847cf0713fa0)
2001-08-07merge from 2.2Gerald Carter2-122/+140
(This used to be commit a7bf5e2ab84e21198a22e893e8640710a9ba2f7b)
2001-08-07Always return NT_STATUS_DISK_FULL, even for quota errors.Jeremy Allison1-1/+1
Jeremy. (This used to be commit e4a295b730b3d1ee784c896611d184c7699c74e7)
2001-08-07Added fixes to return correct error codes on space allocation fail.Jeremy Allison2-2/+31
Jeremy. (This used to be commit 3bf2419f4b7a9d46a1d48062212a6a6579c22b92)
2001-08-07Correctly report amount written in debug when allocation space.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d1e7cf6073f2dcb91ec468f5f249610dd9f1623a)
2001-08-07A collection of fixes/cleanups to the security descriptor code byTim Potter1-9/+10
matt_zinkevicius@hp.com (This used to be commit ce22267ec840aaa3cc8f9b88a62b45c723a06b01)
2001-08-06Fixed another possible memleak in cli_initialise()Tim Potter1-0/+6
(This used to be commit 4c9f010a1eef81addfea0315bef81570bc604f8a)
2001-08-06Added Gerald's lanman printing only change to HEAD.Jeremy Allison3-167/+99
Jeremy. (This used to be commit b7bd512d9a9b543b9caf93c264776db6852c03ea)
2001-08-06Fix for getting allocate_file_space to return the correct errno.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 298595e8cb0ac4f5b5ad9a522cca79d030d7e0fc)
2001-08-06Record the NT_STATUS constant rather than its number in the logfilesAndrew Bartlett3-3/+5
Fix typo in lmhosts manpage (This used to be commit 9fff946cf113b4858b730f5ba644d5648ba95027)
2001-08-06Stop HP/UX building shared libraries for the moment ...Richard Sharpe1-1/+1
(This used to be commit 8878a44868073d50e4ce729a1812f43e1a96e2ae)
2001-08-06We don't use indent in the HEAD branch.Tim Potter1-14/+0
(This used to be commit 0b3fbd9e6ee2ec10fe7f0187e850834accfa492f)
2001-08-06Cleaned up error handling in cli_initialise() to fix a memleak found byTim Potter1-10/+14
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> (This used to be commit b5373f4b59cfe1cffe915e5d4eb29ed83fe99ba6)
2001-08-06Changed lone malloc() call to talloc(). Spotted byTim Potter1-1/+1
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> (This used to be commit 99ce277fc857069f86824a3c0cd8012f4cede1b6)
2001-08-06Added smbtree to list of ignored files.Tim Potter1-0/+1
(This used to be commit e4831d4d010d432d710553deac8201c14eea47a7)
2001-08-05me stupid.Simo Sorce1-1/+1
never commit without building. sorry. (This used to be commit f87924aec4ff3ad1855b470c33df2e0ae9d51d85)
2001-08-05Another winbind test - fill in later.Tim Potter1-0/+38
(This used to be commit 99071c45d05231e5683b37823bcca90542f4e332)
2001-08-05Some fixes about malloc/Realloc and mem leakSimo Sorce3-6/+15
thanks to andreas moroder (This used to be commit b29a549cdd85d42a1697041ab04f0ae4eddd23ca)
2001-08-04Print an error message if database could not be opened.Volker Lendecke1-0/+7
Volker (This used to be commit b4f06c3ecf8af60352bc9e3af9c35c00827faad2)
2001-08-04Extra debug to see what errno is on write fail.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 352a02bf5c1b3ab9db92f86fd22f7a781a2c2996)
2001-08-03The write zero bytes is an allocate, not set EOF.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 28b4ee1eba5fbfd83c000a0e485632c477b7bfa9)
2001-08-03Added include guards...Jeremy Allison1-0/+3
We may need to rename this file smbauth.h, as auth.h is so generic it will probably conflict with system header files on some systems. Jeremy. (This used to be commit dd4a6edd497053f4e393216884d356975efef799)
2001-08-03This is the fix for the PAM bug I probably introduced in the previous commit,Andrew Bartlett2-0/+6
which I will confirm once I can find a box it would break on in the first place. (this is the pam accounts as nobody thing we had with 2.2.0) Andrew Bartlett (This used to be commit 9746ad12bd2d310e5c255c7ea491b87170b807af)
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-01Modifying spec files is PITA.Tim Potter1-18/+27
- Install winbind daemon, client programs, nss and pam libraries - Removed codepage stuff so spec file works with current HEAD branch (This used to be commit 04005e74c6f897ba9965b89210d06212486eeac7)
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-01Added autogenerated spec files for various rpm versions.Tim Potter1-0/+1
(This used to be commit 1323972bf4c7a045b2897aae834dff3b6866ee62)
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-08-01Added some command line argument checking and usage info.Tim Potter1-0/+5
(This used to be commit a13eedf8bdefacfb569eb006d8c169247272ecf6)
2001-08-01Added and populated .cvsignore files for packaging subdirectories.Tim Potter4-0/+16
(This used to be commit ec042f2af94a834226b59224ab28452b1cd6bf15)
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)