1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

5225 Commits

Author SHA1 Message Date
Jeremy Allison
82afede9fa Merged Andrew's wfw fix (2).
Jeremy.
(This used to be commit a4fb755a48)
2001-04-17 07:09:42 +00:00
Jeremy Allison
8a1c2e0298 AIX ACLs donated by IBM.
Merge Andrew's fnmatch fix for WfW.
Jeremy.
(This used to be commit 1d4438f077)
2001-04-17 05:41:07 +00:00
Andrew Tridgell
4355098a75 hide unreadable patch from idra
(This used to be commit 7b6cfe2430)
2001-04-16 15:16:31 +00:00
Jeremy Allison
8c0a1c61cc Added --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy.
(This used to be commit 1cfc542685)
2001-04-16 07:10:55 +00:00
Tim Potter
bda419be61 Grr - fixed compile error in smbwrapper stuff.
(This used to be commit 11a7c5e3d6)
2001-04-16 02:42:10 +00:00
Tim Potter
af08cd21eb Getting medieval with compiler warnings as Jeremy puts it.
(This used to be commit d05c3cf0f4)
2001-04-16 02:35:35 +00:00
Jeremy Allison
71ae6a09cd Finally got the semantics right (hurrah!).
Jeremy.
(This used to be commit 362574c5a3)
2001-04-16 00:34:03 +00:00
Jeremy Allison
d5b74f7130 Correct fix for open readonly with truncate.
Jeremy.
(This used to be commit 6706e258e1)
2001-04-16 00:02:29 +00:00
Jeremy Allison
18f3f5ff92 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 d9fdaae54e)
2001-04-15 23:36:05 +00:00
Jeremy Allison
06a50f5184 Patch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> to
map usernames before calling password change.
Jeremy.
(This used to be commit ce2a236dc6)
2001-04-15 22:29:36 +00:00
Jeremy Allison
78ac23f7e0 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 4bb63ba615)
2001-04-15 22:21:04 +00:00
Jeremy Allison
452f60e030 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 0e8147aeca)
2001-04-15 21:22:18 +00:00
Jeremy Allison
c9f2c1fc5e Fix from Tony Butt - shouldn't set got_pass for -c option.
Jeremy.
(This used to be commit 83aa762058)
2001-04-15 20:40:08 +00:00
Jeremy Allison
e7a6cb234a Removed one samba-bugs ref. from source.
Jeremy.
(This used to be commit d40ee1707d)
2001-04-14 21:26:45 +00:00
Jeremy Allison
2df39394fe 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 5baef56831)
2001-04-14 20:47:30 +00:00
Jeremy Allison
ed449b8ca7 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 c236287463)
2001-04-14 19:46:28 +00:00
John Terpstra
548ca26bd5 Patch from Mandrakesoft to ensure we close all files.
(This used to be commit 8051406588)
2001-04-14 18:39:32 +00:00
Jeremy Allison
a8410f20c1 Fix for True64 treating readonly as a reserved word !
Jeremy.
(This used to be commit d6889b1954)
2001-04-14 00:41:15 +00:00
Jeremy Allison
53850c51ca 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 32397e5bc6)
2001-04-14 00:19:12 +00:00
Jeremy Allison
9444e9d9f3 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 5870e6019b)
2001-04-13 21:11:57 +00:00
Jeremy Allison
819482c071 Fixed potential file descriptor leak with MS-Access fix.
Jeremy.
(This used to be commit 192887fe72)
2001-04-13 20:49:11 +00:00
Jeremy Allison
3c2c047e82 Added fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hard
limit before setting soft limit.
Jeremy.
(This used to be commit a1eb2752a8)
2001-04-13 19:33:26 +00:00
Jeremy Allison
2ef68c7e92 Merge of Andrew's changes in 2.2.
Jeremy.
(This used to be commit fc76681812)
2001-04-13 19:12:06 +00:00
Shirish Kalele
14748b0bf5 Adding the "Using Samba" book to the packaging in HEAD.
(This used to be commit 4f06373bc4)
2001-04-13 18:18:25 +00:00
John Terpstra
abd4296ebf Updated with Andrew Bartlett patch.
(This used to be commit 02e84267f7)
2001-04-13 04:27:50 +00:00
John Terpstra
90adf620ee Updated Major/Minor version to 4.50 - see notes.
(This used to be commit bdb68cf37e)
2001-04-13 02:51:58 +00:00
Jeremy Allison
50e78a9ac8 As Andrew suggested, make smbrun return a fd for a deleted file which can then
be read.
Jeremy.
(This used to be commit e7d59d6de8)
2001-04-13 00:37:00 +00:00
Gerald Carter
d85924a028 forgot one thing
(This used to be commit a17f247157)
2001-04-12 22:15:57 +00:00
Gerald Carter
c032fb5121 still working on it
(This used to be commit ff7c5be88a)
2001-04-12 22:14:20 +00:00
Jeremy Allison
874356646a Can't use space in random string used for exec.
Jeremy.
(This used to be commit 8ab1d5663e)
2001-04-12 07:20:15 +00:00
Jeremy Allison
09a5daf032 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 71a330987f)
2001-04-12 07:00:08 +00:00
Tim Potter
3e24c65101 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 1e38eef54d)
2001-04-12 05:53:07 +00:00
Jeremy Allison
e5691d44a8 Merged John's changes.
Jeremy.
(This used to be commit add847778b)
2001-04-12 05:32:27 +00:00
Gerald Carter
71ef4e0183 fix broken links in SWAT due to upper case anchors in the generated
HTML man pages.  Spotted by Herb.
(This used to be commit be45c82c3a)
2001-04-12 05:24:57 +00:00
Jeremy Allison
6578fd8742 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 9b32b8a8cf)
2001-04-11 23:19:08 +00:00
Jeremy Allison
0ca9f5c023 Fix for core dump in security = share code with new share security db.
Jeremy.
(This used to be commit 20b13bafdf)
2001-04-11 21:19:25 +00:00
Shirish Kalele
362e4bb21a Adding Solaris packaging files to HEAD.
(This used to be commit 3ac5f6b59e)
2001-04-11 02:28:38 +00:00
Jeremy Allison
91e97f9091 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 144a290681)
2001-04-11 02:02:45 +00:00
Tim Potter
b541683e44 Fixed some compiler warnings.
(This used to be commit cda0f211b0)
2001-04-11 01:50:12 +00:00
Jeremy Allison
3a38f122d9 Added SMB_ prefix to enums that clash with Solaris ACL definitions.
Jeremy.
(This used to be commit 493d2c316a)
2001-04-11 01:34:37 +00:00
John Terpstra
abd96b890b Updating pampass from Samba-2.2 code tree. ===> JHT
(This used to be commit 88b6043b4e)
2001-04-11 01:29:42 +00:00
Jeremy Allison
9e73a36193 Restrict dfs add and dfs remote to root at Shirish's advice.
Jeremy.
(This used to be commit 9dd77c4fb1)
2001-04-11 00:05:23 +00:00
Jeremy Allison
a591def534 Merged in missing break fix from Shirish.
Jeremy.
(This used to be commit 8ecf6c3367)
2001-04-10 23:58:27 +00:00
Jeremy Allison
55d60fce76 Fixed missing HAVE_STDARG_H.
Jeremy.
(This used to be commit 7cdd879546)
2001-04-10 22:01:53 +00:00
Jeremy Allison
3bfbc4aaec Fixed --with-automount compile error.
Jeremy.
(This used to be commit ab916199f5)
2001-04-10 21:43:37 +00:00
Jeremy Allison
9c9ce2f613 Added HAVE_STDARG_H to tdbutil.c
Jeremy.
(This used to be commit e404e00199)
2001-04-10 21:07:04 +00:00
Jeremy Allison
6d96224f81 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 3c4c649951)
2001-04-10 19:43:14 +00:00
Jeremy Allison
ef1a7311ce Added JohnT and Andrew Bartlett's PAM changes.
Jeremy.
(This used to be commit ecd00e258c)
2001-04-10 18:10:38 +00:00
Jeremy Allison
a9f6e205fc Use message system to notify when smb.conf is updated.
Jeremy.
(This used to be commit ae9eda5c3c)
2001-04-10 01:44:45 +00:00
Gerald Carter
f8c12f4f4d 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 442605c6bc)
2001-04-09 22:11:37 +00:00