samba.git
23 years agomerge from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:51:08 +0000 (21:51 +0000)]
merge from 2.2
(This used to be commit aec000bf50289ce4118f27c419460343556d4afe)

23 years agomeger from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:46:33 +0000 (21:46 +0000)]
meger from 2.2
(This used to be commit 6322dd0c9e54ef69924686fee7d6b9a8ff7c64a5)

23 years agomerge
Gerald Carter [Thu, 19 Apr 2001 21:43:29 +0000 (21:43 +0000)]
merge
(This used to be commit 6b38c1cb253c2918f2d57b8540c32d9e5bf9bb02)

23 years agomerge from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:41:48 +0000 (21:41 +0000)]
merge from 2.2
(This used to be commit 6270765ed5d4e94d34af6d512f17f403b9624699)

23 years agoanother merge from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:41:01 +0000 (21:41 +0000)]
another merge from 2.2
(This used to be commit f8e4876a04add168a17652431e85a9c2b5b6c619)

23 years agolarge sync up with 2.2
Gerald Carter [Thu, 19 Apr 2001 21:33:44 +0000 (21:33 +0000)]
large sync up with 2.2
(This used to be commit 96523293da19df201703fed6130f1ff9ba25324b)

23 years agosyncing up with 2.2
Gerald Carter [Thu, 19 Apr 2001 21:30:20 +0000 (21:30 +0000)]
syncing up with 2.2
(This used to be commit dd83f412e9c60c02bf1d5e11a13a6122c71375ca)

23 years agobeginning of big merge of docs from 2.2
Gerald Carter [Thu, 19 Apr 2001 21:07:17 +0000 (21:07 +0000)]
beginning of big merge of docs from 2.2
(This used to be commit 30e385a737e386015d4256f8b3e11b35a35b2268)

23 years agodon't make extra copy of README file
Herb Lewis [Thu, 19 Apr 2001 19:37:47 +0000 (19:37 +0000)]
don't make extra copy of README file
(This used to be commit fbd05be7238cd5055fef0d63491f5891f0fc6b30)

23 years agomerge from 2_2
Andrew Tridgell [Thu, 19 Apr 2001 13:47:12 +0000 (13:47 +0000)]
merge from 2_2
(This used to be commit 5e9a2084bfa555295f60485fc83f9bb9245f3fd4)

23 years agoa missing string conversion.
Jean-François Micouleau [Wed, 18 Apr 2001 17:57:53 +0000 (17:57 +0000)]
a missing string conversion.

J.F.
(This used to be commit 9513eb87c2d113fe27bcea2add05226495c33cb8)

23 years agonew files for head
Andrew Tridgell [Wed, 18 Apr 2001 16:42:07 +0000 (16:42 +0000)]
new files for head
(This used to be commit c0d4a1f5dd34e49843c879dd88fc78c7dffd9269)

23 years agomerge from 2.2
Andrew Tridgell [Wed, 18 Apr 2001 16:41:04 +0000 (16:41 +0000)]
merge from 2.2
(This used to be commit f52a5014ee325f9d91f266f88eac51b6136a75b9)

23 years agoRemoved mktemp from HEAD - same as done in 2.2.
Jeremy Allison [Wed, 18 Apr 2001 05:12:46 +0000 (05:12 +0000)]
Removed mktemp from HEAD - same as done in 2.2.
Jeremy.
(This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)

23 years agopatch from Steve Langasek <vorlon@netexpress.net> to make sure we
Jeremy Allison [Wed, 18 Apr 2001 04:34:42 +0000 (04:34 +0000)]
patch from Steve Langasek <vorlon@netexpress.net> to make sure we
don't use pam_setcred() if we haven't called pam_authenticate()
Merge from 2.2
Jeremy.
(This used to be commit 89589895e3adce75ecd6205547392326cf291543)

23 years agoMerge of changes from 2.2.
Jeremy Allison [Wed, 18 Apr 2001 04:33:24 +0000 (04:33 +0000)]
Merge of changes from 2.2.
Jeremy.
(This used to be commit df912162bbe93611c80defe830641f580687edbb)

23 years agoRememver to use VFS at all times... even in new user_can_read_file code :-).
Jeremy Allison [Wed, 18 Apr 2001 02:27:23 +0000 (02:27 +0000)]
Rememver to use VFS at all times... even in new user_can_read_file code :-).
Jeremy.
(This used to be commit 0d10113d01d6d15f470359259a76e4f107a06c73)

