Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correct fix for open readonly with truncate. | Jeremy Allison | 2001-04-16 | 1 | -17/+18 |
| | | | | Jeremy. | ||||
* | Fixed potential bug in "become_guest" pointed out by elrond. Get_Pwnam() | Jeremy Allison | 2001-04-15 | 1 | -6/+13 |
| | | | | | | returns a pointer to changable storage so ensure we save the details and don't use the pointer directly. Jeremy. | ||||
* | Patch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> to | Jeremy Allison | 2001-04-15 | 1 | -0/+12 |
| | | | | | map usernames before calling password change. Jeremy. | ||||
* | Added Darwin guess. | Jeremy Allison | 2001-04-15 | 2 | -88/+96 |
| | | | | | | lib/util_str.c: Excellent patch from Kenichi Okuyama <okuyamak@dd.iij4u.or.jp> to speed up trim_string handling ! Jeremy. | ||||
* | Fix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other than | Jeremy Allison | 2001-04-15 | 1 | -4/+12 |
| | | | | | nmbd to talk to nmbd if it's a WINS server. Jeremy. | ||||
* | Fix from Tony Butt - shouldn't set got_pass for -c option. | Jeremy Allison | 2001-04-15 | 1 | -1/+0 |
| | | | | Jeremy. | ||||
* | Removed one samba-bugs ref. from source. | Jeremy Allison | 2001-04-14 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | This little piece of insanity is inspired by the | Jeremy Allison | 2001-04-14 | 2 | -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. | ||||
* | Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. Changed | Jeremy Allison | 2001-04-14 | 5 | -20/+73 |
| | | | | | | a bit to use AC_TRY_LINK to ensure functions are available for link instead of AC_TRY_COMPILE. Jeremy. | ||||
* | Patch from Mandrakesoft to ensure we close all files. | John Terpstra | 2001-04-14 | 1 | -1/+3 |
| | |||||
* | Fix for True64 treating readonly as a reserved word ! | Jeremy Allison | 2001-04-14 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | configure: | Jeremy Allison | 2001-04-14 | 14 | -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. | ||||
* | Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentially | Jeremy Allison | 2001-04-13 | 3 | -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. | ||||
* | Fixed potential file descriptor leak with MS-Access fix. | Jeremy Allison | 2001-04-13 | 2 | -3/+34 |
| | | | | Jeremy. | ||||
* | Added fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hard | Jeremy Allison | 2001-04-13 | 2 | -3/+27 |
| | | | | | limit before setting soft limit. Jeremy. | ||||
* | Merge of Andrew's changes in 2.2. | Jeremy Allison | 2001-04-13 | 26 | -841/+1197 |
| | | | | Jeremy. | ||||
* | Adding the "Using Samba" book to the packaging in HEAD. | Shirish Kalele | 2001-04-13 | 2 | -6/+42 |
| | |||||
* | Updated with Andrew Bartlett patch. | John Terpstra | 2001-04-13 | 2 | -6/+60 |
| | |||||
* | Updated Major/Minor version to 4.50 - see notes. | John Terpstra | 2001-04-13 | 1 | -10/+14 |
| | |||||
* | As Andrew suggested, make smbrun return a fd for a deleted file which can then | Jeremy Allison | 2001-04-13 | 12 | -137/+186 |
| | | | | | be read. Jeremy. | ||||
* | forgot one thing | Gerald Carter | 2001-04-12 | 1 | -0/+4 |
| | |||||
* | still working on it | Gerald Carter | 2001-04-12 | 1 | -6/+13 |
| | |||||
* | Can't use space in random string used for exec. | Jeremy Allison | 2001-04-12 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn't | Jeremy Allison | 2001-04-12 | 3 | -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. | ||||
* | Added a caching system to smbsh. Previously access to workgroup or server | Tim Potter | 2001-04-12 | 3 | -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. | ||||
* | Merged John's changes. | Jeremy Allison | 2001-04-12 | 3 | -3/+7 |
| | | | | Jeremy. | ||||
* | fix broken links in SWAT due to upper case anchors in the generated | Gerald Carter | 2001-04-12 | 1 | -2/+5 |
| | | | | HTML man pages. Spotted by Herb. | ||||
* | To stop people complaining about the mktemp call, move it into lib/util.c. ↵ | Jeremy Allison | 2001-04-11 | 11 | -130/+230 |
| | | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. | ||||
* | Fix for core dump in security = share code with new share security db. | Jeremy Allison | 2001-04-11 | 3 | -26/+40 |
| | | | | Jeremy. | ||||
* | Adding Solaris packaging files to HEAD. | Shirish Kalele | 2001-04-11 | 12 | -0/+376 |
| | |||||
* | Changed the order of -kPIC and -kpic. | Jeremy Allison | 2001-04-11 | 4 | -36/+38 |
| | | | | | Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy. | ||||
* | Fixed some compiler warnings. | Tim Potter | 2001-04-11 | 1 | -2/+2 |
| | |||||
* | Added SMB_ prefix to enums that clash with Solaris ACL definitions. | Jeremy Allison | 2001-04-11 | 1 | -9/+9 |
| | | | | Jeremy. | ||||
* | Updating pampass from Samba-2.2 code tree. ===> JHT | John Terpstra | 2001-04-11 | 2 | -278/+174 |
| | |||||
* | Restrict dfs add and dfs remote to root at Shirish's advice. | Jeremy Allison | 2001-04-11 | 1 | -0/+16 |
| | | | | Jeremy. | ||||
* | Merged in missing break fix from Shirish. | Jeremy Allison | 2001-04-10 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | Fixed missing HAVE_STDARG_H. | Jeremy Allison | 2001-04-10 | 1 | -4/+20 |
| | | | | Jeremy. | ||||
* | Fixed --with-automount compile error. | Jeremy Allison | 2001-04-10 | 2 | -2/+4 |
| | | | | Jeremy. | ||||
* | Added HAVE_STDARG_H to tdbutil.c | Jeremy Allison | 2001-04-10 | 1 | -5/+51 |
| | | | | Jeremy. | ||||
* | passdb/pass_check.c: Ensure second check is done only if given username is ↵ | Jeremy Allison | 2001-04-10 | 3 | -131/+63 |
| | | | | | | | all in caps. rpc_server/srv_srvsvc_nt.c: Added "CONFIGFILE" arg to scripts so path to smb.conf is given. Jeremy. | ||||
* | Added JohnT and Andrew Bartlett's PAM changes. | Jeremy Allison | 2001-04-10 | 5 | -269/+889 |
| | | | | Jeremy. | ||||
* | Use message system to notify when smb.conf is updated. | Jeremy Allison | 2001-04-10 | 2 | -7/+22 |
| | | | | Jeremy. | ||||
* | looking towards abstracting the passdb and uidmapping interfaces. | Gerald Carter | 2001-04-09 | 1 | -0/+66 |
| | | | | This is more of a note to myself. In not used anywhere yet. | ||||
* | Fixup warnings about extra ';' from SGI compiler. | Jeremy Allison | 2001-04-09 | 1 | -22/+22 |
| | | | | Jeremy. | ||||
* | Removed "read only" arg as it isn't useful. | Jeremy Allison | 2001-04-09 | 1 | -33/+2 |
| | | | | Jeremy. | ||||
* | Tidy up return codes for server manager. | Jeremy Allison | 2001-04-09 | 1 | -6/+21 |
| | | | | Jeremy. | ||||
* | Get/Set of SD's on shares now works. Correctly ensure scripts exist before | Jeremy Allison | 2001-04-09 | 1 | -12/+15 |
| | | | | | calling. Jeremy. | ||||
* | Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits. | Jeremy Allison | 2001-04-09 | 4 | -15/+95 |
| | | | | Jeremy. | ||||
* | Ensure Everyone/All access is mapped correctly to file generic perms to allow | Jeremy Allison | 2001-04-09 | 1 | -1/+5 |
| | | | | | anonymous IPC access. Jeremy. | ||||
* | Added set/get SD's on shares. Check before tcon. | Jeremy Allison | 2001-04-09 | 4 | -18/+170 |
| | | | | Jeremy. |