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

13330 Commits

Author SHA1 Message Date
Gerald Carter
c987e9e611 fix build of lock tests
(This used to be commit 70cc747fdfe1f52b957a2b72a12b199f5daeeb5b)
2004-02-12 05:29:05 +00:00
Gerald Carter
df6d2db4ce merge from old APP_HEAD
* remove corrupt tdb and shutdown (only for printing tdbs, connections,
  sessionid & locking)
* decrement smbd counter in connections.tdb in smb_panic()
* various Makefile hack to get things to link

'max smbd processes' looks like it might be broken.  The counter KEY is not
being set.  Will look into that tomorrow.
(This used to be commit 6e22c5da929b6d9a4e32dc704c83112b2ad8fcfd)
2004-02-12 05:24:02 +00:00
Gerald Carter
a6a2a69680 updates for tdbsam code to help make merge into head easier; needs a bit more testing tomorrow but initial results seem ok
(This used to be commit daee8d7feee4a08d6c204e2de3f346b6d10640e6)
2004-02-12 05:07:44 +00:00
Jeremy Allison
9860bfe384 More paranoia checks.
Jeremy.
(This used to be commit adf8ee3df75b8336d14ad093ad2ebc3a480d0017)
2004-02-11 23:25:51 +00:00
Steve French
e7a09dd637 Update mount.cifs version to 1.1
(This used to be commit e73b6a5ae51687c42b621f6bf496c8ae1a73aee1)
2004-02-11 23:14:39 +00:00
Steve French
70fde6311d Mount helper fixes for nosetuid, noexec part two of two
(This used to be commit c2b4d81a8dae23170d32713e3e766dcf5be9a040)
2004-02-11 23:11:00 +00:00
Steve French
33b944911f Add missing nosetuid and noexec options
(This used to be commit 5bb6429cc46f4bedd87b309ed98b61b10684cd0f)
2004-02-11 22:54:01 +00:00
Jeremy Allison
16733020e3 Don't set an iterator to a piece of free'd memory, store it first.
Jeremy.
(This used to be commit e914230a2d1a7b515bd7859d655d6555b7d3e67e)
2004-02-11 22:47:12 +00:00
Gerald Carter
3cd61b1597 BUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in cmd_symlink, cmd_link, cmd_chown, cmd_chmod functions
(This used to be commit 60eb69ff64cc9836072f8f3894e8bc685dc7466a)
2004-02-11 21:42:20 +00:00
Gerald Carter
da52004988 fix set/getsampwent iterator in tdbsam to use an allocated list
(This used to be commit 8734d91cd7681219f1389e3c41979028eadbb7fe)
2004-02-11 21:10:04 +00:00
Jeremy Allison
9870830104 Paranoia fixes :-).
Jeremy.
(This used to be commit 86b030197db63ac0a04b8ea877d80a3d74a7a187)
2004-02-11 19:59:17 +00:00
Jeremy Allison
90b5adc557 Added James Peach's fix for #1038.
Jeremy.
(This used to be commit 5379ad98241950c581d88acbee1e256187b13582)
2004-02-11 19:07:02 +00:00
Gerald Carter
439bcaf9e7 BUG 1055; patch from SATOH Fumiyasu <fumiya@miraclelinux.com>; formatting fixes for 'net share'
(This used to be commit 44db163b3001d8dc50b64bac7fd12be1147e14b7)
2004-02-11 14:59:08 +00:00
Gerald Carter
00e0a5ca90 marking 'only user' as deprecated (based on feedback in bug 66)
(This used to be commit a44f67b141efc7fc14a75b938bf428bf571351a6)
2004-02-11 04:32:12 +00:00
Gerald Carter
45616e18a8 more fixes from the static changes; please move static functions to the top of files to prevent this from happening
(This used to be commit 7a61c2ae450d3e41c45e6e3773ad00f6ab9beb16)
2004-02-10 04:02:53 +00:00
Gerald Carter
19b8f496f8 fix more compiler warning after the latest static rampage
(This used to be commit 4f97988dd652983b7cdbb2f2e5a85c9d97ec697e)
2004-02-10 03:51:19 +00:00
Jeremy Allison
57dacbe948 Fix for possible crash bug from Sebastian Krahmer (SuSE).
Jeremy.
(This used to be commit e275835b516ec2e319ad5a6943be007d34a55d75)
2004-02-10 02:21:38 +00:00
Gerald Carter
53f924e267 add smbget to cvs ignore list
(This used to be commit d85ee7b85bbc2450111284743ea89479c3b0a15c)
2004-02-09 18:51:03 +00:00
Gerald Carter
7da2745bdd bug 1046 (patch from Bostjan Golob <golob@gimb.org>); fix 20 month old bug where getpwent_list() was overoverwriting the username for entries. However the code path to the bug was introduced only on January 25
(This used to be commit ec346adf34bd2bc1d514202e82b3713fb5b032ab)
2004-02-09 18:43:57 +00:00
Volker Lendecke
6268f1bdbc Expand 'net rpc group members' to local groups.
Volker
(This used to be commit 90fabe6ec004ab95739100b6cd5b7cbd87e67e24)
2004-02-09 18:19:25 +00:00
Volker Lendecke
24f2e0cc3e And another build fix.
Volker
(This used to be commit 6c78a096a5c4a8ae21e846505f6ac2df826d5cbd)
2004-02-09 15:21:42 +00:00
Volker Lendecke
42f763e6f0 Fix the build & get rid of a compiler warning.
Volker
(This used to be commit 38c9b775ce029e1d480d89d4adb0d1bd45a28fe6)
2004-02-09 14:43:18 +00:00
Tim Potter
cdcec269e0 Apply James' printf format checking patch for SGI MIPSPro compiler.
(This used to be commit 27242f44e6cfa10b7b7f74bcfb6c81786aaffae0)
2004-02-09 00:59:22 +00:00
Andrew Bartlett
f1429b0edc Add more static...
Andrew Bartlett
(This used to be commit 203ce018365d350c8c0a3f512651cff2b0791b6c)
2004-02-08 11:28:51 +00:00
Andrew Bartlett
0f1dcf9839 nsswitch/winbindd_util.c:
add static

