ira/wip.git
19 years agoFixed lookup of entire /etc/{passwd,group} file line.
Tim Potter [Tue, 15 May 2001 01:54:22 +0000 (01:54 +0000)]
Fixed lookup of entire /etc/{passwd,group} file line.
(This used to be commit b208d74e0524514fdb48f80c76192df12238a64e)

19 years agoUpdated the inplace documentation to reflect change from EUCLEAN to EINVAL.
Richard Sharpe [Tue, 15 May 2001 01:47:22 +0000 (01:47 +0000)]
Updated the inplace documentation to reflect change from EUCLEAN to EINVAL.
(This used to be commit d090ae63aebbbbb4e1d2dbe438005742ed216e31)

19 years agoChange EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL
Richard Sharpe [Tue, 15 May 2001 01:45:54 +0000 (01:45 +0000)]
Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL
is a better return code anyway (I knew that :-)
(This used to be commit 0bf2797b183b4d709a401ebdb2d5f3d5b1c907af)

19 years agoremember to close tdb after use
Andrew Tridgell [Tue, 15 May 2001 01:28:34 +0000 (01:28 +0000)]
remember to close tdb after use
(This used to be commit 8f8d7202cf6e12cdb2f4445ddcac83a7ac9e33a2)

19 years agomake the max_connections code less horrendously inefficient
Andrew Tridgell [Tue, 15 May 2001 00:53:15 +0000 (00:53 +0000)]
make the max_connections code less horrendously inefficient

- 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)

19 years agoFix crash in smbcontrol Gerald pointed out when no parameter given to debug.
Jeremy Allison [Mon, 14 May 2001 22:37:01 +0000 (22:37 +0000)]
Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.
Jeremy.
(This used to be commit ef687a2f6ba8143dcc041b2b629542c3ea9e3966)

19 years agoStupidity by me..... 777 != 0777
Jeremy Allison [Mon, 14 May 2001 20:06:28 +0000 (20:06 +0000)]
Stupidity by me..... 777 != 0777
ARGGGHHHHHHHHHH.
(Sorry).
Jeremy.
(This used to be commit 4306eff6f77b95eeaaa4f8375356a81ad3497c67)

19 years agotdb_traverse returns number of records, not zero, on success.
Jeremy Allison [Mon, 14 May 2001 18:43:49 +0000 (18:43 +0000)]
tdb_traverse returns number of records, not zero, on success.
Now tested max connections and it works again. Hurrah !
Jeremy.
(This used to be commit 6565b8c9781f571735068aba5044a913b5fe31fe)

19 years agoMake libsmbclient.so by default now.
Richard Sharpe [Mon, 14 May 2001 16:10:48 +0000 (16:10 +0000)]
Make libsmbclient.so by default now.

Once we are happy with this in head, we will migrate it to 2.2.x.
(This used to be commit bf69d30b0741210dcdf61f493f6bf872a8931701)

19 years agoImplemented max connections in a similar way to 2.0.x (scan of connection db).
Jeremy Allison [Mon, 14 May 2001 06:15:46 +0000 (06:15 +0000)]
Implemented max connections in a similar way to 2.0.x (scan of connection db).
This needs testing !
Tidied up tabs in tdb.c.
Jeremy.
(This used to be commit 0852465053d0c1a23b6cfe6097267291b0595ef8)

19 years agoCosmetic changes in make proto output.
Tim Potter [Mon, 14 May 2001 04:11:39 +0000 (04:11 +0000)]
Cosmetic changes in make proto output.
(This used to be commit 858290d63b8e4300f2a1a334675566beb6881993)

19 years agomake proto
Tim Potter [Mon, 14 May 2001 04:11:31 +0000 (04:11 +0000)]
make proto
(This used to be commit 607db8d57db0e7bf9e99570bc87e7a1401a18eaa)

