ira/wip.git
20 years agoIn samr_lookup_names Windows does not return WKN_GRP(5) but ALIAS(4) when
Volker Lendecke [Tue, 17 Feb 2004 10:11:53 +0000 (10:11 +0000)]
In samr_lookup_names Windows does not return WKN_GRP(5) but ALIAS(4) when
you search in BUILTIN. Match that.

Volker
(This used to be commit 2863b21d8a5933c309c51edb09fbda4e669e4890)

20 years agoIf there are no alias members, don't ask for their sids :-)
Volker Lendecke [Tue, 17 Feb 2004 10:08:18 +0000 (10:08 +0000)]
If there are no alias members, don't ask for their sids :-)

Volker
(This used to be commit 99f03a641e4fd75c3bafb8bd153687743317a3dc)

20 years agoDisable suid on user mounts (can override with -DCIFS_ALLOW_USR_SUID)
Steve French [Mon, 16 Feb 2004 23:43:14 +0000 (23:43 +0000)]
Disable suid on user mounts (can override with -DCIFS_ALLOW_USR_SUID)
(This used to be commit a718f16e0bf78139ea46383feec0ce72c63a4986)

20 years agoCosmetic fix: Use sid_is_in_our_domain instead of doing it per hand.
Volker Lendecke [Mon, 16 Feb 2004 14:24:35 +0000 (14:24 +0000)]
Cosmetic fix: Use sid_is_in_our_domain instead of doing it per hand.

Volker
(This used to be commit 04639e8862c360e89faac8b80c63197d514b7455)

20 years agoFix success message for net groupmap modify
Volker Lendecke [Mon, 16 Feb 2004 14:04:56 +0000 (14:04 +0000)]
Fix success message for net groupmap modify

Volker
(This used to be commit 19b30334a7c0f6abde6dfc81550e50aa823117c2)

20 years agoFix whitespace to reduce diff from HEAD
Jim McDonough [Sat, 14 Feb 2004 14:25:40 +0000 (14:25 +0000)]
Fix whitespace to reduce diff from HEAD
(This used to be commit eba512ee1c723392ce553a6b04a7de6c57dd7b1d)

20 years agosync IBM Directory Server schema with openldap schema...add munged dial
Jim McDonough [Sat, 14 Feb 2004 14:05:17 +0000 (14:05 +0000)]
sync IBM Directory Server schema with openldap schema...add munged dial
(This used to be commit 3b1d922ab4fdf3d2d5d8b56b7c5d2882b91000b9)

20 years agoMissed SAFE_FREE (typo).
Jeremy Allison [Fri, 13 Feb 2004 22:34:29 +0000 (22:34 +0000)]
Missed SAFE_FREE (typo).
Jeremy.
(This used to be commit ac1d03c05bf6247541fbd6f0c3bd5b2e5b6a5212)

20 years agoFix ETA Calculation when resuming
Jelmer Vernooij [Fri, 13 Feb 2004 22:09:53 +0000 (22:09 +0000)]
Fix ETA Calculation when resuming
(This used to be commit a5f09f0991e5a5bd9538211b0d430020052670c8)

20 years agoAdded Andrew Bartlett's patch to use an allocated buffer for count_chars.
Jeremy Allison [Fri, 13 Feb 2004 22:06:25 +0000 (22:06 +0000)]
Added Andrew Bartlett's patch to use an allocated buffer for count_chars.
Jeremy.
(This used to be commit cdbeb7d2ebcd4a298aabb3ed665560d219bb0d1c)

20 years agoFixup the 'multiple-vuids' bugs.
Jeremy Allison [Fri, 13 Feb 2004 19:05:25 +0000 (19:05 +0000)]
Fixup the 'multiple-vuids' bugs.
Jeremy.
(This used to be commit f0f7a48327ba1808088bc8c4e5d48b5cbeaeb4e3)

