summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-04-16Getting medieval with compiler warnings as Jeremy puts it.Tim Potter3-6/+6
(This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)
2001-04-16Finally got the semantics right (hurrah!).Jeremy Allison1-6/+14
Jeremy. (This used to be commit 362574c5a32005d4247c7ac75a5aa9e35e894db0)
2001-04-16Correct fix for open readonly with truncate.Jeremy Allison1-17/+18
Jeremy. (This used to be commit 6706e258e17c3d69d617b95feb3407124f50852d)
2001-04-15Fixed potential bug in "become_guest" pointed out by elrond. Get_Pwnam()Jeremy Allison1-6/+13
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)
2001-04-15Patch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> toJeremy Allison1-0/+12
map usernames before calling password change. Jeremy. (This used to be commit ce2a236dc61d819e083b32556a2d9f827944b91c)
2001-04-15Added Darwin guess.Jeremy Allison2-88/+96
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)
2001-04-15Fix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other thanJeremy Allison1-4/+12
nmbd to talk to nmbd if it's a WINS server. Jeremy. (This used to be commit 0e8147aecaf6941c77fd05b4b705ca31c1ec5760)
2001-04-15Fix from Tony Butt - shouldn't set got_pass for -c option.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 83aa76205858a0d0a0fa2a22648e727b796908f2)
2001-04-14Removed one samba-bugs ref. from source.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d40ee1707d1d3cf04358bca7fad16ebc15bd4845)
2001-04-14This little piece of insanity is inspired by theJeremy Allison2-4/+86
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)
2001-04-14Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison5-20/+73
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)
2001-04-14Patch from Mandrakesoft to ensure we close all files.John Terpstra1-1/+3
(This used to be commit 8051406588987005f621cb095067d3628638d250)
2001-04-14Fix for True64 treating readonly as a reserved word !Jeremy Allison1-2/+2
Jeremy. (This used to be commit d6889b1954bd863fd04cf43fb25f178b1d1ab67f)
2001-04-14configure:Jeremy Allison14-42/+144
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)
2001-04-13Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentiallyJeremy Allison3-0/+35
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)
2001-04-13Fixed potential file descriptor leak with MS-Access fix.Jeremy Allison2-3/+34
Jeremy. (This used to be commit 192887fe72157a141b8df1977085f479e5204782)
2001-04-13Added fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hardJeremy Allison2-3/+27
limit before setting soft limit. Jeremy. (This used to be commit a1eb2752a8bee9cc7d92c664c3de84e02620933d)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison26-841/+1197
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-13Updated with Andrew Bartlett patch.John Terpstra2-6/+60
(This used to be commit 02e84267f74b26bdf7f76c0fc9dbaecbc8574d58)
2001-04-13Updated Major/Minor version to 4.50 - see notes.John Terpstra1-10/+14
(This used to be commit bdb68cf37e9b512e9f72f1cf20b7ca265888319e)
2001-04-13As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison12-137/+186
be read. Jeremy. (This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
2001-04-12forgot one thingGerald Carter1-0/+4
(This used to be commit a17f2471571596e97b212ff9de1c8b45dac12eb6)
2001-04-12still working on itGerald Carter1-6/+13
(This used to be commit ff7c5be88a05c0f1858fedb966ccfc038299bbc9)
2001-04-12Can't use space in random string used for exec.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8ab1d5663e6b25bc101cd388ef6c312ddb88b988)
2001-04-12Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn'tJeremy Allison3-15/+35
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)
2001-04-12Added a caching system to smbsh. Previously access to workgroup or serverTim Potter3-7/+215
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)
2001-04-12Merged John's changes.Jeremy Allison3-3/+7
Jeremy. (This used to be commit add847778bf458238bf2a1b14ab71b8cdfd7aec0)
2001-04-12fix broken links in SWAT due to upper case anchors in the generatedGerald Carter1-2/+5
HTML man pages. Spotted by Herb. (This used to be commit be45c82c3ab3b626cd761f2cec3b160df2b7fcac)
2001-04-11To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison11-130/+230
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)
2001-04-11Fix for core dump in security = share code with new share security db.Jeremy Allison3-26/+40
Jeremy. (This used to be commit 20b13bafdff2fd7be9219ed164e7fe91b597298d)
2001-04-11Changed the order of -kPIC and -kpic.Jeremy Allison4-36/+38
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy. (This used to be commit 144a2906810e8d4414d627835eb80f60bd1d88a4)
2001-04-11Fixed some compiler warnings.Tim Potter1-2/+2
(This used to be commit cda0f211b0dd41ae72ef3d65b9476c11c6f72de3)
2001-04-11Added SMB_ prefix to enums that clash with Solaris ACL definitions.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 493d2c316a9e80de0239ef3a6f0b3f4ec9ac6e13)
2001-04-11Updating pampass from Samba-2.2 code tree. ===> JHTJohn Terpstra2-278/+174
(This used to be commit 88b6043b4e26c2771e0c444376b7017f5048baf8)
2001-04-11Restrict dfs add and dfs remote to root at Shirish's advice.Jeremy Allison1-0/+16
Jeremy. (This used to be commit 9dd77c4fb1282d23cfbfd9d0ed790be62534e201)
2001-04-10Merged in missing break fix from Shirish.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 8ecf6c33673693ca64f99bd7fb26d3383658d86b)
2001-04-10Fixed missing HAVE_STDARG_H.Jeremy Allison1-4/+20
Jeremy. (This used to be commit 7cdd87954634cadda042df06c2f56aac40a7d743)
2001-04-10Fixed --with-automount compile error.Jeremy Allison2-2/+4
Jeremy. (This used to be commit ab916199f542528293b3f63fe6f24eecd83eccb4)
2001-04-10Added HAVE_STDARG_H to tdbutil.cJeremy Allison1-5/+51
Jeremy. (This used to be commit e404e001990409eacf2e620d2269c2b162fa938b)
2001-04-10passdb/pass_check.c: Ensure second check is done only if given username is ↵Jeremy Allison3-131/+63
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)
2001-04-10Added JohnT and Andrew Bartlett's PAM changes.Jeremy Allison5-269/+889
Jeremy. (This used to be commit ecd00e258c6fe4e8d90f48da74874e090dce4a40)
2001-04-10Use message system to notify when smb.conf is updated.Jeremy Allison2-7/+22
Jeremy. (This used to be commit ae9eda5c3c3bbfc8ec795b43ab18dc492e5fdcf6)
2001-04-09looking towards abstracting the passdb and uidmapping interfaces.Gerald Carter1-0/+66
This is more of a note to myself. In not used anywhere yet. (This used to be commit 442605c6bc81dd115f4df5cc20df3f61601c6013)
2001-04-09Fixup warnings about extra ';' from SGI compiler.Jeremy Allison1-22/+22
Jeremy. (This used to be commit 7ee448d83263714676bd250ecc3805b08198e916)
2001-04-09Removed "read only" arg as it isn't useful.Jeremy Allison1-33/+2
Jeremy. (This used to be commit 6b75d79c4bcfb8333aaf1ed61cf8bd022e498f75)
2001-04-09Tidy up return codes for server manager.Jeremy Allison1-6/+21
Jeremy. (This used to be commit b4cbdcb644066e132d5c806ae4f45d6a05276beb)
2001-04-09Get/Set of SD's on shares now works. Correctly ensure scripts exist beforeJeremy Allison1-12/+15
calling. Jeremy. (This used to be commit aae44ee41f2f133524e37f72b46b63ce6ddb192b)
2001-04-09Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.Jeremy Allison4-15/+95
Jeremy. (This used to be commit 04976c32f319531e16d890797b45a76dab64f370)
2001-04-09Ensure Everyone/All access is mapped correctly to file generic perms to allowJeremy Allison1-1/+5
anonymous IPC access. Jeremy. (This used to be commit 2f34e144c53d6be911de96298c55c34d08c4733f)
2001-04-09Added set/get SD's on shares. Check before tcon.Jeremy Allison4-18/+170
Jeremy. (This used to be commit 036b1a8b09fe6a7cca83d631624145574acad7f2)