summaryrefslogtreecommitdiffstats
path: root/source/smbd/service.c
Commit message (Collapse)AuthorAgeFilesLines
* r25387: Sync with 3.2.0 svn treeGerald Carter2007-09-271-9/+13
|
* 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.
* r23443: Merge r20006 from 3_0:Michael Adam2007-06-121-55/+30
| | | | | | Convert the registry shares to use the new API (reg_api.c) Michael
* r23437: Merge r21547 from 3_0:Michael Adam2007-06-121-0/+8
| | | | | | Refuse registry shares without path. Michael
* r23436: Merge (a considerable amount of) r19991 from 3_0:Michael Adam2007-06-121-6/+5
| | | | | | | | | | | | * Introduce registry/reg_api.c, which closely resembles the winreg api. This is important for the subsequent merges of the "net conf" code. * The rewrite of rpc_server/srv_winreg_nt.c is _not_ merged since the preliminary changes have not been merged. * Change some routines from NTSTATUS to WERROR. * Remove "parent" argument to regkey_open_internal (and rewrite to use the new api functions like reg_openhive and so on). Michael
* r23430: Merge r19963 from 3_0:Michael Adam2007-06-121-0/+113
| | | | | | Add 'registry shares = yes' and registry key security descriptors. Michael
* r23168: Move the lp_max_connections() into service.c.Volker Lendecke2007-05-271-6/+20
|
* r23167: Remove an unused parameterVolker Lendecke2007-05-271-1/+1
|
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-05-141-2/+2
| | | | replace all data_blob(NULL, 0) calls.
* r21953: One format fix, clarify a condition that the IBMJeremy Allison2007-03-231-2/+20
| | | | | checker was worried about. Jeremy.
* r21482: Use IPC$ not ipc$ for consistency.Jeremy Allison2007-02-211-1/+1
| | | | Jeremy.
* r21481: No one said anything, so I'm disallowing anythingJeremy Allison2007-02-211-7/+17
| | | | | but explicit shares in "default service" :-). Jeremy.
* r21322: No feedback means consent :-)Volker Lendecke2007-02-131-3/+32
| | | | | | | | | | | 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
* r20098: Properly fix issues with create_token_from_username()Jeremy Allison2006-12-101-33/+17
| | | | | | | | | | | | | | 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.
* r20097: Ensure found_username is freed correctly whenJeremy Allison2006-12-091-2/+7
| | | | | talloced on the null context. Jeremy.
* r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison2006-12-091-2/+7
| | | | | | | | | | | | | we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy.
* r19810: more merge work....does not compile currently. Working on smbd mergeGerald Carter2006-11-211-20/+48
|
* r19795: * bring the 'enum lsa_SidType', 'struct GUID', & 'structGerald Carter2006-11-191-1/+1
| | | | policy_handle' over from SAMBA_3_0.
* r19771: more compile fixes....have to tackle the DLIST_XXX macros nextGerald Carter2006-11-181-1/+10
|
* r19769: more compile fixes while merging from SAMBA_3_0 (not done yet)Gerald Carter2006-11-181-2/+2
|
* r19705: Fix blocker bug for 3.0.23d - find_forced_group couldJeremy Allison2006-11-141-0/+9
| | | | | return an uninitialized sid. Jeremy.
* r17402: Added lookup_name_smbconf() to be called when lookingJeremy Allison2006-08-041-2/+2
| | | | | | | | | up names from smb.conf. If the name is unqualified it causes the lookup to be done in WORKGROUP\name, then "Unix [users|groups]"\name rather than searching the domain. Should fix the problems with "force user" selecting a domain user by preference. Jeremy.
* r16925: final changes for 3.0.23Gerald Carter2006-07-101-0/+5
|
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-10/+31
|
* r15088: Remove all time() and gettimeofday() calls out of the mainlineJeremy Allison2006-04-151-3/+2
| | | | | | packet processing code. Only do these when needed (ie. in the idle timeout code). We drop an unneccessary global here too. Jeremy.
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2006-02-201-3/+3
| | | | macro which sets the freed pointer to NULL.
* r13494: Merge the stuff I've done in head the last days.Volker Lendecke2006-02-131-1/+1
| | | | Volker
* r13316: Let the carnage begin....Gerald Carter2006-02-031-81/+206
| | | | Sync with trunk as off r13315
* r13095: Fix warnings assigning int to a size_t.Jeremy Allison2006-01-231-1/+3
| | | | Jeremy.
* r12308: ReformattingVolker Lendecke2005-12-171-4/+2
|
* r12307: Reformatting plus a trivial if/else simplification. There's no point ↵Volker Lendecke2005-12-171-72/+122
| | | | | | | | in doing an else branch that only returns NULL. Volker
* r12213: Final fix for #3303 - send rename messages to smbd'sJeremy Allison2005-12-131-1/+4
| | | | | | | | that have open file handles to allow them to correctly implement delete on close. There is a further correctness fix I'm intending to add to this to cope with different share paths, but not right now... Jeremy.
* r12194: Ensure that when we set a connection path we've canonicalizedJeremy Allison2005-12-121-3/+102
| | | | | | | | | the name (must be abolute - start with /, must not end in /, must have ./ and ../ removed). Of course for realpath resolved paths this won't be the case but for others we need this name to be canonicalized. This name is going into the sharemode db for #3303 so needs to be in a normalized format. Jeremy.
* r10693: Fix bug #3129, reported by Adam Porter <sambabugzilla@alphapapa.net>.Jeremy Allison2005-10-031-4/+8
| | | | | Rotten error message caused hours of wasted time. Jeremy.
* r7963: Add aio support to 3.0.Jeremy Allison2005-06-271-0/+1
| | | | Jeremy.
* r7948: Ensure we call the vfs connection hook before doing a vfs stat.Jeremy Allison2005-06-271-19/+21
| | | | | | Allows database vfs backends to initialise with a working connection. Bugid #2827 Jeremy.
* r7210: Fix my own mistakes up, sorry.Jeremy Allison2005-06-031-1/+1
| | | | Jeremy.
* r7200: Don't use memset, use SET_STAT_INVALID (has the same effect).Jeremy Allison2005-06-021-1/+1
| | | | Jeremy.
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2005-05-311-2/+4
| | | | version to 3.0.20pre1
* r6625: Remove another global variable left over from a long time ago (magic ↵Jeremy Allison2005-05-061-3/+0
| | | | | | char). Jeremy.
* r6497: Ensure yield_connection() is called on all appropriate error conditions.Jeremy Allison2005-04-261-19/+22
| | | | Jeremy.
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-1/+1
|
* r5905: Fix two warnings found by AIX. They might actually be bugs on 64-bitVolker Lendecke2005-03-191-1/+1
| | | | | | platforms. Volker
* r5608: BUG 2399 - removing dead code (not finished with bug yet).Gerald Carter2005-03-011-13/+0
|
* r5607: Fix for bug #2399 - ensure we use SMB_VFS_STAT instead of statJeremy Allison2005-03-011-1/+2
| | | | | when checking for existance of a pathname. Jeremy.
* r5183: Ensure we correctly set the per-connection "case_sensitive" setting.Jeremy Allison2005-02-031-9/+18
| | | | | | Rename dptrs_open to the more correct dirhandles_open. Remove old #if 1. Jeremy.
* r4539: patch from Rob -- adding real printcap name cache function to speed ↵Gerald Carter2005-01-051-36/+1
| | | | up printcap reloads
* r4043: BUG 2091: don't remove statically defined printers in ↵Gerald Carter2004-12-021-4/+12
| | | | remove_stale_printers()
* r2475: A more helpful debug-message when a connection to a dfs-proxy-share isGünther Deschner2004-09-211-1/+2
| | | | | | failing. Guenther