summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * IRIX ACLs from Herb.Jeremy Allison2001-04-022-0/+274
| | | | | | | | Jeremy.
| * include/ntdomain.h:Jeremy Allison2001-04-025-76/+158
| | | | | | | | | | | | | | | | | | 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.
| * Integrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>Jeremy Allison2001-04-011-112/+275
| | | | | | | | Jeremy
| * configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison2001-03-317-642/+696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * started converting some of the only-ascii code to use srvstr_*Andrew Tridgell2001-03-313-475/+494
| | | | | | | | | | | | | | added srvstr_push_ascii() and srvstr_pull_ascii() as convenience routines to replace the current usage of strncpy() like fns for packet pull/push. We need to do this in *lots* of places in Samba in order to get our codepage handling right
| * utils/torture.c: Added one more delete on close test.Jeremy Allison2001-03-302-3/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | smbd/notify_kernel.c: This code was wrong I believe. It was structured to only return a changenotify event on being called from timeout processing (t != 0). The kernel changenotify events should fire on *asynchronous* processing (EINTR return from select caused by the realtime signal delivery) with t == 0. Reported by Juergen Hasch (Hasch@t-online.de). ANDREW PLEASE CHECK THIS ! Currently the hash style changenotify is done on async processing as well as timeout processing. As this is expensive we may want to revisit doing this and maybe set it to fire only on timeout processing. Jeremy.
| * Fixed extern ref typo for file generic perms. 2am coding strikes again :-).Jeremy Allison2001-03-301-1/+1
| | | | | | | | Jeremy.
| * This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison2001-03-309-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 Allison2001-03-301-1/+43
| | | | | | | | Jeremy.
| * Expanded delete on close test to 6 cases. I now understand the semantics ofJeremy Allison2001-03-301-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 makeJeremy Allison2001-03-301-9/+57
| | | | | | | | | | delete test explicit. Jeremy.
| * Added delete on close test that has allowed me to determine how w2kJeremy Allison2001-03-301-0/+147
| | | | | | | | | | behaves in this situation. Jeremy.
| * Added cli_nt_delete_on_close() call to allow flag to be set for torture tests.Jeremy Allison2001-03-292-0/+42
| | | | | | | | Jeremy.
| * Added cli_nt_create_full() as a way to get at all the ntcreate parameters.Jeremy Allison2001-03-292-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 Allison2001-03-281-1/+1
| | | | | | | | Jeremy.
| * Fixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status toJeremy Allison2001-03-281-1/+1
| | | | | | | | | | | | be returned. Jeremy. CVS ----------------------------------------------------------------------
| * rename of 16 new_smb_io functions to smb_io_* for consistency sakeGerald Carter2001-03-284-165/+165
| | | | | | | | (merge from 2.2)
* | moving things around some to prevent people from referringGerald Carter2001-04-244-1711/+0
| | | | | | | | to outdated docs.
* | autogenGerald Carter2001-04-242-192/+337
| |
* | updated Makefile to use the ldp DSSSL and regenerated all docs.Gerald Carter2001-04-2451-4325/+3826
| | | | | | | | The PDF file looks a lot better now. Shorter as well due to new layout.
* | fix typoHerb Lewis2001-04-241-1/+1
| |
* | adding the script from the LDP to generate pdf from html.Gerald Carter2001-04-243-0/+303
| | | | | | | | Looks a lot better
* | Patch for nmbd core dump in printing debug packets. No length check.Jeremy Allison2001-04-241-3/+5
| | | | | | | | Jeremy.
* | insure add and delete user are not both setHerb Lewis2001-04-241-1/+4
| | | | | | | | caught by Joe Meslovich <joe@bridgewater.edu>
* | Added the LDP stylesheet into the buidl process. Working onGerald Carter2001-04-244-11/+269
| | | | | | | | generating better PDF.
* | set "vfs object" and "vfs options" to be setable by SWAT on advanced pageHerb Lewis2001-04-241-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 RPMSGerald Carter2001-04-243-323/+5
| |
* | row of asteriks that indicates new entry must start at beginning of line.Herb Lewis2001-04-231-1/+1
| |
* | Fix "proc num out of range" error. Missing rpc call.Jeremy Allison2001-04-235-14/+164
| | | | | | | | Jeremy.
* | Fixed memory leak in new session code.Jeremy Allison2001-04-231-0/+3
| | | | | | | | Jeremy.
* | Added "obey pam restrictions" parameter - default to "off".Jeremy Allison2001-04-234-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 Carter2001-04-232-3/+3
| |
* | fix typoHerb Lewis2001-04-231-1/+1
| | | | | | | | | | Someone needs to regenerate the other files, I don't have docbook on my system.
* | Fix more free twice bugs.Jeremy Allison2001-04-232-4/+10
| | | | | | | | Jeremy.
* | Fix for bug in code for pam_session failure - pam_end called twice.Jeremy Allison2001-04-232-24/+10
| | | | | | | | Jeremy.
* | Added smb_ prefix to all Samba wrapper pam functions.Jeremy Allison2001-04-238-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 theJeremy Allison2001-04-228-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 Allison2001-04-221-1/+4
| | | | | | | | Jeremy.
* | new file from headAndrew Tridgell2001-04-220-0/+0
| |
* | merged libsmb code from headAndrew Tridgell2001-04-2216-300/+505
| |
* | JF pointed out we were returning the wrong info for Domain member with infoJeremy Allison2001-04-211-17/+9
| | | | | | | | | | levels 3 and 5. I *hate* LSAQueryInfoPolicy() :-). Jeremy.
* | Fixes from Shirish for Solaris packaging.Jeremy Allison2001-04-212-39/+32
| | | | | | | | Jeremy.
* | Fix proto's in old code.Jeremy Allison2001-04-211-21/+9
| | | | | | | | Jeremy.
* | Fixed compile bug when compiling --with-pam but not --with-utmp.Jeremy Allison2001-04-211-0/+7
| | | | | | | | Jeremy.
* | forgot the spec file templateGerald Carter2001-04-201-18/+17
| |
* | updating some Mandrake packagingGerald Carter2001-04-204-116/+379
| |
* | stupid...stupid...stupid...I'm so poor I can't pay attention :-)Gerald Carter2001-04-201-1/+1
| | | | | | | | missed variable in DEBUG statement.
* | Oops. Typos.John Terpstra2001-04-202-4/+4
| |
* | Added error debug messages to pam_session code.John Terpstra2001-04-192-0/+38
| |
* | fixed problem in only_ipaddrs_in_list() which caused a hostname toGerald Carter2001-04-191-2/+2
| | | | | | | | be considered an IP.