23 years agoMerged Andrew's wfw fix (2).
Jeremy Allison [Tue, 17 Apr 2001 07:09:42 +0000 (07:09 +0000)]
Merged Andrew's wfw fix (2).
Jeremy.
(This used to be commit a4fb755a48d27f21bd0a5d9e9d1227a08c13bdff)

23 years agoAIX ACLs donated by IBM.
Jeremy Allison [Tue, 17 Apr 2001 05:41:07 +0000 (05:41 +0000)]
AIX ACLs donated by IBM.
Merge Andrew's fnmatch fix for WfW.
Jeremy.
(This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)

23 years agohide unreadable patch from idra
Andrew Tridgell [Mon, 16 Apr 2001 15:16:31 +0000 (15:16 +0000)]
hide unreadable patch from idra
(This used to be commit 7b6cfe243002a92f5dfb52413e9b3550c61cecfb)

23 years agoAdded --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy Allison [Mon, 16 Apr 2001 07:10:55 +0000 (07:10 +0000)]
Added --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy.
(This used to be commit 1cfc542685f3ad6c16e922ca35043a1a9ce57f8e)

23 years agoGrr - fixed compile error in smbwrapper stuff.
Tim Potter [Mon, 16 Apr 2001 02:42:10 +0000 (02:42 +0000)]
Grr - fixed compile error in smbwrapper stuff.
(This used to be commit 11a7c5e3d61348dc8c5dfdc782a95974a1547e4d)

23 years agoGetting medieval with compiler warnings as Jeremy puts it.
Tim Potter [Mon, 16 Apr 2001 02:35:35 +0000 (02:35 +0000)]
Getting medieval with compiler warnings as Jeremy puts it.
(This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)

23 years agoFinally got the semantics right (hurrah!).
Jeremy Allison [Mon, 16 Apr 2001 00:34:03 +0000 (00:34 +0000)]
Finally got the semantics right (hurrah!).
Jeremy.
(This used to be commit 362574c5a32005d4247c7ac75a5aa9e35e894db0)

23 years agoCorrect fix for open readonly with truncate.
Jeremy Allison [Mon, 16 Apr 2001 00:02:29 +0000 (00:02 +0000)]
Correct fix for open readonly with truncate.
Jeremy.
(This used to be commit 6706e258e17c3d69d617b95feb3407124f50852d)

23 years agoFixed potential bug in "become_guest" pointed out by elrond. Get_Pwnam()
Jeremy Allison [Sun, 15 Apr 2001 23:36:05 +0000 (23:36 +0000)]
Fixed potential bug in "become_guest" pointed out by elrond. Get_Pwnam()
returns a pointer to changable storage so ensure we save the details and
don't use the pointer directly.
Jeremy.
(This used to be commit d9fdaae54ee3a267aebd02ff6058a98aefc084c2)

23 years agoPatch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> to
Jeremy Allison [Sun, 15 Apr 2001 22:29:36 +0000 (22:29 +0000)]
Patch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> to
map usernames before calling password change.
Jeremy.
(This used to be commit ce2a236dc61d819e083b32556a2d9f827944b91c)

23 years agoAdded Darwin guess.
Jeremy Allison [Sun, 15 Apr 2001 22:21:04 +0000 (22:21 +0000)]
Added Darwin guess.
lib/util_str.c: Excellent patch from  Kenichi Okuyama <okuyamak@dd.iij4u.or.jp>
to speed up trim_string handling !
Jeremy.
(This used to be commit 4bb63ba615c735a298a6cbda2c87242695104978)

23 years agoFix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other than
Jeremy Allison [Sun, 15 Apr 2001 21:22:18 +0000 (21:22 +0000)]
Fix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other than
nmbd to talk to nmbd if it's a WINS server.
Jeremy.
(This used to be commit 0e8147aecaf6941c77fd05b4b705ca31c1ec5760)

23 years agoFix from Tony Butt - shouldn't set got_pass for -c option.
Jeremy Allison [Sun, 15 Apr 2001 20:40:08 +0000 (20:40 +0000)]
Fix from Tony Butt - shouldn't set got_pass for -c option.
Jeremy.
(This used to be commit 83aa76205858a0d0a0fa2a22648e727b796908f2)