20 years agourban's changes for nosuid,nodev
Gerald Carter [Fri, 13 Feb 2004 17:32:20 +0000 (17:32 +0000)]
urban's changes for nosuid,nodev
(This used to be commit ed46d9aef3b423f583475da77db672b685ddf531)

20 years agospecfile changes form the 3.0.2 release
Gerald Carter [Fri, 13 Feb 2004 17:20:28 +0000 (17:20 +0000)]
specfile changes form the 3.0.2 release
(This used to be commit d5dac6c5e220b528b2f52689143fddc9af48e55b)

20 years agoMove tdbsam versioning/upgrade code into 3.0
Jim McDonough [Fri, 13 Feb 2004 14:48:20 +0000 (14:48 +0000)]
Move tdbsam versioning/upgrade code into 3.0
(This used to be commit 730c07cac2166812f4a2da5cfba7152d168b2bdd)

20 years agomerge old change from 2.2 branch to give legend in heading
Herb Lewis [Thu, 12 Feb 2004 20:43:23 +0000 (20:43 +0000)]
merge old change from 2.2 branch to give legend in heading
(This used to be commit ed4af810cf74943e9c1881ddc4044646fd72c998)

20 years agoTry to remove the last vestiges of unknown_3...
Jim McDonough [Thu, 12 Feb 2004 19:09:21 +0000 (19:09 +0000)]
Try to remove the last vestiges of unknown_3...

Jelmer, can you look at the sql and xml backends please to verify?
(This used to be commit b7706f7e258516d83646aca8c367508bc1c8f0dd)

20 years agoabartlet's pdb_set/changed flag fix for NULL passwords
Gerald Carter [Thu, 12 Feb 2004 17:51:23 +0000 (17:51 +0000)]
abartlet's pdb_set/changed flag fix for NULL passwords
(This used to be commit cfe80f0df7ecfa6c689b03b9bed80ea80701a4c1)

20 years agoCommit Andrew Bartlett's interesting patch to smbclient that allows for
Richard Sharpe [Thu, 12 Feb 2004 17:26:34 +0000 (17:26 +0000)]
Commit Andrew Bartlett's interesting patch to smbclient that allows for
multiple logins and changing vuids. I fixed up a couple of variables so it
actually works.

We want to use this to test our multiple SIDs in the kernel changes etc.
(This used to be commit 4df824d38bd7673b27dd7d7f880420e78a136032)

20 years agostupid cut-n=paste error; my fault
Gerald Carter [Thu, 12 Feb 2004 17:09:01 +0000 (17:09 +0000)]
stupid cut-n=paste error; my fault
(This used to be commit ee8f142b874a5bd365e59f68fb48ff3fec82fcda)

20 years agoMore sync between passdb on 3.0 and HEAD.
Jim McDonough [Thu, 12 Feb 2004 16:16:53 +0000 (16:16 +0000)]
More sync between passdb on 3.0 and HEAD.

Replace unknown_3 with fields_present.  Also causes rpc_samr structure field changes.
(This used to be commit 1976843345efb6ca4f9cebd964a61acd8ae11d41)

20 years agoStart of merging HEAD changes. Right now, just move one fn() to eliminate
Jim McDonough [Thu, 12 Feb 2004 15:20:40 +0000 (15:20 +0000)]
Start of merging HEAD changes.  Right now, just move one fn() to eliminate
the prototype at the beginning, and change some comments so diffs to HEAD
aren't filled with useless info.
(This used to be commit 7b40f6c464ecbd40ab3fdf32b53da1e61475d2e7)

20 years agofix build of lock tests
Gerald Carter [Thu, 12 Feb 2004 05:29:05 +0000 (05:29 +0000)]
fix build of lock tests
(This used to be commit 70cc747fdfe1f52b957a2b72a12b199f5daeeb5b)

20 years agomerge from old APP_HEAD
Gerald Carter [Thu, 12 Feb 2004 05:24:02 +0000 (05:24 +0000)]
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)

