summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2009-03-0113-94/+175
|\
| * Add header files for secace and secacl.Jelmer Vernooij2009-03-015-23/+77
| |
| * Move secacl to top-level.Jelmer Vernooij2009-03-014-18/+22
| |
| * dom_sid.h: Include dependency security.h that provides the dom_sid struct.Jelmer Vernooij2009-03-011-0/+2
| |
| * Also re-add removed codepoint_t; I'm clearly not having my day today.Jelmer Vernooij2009-03-011-0/+16
| |
| * Keep using Samba3's charset.h for now.Jelmer Vernooij2009-03-011-1/+1
| |
| * Move secace.c to top-level.Jelmer Vernooij2009-03-015-54/+59
| |
* | Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij2009-03-0115-212/+172
| |
* | s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-0126-195/+202
|/
* Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2009-03-012-8/+8
|\
| * Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-nextJelmer Vernooij2009-03-011-2/+2
| |\
| * | Rerun pidl.Jelmer Vernooij2009-03-011-6/+0
| | |
| * | Don't generate array iterators when the length of the array is always 0.Jelmer Vernooij2009-03-011-2/+8
| | | | | | | | | | | | (bug #6140)
* | | Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2009-03-017-119/+122
|\ \ \ | | |/ | |/|
| * | Merge branch 'master' of git://git.samba.org/samba into teventfixJelmer Vernooij2009-03-01343-7994/+15558
| |\| | | | | | | | | | | | | Conflicts: lib/tevent/pytevent.c
| | * Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-nextJelmer Vernooij2009-03-018-20/+17
| | |\
| | | * Only copy sharename up from rap_to_pjobidVolker Lendecke2009-03-013-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 :-)
| | * | Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.Jelmer Vernooij2009-03-012-100/+100
| | | |
| | * | Move next_token_talloc() to top-level.Jelmer Vernooij2009-03-013-112/+115
| | | |
| * | | Avoid using tevent_util.h, which won't be available if we use the systemJelmer Vernooij2009-03-011-2/+2
| | | | | | | | | | | | | | | | tevent.
* | | | Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2009-03-015-28/+4
| | | |
* | | | Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-0125-72/+80
| |_|/ |/| | | | | | | | consistency with Samba 3.
* | | Merge branch 'master' of git://git.samba.org/samba into HEADJelmer Vernooij2009-03-011-0/+19
|\ \ \ | | |/ | |/|
| * | Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename orJeremy Allison2009-02-281-0/+19
| | | | | | | | | | | | | | | delete file (directory fix). Jeremy.
* | | Eliminate two duplicate SEC_ACE_TYPE constants already provided byJelmer Vernooij2009-03-015-15/+12
|/ / | | | | | | security.idl.
* | Fix async reading winbindd_responseVolker Lendecke2009-02-281-1/+1
| |
* | Simplify async_connect_send slightlyVolker Lendecke2009-02-281-9/+6
| |
* | And the prize for the most pain caused in the build farm for a simpleJeremy Allison2009-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | typo goes to..... Tim Prouty !!!! Sorry Tim, nice test but you made a typo in passing in the size of an array so we were reading uninitialized memory :-). That took far longer than it should have to track down... (%$&#ing build system....). The build farm should now slowly go back to normal. Jeremy.
* | Initialize the id_map status in idmap_ldap to avoid surpriseBo Yang2009-02-271-0/+8
| |
* | s3: re-run make samba3-idl.Günther Deschner2009-02-273-6/+1754
| | | | | | | | Guenther
* | spoolss: fill in spoolss_SetJobInfo1,2,3,4.Günther Deschner2009-02-271-1/+78
| | | | | | | | Guenther
* | spoolss: add spoolss_PortInfo3 and spoolss_PortInfoFF.Günther Deschner2009-02-271-1/+35
| | | | | | | | Guenther
* | s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags.Günther Deschner2009-02-275-24/+19
| | | | | | | | Guenther
* | Use talloc_tos() in regkey_access_check()Volker Lendecke2009-02-271-13/+2
| |
* | s3: fix guest auth when winbindd is runningSteven Danneman2009-02-261-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is very subtle. If a server is configured with "security = share" and "guest ok = yes" and winbindd is running authorization will fail during tree connect. This is due to our inability to map the guest sid S-1-5-21-X-501 to a uid through sid_to_uid(). Winbindd is unaware of the hard coded mapping between this sid and whatever uid the name in lp_guestaccount() is assigned. So sid_to_uid() fails and we exit create_token_from_username() without ever calling pdb_getsampwsid() which IS aware of the hard coded mapping. This patch just reorganizes the code, moving sid_to_uid() down to the block of code in which it is needed, avoiding this early failure.
* | s3-rpcclient: add getjob spoolss command.Günther Deschner2009-02-261-0/+119
| | | | | | | | Guenther
* | s3-rpcclient: use is_valid_policy_hnd before closing handles.Günther Deschner2009-02-261-20/+5
| | | | | | | | Guenther
* | s3-spoolss: remove old rpccli_spoolss_getjob.Günther Deschner2009-02-263-90/+0
| | | | | | | | Guenther
* | s3-spoolss: add rpccli_spoolss_getjob convenience wrapper.Günther Deschner2009-02-262-0/+59
| | | | | | | | Guenther
* | s3: re-run make samba3-idl.Günther Deschner2009-02-263-5/+1395
| | | | | | | | Guenther
* | spoolss: add 2 new SPOOLSS_JOB_CONTROL values.Günther Deschner2009-02-261-1/+3
| | | | | | | | Guenther
* | spoolss: add spoolss_JobInfo2, JobInfo3 and JobInfo4 (new in vista).Günther Deschner2009-02-261-3/+63
| | | | | | | | Guenther
* | don't hardcode python pathBjörn Jacke2009-02-261-1/+5
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org>
* | Make us pass the RAW-RENAME torture test I just added.Jeremy Allison2009-02-263-0/+54
| | | | | | | | | | | | | | Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. Jeremy.
* | Add another torture test inspired by George @ Apple.Jeremy Allison2009-02-261-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. This is connected to the test case where the close was failing due to a delayed write on a file not being able to succeed when Samba allowed the containing directory to be renamed. I will fix this in the server shortly (this should be done across connections also but with will be very hard in Samba - would need a full scan of the open file db on every directory rename) - so I will fix for the local case first (scanning local file opens inside an smbd is cheap). Jeremy.
* | lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher2009-02-261-1/+3
| | | | | | | | | | | | This should fix the build on Mac OS 10 metze
* | s3: fix the build JOB_STATUS_BLOCKED -> JOB_STATUS_BLOCKED_DEVQMichael Adam2009-02-261-1/+1
| | | | | | | | | | | | Günther, please check... Michael
* | tevent: add tevent_queue infrastructureStefan Metzmacher2009-02-263-1/+221
| | | | | | | | metze
* | s3:registry: tighten the subkey loop in reg_deletekey_recursive()Michael Adam2009-02-261-16/+13
| | | | | | | | | | | | | | | | | | | | and loop from the end to the beginning so that we don't need to rehash the subkeys... This gets "net conf drop" with 2000 shares down to 14 seconds on my box. Michael
* | s3:registry: use delete_reg_subkey() in reg_deletekey()Michael Adam2009-02-261-15/+1
| | | | | | | | | | | | This further speeds up net conf drop. Michael