23 years agoRemoved one samba-bugs ref. from source.
Jeremy Allison [Sat, 14 Apr 2001 21:26:45 +0000 (21:26 +0000)]
Removed one samba-bugs ref. from source.
Jeremy.
(This used to be commit d40ee1707d1d3cf04358bca7fad16ebc15bd4845)

23 years agoThis little piece of insanity is inspired by the
Jeremy Allison [Sat, 14 Apr 2001 20:47:30 +0000 (20:47 +0000)]
This little piece of insanity is inspired by the
fact that an NT client can open a file for O_RDONLY,
but set the create disposition to FILE_EXISTS_TRUNCATE.
If the client *can* write to the file, then it expects to
truncate the file, even though it is opening for readonly.
Quicken uses this stupid trick in backup file creation...
Thanks *greatly* to "David W. Chapman Jr." <dwcjr@inethouston.net>
for helping track this one down. It didn't bite us in 2.0.x
as we always opened files read-write in that release.
Jeremy.
(This used to be commit 5baef56831f9bc4fa10a851abd5f9305b974fb3b)

23 years agoAdded POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. Changed
Jeremy Allison [Sat, 14 Apr 2001 19:46:28 +0000 (19:46 +0000)]
Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. Changed
a bit to use AC_TRY_LINK to ensure functions are available for link
instead of AC_TRY_COMPILE.
Jeremy.
(This used to be commit c23628746342b6afa28cb34b0b4eaa61189ad390)

23 years agoPatch from Mandrakesoft to ensure we close all files.
John Terpstra [Sat, 14 Apr 2001 18:39:32 +0000 (18:39 +0000)]
Patch from Mandrakesoft to ensure we close all files.
(This used to be commit 8051406588987005f621cb095067d3628638d250)

23 years agoFix for True64 treating readonly as a reserved word !
Jeremy Allison [Sat, 14 Apr 2001 00:41:15 +0000 (00:41 +0000)]
Fix for True64 treating readonly as a reserved word !
Jeremy.
(This used to be commit d6889b1954bd863fd04cf43fb25f178b1d1ab67f)

23 years agoconfigure:
Jeremy Allison [Sat, 14 Apr 2001 00:19:12 +0000 (00:19 +0000)]
configure:
configure.in:
include/config.h.in:
include/profile.h:
smbd/vfs-wrap.c:
smbd/vfs.c:
Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway).
smbd/dosmode.c:
smbd/files.c:
printing/printfsp.c:
smbd/close.c:
smbd/open.c:
Fixed "dos filemode" correctly so there are no race conditions. Forces test
of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls
standard close function that preserves POSIX locks due to POSIX-me-harder
braindamage. :-). Andrew please review this code.
Also - in removing the tmpdir param in smbrun an extra NULL parameter
was missed in each print_run_command() call (which is a varargs fn.).
Now fixed.
Jeremy.
(This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)

23 years agoMichael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentially
Jeremy Allison [Fri, 13 Apr 2001 21:11:57 +0000 (21:11 +0000)]
Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentially
return a malloced area so added sys_acl_free_qualifier() calls to all supported
ACL interfaces to code with this (only Linux needs actual free call).
Jeremy.
(This used to be commit 5870e6019b82d2088b99acdc0f84e9e4847a1fa5)

23 years agoFixed potential file descriptor leak with MS-Access fix.
Jeremy Allison [Fri, 13 Apr 2001 20:49:11 +0000 (20:49 +0000)]
Fixed potential file descriptor leak with MS-Access fix.
Jeremy.
(This used to be commit 192887fe72157a141b8df1977085f479e5204782)

23 years agoAdded fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hard
Jeremy Allison [Fri, 13 Apr 2001 19:33:26 +0000 (19:33 +0000)]
Added fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hard
limit before setting soft limit.
Jeremy.
(This used to be commit a1eb2752a8bee9cc7d92c664c3de84e02620933d)

23 years agoMerge of Andrew's changes in 2.2.
Jeremy Allison [Fri, 13 Apr 2001 19:12:06 +0000 (19:12 +0000)]
Merge of Andrew's changes in 2.2.
Jeremy.
(This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)

23 years agoAdding the "Using Samba" book to the packaging in HEAD.
Shirish Kalele [Fri, 13 Apr 2001 18:18:25 +0000 (18:18 +0000)]
Adding the "Using Samba" book to the packaging in HEAD.
(This used to be commit 4f06373bc450b27692619ae877d29767ad160297)

