samba.git
20 years agoMore gentest fun :-). NB. I'm not fixing OpenX breakage 'cos if you look
Jeremy Allison [Wed, 25 Feb 2004 01:35:14 +0000 (01:35 +0000)]
More gentest fun :-). NB. I'm not fixing OpenX breakage 'cos if you look
at what W2K3 accepts here it's COMPLETELY BROKEN ! :-).
Jeremy.
(This used to be commit 5107f6ee70a9300678ccb7b3c812e23ddf795c22)

20 years agoMore gentest fixes.
Jeremy Allison [Wed, 25 Feb 2004 00:48:35 +0000 (00:48 +0000)]
More gentest fixes.
Jeremy.
(This used to be commit d34785194cbd7132fc3ca1f4d5561c2eee6009ab)

20 years agoAdd 'net rpc group add'. For this parse_samr.c had to be changed: The
Volker Lendecke [Tue, 24 Feb 2004 18:00:41 +0000 (18:00 +0000)]
Add 'net rpc group add'. For this parse_samr.c had to be changed: The
group_info4 in set_dom_group_info also has the level in the record
itself. This seems not to be an align. Tested with NT4 usrmgr.exe. It can
still create a domain group on a samba machine.

Volker
(This used to be commit 76c75bb8a7ad2a2e719dbbe997abf8aefe2fbbb4)

20 years agoRemove unused variable.
Volker Lendecke [Tue, 24 Feb 2004 17:28:17 +0000 (17:28 +0000)]
Remove unused variable.

Volker
(This used to be commit eece7ff000a9589d56130e93a6105ad1052e9a14)

20 years ago'net idmap restore' is too useful to be left broken :-)
Volker Lendecke [Tue, 24 Feb 2004 15:45:10 +0000 (15:45 +0000)]
'net idmap restore' is too useful to be left broken :-)

Set the HWM values correctly after having manipulated the tdb.

Volker
(This used to be commit b1eba2188b1be183f37219a722903adc14b91369)

20 years agoEnsure '.' and '..' don't match in delete requests.
Jeremy Allison [Tue, 24 Feb 2004 01:46:24 +0000 (01:46 +0000)]
Ensure '.' and '..' don't match in delete requests.
Jeremy.
(This used to be commit 1b0d54170a2e3e61fc9bdedec6b10c8b7728a395)

20 years agoMore gentest error fixups.
Jeremy Allison [Tue, 24 Feb 2004 00:55:05 +0000 (00:55 +0000)]
More gentest error fixups.
Jeremy.
(This used to be commit 00f71fc8361919b87b62389ada8bd9a73f9f98b5)

20 years agoFixup bad-path error found by gentest.
Jeremy Allison [Tue, 24 Feb 2004 00:38:39 +0000 (00:38 +0000)]
Fixup bad-path error found by gentest.
Jeremy.
(This used to be commit 63d47f336464080e20e68f21d826e82786b9719e)

20 years agoAdded NTrename SMB (0xA5) - how did we miss this.... ?
Jeremy Allison [Tue, 24 Feb 2004 00:06:08 +0000 (00:06 +0000)]
Added NTrename SMB (0xA5) - how did we miss this.... ?
Jeremy.
(This used to be commit dfd7d1c2b7b577a084a94926abfce82c91f20b7e)

