summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison2007-03-129-588/+813
| | | | | | | | | | | | | | | | works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy.
| * r21792: Fix crash bug triggered by Excel reported by Jerry.Jeremy Allison2007-03-121-1/+1
| | | | | | | | | | Bad cut-n-paste on rewrite of timestamps. Jeremy.
| * r21785: Avoid an unnecessary gettimeofday() callVolker Lendecke2007-03-111-1/+1
| | | | | | | | Volker
| * r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-03-1114-162/+104
| | | | | | | | | | | | | | | | winbind who did not run the idle events to drop ldap connections. Volker
| * r21783: Add in the "create info" field to the replyJeremy Allison2007-03-112-23/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from POSIX_OPEN and POSIX_MKDIR as specified by Stevef in the wikki (extra 4 byte field). Also fix horrible bug in James's code (James you should review this for your Apple patch tree) where he failed to allocate the correct return memory size when returning a INFO2 struct. Added #define for the size of the INFO2 struct and made sure we allocate the correct size for return. Jeremy.
| * r21782: Fix a memleakVolker Lendecke2007-03-101-0/+1
| |
| * r21780: let smbcontrol use POPT_COMMON_SAMBA options to allow setting debugHerb Lewis2007-03-091-20/+8
| | | | | | | | | | level. Fix calculation of argc after options are stripped. I couldn't find a popt function that returned this.
| * r21779: I missd a call to krb5_get_init_creds_opt_alloc in r21778.James Peach2007-03-091-1/+1
| |
| * r21778: Wrap calls to krb5_get_init_creds_opt_free to handle the differentJames Peach2007-03-094-10/+50
| | | | | | | | | | calling convention in the latest MIT changes. Apparantly Heimdal is also changing to this calling convention.
| * r21777: As Stevef requested and the Apple guys agreed, makeJeremy Allison2007-03-093-9/+14
| | | | | | | | | | | | | | mode_t in posix_open/posix_mkdir -> 8 bytes to match the SET_UNIX_INFO_BASIC call. Steve is updating the Wikki. Jeremy.
| * r21776: fix bugs #4438 #4440Simo Sorce2007-03-091-4/+10
| |
| * r21775: make messages more understandable - don't leave part dangling after ↵Herb Lewis2007-03-091-2/+2
| | | | | | | | newline
| * r21774: Fix the build with Fedora Core 6.Günther Deschner2007-03-091-0/+4
| | | | | | | | | | | | tridge/vl: please check. Guenther
| * r21770: For old DOS style searches we must remember ifJeremy Allison2007-03-091-0/+5
| | | | | | | | | | | | | | the initial search had a wildcard in order to correctly return no error on end of search. Found by Samba4 torture tester. Jeremy.
| * r21769: Attempt to fix bug #4384 in old search code.Jeremy Allison2007-03-091-14/+4
| | | | | | | | | | | | We were accessing a pathname that hadn't gone through unix_convert ! That's a big no-no... Jeremy.
| * r21768: Fix the client dfs code such that smbclient canJeremy Allison2007-03-0810-121/+167
| | | | | | | | | | | | | | | | | | process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy.
| * r21767: Revert all the bits I accidentally committed in r21766.James Peach2007-03-085-17/+9
| |
| * r21766: Fix compiler warning.James Peach2007-03-086-10/+18
| |
| * r21765: Fix the build for HP-UX.James Peach2007-03-081-1/+6
| |
| * r21764: Fix warning in debug comment.Jeremy Allison2007-03-081-2/+2
| | | | | | | | Jeremy.
| * r21763: Add support for the UNIX_INFO2 infolevel.James Peach2007-03-083-46/+302
| |
| * r21762: Fix the build by enabling shared modules and adding the config.*James Peach2007-03-086-10/+3106
| | | | | | | | | | files. Add norify_watch and chflags operations. Fix a bunch of warnings.
| * r21759: Fix the same bug in a more elegant way, strrchr_mJeremy Allison2007-03-081-7/+12
| | | | | | | | | | is an expensive call.... Jeremy.
| * r21758: Fix a very specific dfs bug when passing in POSIXJeremy Allison2007-03-081-3/+6
| | | | | | | | | | | | | | pathnames. When we're working out how much we've consumed we need to backtrack by either a '/' or '\\' component, as both are valid separators. Jeremy.
| * r21757: Add SMB_VFS_CHFLAGS operation.James Peach2007-03-084-1/+33
| |
| * r21756: An invarient the dfs code depended on for POSIX pathsJeremy Allison2007-03-071-4/+1
| | | | | | | | | | is no longer true, so fix it. Jeremy.
| * r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison2007-03-075-4/+26
| | | | | | | | Jeremy.
| * r21754: Volker is completely correct. There's no need forJeremy Allison2007-03-075-47/+126
| | | | | | | | | | | | | | the RESOLVE_DFSPATH macros and their varients any more. Fix reporting profile bug with all error returns. Jeremy.
| * r21753: Enable building ndrdump with the builtin popt. Jelmer, please check!Volker Lendecke2007-03-071-1/+1
| |
| * r21750: Sync up with SAMBA_3_0_25. Only client changes are in libsmbclientJeremy Allison2007-03-072-2/+43
| | | | | | | | | | right now. Jeremy.
| * r21748: More cosmetic alignment. One change to call_nt_transact_create(): We ↵Volker Lendecke2007-03-071-11/+14
| | | | | | | | | | | | | | | | | | | | were asking open_file_ntcreate for a batch oplock if the client asked us to do so, even if it did not ask for an oplock in the first place. Did not test it, but I think this is bogus anyway. Volker
| * r21747: Cosmetic checkin to bring ntcreate and nttranscreate closer togetherVolker Lendecke2007-03-071-13/+19
| |
| * r21738: Remove unused file.James Peach2007-03-071-80/+0
| |
| * r21734: Fix bug #4369. Patch from David Leonard <dleonard@vintela.com>.Jeremy Allison2007-03-071-0/+5
| | | | | | | | Jeremy.
| * r21731: Fix long-standing bug in our chain processing code.Jeremy Allison2007-03-071-3/+20
| | | | | | | | | | | | Should fix a bug with WinPE. Probably a candidate for the Vista patchset. Jeremy.
| * r21726: Fix stupid cut-n-paste typo. Thanks to volker forJeremy Allison2007-03-061-1/+1
| | | | | | | | | | being on the ball..... :-). Jeremy.
| * r21725: Fix for memalign used without test guards. WasJeremy Allison2007-03-062-22/+22
| | | | | | | | | | breaking the build on *BSD's. Tested by Herb. Jeremy.
| * r21724: Optimization pointed out by Volker. If we don'tJeremy Allison2007-03-062-0/+21
| | | | | | | | | | | | have any outstanding locks or blocking locks then we don't need to read the lock db. on close. Jeremy.
| * r21723: Make use of the per-hashchain "freelists"Volker Lendecke2007-03-063-0/+9
| |
| * r21722: Add the dead record functionality presented on ↵Volker Lendecke2007-03-064-6/+187
| | | | | | | | | | | | | | | | | | | | | | samba-technical@samba.org. If you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will only mark a record as dead and re-use it if a new record is created. The parameter n allows for at most n dead records per hash chain. If this number is exceeded, all dead records are put on the central freelist. Volker
| * r21717: Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.James Peach2007-03-062-1/+141
| |
| * r21715: Fix torture utime code.Jeremy Allison2007-03-061-4/+4
| | | | | | | | Jeremy.
| * r21714: Change the VFS interface to use struct timespecJeremy Allison2007-03-0527-177/+294
| | | | | | | | | | | | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
| * r21706: get_delete_on_close_flag() is the perfect candidate for ↵Volker Lendecke2007-03-051-7/+21
| | | | | | | | tdb_parse_record()
| * r21705: add modify rights definesHerb Lewis2007-03-051-1/+15
| |
| * r21704: open sockets immediately in process_loopHerb Lewis2007-03-051-8/+9
| |
| * r21703: fix build when O_SYNC not definedHerb Lewis2007-03-051-0/+2
| |
| * r21672: The cannonical file access pattern should look like this :Jeremy Allison2007-03-034-207/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | srvstr_get_path(inbuf, name, smb_buf(inbuf) + 1, sizeof(name), 0, STR_TERMINATE, &status); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } RESOLVE_DFSPATH(name, conn, inbuf, outbuf); status = unix_convert(conn, name, False, NULL, &sbuf); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } status = check_name(conn, name); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } Make sure that every access pattern (including the wildcard generated paths from unlink, rename, and copy) do the same. Tidy things up a bit.... Jeremy.
| * r21667: posix_unlink should break existing oplocks.Jeremy Allison2007-03-021-1/+1
| | | | | | | | Jeremy.
| * r21666: (only in 3.0, not 3.0.25). Fix bad parameter to call.Jeremy Allison2007-03-021-1/+1
| | | | | | | | Jeremy.