23 years agoUpdated with Andrew Bartlett patch.
John Terpstra [Fri, 13 Apr 2001 04:27:50 +0000 (04:27 +0000)]
Updated with Andrew Bartlett patch.
(This used to be commit 02e84267f74b26bdf7f76c0fc9dbaecbc8574d58)

23 years agoUpdated Major/Minor version to 4.50 - see notes.
John Terpstra [Fri, 13 Apr 2001 02:51:58 +0000 (02:51 +0000)]
Updated Major/Minor version to 4.50 - see notes.
(This used to be commit bdb68cf37e9b512e9f72f1cf20b7ca265888319e)

23 years agoAs Andrew suggested, make smbrun return a fd for a deleted file which can then
Jeremy Allison [Fri, 13 Apr 2001 00:37:00 +0000 (00:37 +0000)]
As Andrew suggested, make smbrun return a fd for a deleted file which can then
be read.
Jeremy.
(This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)

23 years agoforgot one thing
Gerald Carter [Thu, 12 Apr 2001 22:15:57 +0000 (22:15 +0000)]
forgot one thing
(This used to be commit a17f2471571596e97b212ff9de1c8b45dac12eb6)

23 years agostill working on it
Gerald Carter [Thu, 12 Apr 2001 22:14:20 +0000 (22:14 +0000)]
still working on it
(This used to be commit ff7c5be88a05c0f1858fedb966ccfc038299bbc9)

23 years agoCan't use space in random string used for exec.
Jeremy Allison [Thu, 12 Apr 2001 07:20:15 +0000 (07:20 +0000)]
Can't use space in random string used for exec.
Jeremy.
(This used to be commit 8ab1d5663e6b25bc101cd388ef6c312ddb88b988)

23 years agoChanged lp_add/delete/enum scripts to use lockdir if spool dir doesn't
Jeremy Allison [Thu, 12 Apr 2001 07:00:08 +0000 (07:00 +0000)]
Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn't
exist for printer. Rather than using pid for suffix, use a 16 byte random
string. Created generate_random_str() function in genrand.c. Still needs
more testing but this is the way to go.
Jeremy.
(This used to be commit 71a330987f990007beb16f00fc468107361b5e9d)

23 years agoAdded a caching system to smbsh. Previously access to workgroup or server
Tim Potter [Thu, 12 Apr 2001 05:53:07 +0000 (05:53 +0000)]
Added a caching system to smbsh.  Previously access to workgroup or server
directories under /smb generated net share enum or net server enum calls.
For large networks this could result in bad performance.  We now cache these
results and only call net * enums after the cache timeout has exceeded.
(This used to be commit 1e38eef54d729aeb7fe905b344cf1480c686a348)

23 years agoMerged John's changes.
Jeremy Allison [Thu, 12 Apr 2001 05:32:27 +0000 (05:32 +0000)]
Merged John's changes.
Jeremy.
(This used to be commit add847778bf458238bf2a1b14ab71b8cdfd7aec0)

23 years agofix broken links in SWAT due to upper case anchors in the generated
Gerald Carter [Thu, 12 Apr 2001 05:24:57 +0000 (05:24 +0000)]
fix broken links in SWAT due to upper case anchors in the generated
HTML man pages.  Spotted by Herb.
(This used to be commit be45c82c3ab3b626cd761f2cec3b160df2b7fcac)

23 years agoTo stop people complaining about the mktemp call, move it into lib/util.c. Thanks
Jeremy Allison [Wed, 11 Apr 2001 23:19:08 +0000 (23:19 +0000)]
To stop people complaining about the mktemp call, move it into lib/util.c. Thanks
to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke
XFS ACL code.
Jeremy.
(This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)

23 years agoFix for core dump in security = share code with new share security db.
Jeremy Allison [Wed, 11 Apr 2001 21:19:25 +0000 (21:19 +0000)]
Fix for core dump in security = share code with new share security db.
Jeremy.
(This used to be commit 20b13bafdff2fd7be9219ed164e7fe91b597298d)

23 years agoAdding Solaris packaging files to HEAD.
Shirish Kalele [Wed, 11 Apr 2001 02:28:38 +0000 (02:28 +0000)]
Adding Solaris packaging files to HEAD.
(This used to be commit 3ac5f6b59ee30d12bfec0cc36cf00b9e9798a453)

