summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* r22020: Make it more clear that both the vuser struct and it's contents areAndrew Bartlett2007-10-101-3/+3
| | | | | | | | | | talloc_free()'ed at the end of a session. Rework the passwd cache code to use talloc_unlink and talloc_reference, to more carefully manage the cache. Andrew Bartlett (This used to be commit e3e0ec25e67308de314aa61852905ee42aa2c8fe)
* r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2007-10-101-3/+4
| | | | | | | and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
* r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdcJeremy Allison2007-10-101-0/+3
| | | | | | | call as smb_krb5_locate_kdc to prevent incorrect linking and crashes on Solaris. Jeremy. (This used to be commit 7d30737c8d851505e81a60443baf9a8c7e523472)
* r21991: I hate Steve French :-). Add support for encryptionJeremy Allison2007-10-102-8/+1
| | | | | | contexts.... Jeremy. (This used to be commit ae8f3649f773b8a8dcb55921536d038d3475322e)
* r21969: Start working on the gss-side of the server negotiation.Jeremy Allison2007-10-103-3/+11
| | | | | Jeremy. (This used to be commit fbc569b530104679e47fe743963eb0c4384de6ae)
* r21926: Fix missing enum specifier pointed out by Don McCall @ HP.Jeremy Allison2007-10-101-1/+1
| | | | | | Thanks Don ! Jeremy. (This used to be commit 662344d1ec3593689de7602afa518ed98e10dc37)
* r21917: Start to do the gss versions of sign+seal.Jeremy Allison2007-10-102-4/+4
| | | | | Jeremy. (This used to be commit a226645353a40047b72de1b96c3a7676a2bf1034)
* r21883: Try and fix the build by removing the prototypes forJeremy Allison2007-10-101-0/+8
| | | | | | functions that take a gss context handle in includes.h Jeremy. (This used to be commit 638b03242d4a6b1df2477dad19240ed61a14a5a3)
* r21880: Make client and server calls into encryption code symetrical,Jeremy Allison2007-10-101-0/+1
| | | | | | depending on encryption context pointer. Jeremy. (This used to be commit d3f3ced6c8a03d971143baf878158d671dfcbc3b)
* r21876: Start adding in the seal implementation - prototype codeJeremy Allison2007-10-101-2/+16
| | | | | | | | | for the server side enc. (doesn't break anything). I'll keep updating this until I've got NTLM seal working on both client and server, then add in the gss level seal. Jeremy. (This used to be commit 530ac29abf23e920baa549e7cec55199edd8bd74)
* r21875: BUG 3275: Patch from Andy Polyakov <appro@fy.chalmers.se>Gerald Carter2007-10-101-7/+2
| | | | | | | Relax check for i386 header checks in the PE header of printer driver files. Thus allowing uploading of x64 print drivers from 64bit Windows clients. (This used to be commit 328807ec7b1ce6489d5443a93d1599f93af93933)
* r21870: Move sending auth_server keepalives out of the main loop into an ↵Volker Lendecke2007-10-101-6/+0
| | | | | | | idle event. Volker (This used to be commit 6226b30f38cd82531422815ba66a687aab50028d)
* r21865: Add in the stubs for SMB transport encryption. Will fleshJeremy Allison2007-10-102-1/+23
| | | | | | | | these out as I implement. Don't add to SAMBA_3_0_25, this is experimental code. NFSv4 you're now officially on notice... :-). Jeremy. (This used to be commit 5bfe638f2172e272741997100ee5ae8ff280494d)
* r21845: Refactor the sessionsetupX code a little to allow usJeremy Allison2007-10-101-0/+5
| | | | | | | | | | | | 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. (This used to be commit c426340fc79a6b446033433b8de599130adffe28)
* r21831: Back out r21823 for a while, this is going into a bzr tree first.Volker Lendecke2007-10-101-1/+0
| | | | | Volker (This used to be commit fd0ee6722ddfcb64b5cc9c699375524ae3d8709b)
* r21823: Let secrets_store_machine_password() also store the account name. ↵Volker Lendecke2007-10-101-0/+1
| | | | | | | | | | 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 (This used to be commit f94e5af72e282f70ca5454cdf3aed510b747eb93)
* r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison2007-10-101-3/+4
| | | | | | | | | 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. (This used to be commit 7a7862c01d07796ef206b255c676ad7dc2cc42fc)
* r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-10-101-1/+3
| | | | | | | | | winbind who did not run the idle events to drop ldap connections. Volker (This used to be commit af3308ce5a21220ff4c510de356dbaa6cf9ff997)
* r21783: Add in the "create info" field to the replyJeremy Allison2007-10-101-1/+7
| | | | | | | | | | | | | | | | 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. (This used to be commit d88bc59cb4d5e8851b0856c67ed878ba8bd84552)
* r21778: Wrap calls to krb5_get_init_creds_opt_free to handle the differentJames Peach2007-10-101-2/+5
| | | | | | calling convention in the latest MIT changes. Apparantly Heimdal is also changing to this calling convention. (This used to be commit c29c69d2df377fabb88a78e6f5237de106d5c2c5)
* r21777: As Stevef requested and the Apple guys agreed, makeJeremy Allison2007-10-101-2/+2
| | | | | | | | mode_t in posix_open/posix_mkdir -> 8 bytes to match the SET_UNIX_INFO_BASIC call. Steve is updating the Wikki. Jeremy. (This used to be commit 2f1c95ac7718c1d2a75367ba712edd6b57069432)
* r21768: Fix the client dfs code such that smbclient canJeremy Allison2007-10-101-15/+15
| | | | | | | | | | 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. (This used to be commit 1c9e10569cd97ee41de39f9f012bea4e4c932b5d)
* r21763: Add support for the UNIX_INFO2 infolevel.James Peach2007-10-101-0/+40
| | | | (This used to be commit 262e4e1fd8398934780db354fcc5316368032d7b)
* r21757: Add SMB_VFS_CHFLAGS operation.James Peach2007-10-102-1/+8
| | | | (This used to be commit 16cb22d6b83c502dec1b297c544c05d89714b3d6)
* r21754: Volker is completely correct. There's no need forJeremy Allison2007-10-101-20/+0
| | | | | | | | the RESOLVE_DFSPATH macros and their varients any more. Fix reporting profile bug with all error returns. Jeremy. (This used to be commit cdf0fdb1049fd68b46885cbea887dc0e595fa524)
* r21724: Optimization pointed out by Volker. If we don'tJeremy Allison2007-10-101-0/+1
| | | | | | | have any outstanding locks or blocking locks then we don't need to read the lock db. on close. Jeremy. (This used to be commit 1b063496f93f78347a6e67549bde54c845499a7d)
* r21717: Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.James Peach2007-10-101-0/+31
| | | | (This used to be commit 32c7281f90b042c9f01962c4661faaf979676711)
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-10-104-12/+14
| | | | | | | | | | | 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. (This used to be commit 8f3d530c5a748ea90f42ed8fbe68ae92178d4875)
* r21705: add modify rights definesHerb Lewis2007-10-101-1/+15
| | | | (This used to be commit 06c777529f62b29edda4e9820426117ec4a3546d)
* r21638: Change POSIX_UNLINK to allow clients to differentiateJeremy Allison2007-10-101-2/+10
| | | | | | between unlink/rmdir calls. Jeremy. (This used to be commit f0c8488d382ada32fabe79399f64ba1c6486d009)
* r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison2007-10-101-0/+1
| | | | | | Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
* r21581: Add an error code I just gotVolker Lendecke2007-10-101-0/+1
| | | | (This used to be commit 5ef0286b56b368abd4da2cbe3d826a3438f3acc3)
* r21525: Go ahead and checkin the mlock() & memalign() fixes soGerald Carter2007-10-101-0/+1
| | | | | | | | | others don't get stuck with the winbindd hang. Still waiting on additional confirmation from Guenther that this fixes thes issues he was observing as well. But it's been running in my local tree for a day without problems. (This used to be commit 0d2b80c6c4a744b05a0efdec352cddccc430e0c4)
* r21460: Fix for server-side processing of SPNEGO authJeremy Allison2007-10-101-1/+9
| | | | | | | | fragmented into "max xmit" size security blob chunks. Bug #4400. Needs limits adding, and also a client-side version. Jeremy. (This used to be commit aa69f2481aafee5dccc3783b8a6e23ca4eb0dbfa)
* r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,Jim McDonough2007-10-103-1/+12
| | | | | | | | | | it should be abstracted a little higher up so other os'es can have an entry, but it will take a bit more work. Thanks to Chetan Shringarpure and Mathias Dietz. I didn't increment the vfs number again because the kernel change notify stuff hasn't been released yet anyway. (This used to be commit 9463211bf3b46ee408b88dfbf42d498e3839d4cc)
* r21279: Get rid of 'aio write behind', this is broken.Volker Lendecke2007-10-101-2/+0
| | | | | | | It should probably better be integrated with our write cache. Volker (This used to be commit 58bfd168b046a97a895aaa3384fd7af8d077a1d5)
* r21250: Partial fix for BUG 4093: Make %a expand to "Vista"Gerald Carter2007-10-101-1/+3
| | | | | | | | | | | based on the flags2 values in the negprot request. This also includes some code for testing the dialect strings for "SMB 2.001" but this is unreliable as Vista only sends that in the 1st negprot and caches the fact that we don't support it. Restartnig the WOrkstation service on the client clears the cache. (This used to be commit d781eeb0e4362b7af1497634d26315498a5257d4)
* r21240: Fix longstanding Bug #4009.Günther Deschner2007-10-102-2/+3
| | | | | | | | | | | | | | | | | | For the winbind cached ADS LDAP connection handling (ads_cached_connection()) we were (incorrectly) assuming that the service ticket lifetime equaled the tgt lifetime. For setups where the service ticket just lives 10 minutes, we were leaving hundreds of LDAP connections in CLOSE_WAIT state, until we fail to service entirely with "Too many open files". Also sequence_number() in winbindd_ads.c needs to delete the cached LDAP connection after the ads_do_search_retry() has failed to submit the search request (although the bind succeeded (returning an expired service ticket that we cannot delete from the memory cred cache - this will get fixed later)). Guenther (This used to be commit 7e1a84b7226fb8dcd5d34c64a3478a6d886a9a91)
* r21227: Quick fix for Stevef - ensure the returned data on openJeremy Allison2007-10-101-0/+2
| | | | | | is 8 byte aligned. Jeremy. (This used to be commit 7645044fcf77644839bb0d74163d93d03284bd67)
* r21204: Add define for new QFS Info for "who am i"Steve French2007-10-101-0/+15
| | | | (This used to be commit 739a608eadd9448791366f26b42b06d38d77e037)
* r21191: Add in the POSIX open/mkdir/unlink calls.Jeremy Allison2007-10-102-12/+58
| | | | | | | | | Move more error code returns to NTSTATUS. Client test code to follow... See if this passes the build-farm before I add it into 3.0.25. Jeremy. (This used to be commit 83dbbdff345fa9e427c9579183f4380004bf3dd7)
* r21188: bumping passdb version number to make sure this is different than ↵Gerald Carter2007-10-101-2/+1
| | | | | | the 3.0.25 branch (This used to be commit b10f4cdfc0767dbd88f29f42fa5a8d9a9c1959a2)
* r21132: - Fixes bug 4366. Documentation for smbc_utimes() was incorrect.Derrell Lipman2007-10-101-9/+11
| | | | | | | | | | | | | | - Should fix bug 4115 (but needs confirmation from OP). If the kerberos use flag is set in the context, then also pass it to smbc_attr_server for use by cli_full_connection() - Should fix bug 4309 (but needs confirmation from OP). We no longer send a keepalive packet unconditionally. Instead, we assume (yes, possibly incorrectly, but it's the best guess we can make) that if the connection is on port 139, it's netbios and otherwise, it isn't. If netbios is in use, we send a keepalive packet. Otherwise, we check that the connection is alive using getpeername(). (This used to be commit 2f9be59c10ef991a51cc858ab594187b5ca61382)
* r21123: Make notify_fsp() static to notify.c.Volker Lendecke2007-10-101-10/+1
| | | | | Volker (This used to be commit d663b729c0b3f4265fa90a5df8534ad52b8f04eb)
* r21113: Increment vfs version, thanks to metze for pointing it outVolker Lendecke2007-10-101-1/+2
| | | | (This used to be commit 3da52b500d63856c10d9d71ee2d0fb5fe1b28bdd)
* r21110: Fix kinit with Heimdal (Bug #4226).Günther Deschner2007-10-101-0/+2
| | | | | Guenther (This used to be commit ea38e1f8362d75e7ac058a7c4aa06f1ca92ec108)
* r21108: Send sys_notify_watch through the VFS, FAM is nextVolker Lendecke2007-10-103-1/+16
| | | | (This used to be commit 603a96761391f36ae9a1c8777d3333ab5c02eb34)
* r21093: Remove the hash and dnotify backends. Disabling FAM for this ↵Volker Lendecke2007-10-101-9/+0
| | | | | | | | | checkin, I'm working on that right now. Volker (This used to be commit 01c9fb17281e99300b339d2cfc0acac7ca94843c)
* r21092: Ok, that's the one that activates the Samba4 notify backend.Volker Lendecke2007-10-101-0/+1
| | | | | | | Now to clean up / fix lots of stuff. Volker (This used to be commit 9e7443fa1417c01be903b15073825dc4def78d99)
* r21088: Apply some constVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 1f463f7cb59da2c819b45f33d797101943d5e205)