Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-09 | s3 oplocks: Make the level2 oplock contention API more granular | Tim Prouty | 11 | -39/+178 | |
This replaces release_level2_oplocks_on_change with contend_level2_oplock_begin/end in order to contend level2 oplocks throughout an operation rather than just at the begining. This is necessary for some kernel oplock implementations, and also lays the groundwork for better correctness in Samba's standard level2 oplock handling. The next step for non-kernel oplocks is to add additional state to the share mode lock struct that prevents any new opens from granting oplocks while a contending operation is in progress. All operations that contend level 2 oplocks are now correctly spanned except for aio and synchronous writes. The two write paths both have non-trivial error paths that need extra care to get right. RAW-OPLOCK and the rest of 'make test' are still passing with this change. | |||||
2009-02-09 | s3 oplocks: Differentiate between releasing an oplock vs. downgrading to ↵ | Tim Prouty | 4 | -5/+5 | |
Level 2 for kernel oplocks Pass in an extra argument when releasing an oplock so kernel oplock implementations can support downgrading from Level 1 to Level 2. | |||||
2009-02-09 | s3 vfs: Add a destructor to the fsp extension data API | Tim Prouty | 8 | -9/+20 | |
I'm not certain if the dummy pointer is needed in struct vfs_fsp_data, but I added it to be consistent with the comment below. | |||||
2009-02-10 | added a workaround to the handling of unicodePwd for Win7-beta | Andrew Tridgell | 1 | -1/+30 | |
The Win7-beta domain process has changed. It no longer uses SAMR for setting the password, and instead uses a ldap modify on a SASL encrypted ldap connection. We didn't handle that as the unicodePwd attribute has a dual use, holding the nt style MD4 hases for DRS replication, but holding a UTF-16 plaintext password for a LDAP modify. This patch copes with the ldap unicodePwd modify by recognising the format and creating the correct attributes on the fly. Note that this assumes we will never get a unicodePwd attribute set in NT MD4 format with the first 2 and last 2 bytes set to 0x22 0x00. Andrew Bartlett is looking at a more robust solution, possibly using a flag to say that this modify came via ldap, and not internal ldb calls. | |||||
2009-02-10 | fixed two problems with the DsRGetDCNameEx2 call, as used by | Andrew Tridgell | 1 | -3/+9 | |
Win7-beta. The first problem is that we removed the dnsDomain attribute a while back, so we were returning NULL for two fields. We now return the realm. The second problem is that Win7-beta sends the domain in the form the user typed it, so it may be in either the short or long form. We check for the short form and convert if needed. | |||||
2009-02-09 | S3: Various fixes for log2pcaphex utility | todd stecher | 1 | -49/+113 | |
2009-02-09 | s3 spoolss: arch needs to be set before it's passed to get_version_id. | Tim Prouty | 1 | -3/+3 | |
7717ad688099860fa0989ed3582435404fd6d4fa left arch unitialized. Guenther, please check. | |||||
2009-02-09 | Revert "s3:winbindd_user: create domain connection in winbindd_fill_pwent if ↵ | Michael Adam | 1 | -1/+1 | |
necessary." This reverts commit 487f5e7b4768cfe9e511b0ba56f16c411e21f702. I was confused about the real meaning of find_domain_from_name_noinit() vs. find_domain_from_name(). We don't need the connection established here, just the domain struct which gets initialized by rescan_trusted_domains(). Sorry for the noise. Michael | |||||
2009-02-09 | Revert "Fix errornos assumption that all compilers are gcc" | Jelmer Vernooij | 3 | -3/+3 | |
This breaks (some?) files with gcc. This reverts commit 98a4327b19e83ffad4e0be7e8895fdbd9e48d49f. | |||||
2009-02-09 | s3-spoolss: remove old spoolss_ScheduleJob. | Günther Deschner | 3 | -52/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_ScheduleJob. | Günther Deschner | 2 | -35/+6 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_AddJob. | Günther Deschner | 3 | -74/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_AddJob. | Günther Deschner | 2 | -44/+10 | |
Guenther | |||||
2009-02-09 | s3: re-run make samba3-idl. | Günther Deschner | 5 | -0/+172 | |
Guenther | |||||
2009-02-09 | spoolss: fill in spoolss_ScheduleJob. | Günther Deschner | 1 | -1/+3 | |
Guenther | |||||
2009-02-09 | spoolss: fill in spoolss_AddJob. | Günther Deschner | 1 | -1/+6 | |
Guenther | |||||
2009-02-09 | s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME | Tim Prouty | 2 | -6/+9 | |
Fallback on EAGAIN | |||||
2009-02-09 | S3 OneFS: Add in Isilon specific performance counter module | todd stecher | 3 | -1/+423 | |
2009-02-09 | S3: New module interface for SMB message statistics gathering | todd stecher | 19 | -39/+424 | |
This changelist allows for the addition of custom performance monitoring modules through smb.conf. Entrypoints in the main message processing code have been added to capture the command, subop, ioctl, identity and message size statistics. | |||||
2009-02-09 | Fix errornos assumption that all compilers are gcc | Torgeir Lerkerod | 3 | -3/+3 | |
When compiling Samba 4's IDL files buildsystem assumes that compiler knows about -xc, which is a gcc spesefic switch as this switch isn't needed on gcc either the flag was uneeded and can be removed. Thus no warnings on non gcc systems. Signed-off-by: Torgeir Lerkerod <Torgeir.Lerkerod@gmail.com> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-02-09 | docs: Add man sharesec. | Karolin Seeger | 1 | -0/+220 | |
Karolin | |||||
2009-02-09 | Attempt to fix the build | Volker Lendecke | 1 | -4/+4 | |
2009-02-09 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 10 | -510/+98 | |
2009-02-09 | Fix warning in spoolss IDL file output. | Jelmer Vernooij | 5 | -12/+4 | |
2009-02-09 | Rerun pidl. | Jelmer Vernooij | 4 | -16/+16 | |
2009-02-09 | s3-spoolss: remove old rpccli_spoolss_routerreplyprinter. | Günther Deschner | 4 | -123/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_ReplyClosePrinter. | Günther Deschner | 4 | -100/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use rpccli_spoolss_ReplyClosePrinter. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_AddPrintProcessor. | Günther Deschner | 3 | -70/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_AddPrintProcessor. | Günther Deschner | 2 | -36/+17 | |
Guenther | |||||
2009-02-09 | s3-rpcclient: remove a pointless fstring. | Günther Deschner | 1 | -46/+29 | |
Guenther | |||||
2009-02-09 | s3-rpcclient: use srv_name_slash instead of formating servername again and ↵ | Günther Deschner | 3 | -145/+62 | |
again. Guenther | |||||
2009-02-09 | s4/wrepl_server: Fix typo in comment. | Karolin Seeger | 1 | -2/+2 | |
Karolin | |||||
2009-02-09 | Remove an invalid discard_const_p() - it masks an actual | Jelmer Vernooij | 1 | -1/+1 | |
bug in pidl where pidl uses "const" in a struct where there should not be const. There is only a single place in the Samba codebase where this triggers a warning. | |||||
2009-02-09 | Use discard_const_p rather than CONST_DISCARD. | Jelmer Vernooij | 1 | -1/+1 | |
2009-02-09 | Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵ | Jelmer Vernooij | 2 | -2/+2 | |
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d. | |||||
2009-02-09 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 123 | -4393/+11161 | |
2009-02-09 | s3: re-run make samba3-idl. | Günther Deschner | 5 | -0/+233 | |
Guenther | |||||
2009-02-09 | s3-spoolss: move PRINTER_ENUM_ICONMASK to IDL. | Günther Deschner | 3 | -1/+10 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define. | Günther Deschner | 2 | -2/+1 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove PRINTER_CHANGE* flags now defined in IDL. | Günther Deschner | 1 | -51/+0 | |
Guenther | |||||
2009-02-09 | spoolss: fill in spoolss_AddPrintProcessor. | Günther Deschner | 1 | -1/+5 | |
Guenther | |||||
2009-02-09 | spoolss: fill in spoolss_RouterReplyPrinter. | Günther Deschner | 1 | -1/+5 | |
Guenther | |||||
2009-02-09 | spoolss: add spoolss_PrinterChangeFlags. | Günther Deschner | 1 | -0/+54 | |
Guenther | |||||
2009-02-09 | eliminate compiler warnings | Derrell Lipman | 1 | -4/+7 | |
2009-02-09 | s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary. | Michael Adam | 1 | -1/+1 | |
Calling find_domain_from_name_noinit() might not be enough here. This makes winbindd_getpwent() behave the same as winbindd_getgrent(). Michael | |||||
2009-02-09 | s3:winbindd_user: fix a debug message. | Michael Adam | 1 | -2/+2 | |
find_domain_from_name_noinit() is no longer called only for name alias support. Michael | |||||
2009-02-09 | testprogs/win32: add an option to trigger small reads in npecho_client2.c | Stefan Metzmacher | 1 | -7/+76 | |
metze | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_FindClosePrinterNotify. | Günther Deschner | 3 | -53/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_FindClosePrinterNotify. | Günther Deschner | 2 | -37/+9 | |
Guenther |