summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
Commit message (Collapse)AuthorAgeFilesLines
* r24660: Merge the inbuf/outbuf changesVolker Lendecke2007-08-251-12/+4
|
* r23986: Some constVolker Lendecke2007-07-211-1/+1
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r23739: Merge r23724 from 3_0 without the accidential checkin:Volker Lendecke2007-07-071-0/+7
| | | | | | | | Reduce access to the global inbuf a tiny bit. Add a struct smb_request that contains some of the fields from the SMB header, removing the need to access inbuf directly. This right now is used only in the open file code & friends, and creating that header is only done when needed. This needs more work, but it is a start.
* r23410: Merge the core of the cluster code.Volker Lendecke2007-06-101-0/+4
| | | | | | | | | | | | | | | | I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker
* r23280: Replace the NetFileClose() call with the pidl generated code.Gerald Carter2007-05-311-0/+1
| | | | No risk since we don't support the call functionally anyways.
* r23277: This might break the shutdown script functionality.Gerald Carter2007-05-311-1/+3
| | | | | | | | I think it is safe for now. * Merge the initshutdown code from SAMBA_3_0 * Replace _reg_close() with the pidl generate winreg_CloseKey() client and server code
* r23275: Have not tested this (I don't think the dfs RPC code has even Gerald Carter2007-05-311-1/+2
| | | | | really been considered stable). merge the complete netdfs pipe support from SAMBA_3_0.
* r23273: Replace hand written CloseEventlog() with pidl generated stubGerald Carter2007-05-311-0/+1
|
* r23270: Replace hand code CloseServiceHandle() with the pidl generated stubsGerald Carter2007-05-311-0/+2
| | | | (client and server)
* r23250: remove references to the PI_ECHO pipe indexGerald Carter2007-05-301-1/+0
|
* r23245: convert the echo_AddOne() rpc call to use the generated stubGerald Carter2007-05-301-0/+1
|
* r23244: Fix loop with nscd and NSS recusive calls.Gerald Carter2007-05-301-6/+9
| | | | | | | | | | | | | | | | | | | | | | | > Here's the problem I hit: > > getgrnam("foo") -> nscd -> NSS -> winbindd -> > winbindd_passdb.c:nam_to_sid() -> lookup_global_sam_name() -> > getgrnam("foo") -> nscd -> .... > > This is in the SAMBA_3_0 specifically but in theory could happen > SAMBA_3_0_25 (or 26) for an unknown group. > > The attached patch passes down enough state for the > name_to_sid() call to be able to determine the originating > winbindd cmd that came into the parent. So we can avoid > making more NSS calls if the original call came in trough NSS > so we don't deadlock ? But you should still service > lookupname() calls which are needed for example when > doing the token access checks for a "valid groups" from > smb.conf. > > I've got this in testing now. The problem has shown up with the > DsProvider on OS X and with nscd on SOlaris and Linux.
* r23217: Use the enum lsa_SidType declaration from the autogenerated lsa.hGerald Carter2007-05-291-14/+1
|
* r23211: merge security descriptor data structure changes from SAMBA_3_0Gerald Carter2007-05-291-2/+1
|
* r23190: svn merge ../SAMBA_3_0 -r22019:22026Gerald Carter2007-05-291-3/+3
| | | | | This is abartlet's talloc changes to the samu struct stored in the server info state.
* r23183: Check in a change made by Tridge:Volker Lendecke2007-05-291-7/+4
| | | | | | | | | | | | | This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker
* r23163: Convert locking.tdb to dbwrapVolker Lendecke2007-05-271-0/+1
|
* r23100: Implement the delete on close semantics I've just tested forJeremy Allison2007-05-231-1/+2
| | | | | | in Samba4 smbtorture. Fix rename on an open file handle. Needed for 3.0.25a. Jeremy.
* r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke2007-05-211-3/+2
| | | | | | | | | | | doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-05-141-0/+2
| | | | replace all data_blob(NULL, 0) calls.
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-05-071-5/+5
| | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker
* r22390: Patchset sent to samba-technical to address the winbind Gerald Carter2007-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | loop when allocating a new id for a SID: auth_util.patch Revert create_local_token() to the 3.0.24 codebase idmap_type.patch Have the caller fillin the id_map.xid.type field when resolving a SID so that if we allocate a new id, we know what type to use winbindd_api.patch Remove the WINBINDD_SIDS_TO_XIDS calls from the public winbindd interface for the 3.0.25 release idmap_rid.patch Cleanup the idmap_rid backend to not call back into winbindd to resolve the SID in order to verify it's type.
* r22342: This patch tries to fix a number of problems with the offline code.Simo Sorce2007-04-181-1/+2
| | | | | | | | | | | | | So far I have tested it only with idmap_tdb, idmap_ad testing is next. Fixes: - The code returned an error on any idmap call if winbindd was put offline before the idmap code was initialized. - The code denied consulting any backend, even local ones like idmap_tdb when offline, correct the situation by handling offline decisions in the backends Simo.
* r22266: Fix bug #4512 - we were returning a volume label greater thanJeremy Allison2007-04-161-1/+1
| | | | | 32 unicode chars. Windows XP doesn't like that :-). Jeremy
* r22123: Try and fix the csc (#4404) bug by supporting the extendedJeremy Allison2007-04-071-4/+7
| | | | | | | response to NTCreateX - need to fix this also for pipe open and NTTransCreate as well so this isn't finished. Jeremy.
* r22122: Start to fix csc issue with Vista. Make smbd supportJeremy Allison2007-04-071-0/+7
| | | | | | the extended 7 word response for tconX rather than the 3 word one we supported previously. Jeremy.
* r21724: Optimization pointed out by Volker. If we don'tJeremy Allison2007-03-061-0/+1
| | | | | | have any outstanding locks or blocking locks then we don't need to read the lock db. on close. Jeremy.
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-03-051-2/+2
| | | | | | | | | | 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.
* r21460: Fix for server-side processing of SPNEGO authJeremy Allison2007-02-201-1/+9
| | | | | | | fragmented into "max xmit" size security blob chunks. Bug #4400. Needs limits adding, and also a client-side version. Jeremy.
* r21322: No feedback means consent :-)Volker Lendecke2007-02-131-32/+76
| | | | | | | | | | | It does not matter if I screw up 3.0.25 or 3.0.26 with this, so do it rather sooner than later. Add the notify support that already exists in 3_0 to 3_0_25. If you want to see this patch dissected into digestable parts, look at 3_0, revisions at about 20800 and following. Volker
* r21250: Partial fix for BUG 4093: Make %a expand to "Vista"Gerald Carter2007-02-081-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.
* r21209: Add in the POSIX extensions.Jeremy Allison2007-02-071-11/+16
| | | | Jeremy.
* r21186: * Merge nss_info and idmap interface changes to current Gerald Carter2007-02-061-0/+22
| | | | | | stable branch * Also include pam_winbind changes for multiple groups in the require-membership-of parameter
* r20883: W00t! I now understand how "delete on close" reallyJeremy Allison2007-01-181-2/+1
| | | | | | | | | | | | | | | | works - even with the strange "initial delete on close" semantics. The "initial delete on close" flag isn't committed to the share mode db until the handle is closed, and is discarded if any real "delete on close" was set. This allows me to remove the "initial_delete_on_close" flag from the share db, and move it into a BOOL in files_struct. Warning ! You must do a make clean after this. Cope with the wrinkle in directory delete on close which is done differently from files. We now pass all Samba4 smbtortute BASE-DELETE tests except for the one checking that files can't be created in a directory which has the delete on close set (possibly expensive to fix). Jeremy.
* r20742: Rename chkpth -> checkpath for sanity's sake :-).Jeremy Allison2007-01-131-1/+1
| | | | | | Start removing unneeded "BOOL ok" from this reply.c (this logic is old, old, old..... :-). Jeremy.
* r20655: After consulting with Volker, fix our pathnameJeremy Allison2007-01-101-13/+16
| | | | | | | | | | handling. Gets rid of more code than it adds. I will port this to SAMBA_3_0 next. There are still some wrinkles with wildcard delete I am working on - for example a dirtype pattern of 0x8aa4 isn't handled correctly yet.... still looking at this. Jeremy.
* r20447: Happy New Year!Stefan Metzmacher2007-01-011-1/+1
| | | | metze
* r20098: Properly fix issues with create_token_from_username()Jeremy Allison2006-12-101-1/+1
| | | | | | | | | | | | | | reported by James. Ensure that this function allocates everything on the temporary context except the return memory. Never call this with a null mem context, and now use conn->mem_ctx instead in smbd/service.c. Remove separate free functions for conn->ngroups and conn->nt_user_token as they are now always talloc'ed off the conn->mem_ctx. Future optimization will be to remove conn->mem_ctx and make all objects pointed to in the conn struct talloc'ed off conn itself. Easy to free then :-). Jeremy.
* r19815: Minimal merge of wkssvc client and server auto-generated code.Gerald Carter2006-11-211-51/+9
|\ | | | | | | | | | | | | | | | | This is to allow for more ndr testing. The wkssvc pipe has a minimal set of operations (only one we actually supported). I think the 3.0.24 merge is done now. The remaining pieces are the full unfinished IDL support and the security descriptor structure changes.
* | r19810: more merge work....does not compile currently. Working on smbd mergeGerald Carter2006-11-211-44/+15
| |
* | r19806: merge time.c changesGerald Carter2006-11-201-4/+1
| |
* | r19801: grabbing minor changes (some missing pieces from jmcd's SAMR work as ↵Gerald Carter2006-11-201-0/+10
| | | | | | | | well)
* | r19795: * bring the 'enum lsa_SidType', 'struct GUID', & 'structGerald Carter2006-11-191-9/+14
| | | | | | | | policy_handle' over from SAMBA_3_0.
* | r19767: Intermediate checking (does not yet compile)Gerald Carter2006-11-181-6/+13
|\| | | | | | | | | | | | | | | | | * bring over lib/{ldb,replace,talloc,socket_wrapper} * bring over libaddns, tdb * remove smbwrappper * grab Makefile and configure.in from SAMBA_3_0 * Start dealing with snum -> share struct issues * Start merging filename mangling code
| * r18802: Use the pidl-generated code for the srvsvc interface, both client ↵Jelmer Vernooij2006-09-211-6/+0
| | | | | | | | | | | | | | and server code. This has had some basic testing. I'll do more during the next couple of days and hopefully also make RPC-SRVSVC from Samba4 pass against it.
| * r18787: Fix the strlen_m and strlen_m_term code by mergingJeremy Allison2006-09-211-0/+4
| | | | | | | | | | | | in (and using elsewhere) next_codepoint from Samba4. Jerry please test. Jeremy.
| * r18717: remove old defines in preference of the flags in librpc/gen_ndr/srvsvc.hGerald Carter2006-09-201-33/+4
| |
| * r18654: Rename "struct uuid" => "struct GUID" for consistency.Jelmer Vernooij2006-09-191-7/+0
| |