23 years agoChanged the order of -kPIC and -kpic.
Jeremy Allison [Wed, 11 Apr 2001 02:02:45 +0000 (02:02 +0000)]
Changed the order of -kPIC and -kpic.
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS.
Jeremy.
(This used to be commit 144a2906810e8d4414d627835eb80f60bd1d88a4)

23 years agoFixed some compiler warnings.
Tim Potter [Wed, 11 Apr 2001 01:50:12 +0000 (01:50 +0000)]
Fixed some compiler warnings.
(This used to be commit cda0f211b0dd41ae72ef3d65b9476c11c6f72de3)

23 years agoAdded SMB_ prefix to enums that clash with Solaris ACL definitions.
Jeremy Allison [Wed, 11 Apr 2001 01:34:37 +0000 (01:34 +0000)]
Added SMB_ prefix to enums that clash with Solaris ACL definitions.
Jeremy.
(This used to be commit 493d2c316a9e80de0239ef3a6f0b3f4ec9ac6e13)

23 years agoUpdating pampass from Samba-2.2 code tree. ===> JHT
John Terpstra [Wed, 11 Apr 2001 01:29:42 +0000 (01:29 +0000)]
Updating pampass from Samba-2.2 code tree. ===> JHT
(This used to be commit 88b6043b4e26c2771e0c444376b7017f5048baf8)

23 years agoRestrict dfs add and dfs remote to root at Shirish's advice.
Jeremy Allison [Wed, 11 Apr 2001 00:05:23 +0000 (00:05 +0000)]
Restrict dfs add and dfs remote to root at Shirish's advice.
Jeremy.
(This used to be commit 9dd77c4fb1282d23cfbfd9d0ed790be62534e201)

23 years agoMerged in missing break fix from Shirish.
Jeremy Allison [Tue, 10 Apr 2001 23:58:27 +0000 (23:58 +0000)]
Merged in missing break fix from Shirish.
Jeremy.
(This used to be commit 8ecf6c33673693ca64f99bd7fb26d3383658d86b)

23 years agoFixed missing HAVE_STDARG_H.
Jeremy Allison [Tue, 10 Apr 2001 22:01:53 +0000 (22:01 +0000)]
Fixed missing HAVE_STDARG_H.
Jeremy.
(This used to be commit 7cdd87954634cadda042df06c2f56aac40a7d743)

23 years agoFixed --with-automount compile error.
Jeremy Allison [Tue, 10 Apr 2001 21:43:37 +0000 (21:43 +0000)]
Fixed --with-automount compile error.
Jeremy.
(This used to be commit ab916199f542528293b3f63fe6f24eecd83eccb4)

23 years agoAdded HAVE_STDARG_H to tdbutil.c
Jeremy Allison [Tue, 10 Apr 2001 21:07:04 +0000 (21:07 +0000)]
Added HAVE_STDARG_H to tdbutil.c
Jeremy.
(This used to be commit e404e001990409eacf2e620d2269c2b162fa938b)

23 years agopassdb/pass_check.c: Ensure second check is done only if given username is all in...
Jeremy Allison [Tue, 10 Apr 2001 19:43:14 +0000 (19:43 +0000)]
passdb/pass_check.c: Ensure second check is done only if given username is all in caps.
rpc_server/srv_srvsvc_nt.c: Added "CONFIGFILE" arg to scripts so path to smb.conf is given.
Jeremy.
(This used to be commit 3c4c649951464be51541d5890afb997e3ecfcd23)

23 years agoAdded JohnT and Andrew Bartlett's PAM changes.
Jeremy Allison [Tue, 10 Apr 2001 18:10:38 +0000 (18:10 +0000)]
Added JohnT and Andrew Bartlett's PAM changes.
Jeremy.
(This used to be commit ecd00e258c6fe4e8d90f48da74874e090dce4a40)

23 years agoUse message system to notify when smb.conf is updated.
Jeremy Allison [Tue, 10 Apr 2001 01:44:45 +0000 (01:44 +0000)]
Use message system to notify when smb.conf is updated.
Jeremy.
(This used to be commit ae9eda5c3c3bbfc8ec795b43ab18dc492e5fdcf6)

