Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fixed extern ref typo for file generic perms. 2am coding strikes again :-). | Jeremy Allison | 2001-03-30 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
| * | This is a big, rather ugly patch. Whilst investigating the files not truncated | Jeremy Allison | 2001-03-30 | 9 | -194/+258 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when copying to a full disk problem, I discovered that we were not allowing the delete on close flag to be set properly, this led to other things, and after investigation of the proper delete on close semantics and their relationship to the file_share_delete flag I discovered there were some cases where we weren't doing the deny modes properly. And this after only 5 years working on them..... :-) :-). So here's the latest attempt. I realised the delete on close flag needs to be set across all smbds with a dev/ino pair open - in addition, the delete on close flag, allow share delete and delete access requested all need to be stored in the share mode tdb. The "delete_on_close" entry in the fsp struct is now redundant and should really be removed. This may also mean we can get rid of the "iterate_fsp" calls that I didn't like adding in the first place. Whilst doing this patch, I also discovered we needed to do the se_map_generic() call for file opens and POSIX ACL mapping, so I added that also. This code, although ugly, now passes the deny mode torture tests plus the delete on close tests I added. I do need to add one more multiple connection delete on close test to make sure I got the semantics exactly right, plus we should also (as Andrew suggested) move to random testing here. The good news is that NT should now correctly delete the file on disk full error when copying to a disk :-). Jeremy. | |||||
| * | Added one more test - just to make sure flag can be unset. | Jeremy Allison | 2001-03-30 | 1 | -1/+43 | |
| | | | | | | | | Jeremy. | |||||
| * | Expanded delete on close test to 6 cases. I now understand the semantics of | Jeremy Allison | 2001-03-30 | 1 | -2/+53 | |
| | | | | | | | | | | | | this and the FILE_SHARE_DELETE flag exactly. The bad news is it means our share mode handling is broken (again :-). Jeremy. | |||||
| * | Changed to using GENERIC_XX constants instead of hex values to make | Jeremy Allison | 2001-03-30 | 1 | -9/+57 | |
| | | | | | | | | | | delete test explicit. Jeremy. | |||||
| * | Added delete on close test that has allowed me to determine how w2k | Jeremy Allison | 2001-03-30 | 1 | -0/+147 | |
| | | | | | | | | | | behaves in this situation. Jeremy. | |||||
| * | Added cli_nt_delete_on_close() call to allow flag to be set for torture tests. | Jeremy Allison | 2001-03-29 | 2 | -0/+42 | |
| | | | | | | | | Jeremy. | |||||
| * | Added cli_nt_create_full() as a way to get at all the ntcreate parameters. | Jeremy Allison | 2001-03-29 | 2 | -6/+23 | |
| | | | | | | | | | | Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full(). Jeremy. | |||||
| * | Insure fix. Don't read 4 bytes from data area unless there are 4 bytes to read. | Jeremy Allison | 2001-03-28 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
| * | Fixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status to | Jeremy Allison | 2001-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | be returned. Jeremy. CVS ---------------------------------------------------------------------- | |||||
| * | rename of 16 new_smb_io functions to smb_io_* for consistency sake | Gerald Carter | 2001-03-28 | 4 | -165/+165 | |
| | | | | | | | | (merge from 2.2) | |||||
* | | moving things around some to prevent people from referring | Gerald Carter | 2001-04-24 | 4 | -1711/+0 | |
| | | | | | | | | to outdated docs. | |||||
* | | autogen | Gerald Carter | 2001-04-24 | 2 | -192/+337 | |
| | | ||||||
* | | updated Makefile to use the ldp DSSSL and regenerated all docs. | Gerald Carter | 2001-04-24 | 51 | -4325/+3826 | |
| | | | | | | | | The PDF file looks a lot better now. Shorter as well due to new layout. | |||||
* | | fix typo | Herb Lewis | 2001-04-24 | 1 | -1/+1 | |
| | | ||||||
* | | adding the script from the LDP to generate pdf from html. | Gerald Carter | 2001-04-24 | 3 | -0/+303 | |
| | | | | | | | | Looks a lot better | |||||
* | | Patch for nmbd core dump in printing debug packets. No length check. | Jeremy Allison | 2001-04-24 | 1 | -3/+5 | |
| | | | | | | | | Jeremy. | |||||
* | | insure add and delete user are not both set | Herb Lewis | 2001-04-24 | 1 | -1/+4 | |
| | | | | | | | | caught by Joe Meslovich <joe@bridgewater.edu> | |||||
* | | Added the LDP stylesheet into the buidl process. Working on | Gerald Carter | 2001-04-24 | 4 | -11/+269 | |
| | | | | | | | | generating better PDF. | |||||
* | | set "vfs object" and "vfs options" to be setable by SWAT on advanced page | Herb Lewis | 2001-04-24 | 1 | -4/+4 | |
| | | | | | | | | | | | | change "host msdfs" to be strictly a global parameter on advanced page change "printer admin" to be on printers page not share page (caught by Ingo Kilian <ikilian@web.de> ) | |||||
* | | fixes while building the Mandrake 7.2 RPMS | Gerald Carter | 2001-04-24 | 3 | -323/+5 | |
| | | ||||||
* | | row of asteriks that indicates new entry must start at beginning of line. | Herb Lewis | 2001-04-23 | 1 | -1/+1 | |
| | | ||||||
* | | Fix "proc num out of range" error. Missing rpc call. | Jeremy Allison | 2001-04-23 | 5 | -14/+164 | |
| | | | | | | | | Jeremy. | |||||
* | | Fixed memory leak in new session code. | Jeremy Allison | 2001-04-23 | 1 | -0/+3 | |
| | | | | | | | | Jeremy. | |||||
* | | Added "obey pam restrictions" parameter - default to "off". | Jeremy Allison | 2001-04-23 | 4 | -0/+39 | |
| | | | | | | | | | | | | | | Only set this to "on" if you know you have your PAM set up correctly..... NB. Doesn't apply to plaintext password authentication, which must use pam when compiled in. Jeremy. | |||||
* | | autogen of Herb's updates. | Gerald Carter | 2001-04-23 | 2 | -3/+3 | |
| | | ||||||
* | | fix typo | Herb Lewis | 2001-04-23 | 1 | -1/+1 | |
| | | | | | | | | | | Someone needs to regenerate the other files, I don't have docbook on my system. | |||||
* | | Fix more free twice bugs. | Jeremy Allison | 2001-04-23 | 2 | -4/+10 | |
| | | | | | | | | Jeremy. | |||||
* | | Fix for bug in code for pam_session failure - pam_end called twice. | Jeremy Allison | 2001-04-23 | 2 | -24/+10 | |
| | | | | | | | | Jeremy. | |||||
* | | Added smb_ prefix to all Samba wrapper pam functions. | Jeremy Allison | 2001-04-23 | 8 | -108/+104 | |
| | | | | | | | | | | Fixed off by one bug using StrnCpy instead of strdup(). Jeremy. | |||||
* | | Commit of a modified version of Andrew Bartlett's patch that removes the | Jeremy Allison | 2001-04-22 | 8 | -223/+223 | |
| | | | | | | | | | | | | | | | | | | | | horrid utmp hostname parameter - now uses the client name instead. Also tidies up some of the unencrypted password checking when PAM is compiled in. FIXME ! An pam_accountcheck() is being called even when smb encrypted passwords are negotiated. Is this the correct thing to do when winbindd is running ! This needs *SEVERE* testing.... Jeremy. | |||||
* | | Finally got name & SID returns correct. | Jeremy Allison | 2001-04-22 | 1 | -1/+4 | |
| | | | | | | | | Jeremy. | |||||
* | | new file from head | Andrew Tridgell | 2001-04-22 | 0 | -0/+0 | |
| | | ||||||
* | | merged libsmb code from head | Andrew Tridgell | 2001-04-22 | 16 | -300/+505 | |
| | | ||||||
* | | JF pointed out we were returning the wrong info for Domain member with info | Jeremy Allison | 2001-04-21 | 1 | -17/+9 | |
| | | | | | | | | | | levels 3 and 5. I *hate* LSAQueryInfoPolicy() :-). Jeremy. | |||||
* | | Fixes from Shirish for Solaris packaging. | Jeremy Allison | 2001-04-21 | 2 | -39/+32 | |
| | | | | | | | | Jeremy. | |||||
* | | Fix proto's in old code. | Jeremy Allison | 2001-04-21 | 1 | -21/+9 | |
| | | | | | | | | Jeremy. | |||||
* | | Fixed compile bug when compiling --with-pam but not --with-utmp. | Jeremy Allison | 2001-04-21 | 1 | -0/+7 | |
| | | | | | | | | Jeremy. | |||||
* | | forgot the spec file template | Gerald Carter | 2001-04-20 | 1 | -18/+17 | |
| | | ||||||
* | | updating some Mandrake packaging | Gerald Carter | 2001-04-20 | 4 | -116/+379 | |
| | | ||||||
* | | stupid...stupid...stupid...I'm so poor I can't pay attention :-) | Gerald Carter | 2001-04-20 | 1 | -1/+1 | |
| | | | | | | | | missed variable in DEBUG statement. | |||||
* | | Oops. Typos. | John Terpstra | 2001-04-20 | 2 | -4/+4 | |
| | | ||||||
* | | Added error debug messages to pam_session code. | John Terpstra | 2001-04-19 | 2 | -0/+38 | |
| | | ||||||
* | | fixed problem in only_ipaddrs_in_list() which caused a hostname to | Gerald Carter | 2001-04-19 | 1 | -2/+2 | |
| | | | | | | | | be considered an IP. | |||||
* | | merge from HEAD | Gerald Carter | 2001-04-19 | 1 | -1/+1 | |
| | | ||||||
* | | fixed of couple of output lines with --help | Gerald Carter | 2001-04-19 | 2 | -13/+13 | |
| | | | | | | | | Mostly a merge from HEAD | |||||
* | | updated some docs | Gerald Carter | 2001-04-19 | 7 | -2383/+2531 | |
| | | ||||||
* | | fix so that we tar up right version after a release. Lacked PVERSION | Gerald Carter | 2001-04-19 | 1 | -2/+3 | |
| | | | | | | | | in the script | |||||
* | | don't make extra copy of README file | Herb Lewis | 2001-04-19 | 1 | -1/+0 | |
| | | ||||||
* | | remove 'unix realname' option | Gerald Carter | 2001-04-19 | 3 | -61/+7 | |
| | |