20 years agoupdates for tdbsam code to help make merge into head easier; needs a bit more testing...
Gerald Carter [Thu, 12 Feb 2004 05:07:44 +0000 (05:07 +0000)]
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)

20 years agoMore paranoia checks.
Jeremy Allison [Wed, 11 Feb 2004 23:25:51 +0000 (23:25 +0000)]
More paranoia checks.
Jeremy.
(This used to be commit adf8ee3df75b8336d14ad093ad2ebc3a480d0017)

20 years agoUpdate mount.cifs version to 1.1
Steve French [Wed, 11 Feb 2004 23:14:39 +0000 (23:14 +0000)]
Update mount.cifs version to 1.1
(This used to be commit e73b6a5ae51687c42b621f6bf496c8ae1a73aee1)

20 years agoMount helper fixes for nosetuid, noexec part two of two
Steve French [Wed, 11 Feb 2004 23:11:00 +0000 (23:11 +0000)]
Mount helper fixes for nosetuid, noexec part two of two
(This used to be commit c2b4d81a8dae23170d32713e3e766dcf5be9a040)

20 years agoAdd missing nosetuid and noexec options
Steve French [Wed, 11 Feb 2004 22:54:01 +0000 (22:54 +0000)]
Add missing nosetuid and noexec options
(This used to be commit 5bb6429cc46f4bedd87b309ed98b61b10684cd0f)

20 years agoDon't set an iterator to a piece of free'd memory, store it first.
Jeremy Allison [Wed, 11 Feb 2004 22:47:12 +0000 (22:47 +0000)]
Don't set an iterator to a piece of free'd memory, store it first.
Jeremy.
(This used to be commit e914230a2d1a7b515bd7859d655d6555b7d3e67e)

20 years agoBUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in cmd_symlink...
Gerald Carter [Wed, 11 Feb 2004 21:42:20 +0000 (21:42 +0000)]
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)

20 years agofix set/getsampwent iterator in tdbsam to use an allocated list
Gerald Carter [Wed, 11 Feb 2004 21:10:04 +0000 (21:10 +0000)]
fix set/getsampwent iterator in tdbsam to use an allocated list
(This used to be commit 8734d91cd7681219f1389e3c41979028eadbb7fe)

20 years agoParanoia fixes :-).
Jeremy Allison [Wed, 11 Feb 2004 19:59:17 +0000 (19:59 +0000)]
Paranoia fixes :-).
Jeremy.
(This used to be commit 86b030197db63ac0a04b8ea877d80a3d74a7a187)

20 years agoAdded James Peach's fix for #1038.
Jeremy Allison [Wed, 11 Feb 2004 19:07:02 +0000 (19:07 +0000)]
Added James Peach's fix for #1038.
Jeremy.
(This used to be commit 5379ad98241950c581d88acbee1e256187b13582)

20 years agoBUG 1055; patch from SATOH Fumiyasu <fumiya@miraclelinux.com>; formatting fixes...
Gerald Carter [Wed, 11 Feb 2004 14:59:08 +0000 (14:59 +0000)]
BUG 1055; patch from SATOH Fumiyasu  <fumiya@miraclelinux.com>; formatting fixes for 'net share'
(This used to be commit 44db163b3001d8dc50b64bac7fd12be1147e14b7)

20 years agomarking 'only user' as deprecated (based on feedback in bug 66)
Gerald Carter [Wed, 11 Feb 2004 04:32:12 +0000 (04:32 +0000)]
marking 'only user' as deprecated (based on feedback in bug 66)
(This used to be commit a44f67b141efc7fc14a75b938bf428bf571351a6)

20 years agofix from Bostjan Golob
Gerald Carter [Tue, 10 Feb 2004 13:49:38 +0000 (13:49 +0000)]
fix from Bostjan Golob
(This used to be commit 96a108705bae1cba822de5cdc88dfffd65d008d4)

20 years agomore fixes from the static changes; please move static functions to the top of files...
Gerald Carter [Tue, 10 Feb 2004 04:02:53 +0000 (04:02 +0000)]
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)