23 years agolooking towards abstracting the passdb and uidmapping interfaces.
Gerald Carter [Mon, 9 Apr 2001 22:11:37 +0000 (22:11 +0000)]
looking towards abstracting the passdb and uidmapping interfaces.
This is more of a note to myself.  In not used anywhere yet.
(This used to be commit 442605c6bc81dd115f4df5cc20df3f61601c6013)

23 years agoFixup warnings about extra ';' from SGI compiler.
Jeremy Allison [Mon, 9 Apr 2001 21:03:48 +0000 (21:03 +0000)]
Fixup warnings about extra ';' from SGI compiler.
Jeremy.
(This used to be commit 7ee448d83263714676bd250ecc3805b08198e916)

23 years agoRemoved "read only" arg as it isn't useful.
Jeremy Allison [Mon, 9 Apr 2001 20:12:53 +0000 (20:12 +0000)]
Removed "read only" arg as it isn't useful.
Jeremy.
(This used to be commit 6b75d79c4bcfb8333aaf1ed61cf8bd022e498f75)

23 years agoTidy up return codes for server manager.
Jeremy Allison [Mon, 9 Apr 2001 18:03:02 +0000 (18:03 +0000)]
Tidy up return codes for server manager.
Jeremy.
(This used to be commit b4cbdcb644066e132d5c806ae4f45d6a05276beb)

23 years agoGet/Set of SD's on shares now works. Correctly ensure scripts exist before
Jeremy Allison [Mon, 9 Apr 2001 17:10:06 +0000 (17:10 +0000)]
Get/Set of SD's on shares now works. Correctly ensure scripts exist before
calling.
Jeremy.
(This used to be commit aae44ee41f2f133524e37f72b46b63ce6ddb192b)

23 years agoSet SD's for share. Added level 1501. Map GENERIC file bits to specific bits.
Jeremy Allison [Mon, 9 Apr 2001 08:00:19 +0000 (08:00 +0000)]
Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.
Jeremy.
(This used to be commit 04976c32f319531e16d890797b45a76dab64f370)

23 years agoEnsure Everyone/All access is mapped correctly to file generic perms to allow
Jeremy Allison [Mon, 9 Apr 2001 07:03:28 +0000 (07:03 +0000)]
Ensure Everyone/All access is mapped correctly to file generic perms to allow
anonymous IPC access.
Jeremy.
(This used to be commit 2f34e144c53d6be911de96298c55c34d08c4733f)

23 years agoAdded set/get SD's on shares. Check before tcon.
Jeremy Allison [Mon, 9 Apr 2001 06:36:38 +0000 (06:36 +0000)]
Added set/get SD's on shares. Check before tcon.
Jeremy.
(This used to be commit 036b1a8b09fe6a7cca83d631624145574acad7f2)

23 years agoHEAD specific slprintf paranoia fixes.
Jeremy Allison [Sun, 8 Apr 2001 20:31:39 +0000 (20:31 +0000)]
HEAD specific slprintf paranoia fixes.
Jeremy.
(This used to be commit 61723c18f96a7b38cab0fcf545da7fb3640c5f7b)

23 years agoGot "medieval on our ass" about adding the -1 to slprintf.
Jeremy Allison [Sun, 8 Apr 2001 20:22:39 +0000 (20:22 +0000)]
Got "medieval on our ass" about adding the -1 to slprintf.
Jeremy.
(This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)

23 years agoAdded per-share security tdb. Tidied up many slprintfs (need -1 on length).
Jeremy Allison [Sun, 8 Apr 2001 20:01:51 +0000 (20:01 +0000)]
Added per-share security tdb. Tidied up many slprintfs (need -1 on length).
Jeremy.
(This used to be commit d786191bc116c17a3f53a1c272d969942b7e5d25)

23 years agoFixed up the "add" command - although not SD's yet. Now for the SD db and
Jeremy Allison [Sat, 7 Apr 2001 18:46:47 +0000 (18:46 +0000)]
Fixed up the "add" command - although not SD's yet. Now for the SD db and
the "change" command.
Jeremy.
(This used to be commit bdec63bedbeabb9d74d68a7f03254acc291df76b)