smbd/uid.c:
	remove unused function

Andrew Bartlett
(This used to be commit ab25af0e18d883757775a85f005775a79a86dcc8)
2004-02-08 11:26:46 +00:00
Andrew Bartlett
46975eb92f When we set a domain sid, force get_global_sam_sid() to do it's work again.
This should ensure that the value it returns is always consistant.

Andrew Bartlett
(This used to be commit a4392ede33019b7584bf6a2d8445adb5191e640f)
2004-02-08 11:05:34 +00:00
Andrew Bartlett
b401888b6b Add static, and assert that we will never overflow the static fstring
in pdb_encode_acct_ctrl()  (All current callers are fine)

Andrew Bartlett
(This used to be commit 01be89eb438567cfe0a002a247fe2d314b01f9da)
2004-02-08 11:02:11 +00:00
Andrew Bartlett
8a547323d2 More 'static' work.
Andrew Bartlett
(This used to be commit 25a09004e8a51eb3192adbb580239427bfee0ec9)
2004-02-08 11:00:25 +00:00
Andrew Bartlett
784c631a3a Make it possible to 'net rpc samdump' of any domain you are currently joined
to, despite any smb.conf settings.

Work to allow the same for 'net rpc vampire', but instead give a clear
error message on what is incorrect.

Andrew Bartlett
(This used to be commit 6b629344c5a4061d6052fa91f8429b337bab95fb)
2004-02-08 10:59:09 +00:00
Andrew Bartlett
62df6251cc Add some help for 'net rpc password'.
Andrew Bartlett
(This used to be commit 4c7d6b9be393f1f5697afe0671f15651ac6282f3)
2004-02-08 09:25:58 +00:00
Andrew Bartlett
d198c55877 Make more functions static, and remove duplication in the use of functions
in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c

(These should perhaps be pulled back out to smbpasswd.c, but that can occour
later).

Andrew Bartlett
(This used to be commit fcdc5efb1e245c8fa95cd031f67ec56093b9056e)
2004-02-08 08:38:42 +00:00
Andrew Bartlett
ae2c8656b2 Samba hasn't used this function for ages - it's now handled deep in the
auth subsystem.