20 years agofix more compiler warning after the latest static rampage
Gerald Carter [Tue, 10 Feb 2004 03:51:19 +0000 (03:51 +0000)]
fix more compiler warning after the latest static rampage
(This used to be commit 4f97988dd652983b7cdbb2f2e5a85c9d97ec697e)

20 years agoFix for possible crash bug from Sebastian Krahmer (SuSE).
Jeremy Allison [Tue, 10 Feb 2004 02:21:38 +0000 (02:21 +0000)]
Fix for possible crash bug from Sebastian Krahmer (SuSE).
Jeremy.
(This used to be commit e275835b516ec2e319ad5a6943be007d34a55d75)

20 years agoadd smbget to cvs ignore list
Gerald Carter [Mon, 9 Feb 2004 18:51:03 +0000 (18:51 +0000)]
add smbget to cvs ignore list
(This used to be commit d85ee7b85bbc2450111284743ea89479c3b0a15c)

20 years agobug 1046 (patch from Bostjan Golob <golob@gimb.org>); fix 20 month old bug where...
Gerald Carter [Mon, 9 Feb 2004 18:43:57 +0000 (18:43 +0000)]
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)

20 years agoExpand 'net rpc group members' to local groups.
Volker Lendecke [Mon, 9 Feb 2004 18:19:25 +0000 (18:19 +0000)]
Expand 'net rpc group members' to local groups.

Volker
(This used to be commit 90fabe6ec004ab95739100b6cd5b7cbd87e67e24)

20 years agobring release notes in the 3.0 branch up to date
Gerald Carter [Mon, 9 Feb 2004 17:45:29 +0000 (17:45 +0000)]
bring release notes in the 3.0 branch up to date
(This used to be commit f285565d67ce0afa13210b913d574eef644ff98d)

20 years agoAnd another build fix.
Volker Lendecke [Mon, 9 Feb 2004 15:21:42 +0000 (15:21 +0000)]
And another build fix.

Volker
(This used to be commit 6c78a096a5c4a8ae21e846505f6ac2df826d5cbd)

20 years agoFix the build & get rid of a compiler warning.
Volker Lendecke [Mon, 9 Feb 2004 14:43:18 +0000 (14:43 +0000)]
Fix the build & get rid of a compiler warning.

Volker
(This used to be commit 38c9b775ce029e1d480d89d4adb0d1bd45a28fe6)

20 years agoApply James' printf format checking patch for SGI MIPSPro compiler.
Tim Potter [Mon, 9 Feb 2004 00:59:22 +0000 (00:59 +0000)]
Apply James' printf format checking patch for SGI MIPSPro compiler.
(This used to be commit 27242f44e6cfa10b7b7f74bcfb6c81786aaffae0)

20 years agoAdd more static...
Andrew Bartlett [Sun, 8 Feb 2004 11:28:51 +0000 (11:28 +0000)]
Add more static...

Andrew Bartlett
(This used to be commit 203ce018365d350c8c0a3f512651cff2b0791b6c)

20 years agonsswitch/winbindd_util.c:
Andrew Bartlett [Sun, 8 Feb 2004 11:26:46 +0000 (11:26 +0000)]
nsswitch/winbindd_util.c:
add static

smbd/uid.c:
remove unused function

Andrew Bartlett
(This used to be commit ab25af0e18d883757775a85f005775a79a86dcc8)

20 years agoWhen we set a domain sid, force get_global_sam_sid() to do it's work again.
Andrew Bartlett [Sun, 8 Feb 2004 11:05:34 +0000 (11:05 +0000)]
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)

20 years agoAdd static, and assert that we will never overflow the static fstring
Andrew Bartlett [Sun, 8 Feb 2004 11:02:11 +0000 (11:02 +0000)]
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)

20 years agoMore 'static' work.
Andrew Bartlett [Sun, 8 Feb 2004 11:00:25 +0000 (11:00 +0000)]
More 'static' work.

