summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r21846: Try and fix the Darwin build which seems to have a strange krb5.Jeremy Allison2007-10-101-0/+6
| | | | Jeremy.
* r21845: Refactor the sessionsetupX code a little to allow usJeremy Allison2007-10-106-73/+319
| | | | | | | | | | | to return a NT_STATUS_TIME_DIFFERENCE_AT_DC error to a client when there's clock skew. Will help people debug this. Prepare us for being able to return the correct sessionsetupX "NT_STATUS_MORE_PROCESSING_REQUIRED" error with associated krb5 clock skew error to allow clients to re-sync time with us when we're eventually able to be a KDC. Jeremy.
* r21840: mount.cifs compile on old libc missing bind mount #defineSteve French2007-10-101-0/+4
| | | | Thanks to Thomas Jarosch for pointing this out.
* r21831: Back out r21823 for a while, this is going into a bzr tree first.Volker Lendecke2007-10-107-36/+6
| | | | Volker
* r21825: add debug prefix timestamp to allow "short timestamps" to beHerb Lewis2007-10-102-2/+12
| | | | added to debug messages
* r21823: Let secrets_store_machine_password() also store the account name. ↵Volker Lendecke2007-10-107-6/+36
| | | | | | | | | Not used yet, the next step will be a secrets_fetch_machine_account() function that also pulls the account name to be used in the appropriate places. Volker
* r21822: Adding experimental krb5 lib locator plugin.Günther Deschner2007-10-103-0/+399
| | | | | | | | | | | | | | | | This is a starting point and may get changed. Basically we need follow the exact same path to detect (K)DCs like other Samba tools/winbind do. In particular with regard to the server affinity cache and the site-awarness for DNS SRV lookups. To compile just call "make bin/smb_krb5_locator.so", copy to /usr/lib/plugin/krb5/ (Heimdal HEAD) or /usr/lib/krb5/plugins/libkrb5/ (MIT) and you should immediately be able to kinit to your AD domain without having your REALM with kdc or kpasswd directives defined in /etc/krb5.conf at all. Tested with todays Heimdal HEAD and MIT krb5 1.5. Guenther
* r21819: Wrap all steps in secrets_store_machine_password into one singleVolker Lendecke2007-10-101-12/+50
| | | | | | transaction. Succeed all or store nothing. Volker
* r21818: Remove some unused codeVolker Lendecke2007-10-101-23/+0
|
* r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failureAndrew Tridgell2007-10-101-1/+2
|
* r21813: fixed an integer overflow error in the ndr push code.Andrew Tridgell2007-10-102-3/+10
| | | | Jerry, you might like to consider this for 3.0.25
* r21804: Create a reference after proto_exits was called once. Else we link theLars Müller2007-10-101-1/+2
| | | | binaries again with each make. Thx Volker to point my chesty at this.
* r21803: Missed part of patch to make self-referrals work.Jeremy Allison2007-10-101-0/+1
| | | | Jeremy.
* r21801: Fix Coverity ID # 342Volker Lendecke2007-10-101-0/+1
|
* r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison2007-10-109-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-10-101-1/+1
| | | | | Bad cut-n-paste on rewrite of timestamps. Jeremy.
* r21785: Avoid an unnecessary gettimeofday() callVolker Lendecke2007-10-101-1/+1
| | | | Volker
* r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-10-1014-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-10-102-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-10-101-0/+1
|
* r21780: let smbcontrol use POPT_COMMON_SAMBA options to allow setting debugHerb Lewis2007-10-101-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-10-101-1/+1
|
* r21778: Wrap calls to krb5_get_init_creds_opt_free to handle the differentJames Peach2007-10-104-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-10-103-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-10-101-4/+10
|
* r21775: make messages more understandable - don't leave part dangling after ↵Herb Lewis2007-10-101-2/+2
| | | | newline
* r21774: Fix the build with Fedora Core 6.Günther Deschner2007-10-101-0/+4
| | | | | | tridge/vl: please check. Guenther
* r21770: For old DOS style searches we must remember ifJeremy Allison2007-10-101-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-10-101-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-10-1010-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-10-105-17/+9
|
* r21766: Fix compiler warning.James Peach2007-10-106-10/+18
|
* r21765: Fix the build for HP-UX.James Peach2007-10-101-1/+6
|
* r21764: Fix warning in debug comment.Jeremy Allison2007-10-101-2/+2
| | | | Jeremy.
* r21763: Add support for the UNIX_INFO2 infolevel.James Peach2007-10-103-46/+302
|
* r21762: Fix the build by enabling shared modules and adding the config.*James Peach2007-10-106-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-10-101-7/+12
| | | | | is an expensive call.... Jeremy.
* r21758: Fix a very specific dfs bug when passing in POSIXJeremy Allison2007-10-101-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-10-104-1/+33
|
* r21756: An invarient the dfs code depended on for POSIX pathsJeremy Allison2007-10-101-4/+1
| | | | | is no longer true, so fix it. Jeremy.
* r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison2007-10-105-4/+26
| | | | Jeremy.
* r21754: Volker is completely correct. There's no need forJeremy Allison2007-10-105-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-10-101-1/+1
|
* r21750: Sync up with SAMBA_3_0_25. Only client changes are in libsmbclientJeremy Allison2007-10-102-2/+43
| | | | | right now. Jeremy.
* r21748: More cosmetic alignment. One change to call_nt_transact_create(): We ↵Volker Lendecke2007-10-101-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-10-101-13/+19
|
* r21738: Remove unused file.James Peach2007-10-101-80/+0
|
* r21734: Fix bug #4369. Patch from David Leonard <dleonard@vintela.com>.Jeremy Allison2007-10-101-0/+5
| | | | Jeremy.
* r21731: Fix long-standing bug in our chain processing code.Jeremy Allison2007-10-101-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-10-101-1/+1
| | | | | being on the ball..... :-). Jeremy.