23 years agoAdded 3 params to manipulate shares. "add share command/change share command/
Jeremy Allison [Sat, 7 Apr 2001 00:36:38 +0000 (00:36 +0000)]
Added 3 params to manipulate shares. "add share command/change share command/
delete share command". Implemented "delete" - more work to come on add and
change.
Jeremy.
(This used to be commit 2e6b1759e14456421066ee131af70a495f862f2b)

23 years agoFix from Ed Boraas for not core dumping when out of connection structs.
Jeremy Allison [Fri, 6 Apr 2001 20:32:36 +0000 (20:32 +0000)]
Fix from Ed Boraas for not core dumping when out of connection structs.
Jeremy.
(This used to be commit f50ea32dd0deb07c626c211caedd86dc1ccd5427)

23 years agokeep cflags from being duplicated if defined in environment
Herb Lewis [Fri, 6 Apr 2001 18:37:55 +0000 (18:37 +0000)]
keep cflags from being duplicated if defined in environment
(This used to be commit 2097298565b367157a3bc0c1178f17b1a6bbdd86)

23 years agoImplemented stub function for NET_SHARE_DELETE. Now to implement the real
Jeremy Allison [Fri, 6 Apr 2001 18:25:17 +0000 (18:25 +0000)]
Implemented stub function for NET_SHARE_DELETE. Now to implement the real
internals to support server manager.
Jeremy
(This used to be commit 3512ba1f655d5588db87f1afa1d12f599ad7b74a)

23 years agoAdded stub function for NET_SHARE_ADD. Once this is implemented to call a hook
Jeremy Allison [Fri, 6 Apr 2001 17:41:47 +0000 (17:41 +0000)]
Added stub function for NET_SHARE_ADD. Once this is implemented to call a hook
function (same for NET_SHARE_DELETE and NET_SHARE_SET) we will be able to manage
the shares section in smb.conf via NT server manager........
This should enhance the friendliness of Samba in NT-only shops by an order of
magnitude.
Jeremy.
(This used to be commit a2cd5f2ba11164a17622b96374ab43070f9ed691)

23 years agoIf we can't open the username map file, at least print the strerror.
Jeremy Allison [Fri, 6 Apr 2001 17:13:16 +0000 (17:13 +0000)]
If we can't open the username map file, at least print the strerror.
Jeremy.
(This used to be commit abf436153a476b7c5a7bff31f1e657b8f53b9dee)

23 years agoNT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass the
Jeremy Allison [Fri, 6 Apr 2001 02:12:07 +0000 (02:12 +0000)]
NT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass the
server manager tests :-). Ensure we don't set a return level on set as
server manager barfs....
Jeremy.
(This used to be commit cb66e78c181878809e367f4f03f3b4c31cb4b8e1)

23 years agoWe can now use server manager to look at Samba shares. NT still expects a ":"
Jeremy Allison [Fri, 6 Apr 2001 01:39:12 +0000 (01:39 +0000)]
We can now use server manager to look at Samba shares. NT still expects a ":"
in the path though.... I'm looking into it.
Jeremy.
(This used to be commit a152c2c59a9a8972a3c73287e26e4de2f49c2d65)

23 years agoSetup syslog correctly in swat. Patch from Andrew Bartlett.
Jeremy Allison [Thu, 5 Apr 2001 21:31:12 +0000 (21:31 +0000)]
Setup syslog correctly in swat. Patch from Andrew Bartlett.
Jeremy.
(This used to be commit ffd9bf192273370c1ebf6f1a2d5ebe8d8c434133)

23 years agoFix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.
Jeremy Allison [Thu, 5 Apr 2001 20:52:02 +0000 (20:52 +0000)]
Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.
Jeremy.
(This used to be commit ffa800e980bfed3d82ec7b0a037085c4558f8f0f)

23 years agoFix from "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota code
Jeremy Allison [Thu, 5 Apr 2001 20:46:15 +0000 (20:46 +0000)]
Fix from  "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota code
to work on Solaris 2.6.
Jeremy.
(This used to be commit bd2fe239db24b8b3fa6a906542af2e238f435331)

23 years agoTidy up tmp file handling.
Jeremy Allison [Thu, 5 Apr 2001 19:17:54 +0000 (19:17 +0000)]
Tidy up tmp file handling.
Jeremy.
(This used to be commit 1751a6316af91d5d2e31c3a7e8de2841aae033c7)

