summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-05-15Check sizes of data entries in connections.tdb before deciding they're crecs...Jeremy Allison4-7/+30
We will need this when we use finer grained locking for max connections. Jeremy. (This used to be commit c6cd42a6791e26174eb795fd08ddbbd797e5a9cf)
2001-05-15make sure that when a tdb expands we fill the expanded area, otherwise ↵Andrew Tridgell1-6/+29
ENOSPC could be very bad (This used to be commit b94cfb6843dc7fc985917395d3e0d953501b9197)
2001-05-15Fixed up SAM_USERINFO_CTR dynamic stuff in cmd_samr_query_user()Tim Potter1-8/+4
(This used to be commit 22b760e246f8fcf79daf24542cc35bdf41d1fea7)
2001-05-15Removed extraneous semicolons from some lp_ parameter definitions.Tim Potter1-2/+2
(This used to be commit 34d527240086b135a24c7329d45bff715ae50485)
2001-05-15Memory leak fixes from insure.Tim Potter2-10/+5
(This used to be commit 03b1cab9a80264f0c940c45d0557ef7efe685095)
2001-05-15Updated the inplace documentation to reflect change from EUCLEAN to EINVAL.Richard Sharpe1-39/+32
(This used to be commit d090ae63aebbbbb4e1d2dbe438005742ed216e31)
2001-05-15Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVALRichard Sharpe1-24/+24
is a better return code anyway (I knew that :-) (This used to be commit 0bf2797b183b4d709a401ebdb2d5f3d5b1c907af)
2001-05-15remember to close tdb after useAndrew Tridgell2-9/+14
(This used to be commit 8f8d7202cf6e12cdb2f4445ddcac83a7ac9e33a2)
2001-05-15make the max_connections code less horrendously inefficientAndrew Tridgell1-23/+9
- it didn't honour the clear flag - it locked the database (not necessary) the previous code would do 10^6 kill() operations for 1000 people logging in - and all with the database locked. Not very scalable. Still haven't added the counter, that would make it really efficient (This used to be commit 6bdbeb4a32e52fb05328dcf38dbb90780e1761ef)
2001-05-14Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.Jeremy Allison1-2/+2
Jeremy. (This used to be commit ef687a2f6ba8143dcc041b2b629542c3ea9e3966)
2001-05-14Stupidity by me..... 777 != 0777Jeremy Allison1-1/+1
ARGGGHHHHHHHHHH. (Sorry). Jeremy. (This used to be commit 4306eff6f77b95eeaaa4f8375356a81ad3497c67)
2001-05-14tdb_traverse returns number of records, not zero, on success.Jeremy Allison1-2/+14
Now tested max connections and it works again. Hurrah ! Jeremy. (This used to be commit 6565b8c9781f571735068aba5044a913b5fe31fe)
2001-05-14Make libsmbclient.so by default now.Richard Sharpe1-1/+2
Once we are happy with this in head, we will migrate it to 2.2.x. (This used to be commit bf69d30b0741210dcdf61f493f6bf872a8931701)
2001-05-14Implemented max connections in a similar way to 2.0.x (scan of connection db).Jeremy Allison2-11/+91
This needs testing ! Tidied up tabs in tdb.c. Jeremy. (This used to be commit 0852465053d0c1a23b6cfe6097267291b0595ef8)
2001-05-14Cosmetic changes in make proto output.Tim Potter1-1/+1
(This used to be commit 858290d63b8e4300f2a1a334675566beb6881993)
2001-05-14make protoTim Potter1-234/+233
(This used to be commit 607db8d57db0e7bf9e99570bc87e7a1401a18eaa)
2001-05-14So I promised Andrew that a winbindd_proto.h file wouldn't be necessary.Tim Potter1-0/+5
Unfortunately it is for the moment. )-: (This used to be commit 29f9a6c571a6e5571a860b84f9bbc04f668c607e)
2001-05-14Compile fixes for dynamic samr_query_userinfo() stuff.Tim Potter6-37/+16
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
2001-05-14Added arg to querygroupinfo.Tim Potter1-8/+9
(This used to be commit ab58fdf77a12d101f5ac6b6702cd8ed9dc2c7d55)
2001-05-12string_hash() should be static. hash_clear() should be void.Jeremy Allison2-8/+5
Jeremy. (This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)
2001-05-12statcache initialisation fixAndrew Tridgell1-5/+5
pointed out by Elrond (This used to be commit 572a37534b7ee010aafd7e8bcb9da52957306f97)
2001-05-12Now we're doing the substituion in the lp_string code remove the erroneousJeremy Allison1-5/+0
debug 0 warning. Jeremy. (This used to be commit be7e1d0f2c078bd07c7087e1e36636dcd6d0a5d8)
2001-05-11Use talloc_strdup() instead of strdup().Tim Potter1-1/+1
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)
2001-05-11Memory leak fixes plus general cleanup.Tim Potter2-36/+24
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)
2001-05-11Added talloc_strdup() funcion.Tim Potter1-0/+6
(This used to be commit eea43a5a916eb7f4bef6817ce0aa8051f9145b18)
2001-05-10Needs to be >=, not just >.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fa6a5bf94a3716c0554e2bcbe0eb4b0912f15604)
2001-05-10Fix for problem with "" string in trim_string(). Pointed out by Ben Winslow ↵Jeremy Allison1-3/+5
<rain@bluecherry.net>. Jeremy. (This used to be commit df2e306171f0a71af77dbaafc7ccbf78e27befb8)
2001-05-10Got rid of iSERVICE/pSERVICE (Hungarian inspired obfuscation). Now useJeremy Allison1-84/+80
ServicePtrs[i] when we're indirecting so we can see what's going on. ZERO_STRUCTP(ServicePtrs[i]) on free_service. Jeremy. (This used to be commit 95dfc4a60a80ea5d55ac4775dd875e1283ecdaec)
2001-05-10free_service() was never setting the valid field to False. This is a bugJeremy Allison1-0/+2
that's been here since 2.0.x and before.... This would cause a memleak. Jeremy. (This used to be commit 3412950dbd5b70f28ffdbe1a79488a409ca1a051)
2001-05-10update from SimoGerald Carter1-8/+8
(This used to be commit 9e4a6c227f719226cac6e00f1a6719651570e2c7)
2001-05-10Should be faliing on False and not True. Bad check on return valueGerald Carter1-1/+1
(This used to be commit 5be97aacf4db43a91562b77f010850afb818ac05)
2001-05-10Fixed nasty little bug found by Gerald where we were corrupting the modeJeremy Allison1-2/+15
bits before checking if we should change them on non-acl systems. Jeremy. (This used to be commit aba243ca0867a0787f9f7c7b2cda6143bcc53087)
2001-05-10Don't check for passwd program if using pam change password.Jeremy Allison1-17/+25
Original patch from Andrew Bartlett. Jeremy. (This used to be commit aae779d0a3d3c80e6fa010fdb397af3aff360551)
2001-05-10make protoTim Potter1-0/+1
(This used to be commit dd0c7a8a024f9ba8b593757b3aed5b126a8dab61)
2001-05-10Use sid_peek_rid() instead of sid_split_rid().Tim Potter1-3/+2
(This used to be commit 0e03209af6f70c3c0c52072fe904ba5750676b63)
2001-05-10Made "security XXX" masks apply to ACL set. By default they have no effect.Jeremy Allison3-87/+33
Removed "restrict acl with mask" - redundent. Jeremy. (This used to be commit 0db8a61d71f25ffa0e5c585e02e2fce973867156)
2001-05-10Replaced a whole bunch of lookup_name() requests inTim Potter1-8/+11
construct_default_printer_sdb() with checks of the owner rid instead. This should be much faster, work on non-English systems and systems with renamed user or group names. (This used to be commit 8b435b0a2ab1fa060473753fa05f0aba8406b607)
2001-05-10Added sid_peek_rid() function to return the rid of a sid. Saves muckingTim Potter1-0/+13
around with copying a sid to a temporary variable and using sid_split_rid(). (This used to be commit 9ee43d61be1284b72fd04054c44545847c73120f)
2001-05-10Bumped up debug level on set socket options from 3 to 5.Tim Potter1-2/+2
(This used to be commit f0b8ff4eeb3f276c37d062dbd25f7c8b0a02d593)
2001-05-10Reverted samr_io_userinfo_ctr() patch because it broke too much otherTim Potter1-11/+5
stuff. (-: (This used to be commit 5bbd946d592fde9ac6bf1c66268ef608d5988363)
2001-05-09Fixed up the oldpw prompts. Made the matching case insensitive.Jeremy Allison2-10/+48
Jeremy. (This used to be commit 70bdf8e76135e96fabcedeffbfd5892a564985e0)
2001-05-09check for valid pointer before calling memset() in samr_clear_sam_passwdGerald Carter1-2/+2
(This used to be commit a6a4a17f6afce9d1c10c5ab551ce0b6b5f5c1865)
2001-05-09very nasty bug !Jean-François Micouleau1-1/+1
J.F. (This used to be commit c29dfdc46a2d642722da12739138c1a7d5ee9526)
2001-05-09Fixes from nsswitch testsuite. Lots of stuff works much better now. (-:Tim Potter3-6/+9
(This used to be commit 014859b62b31ceff5b5ca3d1699792e362c77a85)
2001-05-09So the samr_io_userinfo_ctr was requiring a SAM_USERINFO_CTR to be passedTim Potter1-5/+11
in as well as tallocating space for one itself. I've deleted code so the passed in container is used to store the SAM user info. This may have broken some server side SAM stuff which probably isn't used anyway. )-: (This used to be commit fc44cec0de68c92001c4313b4f0ee9f69ba6b9b5)
2001-05-09need to do codepage_initialise() for smbtorture to work.Anton Blanchard1-0/+2
(This used to be commit 7a619ab81c07b4b50e865635eee22efd8c5656b4)
2001-05-09latest config.guess and config.sub from gnu.orgAndrew Tridgell2-373/+1362
(This used to be commit f65166b36e5d7a74cdab5cc9019221c0f724274b)
2001-05-08fixes to the group mapping code.Jean-François Micouleau5-19/+94
Not ready yet. J.F. (This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)
2001-05-08More compiler warning fixes.Tim Potter2-4/+4
(This used to be commit 88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c)
2001-05-08Fixed compiler warning.Tim Potter1-1/+0
(This used to be commit 9f1f811154e6d8f1a14687b1ee7f85d1dd18a925)