19 years agoSo I promised Andrew that a winbindd_proto.h file wouldn't be necessary.
Tim Potter [Mon, 14 May 2001 04:08:42 +0000 (04:08 +0000)]
So I promised Andrew that a winbindd_proto.h file wouldn't be necessary.
Unfortunately it is for the moment.  )-:
(This used to be commit 29f9a6c571a6e5571a860b84f9bbc04f668c607e)

19 years agoCompile fixes for dynamic samr_query_userinfo() stuff.
Tim Potter [Mon, 14 May 2001 03:58:49 +0000 (03:58 +0000)]
Compile fixes for dynamic samr_query_userinfo() stuff.
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)

19 years agoAdded arg to querygroupinfo.
Tim Potter [Mon, 14 May 2001 03:51:39 +0000 (03:51 +0000)]
Added arg to querygroupinfo.
(This used to be commit ab58fdf77a12d101f5ac6b6702cd8ed9dc2c7d55)

19 years agostring_hash() should be static. hash_clear() should be void.
Jeremy Allison [Sat, 12 May 2001 20:15:39 +0000 (20:15 +0000)]
string_hash() should be static. hash_clear() should be void.
Jeremy.
(This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)

19 years agostatcache initialisation fix
Andrew Tridgell [Sat, 12 May 2001 13:04:15 +0000 (13:04 +0000)]
statcache initialisation fix
pointed out by Elrond
(This used to be commit 572a37534b7ee010aafd7e8bcb9da52957306f97)

19 years agoNow we're doing the substituion in the lp_string code remove the erroneous
Jeremy Allison [Sat, 12 May 2001 00:31:59 +0000 (00:31 +0000)]
Now we're doing the substituion in the lp_string code remove the erroneous
debug 0 warning.
Jeremy.
(This used to be commit be7e1d0f2c078bd07c7087e1e36636dcd6d0a5d8)

19 years agoUse talloc_strdup() instead of strdup().
Tim Potter [Fri, 11 May 2001 07:13:13 +0000 (07:13 +0000)]
Use talloc_strdup() instead of strdup().
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)

19 years agoMemory leak fixes plus general cleanup.
Tim Potter [Fri, 11 May 2001 07:04:47 +0000 (07:04 +0000)]
Memory leak fixes plus general cleanup.
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)

19 years agoAdded talloc_strdup() funcion.
Tim Potter [Fri, 11 May 2001 07:03:13 +0000 (07:03 +0000)]
Added talloc_strdup() funcion.
(This used to be commit eea43a5a916eb7f4bef6817ce0aa8051f9145b18)

19 years agoNeeds to be >=, not just >.
Jeremy Allison [Thu, 10 May 2001 23:55:33 +0000 (23:55 +0000)]
Needs to be >=, not just >.
Jeremy.
(This used to be commit fa6a5bf94a3716c0554e2bcbe0eb4b0912f15604)

19 years agoFix for problem with "" string in trim_string(). Pointed out by Ben Winslow <rain...
Jeremy Allison [Thu, 10 May 2001 23:17:46 +0000 (23:17 +0000)]
Fix for problem with "" string in trim_string(). Pointed out by Ben Winslow <rain@bluecherry.net>.
Jeremy.
(This used to be commit df2e306171f0a71af77dbaafc7ccbf78e27befb8)

19 years agoGot rid of iSERVICE/pSERVICE (Hungarian inspired obfuscation). Now use
Jeremy Allison [Thu, 10 May 2001 22:10:31 +0000 (22:10 +0000)]
Got rid of iSERVICE/pSERVICE (Hungarian inspired obfuscation). Now use
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)

19 years agofree_service() was never setting the valid field to False. This is a bug
Jeremy Allison [Thu, 10 May 2001 20:58:38 +0000 (20:58 +0000)]
free_service() was never setting the valid field to False. This is a bug
that's been here since 2.0.x and before.... This would cause a memleak.
Jeremy.
(This used to be commit 3412950dbd5b70f28ffdbe1a79488a409ca1a051)