Andrew Bartlett
(This used to be commit 5693730594b1a861c7916cac7d156cf6a9d913cd)
2004-02-08 07:17:30 +00:00
Andrew Bartlett
a69cb9c963 Remove more unused portions of the 'password cache'.
Andrew Bartlett
(This used to be commit 318e11748a86d92bfc6ebf0e58f3c8360cbf4b69)
2004-02-08 05:31:01 +00:00
Andrew Bartlett
fac5f989d3 Remove more unused functions - this time parts of the 'password cache'.
Andrew Bartlett
(This used to be commit 66569546e8cbb06b6de7e1ac5b2ebf662ea026de)
2004-02-08 02:49:30 +00:00
Andrew Bartlett
131bf59694 Another static function.
Andrew Bartlett
(This used to be commit 128c328ddbc9f2283badde95ce743e696f94f6a4)
2004-02-08 01:30:59 +00:00
Andrew Bartlett
e0acf3780a Make this table static const.
Andrew Bartlett
(This used to be commit 0686bc9e076c722e33dd9b236cf7c33d448c3b34)
2004-02-08 01:02:12 +00:00
Andrew Bartlett
7540296fd4 Remove unused utility function.
Andrew Bartlett
(This used to be commit 4c4aa80177e05ed7900e9f24673a62064128c736)
2004-02-08 00:58:56 +00:00
Andrew Bartlett
e45c217a14 Make get_dc_list static - we only ask for a sorted list externally.
Andrew Bartlett
(This used to be commit e10e176c83da9eda0746e0bd108c72a01a0505e8)
2004-02-08 00:54:32 +00:00
Andrew Bartlett
d57d2d0897 Bug found by gd - the new range-reterival code did still had 'member'
hardcoded into it.

This didn't matter, as we only use it for 'member' so far...

Andrew Bartlett
(This used to be commit 8621899112e720411715ea53558d5146ff04eeb0)
2004-02-08 00:31:36 +00:00
Andrew Bartlett
7acbbe9ba0 I should have done this years ago...
This adds the very simple 'admin set password' capability to 'net rpc',
much as we have it for 'net ads'.

Andrew Bartlett
(This used to be commit ced7fb55276f3d21d69b85b40d3f64c5e790bcc9)
2004-02-07 03:54:39 +00:00
Tim Potter
a13282b690 Replace .po with .@PICSUFFIX@
(This used to be commit b21b36d9270866181891c5c7c5365bae6b40815b)
2004-02-06 01:20:45 +00:00
Jeremy Allison
da371e74bb Fix final valgrind errors with #830. Catch mb conversion error that may not
terminate correctly.
Jeremy.
(This used to be commit 49142c6352eb3645437ef86bcedca1b1895aef60)
2004-02-04 20:28:51 +00:00
Gerald Carter
471e558b28 move disabling code to context functions instead of backwards compatible wrappers
(This used to be commit e62ef2ba2d73f492d879af4d06b223f8e739dc6c)
2004-02-04 19:46:29 +00:00
Jeremy Allison
ef743c0641 Fixup the allocate version of the function to do "crap" conversions too.
Embarrassing number of goto's in this :-(. Fixes #830 I think.
Jeremy.
(This used to be commit 4c182d3220e87ea74d9c977b8ab1d740ef4cc30f)
2004-02-04 19:13:45 +00:00
Gerald Carter
c254d4a57d return NSS_SUCCESS if we have found the max number of gids possible on Solaris; patch from John Klinger <john.klinger@lmco.com>
(This used to be commit 28c2a74c850c0ead8a7d9f8e09705f587b6fae12)
2004-02-04 17:22:36 +00:00
Andrew Bartlett
f125759072 Fix const warning
(This used to be commit 7a36cc4ac0ff4d9c42eb9ddaf41bf33b4e8cd7c6)
2004-02-04 11:41:22 +00:00
Andrew Bartlett
ccaf0e7fb1 This should be the correct fix for the lack of a prototype for
remote_password_change().

Sorry for the original bug.

Andrew Bartlett
(This used to be commit 955436a6f6d7c2f580b2c4e1edbb7ee2fe5df858)
2004-02-04 11:12:25 +00:00
Jeremy Allison
39f8afa866 Working on #830. Cope with bad conversions better - don't just memcpy but
try a crap conversion instead. Next this needs to be done to the convert_alloc
function.
Actually fixes some valgrind warnings as well - cool !
Jeremy.
(This used to be commit 6a7919f2544a689840fe46f3c58ed66f69aca65a)
2004-02-04 02:09:41 +00:00
Jeremy Allison
160d3e2a9c Fix for a bug where the mutex could be left locked. Also remove the
memory keytab code which has no effect. Driven by bug report from
"Rob J. Caskey" <rcaskey@uga.edu>.
Jeremy.
(This used to be commit 4cb8facbf9fa6fa5233fdb363ceac4b304d263d4)
2004-02-03 03:23:18 +00:00
Jeremy Allison
dac4fd693e A few fixes from "L. Lucius" <ib@digicron.com>. Don't use int when it's
really a size_t.
Jeremy.
(This used to be commit 2da24613ed62c6dd8465c976bdb2e3aaa33a5058)
2004-02-02 21:14:55 +00:00