23 years agoI know we're supposed to be feature frozen, but I couldn't resist this... :-).
Jeremy Allison [Wed, 4 Apr 2001 23:42:17 +0000 (23:42 +0000)]
I know we're supposed to be feature frozen, but I couldn't resist this... :-).
I worked out and added the per-share get/set RPCs for security descriptors.
Currently this code returns Everyone, full access on get and permission denied
on set, but backending this with a tdb and checking it on tconX (to give full NT
semantics for security on shares) is now an excersise for the reader... :-).
Jeremy.
(This used to be commit 3bfd155ba78798c50588904d4ea3389f50f8abb6)

23 years agoFix for broken RelientUNIX.
Jeremy Allison [Wed, 4 Apr 2001 17:20:57 +0000 (17:20 +0000)]
Fix for broken RelientUNIX.
Jeremy.
(This used to be commit 6808ec0d471d8b436506bbd7b9db67c28832be76)

23 years agoMissed forms update - my CVS mistake.
Jeremy Allison [Tue, 3 Apr 2001 23:09:04 +0000 (23:09 +0000)]
Missed forms update - my CVS mistake.
Jeremy.
(This used to be commit 06dee898607ff2bf194d53fb55ad6d82e8f305e8)

23 years agotest commit for jeremy
Andrew Tridgell [Tue, 3 Apr 2001 22:52:38 +0000 (22:52 +0000)]
test commit for jeremy
(This used to be commit d747ab8ab37ca20635f99a9dff64a635461852a6)

23 years agoSync up with new NT forms code.
Jeremy Allison [Tue, 3 Apr 2001 22:41:31 +0000 (22:41 +0000)]
Sync up with new NT forms code.
Jeremy.
(This used to be commit 63ce316d870be0cf61ae669c955479ec175fdaef)

23 years agoAdded XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.
Jeremy Allison [Tue, 3 Apr 2001 00:40:01 +0000 (00:40 +0000)]
Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.
Jeremy.
(This used to be commit 0865366f6b1070a8db3d8421c37c8072b36b96e3)

23 years agoIRIX ACLs from Herb.
Jeremy Allison [Mon, 2 Apr 2001 23:05:25 +0000 (23:05 +0000)]
IRIX ACLs from Herb.
Jeremy.
(This used to be commit 2f2365e93833e5f08dc14ab0022dd9f6f0d028ad)

23 years agoinclude/ntdomain.h:
Jeremy Allison [Mon, 2 Apr 2001 22:27:40 +0000 (22:27 +0000)]
include/ntdomain.h:
rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe
that opened the handle may have been closed. We were dereferencing
into something that had been closed.
rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2.
lib/replace.c: Don't do proto on setlinebuf as it differs between systems.
Jeremy.
(This used to be commit 887ef3e12dc56b89b2284d42b16a81f03e15110b)

23 years agoIntegrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>
Jeremy Allison [Sun, 1 Apr 2001 19:00:43 +0000 (19:00 +0000)]
Integrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>
Jeremy
(This used to be commit 181d41572ceb17dc765d3c0f1a05934e35f56a61)

23 years agoconfigure configure.in include/config.h.in lib/replace.c: Added test and replacement
Jeremy Allison [Sat, 31 Mar 2001 19:06:45 +0000 (19:06 +0000)]
configure configure.in include/config.h.in lib/replace.c: Added test and replacement
for setlinebuf which apparantly doesn't exist on HPUX 11.
include/byteorder.h:
rpc_parse/parse_prs.c:
Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deleted
all the *HORRIBLE* DBG_RW_XXX and RW_XXX macros from include/byteorder.h.
They were macros that included macros that had conditional macros included.
No one understood them (they were the cause of most of the bigendian issue
bugs). Finally, I went into parse_prs.c and inlined all of that stuff with
regular function calls. They're understandable, they're easy to edit and
they don't include macros !
JF - please look at the one comment I added (JF PLEASE CHECK). I have
tested this partly with IRIX (a bigendian system) running with AS/U on
a Solaris box in SGI's lab, and I've also confirmed these new changes
work with W2K (vmware) but there may be the odd bug lurking. Herb, if
you could re-checkout and test again with this code that would help.

Extra.  Fixed bug spotted by the sharp eyes of JF - big endian unicode
packet would cause a early truncate of string parsing as we were checking for a char *
0, not a uint16 * 0.

Jeremy.
(This used to be commit 13765eca71e54aa5d048ce36cd8066b8406777c8)