19 years agoupdate from Simo
Gerald Carter [Thu, 10 May 2001 20:52:20 +0000 (20:52 +0000)]
update from Simo
(This used to be commit 9e4a6c227f719226cac6e00f1a6719651570e2c7)

19 years agoShould be faliing on False and not True. Bad check on return value
Gerald Carter [Thu, 10 May 2001 20:05:06 +0000 (20:05 +0000)]
Should be faliing on False and not True.  Bad check on return value
(This used to be commit 5be97aacf4db43a91562b77f010850afb818ac05)

19 years agoFixed nasty little bug found by Gerald where we were corrupting the mode
Jeremy Allison [Thu, 10 May 2001 19:27:00 +0000 (19:27 +0000)]
Fixed nasty little bug found by Gerald where we were corrupting the mode
bits before checking if we should change them on non-acl systems.
Jeremy.
(This used to be commit aba243ca0867a0787f9f7c7b2cda6143bcc53087)

19 years agoDon't check for passwd program if using pam change password.
Jeremy Allison [Thu, 10 May 2001 06:53:19 +0000 (06:53 +0000)]
Don't check for passwd program if using pam change password.
Original patch from Andrew Bartlett.
Jeremy.
(This used to be commit aae779d0a3d3c80e6fa010fdb397af3aff360551)

19 years agomake proto
Tim Potter [Thu, 10 May 2001 05:20:12 +0000 (05:20 +0000)]
make proto
(This used to be commit dd0c7a8a024f9ba8b593757b3aed5b126a8dab61)

19 years agoUse sid_peek_rid() instead of sid_split_rid().
Tim Potter [Thu, 10 May 2001 05:19:47 +0000 (05:19 +0000)]
Use sid_peek_rid() instead of sid_split_rid().
(This used to be commit 0e03209af6f70c3c0c52072fe904ba5750676b63)

19 years agoMade "security XXX" masks apply to ACL set. By default they have no effect.
Jeremy Allison [Thu, 10 May 2001 01:03:44 +0000 (01:03 +0000)]
Made "security XXX" masks apply to ACL set. By default they have no effect.
Removed "restrict acl with mask" - redundent.
Jeremy.
(This used to be commit 0db8a61d71f25ffa0e5c585e02e2fce973867156)

19 years agoReplaced a whole bunch of lookup_name() requests in
Tim Potter [Thu, 10 May 2001 01:01:30 +0000 (01:01 +0000)]
Replaced a whole bunch of lookup_name() requests in
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)

19 years agoAdded sid_peek_rid() function to return the rid of a sid. Saves mucking
Tim Potter [Thu, 10 May 2001 00:48:06 +0000 (00:48 +0000)]
Added sid_peek_rid() function to return the rid of a sid.  Saves mucking
around with copying a sid to a temporary variable and using sid_split_rid().
(This used to be commit 9ee43d61be1284b72fd04054c44545847c73120f)

19 years agoBumped up debug level on set socket options from 3 to 5.
Tim Potter [Thu, 10 May 2001 00:35:24 +0000 (00:35 +0000)]
Bumped up debug level on set socket options from 3 to 5.
(This used to be commit f0b8ff4eeb3f276c37d062dbd25f7c8b0a02d593)