Andrew Bartlett
(This used to be commit 25a09004e8a51eb3192adbb580239427bfee0ec9)

20 years agoMake it possible to 'net rpc samdump' of any domain you are currently joined
Andrew Bartlett [Sun, 8 Feb 2004 10:59:09 +0000 (10:59 +0000)]
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)

20 years agoAdd some help for 'net rpc password'.
Andrew Bartlett [Sun, 8 Feb 2004 09:25:58 +0000 (09:25 +0000)]
Add some help for 'net rpc password'.

Andrew Bartlett
(This used to be commit 4c7d6b9be393f1f5697afe0671f15651ac6282f3)

20 years agoMake more functions static, and remove duplication in the use of functions
Andrew Bartlett [Sun, 8 Feb 2004 08:38:42 +0000 (08:38 +0000)]
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)

20 years agoSamba hasn't used this function for ages - it's now handled deep in the
Andrew Bartlett [Sun, 8 Feb 2004 07:17:30 +0000 (07:17 +0000)]
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)

20 years agoRemove more unused portions of the 'password cache'.
Andrew Bartlett [Sun, 8 Feb 2004 05:31:01 +0000 (05:31 +0000)]
Remove more unused portions of the 'password cache'.

Andrew Bartlett
(This used to be commit 318e11748a86d92bfc6ebf0e58f3c8360cbf4b69)

20 years agoRemove more unused functions - this time parts of the 'password cache'.
Andrew Bartlett [Sun, 8 Feb 2004 02:49:30 +0000 (02:49 +0000)]
Remove more unused functions - this time parts of the 'password cache'.

Andrew Bartlett
(This used to be commit 66569546e8cbb06b6de7e1ac5b2ebf662ea026de)

20 years agoAnother static function.
Andrew Bartlett [Sun, 8 Feb 2004 01:30:59 +0000 (01:30 +0000)]
Another static function.

Andrew Bartlett
(This used to be commit 128c328ddbc9f2283badde95ce743e696f94f6a4)

20 years agoMake this table static const.
Andrew Bartlett [Sun, 8 Feb 2004 01:02:12 +0000 (01:02 +0000)]
Make this table static const.

Andrew Bartlett
(This used to be commit 0686bc9e076c722e33dd9b236cf7c33d448c3b34)

20 years agoRemove unused utility function.
Andrew Bartlett [Sun, 8 Feb 2004 00:58:56 +0000 (00:58 +0000)]
Remove unused utility function.

Andrew Bartlett
(This used to be commit 4c4aa80177e05ed7900e9f24673a62064128c736)

20 years agoMake get_dc_list static - we only ask for a sorted list externally.
Andrew Bartlett [Sun, 8 Feb 2004 00:54:32 +0000 (00:54 +0000)]
Make get_dc_list static - we only ask for a sorted list externally.

Andrew Bartlett
(This used to be commit e10e176c83da9eda0746e0bd108c72a01a0505e8)

20 years agoBug found by gd - the new range-reterival code did still had 'member'
Andrew Bartlett [Sun, 8 Feb 2004 00:31:36 +0000 (00:31 +0000)]
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)

20 years agoI should have done this years ago...
Andrew Bartlett [Sat, 7 Feb 2004 03:54:39 +0000 (03:54 +0000)]
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)

20 years agoReplace .po with .@PICSUFFIX@
Tim Potter [Fri, 6 Feb 2004 01:20:45 +0000 (01:20 +0000)]
Replace .po with .@PICSUFFIX@
(This used to be commit b21b36d9270866181891c5c7c5365bae6b40815b)

20 years agoUpdating the Debian packaging stuff in packaging/Debian/. This hadn't
Eloy Paris [Thu, 5 Feb 2004 17:30:56 +0000 (17:30 +0000)]
Updating the Debian packaging stuff in packaging/Debian/. This hadn't
been updated since the 3.0.0 release so it was broken for 3.0.1 and
later. It's nice that now the Makefile supports a $DESTDIR for "make
install" :-)
(This used to be commit 40c6bf1498785850789fca3d28ea4e7ceaa296ce)

