1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

4662 Commits

Author SHA1 Message Date
Jeremy Allison
bc51512aad Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.
Jeremy.
(This used to be commit ef687a2f6ba8143dcc041b2b629542c3ea9e3966)
2001-05-14 22:37:01 +00:00
Jeremy Allison
62b0275880 Stupidity by me..... 777 != 0777
ARGGGHHHHHHHHHH.
(Sorry).
Jeremy.
(This used to be commit 4306eff6f77b95eeaaa4f8375356a81ad3497c67)
2001-05-14 20:06:28 +00:00
Jeremy Allison
de6b5d8fb2 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)
2001-05-14 18:43:49 +00:00
Richard Sharpe
1b1aaa9dbe 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)
2001-05-14 16:10:48 +00:00
Jeremy Allison
363e378dee 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)
2001-05-14 06:15:46 +00:00
Tim Potter
13dd825d57 Cosmetic changes in make proto output.
(This used to be commit 858290d63b8e4300f2a1a334675566beb6881993)
2001-05-14 04:11:39 +00:00
Tim Potter
e522cebeb9 make proto
(This used to be commit 607db8d57db0e7bf9e99570bc87e7a1401a18eaa)
2001-05-14 04:11:31 +00:00
Tim Potter
1b739fdcb7 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)
2001-05-14 04:08:42 +00:00
Tim Potter
5bcd434e6e Compile fixes for dynamic samr_query_userinfo() stuff.
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
2001-05-14 03:58:49 +00:00
Tim Potter
c24bf6d8ab Added arg to querygroupinfo.
(This used to be commit ab58fdf77a12d101f5ac6b6702cd8ed9dc2c7d55)
2001-05-14 03:51:39 +00:00
Jeremy Allison
495aa4c28a string_hash() should be static. hash_clear() should be void.
Jeremy.
(This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)
2001-05-12 20:15:39 +00:00
Andrew Tridgell
9c54ddc7f9 statcache initialisation fix
pointed out by Elrond
(This used to be commit 572a37534b7ee010aafd7e8bcb9da52957306f97)
2001-05-12 13:04:15 +00:00
Jeremy Allison
8efe942751 Now we're doing the substituion in the lp_string code remove the erroneous
debug 0 warning.
Jeremy.
(This used to be commit be7e1d0f2c078bd07c7087e1e36636dcd6d0a5d8)
2001-05-12 00:31:59 +00:00
Tim Potter
324cd98913 Use talloc_strdup() instead of strdup().
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)
2001-05-11 07:13:13 +00:00
Tim Potter
862fe3b7ed Memory leak fixes plus general cleanup.
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)
2001-05-11 07:04:47 +00:00
Tim Potter
c61e75e3e5 Added talloc_strdup() funcion.
(This used to be commit eea43a5a916eb7f4bef6817ce0aa8051f9145b18)
2001-05-11 07:03:13 +00:00
Jeremy Allison
91febc38e3 Needs to be >=, not just >.
Jeremy.
(This used to be commit fa6a5bf94a3716c0554e2bcbe0eb4b0912f15604)
2001-05-10 23:55:33 +00:00
Jeremy Allison
e0f5d84e9d Fix for problem with "" string in trim_string(). Pointed out by Ben Winslow <rain@bluecherry.net>.
Jeremy.
(This used to be commit df2e306171f0a71af77dbaafc7ccbf78e27befb8)
2001-05-10 23:17:46 +00:00
Jeremy Allison
3e125823cf 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)
2001-05-10 22:10:31 +00:00
Jeremy Allison
89798ef71c 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)
2001-05-10 20:58:38 +00:00
Gerald Carter
fcc23d40dc update from Simo
(This used to be commit 9e4a6c227f719226cac6e00f1a6719651570e2c7)
2001-05-10 20:52:20 +00:00
Gerald Carter
6dd8c06ce9 Should be faliing on False and not True. Bad check on return value
(This used to be commit 5be97aacf4db43a91562b77f010850afb818ac05)
2001-05-10 20:05:06 +00:00
Jeremy Allison
6e41b74e6d 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)
2001-05-10 19:27:00 +00:00
Jeremy Allison
47cd09ee57 Don't check for passwd program if using pam change password.
Original patch from Andrew Bartlett.
Jeremy.
(This used to be commit aae779d0a3d3c80e6fa010fdb397af3aff360551)
2001-05-10 06:53:19 +00:00
Tim Potter
7a906cd02b make proto
(This used to be commit dd0c7a8a024f9ba8b593757b3aed5b126a8dab61)
2001-05-10 05:20:12 +00:00
Tim Potter
a17c702a70 Use sid_peek_rid() instead of sid_split_rid().
(This used to be commit 0e03209af6f70c3c0c52072fe904ba5750676b63)
2001-05-10 05:19:47 +00:00
Jeremy Allison
f5243954fa 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)
2001-05-10 01:03:44 +00:00
Tim Potter
469bddf537 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)
2001-05-10 01:01:30 +00:00
Tim Potter
281629ac06 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)
2001-05-10 00:48:06 +00:00
Tim Potter
9051f1e2c7 Bumped up debug level on set socket options from 3 to 5.
(This used to be commit f0b8ff4eeb3f276c37d062dbd25f7c8b0a02d593)
2001-05-10 00:35:24 +00:00
Tim Potter
f179319cee Reverted samr_io_userinfo_ctr() patch because it broke too much other
stuff.  (-:
(This used to be commit 5bbd946d592fde9ac6bf1c66268ef608d5988363)
2001-05-10 00:03:36 +00:00
Jeremy Allison
5db15a0d68 Fixed up the oldpw prompts. Made the matching case insensitive.
Jeremy.
(This used to be commit 70bdf8e76135e96fabcedeffbfd5892a564985e0)
2001-05-09 21:14:41 +00:00
Gerald Carter
f874646136 check for valid pointer before calling memset() in samr_clear_sam_passwd
(This used to be commit a6a4a17f6afce9d1c10c5ab551ce0b6b5f5c1865)
2001-05-09 17:57:08 +00:00
Jean-François Micouleau
90fbea8cb5 very nasty bug !
J.F.
(This used to be commit c29dfdc46a2d642722da12739138c1a7d5ee9526)
2001-05-09 15:48:30 +00:00
Tim Potter
bc77683283 Fixes from nsswitch testsuite. Lots of stuff works much better now. (-:
(This used to be commit 014859b62b31ceff5b5ca3d1699792e362c77a85)
2001-05-09 05:06:35 +00:00
Tim Potter
989ece4b26 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)
2001-05-09 05:05:01 +00:00
Anton Blanchard
9de17c5c38 need to do codepage_initialise() for smbtorture to work.
(This used to be commit 7a619ab81c07b4b50e865635eee22efd8c5656b4)
2001-05-09 01:58:12 +00:00
Andrew Tridgell
b9886077a6 latest config.guess and config.sub from gnu.org
(This used to be commit f65166b36e5d7a74cdab5cc9019221c0f724274b)
2001-05-09 01:29:44 +00:00
Jean-François Micouleau
b6a6b4b02e fixes to the group mapping code.
Not ready yet.

	J.F.
(This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)
2001-05-08 16:33:18 +00:00
Tim Potter
55eab3e232 More compiler warning fixes.
(This used to be commit 88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c)
2001-05-08 06:14:08 +00:00
Tim Potter
f39cb774e7 Fixed compiler warning.
(This used to be commit 9f1f811154e6d8f1a14687b1ee7f85d1dd18a925)
2001-05-08 06:09:52 +00:00
Tim Potter
55567e5ee9 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)
2001-05-08 05:58:03 +00:00
Tim Potter
0b14ab0144 Added S_ISSOCK macros for systems which treat UNIX domain sockets as FIFOs
(SCO).
(This used to be commit d761a7deb3696fc0742fb349868317f42825290e)
2001-05-08 05:56:10 +00:00
Tim Potter
ae6e20300c Removed S_ISSOCK() macro as it's only used within winbind client code.
(This used to be commit 8fe76adb33bb7de19c8b2c8783dc6e3a3977bd8f)
2001-05-08 05:53:33 +00:00
Tim Potter
e5500c4a75 Added winbindd to list of binaries.
(This used to be commit 335e41b5ca6c3372aa1005e3c80ca04572f37878)
2001-05-08 05:52:17 +00:00
Tim Potter
b4944528d8 make proto
(This used to be commit 6d218c3e942a9be3af57f2500374b49d8ad25763)
2001-05-08 04:02:59 +00:00
Tim Potter
12ef6bc03e Fixed typo in comment.
(This used to be commit a8c49d1e608b178bcc53725d4a26cebb799fc6eb)
2001-05-08 04:00:01 +00:00
Tim Potter
481a727687 Fixed querydispinfo command.
(This used to be commit 727d2929bc4025ab418e933356d8ba4f31420423)
2001-05-08 03:53:16 +00:00
Tim Potter
3475c25714 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)
2001-05-08 03:52:07 +00:00
Tim Potter
706a1188c5 iinit_samr_q_lookup_rids() didn't actually copy the rids into the
parse structure.
(This used to be commit 139e767e78adafa4d4469d2d63415d46267f2fc9)
2001-05-08 03:50:42 +00:00