19 years agoReverted samr_io_userinfo_ctr() patch because it broke too much other
Tim Potter [Thu, 10 May 2001 00:03:36 +0000 (00:03 +0000)]
Reverted samr_io_userinfo_ctr() patch because it broke too much other
stuff.  (-:
(This used to be commit 5bbd946d592fde9ac6bf1c66268ef608d5988363)

19 years agoFixed up the oldpw prompts. Made the matching case insensitive.
Jeremy Allison [Wed, 9 May 2001 21:14:41 +0000 (21:14 +0000)]
Fixed up the oldpw prompts. Made the matching case insensitive.
Jeremy.
(This used to be commit 70bdf8e76135e96fabcedeffbfd5892a564985e0)

19 years agocheck for valid pointer before calling memset() in samr_clear_sam_passwd
Gerald Carter [Wed, 9 May 2001 17:57:08 +0000 (17:57 +0000)]
check for valid pointer before calling memset() in samr_clear_sam_passwd
(This used to be commit a6a4a17f6afce9d1c10c5ab551ce0b6b5f5c1865)

19 years agovery nasty bug !
Jean-François Micouleau [Wed, 9 May 2001 15:48:30 +0000 (15:48 +0000)]
very nasty bug !

J.F.
(This used to be commit c29dfdc46a2d642722da12739138c1a7d5ee9526)

19 years agoFixes from nsswitch testsuite. Lots of stuff works much better now. (-:
Tim Potter [Wed, 9 May 2001 05:06:35 +0000 (05:06 +0000)]
Fixes from nsswitch testsuite.  Lots of stuff works much better now.  (-:
(This used to be commit 014859b62b31ceff5b5ca3d1699792e362c77a85)

19 years agoSo the samr_io_userinfo_ctr was requiring a SAM_USERINFO_CTR to be passed
Tim Potter [Wed, 9 May 2001 05:05:01 +0000 (05:05 +0000)]
So the samr_io_userinfo_ctr was requiring a SAM_USERINFO_CTR to be passed
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)

19 years agoCleaned up bitrot in nsswitch testsuite. Merged tests across from TNG
Tim Potter [Wed, 9 May 2001 04:59:49 +0000 (04:59 +0000)]
Cleaned up bitrot in nsswitch testsuite.  Merged tests across from TNG
branch.
(This used to be commit acef477383e5739292e764c17cef87822a09f13b)

19 years agoneed to do codepage_initialise() for smbtorture to work.
Anton Blanchard [Wed, 9 May 2001 01:58:12 +0000 (01:58 +0000)]
need to do codepage_initialise() for smbtorture to work.
(This used to be commit 7a619ab81c07b4b50e865635eee22efd8c5656b4)

19 years agolatest config.guess and config.sub from gnu.org
Andrew Tridgell [Wed, 9 May 2001 01:29:44 +0000 (01:29 +0000)]
latest config.guess and config.sub from gnu.org
(This used to be commit f65166b36e5d7a74cdab5cc9019221c0f724274b)

19 years agofixes to the group mapping code.
Jean-François Micouleau [Tue, 8 May 2001 16:33:18 +0000 (16:33 +0000)]
fixes to the group mapping code.
Not ready yet.

J.F.
(This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)

19 years agoadded some docs in order to keep track of the Samba private enterprise
Gerald Carter [Tue, 8 May 2001 14:33:29 +0000 (14:33 +0000)]
added some docs in order to keep track of the Samba private enterprise
number and allocated OID arcs.
(This used to be commit 4b5b6738bc4bea0460d499169e852bbeb3d4fe53)

19 years agoMore compiler warning fixes.
Tim Potter [Tue, 8 May 2001 06:14:08 +0000 (06:14 +0000)]
More compiler warning fixes.
(This used to be commit 88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c)

19 years agoFixed compiler warning.
Tim Potter [Tue, 8 May 2001 06:09:52 +0000 (06:09 +0000)]
Fixed compiler warning.
(This used to be commit 9f1f811154e6d8f1a14687b1ee7f85d1dd18a925)

19 years agoThe substitution of %U and %D in the 'template homedir' is nowdone
Tim Potter [Tue, 8 May 2001 05:58:03 +0000 (05:58 +0000)]
The substitution of %U and %D in the 'template homedir' is nowdone
by lp_string() calling standard_sub_basic().
(This used to be commit 011d45943594a7a4091101b1eec930d13f0a9d12)

19 years agoAdded S_ISSOCK macros for systems which treat UNIX domain sockets as FIFOs
Tim Potter [Tue, 8 May 2001 05:56:10 +0000 (05:56 +0000)]
Added S_ISSOCK macros for systems which treat UNIX domain sockets as FIFOs
(SCO).
(This used to be commit d761a7deb3696fc0742fb349868317f42825290e)

19 years agoRemoved S_ISSOCK() macro as it's only used within winbind client code.
Tim Potter [Tue, 8 May 2001 05:53:33 +0000 (05:53 +0000)]
Removed S_ISSOCK() macro as it's only used within winbind client code.
(This used to be commit 8fe76adb33bb7de19c8b2c8783dc6e3a3977bd8f)

19 years agoAdded winbindd to list of binaries.
Tim Potter [Tue, 8 May 2001 05:52:17 +0000 (05:52 +0000)]
Added winbindd to list of binaries.
(This used to be commit 335e41b5ca6c3372aa1005e3c80ca04572f37878)

19 years agomake proto
Tim Potter [Tue, 8 May 2001 04:02:59 +0000 (04:02 +0000)]
make proto
(This used to be commit 6d218c3e942a9be3af57f2500374b49d8ad25763)

19 years agoFixed typo in comment.
Tim Potter [Tue, 8 May 2001 04:00:01 +0000 (04:00 +0000)]
Fixed typo in comment.
(This used to be commit a8c49d1e608b178bcc53725d4a26cebb799fc6eb)

19 years agoFixed querydispinfo command.
Tim Potter [Tue, 8 May 2001 03:53:16 +0000 (03:53 +0000)]
Fixed querydispinfo command.
(This used to be commit 727d2929bc4025ab418e933356d8ba4f31420423)

19 years agoMisc fixes to get winbindd working. We can now do a 'getent passwd'
Tim Potter [Tue, 8 May 2001 03:52:07 +0000 (03:52 +0000)]
Misc fixes to get winbindd working.  We can now do a 'getent passwd'
and 'getent group' and have most things working.
(This used to be commit a7728bfa52291ec3149fbb704d7b30689af83e7c)

19 years agoiinit_samr_q_lookup_rids() didn't actually copy the rids into the
Tim Potter [Tue, 8 May 2001 03:50:42 +0000 (03:50 +0000)]
iinit_samr_q_lookup_rids() didn't actually copy the rids into the
parse structure.
(This used to be commit 139e767e78adafa4d4469d2d63415d46267f2fc9)

19 years agoFix for query_dispinfo()
Tim Potter [Tue, 8 May 2001 03:49:57 +0000 (03:49 +0000)]
Fix for query_dispinfo()

Added lookup_rids() function.
(This used to be commit 9ff3c82a54a18d0d9f187c119656e58316c7eb0e)

19 years agoFix for insure missmatched parameter error.
Jeremy Allison [Tue, 8 May 2001 01:26:28 +0000 (01:26 +0000)]
Fix for insure missmatched parameter error.
Jeremy.
(This used to be commit b32b1afe25bc8f7a9c43e0d5fd6703a76caa51f8)

19 years agoPatch from ackley@cs.unm.edu to clear server_fd/client_fd in root daemon to stop
Jeremy Allison [Tue, 8 May 2001 00:03:45 +0000 (00:03 +0000)]
Patch from ackley@cs.unm.edu to clear server_fd/client_fd in root daemon to stop
%I getpeername() failure.
Jeremy.
(This used to be commit 15584d30cd51650752fcbdd4f0dfc193fed18e5a)

19 years agoHey what happened to my debug messages? Early exit from reopen_logs()
Tim Potter [Mon, 7 May 2001 23:46:48 +0000 (23:46 +0000)]
Hey what happened to my debug messages?  Early exit from reopen_logs()
if using stdout_logging.
(This used to be commit 831b0983bd799fd73de18921f09991a1647ec482)

19 years agomerge from 2.2 removing the 'domain XXX' parameters.
Gerald Carter [Mon, 7 May 2001 22:10:38 +0000 (22:10 +0000)]
merge from 2.2 removing the 'domain XXX' parameters.
(This used to be commit 9aefc86e355bf160300580acb85a58a18207ccdf)

19 years agoremoved unused variables
Gerald Carter [Mon, 7 May 2001 22:08:34 +0000 (22:08 +0000)]
removed unused variables
(This used to be commit 09103b16cf0b70c476b48255190725e3dbb77bdb)

19 years agoFix for bad profile perms. Ensure r on files and rwx on directories.
Jeremy Allison [Mon, 7 May 2001 21:17:42 +0000 (21:17 +0000)]
Fix for bad profile perms. Ensure r on files and rwx on directories.
Jeremy.
(This used to be commit f100e091abc57a9ba983e7c3cf84bfda2dbc2e18)

19 years agoPatch from Simo:
Gerald Carter [Mon, 7 May 2001 14:04:46 +0000 (14:04 +0000)]
Patch from Simo:

  o sed 's/pdb_clear_sam/pdb_free_sam/g'
  o add pdb_reset_sam()
  o password changing should be ok now as well.
(This used to be commit 96d0e7c3301ad990f6c83b9c216720cb32661fb5)

19 years agoRemoved unused variable.
Tim Potter [Mon, 7 May 2001 06:05:30 +0000 (06:05 +0000)]
Removed unused variable.
(This used to be commit 6bd197714a6f51e43efb8fb72bb51e83c6991c79)

19 years agoOK so I couldn't be as clever as I wanted to be with winbindd_glue.c
Tim Potter [Mon, 7 May 2001 06:04:22 +0000 (06:04 +0000)]
OK so I couldn't be as clever as I wanted to be with winbindd_glue.c
so all the glue functions are prefixed with wb_ to avoid conflicts with
the old rpc_client stuff which is still a dependency of smbd/nmbd.
(This used to be commit 873e672b90e85e092102e10966e9f93f4fa6814f)

19 years agoremoved need for scandir in client.c
Andrew Tridgell [Mon, 7 May 2001 05:19:52 +0000 (05:19 +0000)]
removed need for scandir in client.c
fixed possible bug with readdirname on systems with NAMELEN != strlen
(This used to be commit 78f448b7d4b83f569d27e0abf6b1759c43ff21f3)

19 years agoIgnore *.po files.
Tim Potter [Mon, 7 May 2001 05:04:53 +0000 (05:04 +0000)]
Ignore *.po files.
(This used to be commit f8c83ce28b01ffd188dd10f0c731defaacb0fb45)

19 years agoiAdditional files for winbind merge.
Tim Potter [Mon, 7 May 2001 05:03:40 +0000 (05:03 +0000)]
iAdditional files for winbind merge.
(This used to be commit 38ab3b31b5dc39fb59f224b399bb9c2269f1c933)

19 years agoPreliminary merge of winbind into HEAD. Note that this compiles and links
Tim Potter [Mon, 7 May 2001 04:32:40 +0000 (04:32 +0000)]
Preliminary merge of winbind into HEAD.  Note that this compiles and links
but I haven't actually run it yet so it probably doesn't work.  (-:
(This used to be commit 59f95416b66db6df05289bde224de29c721978e5)

19 years agorebuild proto.h
Andrew Tridgell [Mon, 7 May 2001 04:10:40 +0000 (04:10 +0000)]
rebuild proto.h
(This used to be commit 2e2073447490e192ccb838dd488feb335dfba265)

19 years agomerge some fixes from 2.2
Andrew Tridgell [Mon, 7 May 2001 03:55:54 +0000 (03:55 +0000)]
merge some fixes from 2.2
(This used to be commit 7e57adf2a039cb5b6458496f9190c9c642645600)

19 years agofix interfaces.c for aix 3.2.5
Andrew Tridgell [Mon, 7 May 2001 03:21:23 +0000 (03:21 +0000)]
fix interfaces.c for aix 3.2.5
(This used to be commit a69532ffde761453f3d9189be2fbf1036c2ed196)

19 years agoSome versions of readline don't have rl_completion_func_t. )-:
Tim Potter [Mon, 7 May 2001 02:03:32 +0000 (02:03 +0000)]
Some versions of readline don't have rl_completion_func_t.  )-:

Spotted by http://build.samba.org/
(This used to be commit da5a0f5c5b0917148fb6b668d4316aa4924708a1)

19 years agoiAdded querydispinfo and querydominfo functions.
Tim Potter [Mon, 7 May 2001 02:00:28 +0000 (02:00 +0000)]
iAdded querydispinfo and querydominfo functions.

Allow rid to be specified in lookupuser.
(This used to be commit 1ea5aa4a80f9da56b071b403fb8f1cfa0ff79b8d)

19 years agoSome reformatting (sorry Gerald).
Tim Potter [Mon, 7 May 2001 01:55:08 +0000 (01:55 +0000)]
Some reformatting (sorry Gerald).

Cleanup of exit paths.

Added query domain info and query display info.
(This used to be commit ff9e222e2ff3f50f4966d3c5859738a831c7adc9)

19 years agonew mput code from idra that doesn't need a call to find
Andrew Tridgell [Mon, 7 May 2001 01:51:56 +0000 (01:51 +0000)]
new mput code from idra that doesn't need a call to find
(This used to be commit 5dac4cdee40b906455d984f4d7a7333ab411f876)

19 years agoFixed a compiler warning. Still more const warnings though. )-:
Tim Potter [Mon, 7 May 2001 01:48:03 +0000 (01:48 +0000)]
Fixed a compiler warning.  Still more const warnings though.  )-:
(This used to be commit a345b477a22f6261613d21d079b1632a9409c914)

19 years agoFixed compiler warning.
Tim Potter [Mon, 7 May 2001 01:08:41 +0000 (01:08 +0000)]
Fixed compiler warning.
(This used to be commit 063c2dea920dbf415e22d0359baa7b36bf513f09)

19 years agoPatch from David_Tiller@ccnotes.ccity.com finally applied now I've thought
Jeremy Allison [Sun, 6 May 2001 20:56:14 +0000 (20:56 +0000)]
Patch from David_Tiller@ccnotes.ccity.com finally applied now I've thought
about it to stop account lockouts with "security=server" mode. Sorry for
the delay David.
Jeremy.
(This used to be commit e8819715038ed49b07ed5639b1b88ad12e994b53)

19 years agoreplace modf so we don't need the math library
Andrew Tridgell [Sun, 6 May 2001 15:19:25 +0000 (15:19 +0000)]
replace modf so we don't need the math library
(This used to be commit 79c0d24a3092098d3d8e58ebe07cf61db7d898e5)

19 years agoallow env variable TESTDIR for directory for fcntl_lock test
Andrew Tridgell [Sun, 6 May 2001 14:09:10 +0000 (14:09 +0000)]
allow env variable TESTDIR for directory for fcntl_lock test
(This used to be commit b6645402b12cf8eaa7d9edf7dba3fae1f5ec0356)

19 years agoadd an alarm to fcntl test to stop tru64 from freezing on the test
Andrew Tridgell [Sun, 6 May 2001 12:47:32 +0000 (12:47 +0000)]
add an alarm to fcntl test to stop tru64 from freezing on the test
(This used to be commit 6b1ced1674217343ab4e5f966608a21c66bf650c)

19 years agoclearer tdb_mmap code
Andrew Tridgell [Sun, 6 May 2001 02:05:00 +0000 (02:05 +0000)]
clearer tdb_mmap code
(This used to be commit ce6598c465e3d1e26592af9b90eb271ee837f290)

19 years agomerge from 2.2
Andrew Tridgell [Sun, 6 May 2001 01:28:17 +0000 (01:28 +0000)]
merge from 2.2
(This used to be commit 13bf966cb8ed8df6b02018dceff94c275def8200)

19 years agoFix problem with OpenBSD mmap and write not being coherent.
Jeremy Allison [Fri, 4 May 2001 22:23:37 +0000 (22:23 +0000)]
Fix problem with OpenBSD mmap and write not being coherent.
Jeremy.
(This used to be commit 4c6a8273c6dd3e2aeda5a63c4a62aa55bc133099)

19 years agoBig cleanup of passdb and backends.
Jean-François Micouleau [Fri, 4 May 2001 15:44:27 +0000 (15:44 +0000)]
Big cleanup of passdb and backends.

I did some basic tests but I have probably broken something. Notably the
password changing. So don't cry ;-)

J.F.
(This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)

19 years agomerge from 2.2 in password_ok() to ensure that we check the
Gerald Carter [Fri, 4 May 2001 14:28:28 +0000 (14:28 +0000)]
merge from 2.2 in password_ok() to ensure that we check the
return code from smb_pam_accountcheck()
(This used to be commit d5d6f01aaf8d344bb44dbe047c2f760ca220529e)

19 years agomake proto
Gerald Carter [Fri, 4 May 2001 14:01:54 +0000 (14:01 +0000)]
make proto
(This used to be commit 09b287e1782938bc4472b88921ed1604eb91ac27)

19 years agofixes from Simo
Gerald Carter [Fri, 4 May 2001 14:01:33 +0000 (14:01 +0000)]
fixes from Simo
(This used to be commit 7703fbb30d9695b5a71ee0bcca9520bed4880bbd)

19 years agomake proto
Tim Potter [Fri, 4 May 2001 07:36:51 +0000 (07:36 +0000)]
make proto
(This used to be commit a56badc206abb88ae1e648004c168db71c862340)

19 years agoMerge of struct acct_info from TNG.
Tim Potter [Fri, 4 May 2001 07:36:09 +0000 (07:36 +0000)]
Merge of struct acct_info from TNG.
(This used to be commit 2eb28b3d516325725678a67f8b0030aec8ec61d7)

19 years agoAdded queryaliasmem function.
Tim Potter [Fri, 4 May 2001 07:35:25 +0000 (07:35 +0000)]
Added queryaliasmem function.

Moved fetch_domain_sid() calls out of harms way so they didn't spam out
queries on SAMR pipe.
(This used to be commit 982195c89d2ea0e66c24f6426f50c7d2f35800e0)

19 years agoTidyup of server vs servername, username vs user to remove compiler
Tim Potter [Fri, 4 May 2001 07:34:16 +0000 (07:34 +0000)]
Tidyup of server vs servername, username vs user to remove compiler
warnings.
(This used to be commit d4f6ce9422ae53fb5b0cc72407131d5a9e1bd36d)

19 years agoRenamed unknown field to access mask in open alias parsing functions.
Tim Potter [Fri, 4 May 2001 07:33:10 +0000 (07:33 +0000)]
Renamed unknown field to access mask in open alias parsing functions.
(This used to be commit d384cae5707889f34ac19ccd80737ab6eb5fdb98)

19 years agoAdded some missing winbind parameters. Yes they're already documented.
Tim Potter [Fri, 4 May 2001 07:32:28 +0000 (07:32 +0000)]
Added some missing winbind parameters.  Yes they're already documented.
(-:
(This used to be commit 657f95c89e593e6cdfc6fb9c7a9e67f9a518c1a5)

19 years agoZero fnum when initialising a cli_state.
Tim Potter [Fri, 4 May 2001 07:28:41 +0000 (07:28 +0000)]
Zero fnum when initialising a cli_state.
(This used to be commit 5a387f59c441d355fe4535eae5c2c924ae9dd451)

19 years agoAdded cli_samr_query_aliasmem() and cli_samr_open_alias() functions.
Tim Potter [Fri, 4 May 2001 07:27:52 +0000 (07:27 +0000)]
Added cli_samr_query_aliasmem() and cli_samr_open_alias() functions.
(This used to be commit 0b3bc4375b8984fc16c8972d2b62762c1657f675)

19 years agorenamed unknown field to access mask in open alias structures.
Tim Potter [Fri, 4 May 2001 07:26:46 +0000 (07:26 +0000)]
renamed unknown field to access mask in open alias structures.
(This used to be commit 4d0ac3c71d930ab9cf88bd688c23c72ce5a53179)