20 years agoFix final valgrind errors with #830. Catch mb conversion error that may not
Jeremy Allison [Wed, 4 Feb 2004 20:28:51 +0000 (20:28 +0000)]
Fix final valgrind errors with #830. Catch mb conversion error that may not
terminate correctly.
Jeremy.
(This used to be commit 49142c6352eb3645437ef86bcedca1b1895aef60)

20 years agomove disabling code to context functions instead of backwards compatible wrappers
Gerald Carter [Wed, 4 Feb 2004 19:46:29 +0000 (19:46 +0000)]
move disabling code to context functions instead of backwards compatible wrappers
(This used to be commit e62ef2ba2d73f492d879af4d06b223f8e739dc6c)

20 years agoFixup the allocate version of the function to do "crap" conversions too.
Jeremy Allison [Wed, 4 Feb 2004 19:13:45 +0000 (19:13 +0000)]
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)

20 years agoreturn NSS_SUCCESS if we have found the max number of gids possible on Solaris; patch...
Gerald Carter [Wed, 4 Feb 2004 17:22:36 +0000 (17:22 +0000)]
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)

20 years agoFix const warning
Andrew Bartlett [Wed, 4 Feb 2004 11:41:22 +0000 (11:41 +0000)]
Fix const warning
(This used to be commit 7a36cc4ac0ff4d9c42eb9ddaf41bf33b4e8cd7c6)

20 years agoThis should be the correct fix for the lack of a prototype for
Andrew Bartlett [Wed, 4 Feb 2004 11:12:25 +0000 (11:12 +0000)]
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)

20 years agoWorking on #830. Cope with bad conversions better - don't just memcpy but
Jeremy Allison [Wed, 4 Feb 2004 02:09:41 +0000 (02:09 +0000)]
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)

20 years agoFix for a bug where the mutex could be left locked. Also remove the
Jeremy Allison [Tue, 3 Feb 2004 03:23:18 +0000 (03:23 +0000)]
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)

20 years agoA few fixes from "L. Lucius" <ib@digicron.com>. Don't use int when it's
Jeremy Allison [Mon, 2 Feb 2004 21:14:55 +0000 (21:14 +0000)]
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)

20 years agofix installmodules problem with make on True64
Gerald Carter [Mon, 2 Feb 2004 20:54:14 +0000 (20:54 +0000)]
fix installmodules problem with make on True64
(This used to be commit ec30303669ee4742aef228fc0e4a801ce4918ad8)

20 years agofix problems with proto.h
Gerald Carter [Mon, 2 Feb 2004 20:16:24 +0000 (20:16 +0000)]
fix problems with proto.h
(This used to be commit 5a32f9568f128374df98491b43e6f5b299cb656c)

20 years agoupdate script to build a tarball from the cvs tree
Gerald Carter [Mon, 2 Feb 2004 14:46:20 +0000 (14:46 +0000)]
update script to build a tarball from the cvs tree
(This used to be commit 3780ee9ea08b780cfddcd6932c71c4107f8dce0d)

20 years agothere are places in the samba3 code that don't check properly for
Andrew Tridgell [Mon, 2 Feb 2004 12:09:35 +0000 (12:09 +0000)]
there are places in the samba3 code that don't check properly for
packet-termination of strings. This change ensures that when we go
past the end of a packet we hit 2 null bytes, thus terminating. We are
relying on the SAFETY_MARGIN packet allocation stuff here.
(This used to be commit 655ec168288159f5c0961ed8cbdd84c4e14eab26)

20 years agothe conversion from int to size_t in charcnv did not take into account
Andrew Tridgell [Mon, 2 Feb 2004 12:02:43 +0000 (12:02 +0000)]
the conversion from int to size_t in charcnv did not take into account
one place where we checked "if (src_len > 0)".

