summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05Fix bug #6160 - Office 2007 fails saving files to a Samba mapped drive.Jeremy Allison1-0/+22
Confirmed by reporters. Jeremy.
2009-03-04s3 OneFS: Use the public open_streams_for_deleteTim Prouty1-113/+0
2009-03-04s3: Change open_streams_for_delete to call through the vfs layerTim Prouty2-5/+9
This eliminates the last direct caller of create_file_unixpath
2009-03-04Fix careless mistake in winbindd_setup_sig_usr2_handlerBo Yang1-1/+1
2009-03-04Second part of fix for #6154, ensure we return max accessJeremy Allison1-0/+9
if admin user. Jeremy.
2009-03-04Fix bug #6154 - zfs does not honor admin users.Jeremy Allison1-0/+5
Jeremy
2009-03-04Fix crashes when running RAW-ACLs against system with tdb ACL modulesJeremy Allison2-3/+3
(caused by the POSIX pathname fixes). Jeremy.
2009-03-04s3:dbwrap_ctdb_marshall_add: don't leak the ctdb_rec_data to the outsideMichael Adam1-6/+6
Michael
2009-03-04s3:smbconf: move smbconf_share_exists checks into backendMichael Adam1-4/+9
Michael
2009-03-04s3:net conf: reduce memory usage of "net conf import".Michael Adam1-6/+33
"net conf import" was wrapped in one big transaction. This lead to MAX_TALLOC_SIZE being exceeded at roughly 1500 shares. This patch resolves that problem by limiting the top level transactions in "net conf import" to 100 shares. Michael
2009-03-04s3: Remove madvise supportSteven Danneman2-36/+0
This reverts 193be432. The MADVISE_PROTECT is inherited by all child processes and cannot be unset. The intention of the original patch was to protect the parent process, but allow children to be killed in low memory. Since this isn't possible with the current API, reverting the whole feature.
2009-03-04Attempt to fix the build on IRIXVolker Lendecke1-1/+3
2009-03-04Make use of gpfs_get_real_filename optionalVolker Lendecke2-1/+10
2009-03-04s3: Fix a memleak in dbwrap_rbt.Michael Adam1-4/+4
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of the db context. This is a quick fix using talloc instead of malloc for allocation of the node data. Since malloc was originally used for performance reasons, one might want to reverse to malloc and create a talloc destructor that walks the tree and frees all the node data if this talloc approach proves to be too slow.. Michael
2009-03-03s3 passdb: Add back some useful debug statementsTim Prouty1-18/+24
Originally removed in be1dfff02d562e42a7847bd02fed8538630d3f41
2009-03-03Fix bug #6155 - "force group" is no longer working as expected.Jeremy Allison4-3/+23
We need to store the "force group" uid separately from the conn->server_info token as we need to apply it separately also. Volker PLEASE CHECK ! Jeremy.
2009-03-03s3 OneFS: Add parameter to ignore streamsTim Prouty4-3/+17
2009-03-03lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher2-5/+0
metze
2009-03-03Fix "ignore return" warning.Jeremy Allison1-2/+3
Jeremy.
2009-03-02It appears that the first time we see a uid/gid that winbind can't map,Dan Sledz1-14/+22
we end up returning the null sid instead of falling back to the legacy code. Next time through the code we'll hit the negative cache and do the right thing, but we still fail the first time. If we fail the winbind id to sid mapping, call the legacy version. This catches the case where we don't have a negative cache entry for the mapping. This is better than returning the NULL sid to the caller.
2009-03-02More fix to initialize idmap statusesBo Yang7-0/+70
2009-03-02use test -f, Solaris /bin/sh doesn't know test -eBjörn Jacke1-1/+1
2009-03-02Fix wbclient.c wrt tevent_req changes too.Simo Sorce1-4/+3
2009-03-02Attempt to fix the buildVolker Lendecke1-2/+2
Simo, with which compiler did you build this? I'd be curious to learn about the compiler settings that make this build. Thanks, Volker
2009-03-02Make struct tevent_req opaqueSimo Sorce4-46/+35
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future.
2009-03-02s3-spoolss: PRINTER_STATUS_OK has been moved to IDL.Günther Deschner1-3/+0
Guenther
2009-03-02s3-rpcclient: zero out devmode and secdesc in setdriver and setprinter command.Günther Deschner1-0/+5
Guenther
2009-03-02Use samba3's own iconv implementation for now, until all changes areJelmer Vernooij2-3/+3
merged.
2009-03-01s3: Fix incompatible type warningsTim Prouty3-3/+3
2009-03-01s3 OneFS: Refactor config code and cleanup includesTim Prouty12-387/+455
2009-03-01Use shared header file for character sets, remove old definitions from ↵Jelmer Vernooij2-17/+1
samba3 smb.h.
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij8-437/+38
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij6-135/+6
2009-03-01Add header files for secace and secacl.Jelmer Vernooij2-22/+3
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij1-1/+1
2009-03-01Move secacl to top-level.Jelmer Vernooij3-120/+1
2009-03-01Also re-add removed codepoint_t; I'm clearly not having my day today.Jelmer Vernooij1-0/+16
2009-03-01Keep using Samba3's charset.h for now.Jelmer Vernooij1-1/+1
2009-03-01Move secace.c to top-level.Jelmer Vernooij4-295/+18
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij4-117/+5
2009-03-01Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-nextJelmer Vernooij8-20/+17
2009-03-01Move next_token_talloc() to top-level.Jelmer Vernooij1-112/+0
2009-03-01Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij3-26/+1
2009-03-01Only copy sharename up from rap_to_pjobidVolker Lendecke3-5/+5
Why?? :-) Another one of the little micro-optimizations that I just came across: If you allocate a variable in a sub-block like the "fstring sharename" in write_file(), gcc even with -O3 will allocate this variable unconditionally on the stack at the beginning of the routine. So with eliminating this fstring we cut 256 bytes of stack in a very hot code path writing to a file. It might make us a bit more cache-friendly. This would probably not be worth a second look if it involved larger code changes, but this one was just too simple to let it pass :-)
2009-03-01Merge branch 'master' of git://git.samba.org/samba into HEADJelmer Vernooij1-0/+19
2009-03-01Eliminate two duplicate SEC_ACE_TYPE constants already provided byJelmer Vernooij5-15/+12
security.idl.
2009-02-28Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename orJeremy Allison1-0/+19
delete file (directory fix). Jeremy.
2009-02-28Fix async reading winbindd_responseVolker Lendecke1-1/+1
2009-02-27Initialize the id_map status in idmap_ldap to avoid surpriseBo Yang1-0/+8
2009-02-27s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags.Günther Deschner5-24/+19
Guenther