20 years agoFixup correct timeout values for blocking lock timeouts (tested at connectathon
Jeremy Allison [Tue, 24 Feb 2004 00:03:18 +0000 (00:03 +0000)]
Fixup correct timeout values for blocking lock timeouts (tested at connectathon
by Herb).
Jeremy.
(This used to be commit b38b3a554221a234127c740e6432048e69b7f5a3)

20 years agoFound by Fabien Chevalier <fabien.chevalier@supelec.fr> and
Andrew Bartlett [Mon, 23 Feb 2004 21:09:09 +0000 (21:09 +0000)]
Found by Fabien Chevalier <fabien.chevalier@supelec.fr> and
JustFillBug <mozbugbox@yahoo.com.au> on the Samba lists - a 'max
password age' of zero should be considered as 'never expire'.

For the timebeing we just set it like -1, but we might revisit this
for closer-to-ms behaviour.

Andrew Bartlett
(This used to be commit 9ffc490fce215dcaed8ebfc1db85f5017a692ca4)

20 years agoFix "unable to initialize" bug when smbd hasn't been run with
Jeremy Allison [Mon, 23 Feb 2004 20:12:31 +0000 (20:12 +0000)]
Fix "unable to initialize" bug when smbd hasn't been run with
new system and a user is being added via pdbedit/smbpasswd.
Found at Connectathon setup.
Jeremy.
(This used to be commit f9c7a42e895f50e15d2f5079bfb2cb389fdf2df4)

20 years agoJanitor for tpot...bugzilla #1098, msleep already exists on aix
Jim McDonough [Mon, 23 Feb 2004 02:54:03 +0000 (02:54 +0000)]
Janitor for tpot...bugzilla #1098, msleep already exists on aix
(This used to be commit 4319df7fdc2d878c509381923cc1db4d731620ba)

20 years agoAdd bad password count/time attributes
Jim McDonough [Mon, 23 Feb 2004 02:47:33 +0000 (02:47 +0000)]
Add bad password count/time attributes
(This used to be commit 003318939f7e476f5f2a5f345e8a81a228fc89a7)

20 years agoAdd bad password count/time attributes
Jim McDonough [Sun, 22 Feb 2004 20:25:43 +0000 (20:25 +0000)]
Add bad password count/time attributes
(This used to be commit 184bef8413b17a0e42d1c5bce3d08ae1533818ca)

20 years agoAdd calls to password lockout functions. Should now work against tdbsam only.
Jim McDonough [Sat, 21 Feb 2004 17:41:28 +0000 (17:41 +0000)]
Add calls to password lockout functions.  Should now work against tdbsam only.
(This used to be commit 3e8a9c3584ff2a3c2e120c97569676ac45ec8e59)

20 years agoprintf -> d_printf
Tim Potter [Sat, 21 Feb 2004 00:28:48 +0000 (00:28 +0000)]
printf -> d_printf

Bugzilla #1066.
(This used to be commit 2285ec9737d7d1767e60cf43c3a55f10643371be)

20 years agoMake SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy Allison [Fri, 20 Feb 2004 23:19:39 +0000 (23:19 +0000)]
Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy.
(This used to be commit 0ea0ada6c609e1bb0fb4aace24e1beb7197495b5)

20 years agoMake us bug-for-bug compatible with W2K3 - to get delete on close semantics
Jeremy Allison [Fri, 20 Feb 2004 22:45:53 +0000 (22:45 +0000)]
Make us bug-for-bug compatible with W2K3 - to get delete on close semantics
on an initial open the desired_access field *must* contain DELETE_ACCESS,
simply having it map from a GENERIC_ALL won't do. Fixes delete on close test.
Jeremy.
(This used to be commit 5c6f8b1053fd1f170fbb76640649653f8aa80f18)

20 years agohandle both 0 and -1 as disabling reset count and lockout duration
Jim McDonough [Fri, 20 Feb 2004 16:00:25 +0000 (16:00 +0000)]
handle both 0 and -1 as disabling reset count and lockout duration
(This used to be commit 84fe24e64ee405bb25878c1e5fdf50592eb75f73)

20 years agoMake default lockout duration and reset count time 30 minutes, to match windows,...
Jim McDonough [Fri, 20 Feb 2004 15:59:05 +0000 (15:59 +0000)]
Make default lockout duration and reset count time 30 minutes, to match windows, and also be valid (0 was invalid)
(This used to be commit 7ff42fffb2b207aea1dba306c914c7e09994d608)

20 years agojust say no to crack
Gerald Carter [Fri, 20 Feb 2004 15:52:14 +0000 (15:52 +0000)]
just say no to crack
(This used to be commit 66be4492aade625417a6cd727bbe8c6bfb224368)

20 years ago<attr/xattr.h> & <sys/xattr.h> are mutually exclusive it seems; fix build on SuSE 8.2
Gerald Carter [Fri, 20 Feb 2004 15:50:18 +0000 (15:50 +0000)]
<attr/xattr.h> & <sys/xattr.h> are mutually exclusive it seems; fix build on SuSE 8.2
(This used to be commit 34e6c5f8f3829e9ff6dd3f1377170fb150bfcec1)

20 years agoFixup correct (as per W2K3) returns for lookupsids as well as lookupnames.
Jeremy Allison [Thu, 19 Feb 2004 23:00:01 +0000 (23:00 +0000)]
Fixup correct (as per W2K3) returns for lookupsids as well as lookupnames.
Inspired by Volkers patch.
Jeremy.
(This used to be commit a47127e90e7d0928b772ba45bd843eeeacc9ef8a)

20 years agosys/xattr.h merge from HEAD
Gerald Carter [Thu, 19 Feb 2004 22:17:54 +0000 (22:17 +0000)]
sys/xattr.h merge from HEAD
(This used to be commit 798dd7299e3ba5cd7e829f48bb42eb9cbfc71dd4)

20 years agoEnable checking/resetting of account lockout and bad password based on policy
Jim McDonough [Thu, 19 Feb 2004 21:40:22 +0000 (21:40 +0000)]
Enable checking/resetting of account lockout and bad password based on policy
(This used to be commit bd2e55399c21707d40199e4b519daefd897aadc7)

20 years agoClean up bad pw count and autolock flag update fn()s
Jim McDonough [Thu, 19 Feb 2004 21:37:24 +0000 (21:37 +0000)]
Clean up bad pw count and autolock flag update fn()s
(This used to be commit 9a79f9fbcb43085e419dbccd670a54256d01cb4b)

20 years agoAdd bad pw count and autolock flag update fn()s
Jim McDonough [Thu, 19 Feb 2004 18:35:43 +0000 (18:35 +0000)]
Add bad pw count and autolock flag update fn()s
(This used to be commit 600fcd534b6e101b6a12774946b0e9814c6f54a8)

20 years agomerging some fixes from the release branch; more to come later
Gerald Carter [Thu, 19 Feb 2004 17:01:06 +0000 (17:01 +0000)]
merging some fixes from the release branch; more to come later
(This used to be commit 7769a0d33cda0049d32a8a8339c3d4739d6d3604)

20 years agoAdd bad password reset and display of bad password count/time
Jim McDonough [Thu, 19 Feb 2004 16:00:29 +0000 (16:00 +0000)]
Add bad password reset and display of bad password count/time
(This used to be commit 34fe16e445bd9da762cedb0dd0872959f31ecd67)

20 years agoAdd functions to get/set bad password time
Jim McDonough [Thu, 19 Feb 2004 15:59:35 +0000 (15:59 +0000)]
Add functions to get/set bad password time
(This used to be commit 557f598c63f64c1c5b982a9057c0eea2a2ff2ee5)

20 years agoAdd bad password time fields
Jim McDonough [Thu, 19 Feb 2004 15:57:53 +0000 (15:57 +0000)]
Add bad password time fields
(This used to be commit 59e7c3ababd0bb8bc91cbc421b7a842cca38101f)

20 years agoFix the "too many fcntl locks" scalability problem raised by tridge.
Jeremy Allison [Thu, 19 Feb 2004 01:55:24 +0000 (01:55 +0000)]
Fix the "too many fcntl locks" scalability problem raised by tridge.
I've now tested this in daemon mode and also on xinetd and I'm pretty
sure it's working.
Jeremy.
(This used to be commit 14dee038019b11300466b148c53515fc76e5e870)

20 years agoFix incorrect strnicmp len
Steve French [Tue, 17 Feb 2004 22:51:42 +0000 (22:51 +0000)]
Fix incorrect strnicmp len
(This used to be commit ad1ebb5000066d44ce94f0341fb31351b3900e95)

20 years agoFix based on Volker's code to correctly return code from lsa_lookup_sids
Jeremy Allison [Tue, 17 Feb 2004 22:46:25 +0000 (22:46 +0000)]
Fix based on Volker's code to correctly return code from lsa_lookup_sids
on unmapped sids.
Jeremy.
(This used to be commit 37a52c31682fcf115eefc31381c02a3ec29c1f8d)

20 years agoDisable dev (MS_NODEV) on user mounts from cifs vfs
Steve French [Tue, 17 Feb 2004 21:31:25 +0000 (21:31 +0000)]
Disable dev (MS_NODEV) on user mounts from cifs vfs
(This used to be commit 9b0d1072bc66d05d0e9afcbe0da349ccaa99ba6e)

20 years agoWhen creating a group via a script, don't let winbind do it as well.
Volker Lendecke [Tue, 17 Feb 2004 21:25:42 +0000 (21:25 +0000)]
When creating a group via a script, don't let winbind do it as well.

Volker
(This used to be commit 6a229f1488c2f0935c24e223614e4c88b36d15c0)

20 years agoBe able to set alias info for builtin as well.
Volker Lendecke [Tue, 17 Feb 2004 15:54:57 +0000 (15:54 +0000)]
Be able to set alias info for builtin as well.

Volker
(This used to be commit 7a947ecdf56f2dd02811262372708f8a74bfedad)

20 years agoDon't try to show groups that could not be listed.
Volker Lendecke [Tue, 17 Feb 2004 15:24:28 +0000 (15:24 +0000)]
Don't try to show groups that could not be listed.

Volker
(This used to be commit d713e76a24583acaffa0be67838e7629b980ff29)

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)