I actually would greatly prefer to switch back to int for src_len. The
type *can* be negative, which means an unsigned type is
inappropriate. There is absolutely no reason why "int" should not be
used for a parameter like this.

I didn't change back to int as we are close to a release and I wanted
a mininal change, but please don't go changing types like this in
future without very careful testing and a damn good reason.

this bug broke pull_ucs2(), I would not be surprised if it caused all
sorts of nastiness. Thanks to vl for noticing the symptoms!
(This used to be commit 8b8f0c527959c707f274b435fc59156e37232981)

20 years agoRemove bogus check. No functional change, just cosmetics.
Volker Lendecke [Mon, 2 Feb 2004 07:53:56 +0000 (07:53 +0000)]
Remove bogus check. No functional change, just cosmetics.

Volker
(This used to be commit e3a5e2d9c23e8ba6bc817e433e596f535644c862)

20 years agoAlways at least try to compile in cracklib support.
Andrew Bartlett [Mon, 2 Feb 2004 07:47:25 +0000 (07:47 +0000)]
Always at least try to compile in cracklib support.

Andrew Bartlett
(This used to be commit 6cde5e8307c2425c5c496a2a5fb9fcde6c8ef433)

20 years agoMerge the 'use cracklib' parameter from HEAD back to 3.0
Andrew Bartlett [Mon, 2 Feb 2004 07:45:50 +0000 (07:45 +0000)]
Merge the 'use cracklib' parameter from HEAD back to 3.0

Andrew Bartlett
(This used to be commit 2202667ebb713fb5d933fcaa1c19dc761da47ccb)

20 years agoremerge andrew's cracklib patch from HEAD and fix a compile warnings
Gerald Carter [Mon, 2 Feb 2004 00:08:35 +0000 (00:08 +0000)]
remerge andrew's cracklib patch from HEAD and fix a compile warnings
(This used to be commit b60f6ec30d05e4e5bba9934a416ddc8bc089824f)

20 years agoInclude sys/acl.h in check for broken nisplus include files. Bug #1025.
Tim Potter [Sun, 1 Feb 2004 22:17:36 +0000 (22:17 +0000)]
Include sys/acl.h in check for broken nisplus include files.  Bug #1025.
(This used to be commit 5ca866f2475e11759d04dbf6469b055808020d5a)

20 years agoDon't log an error in tdb_brlock() if a non-blocking lock returns EAGAIN -
Tim Potter [Sun, 1 Feb 2004 10:55:54 +0000 (10:55 +0000)]
Don't log an error in tdb_brlock() if a non-blocking lock returns EAGAIN -
it's supposed to do that.
(This used to be commit 2423a459471136d701b498ff0db797c70c6d0fce)

20 years ago* BUG 101: patch from j.lu@tiesse.com to set the SV_TYPE_PRINTQ_SERVER;
Gerald Carter [Sat, 31 Jan 2004 18:25:57 +0000 (18:25 +0000)]
* BUG 101: patch from j.lu@tiesse.com to set the SV_TYPE_PRINTQ_SERVER;
* don't set the unix_ERR_XX code in mkdir_internal, let the error mapping
  handle it.
(This used to be commit 87343fc15a385153c2205bd8bfe876504d38d9a1)

20 years agocleanup patch for bug 977 so we don't display incorrect debug messages
Gerald Carter [Sat, 31 Jan 2004 14:44:27 +0000 (14:44 +0000)]
cleanup patch for bug 977 so we don't display incorrect debug messages
(This used to be commit 11093ecfb7bab1ecb16d19ac00b3e7e38dff43e2)

20 years agoIf we are setting the NT or LM password to NULL, remove the attribute
Andrew Bartlett [Fri, 30 Jan 2004 23:37:38 +0000 (23:37 +0000)]
If we are setting the NT or LM password to NULL, remove the attribute
rather than writing XXXXX

Andrew Bartlett
(This used to be commit ab7dd748a98361ac9c1c3ca52e9a97aee3f93e6f)

20 years agofix pam config file
Gerald Carter [Fri, 30 Jan 2004 20:27:58 +0000 (20:27 +0000)]
fix pam config file
(This used to be commit 4dcf2f6e39ad07ead37815e9ed978099459b1569)

20 years agofix a few more bugs in Fedora scripts (files not getting installed)
Gerald Carter [Fri, 30 Jan 2004 20:26:03 +0000 (20:26 +0000)]
fix a few more bugs in Fedora scripts (files not getting installed)
(This used to be commit 8ee3cc48c3a1784d6d5e0abb6f81d6f14b616777)

20 years agoFix up name canonicalization (needed for krb5 keytab support later).
Jeremy Allison [Fri, 30 Jan 2004 18:38:48 +0000 (18:38 +0000)]
Fix up name canonicalization (needed for krb5 keytab support later).
Remove source_env handler (no longer used in any codepath).
Jeremy.
(This used to be commit 3a3e33603084048e647af86a9badaaf49433c789)

20 years agofixes for fedora packaging
Gerald Carter [Fri, 30 Jan 2004 16:00:42 +0000 (16:00 +0000)]
fixes for fedora packaging
(This used to be commit 1924dfb266525053b48a636818f32eae14730051)

20 years agodisable any account that doesn't have a password and doesn't had the ACB_PWNOTREQ...
Gerald Carter [Fri, 30 Jan 2004 14:59:40 +0000 (14:59 +0000)]
disable any account that doesn't have a password and doesn't had the ACB_PWNOTREQ bit set
(This used to be commit 52bf070b10ca99be7e4b9d1b5e32f69d2667d8f4)

20 years agomore initialization fixes
Gerald Carter [Thu, 29 Jan 2004 22:16:58 +0000 (22:16 +0000)]
more initialization fixes
(This used to be commit 9e590d603547ef1e8388bea66eb5d44e4dfd6412)

20 years agodisable template accounts by default
Gerald Carter [Thu, 29 Jan 2004 20:15:12 +0000 (20:15 +0000)]
disable template accounts by default
(This used to be commit 02899224a195260140496c6e72aee66cc6d65ee4)

20 years agoinitialization fixes
Gerald Carter [Thu, 29 Jan 2004 20:14:50 +0000 (20:14 +0000)]
initialization fixes
(This used to be commit 54fd3992c385fd6208c061131b2c98e448baf2c2)

20 years agoremoving more unused parameters
Gerald Carter [Thu, 29 Jan 2004 17:28:45 +0000 (17:28 +0000)]
removing more unused parameters
(This used to be commit 8135ea08b3dce212a98c17a604619dd383e96c24)

20 years agoBUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux...
Gerald Carter [Thu, 29 Jan 2004 14:03:48 +0000 (14:03 +0000)]
BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>
(This used to be commit d39b1b3fd67d117016907aa79ffac7cb89d3cd5b)

20 years agocompletely rewrote the AIX UESS backend (UESS is the AIX equivalent of
Andrew Tridgell [Thu, 29 Jan 2004 06:14:13 +0000 (06:14 +0000)]
completely rewrote the AIX UESS backend (UESS is the AIX equivalent of
NSS). This time I think I've actually got it right. I wrote a fairly
good test suite for UESS modules (similar to nsstest.c) that allowed
me to explore how the modules supplied with AIX actually work.

This new module also incorporates authentication features, so you
don't need a PAM module at all. Just install this UESS module and
authentication will "just work". It also handles password change, so
/usr/bin/passwd can be used to change windows password.
(This used to be commit d62cb9454e310d2baeea0077dad4ba9382ba06cd)

20 years agoRemove an unused parameter from reload_services_file.
Richard Sharpe [Thu, 29 Jan 2004 00:10:40 +0000 (00:10 +0000)]
Remove an unused parameter from reload_services_file.
(This used to be commit 0032c3f46aaef065e95d987dc0506016aabbe644)