summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-24s3: re-run make samba3-idl.Günther Deschner5-8/+22
Guenther
2009-02-24spoolss: return subcontext spoolss_DriverInfo in spoolss_GetPrinterDriver2.Günther Deschner1-1/+1
Guenther
2009-02-24spoolss: add SPOOLSS_DEFAULT_SERVER_PATH.Günther Deschner1-0/+1
Guenther
2009-02-24Make the 'modules.conf' generation in the LDAP selftest simplerAndrew Bartlett1-52/+7
The versions of OpenLDAP that we require don't need us to specify the location any more - slaptest knows this from it's build time. Andrew Bartlett
2009-02-23s3 OneFS: Fix a double free in an error pathTim Prouty1-3/+2
2009-02-23s3 OneFS: Add a parameter that unconditionally allows execute accessTim Prouty2-0/+26
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman6-35/+43
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2009-02-24Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell83-2030/+1666
2009-02-24fixed the event context for net vampireAndrew Tridgell1-1/+1
2009-02-23More warning fixes for Solaris.Jeremy Allison17-74/+67
Jeremy.
2009-02-24s3-spoolss: fix notify_printer_status_byname.Günther Deschner1-1/+3
This took me almost a week to find, so here a little longer explanation: When a windows client registers printer *status* change notifies using spoolss_RemoteFindFirstChangeNotify, it registers them to a print server handle, not a printer handle. We were then correctly monitoring the printer status changes but were sending out the spoolss_RouterReplyPrinterEx via the back-channel connection with job_id set to 0 (which we only may do for monitored printer change status notifies on printer handlers, not print server handles). Windows was then showing a new empty dummy printer icon in the explorer as it cannot route the notify event to the approriate local handle. It also discarded the content of the notify event message of course. With this, printer change notify for pausing, resuming and purging printers nicely works again here. Jerry, Tim and all other printing gurus, please check. Guenther
2009-02-24s3: re-run make samba3-idl.Günther Deschner3-39/+369
Guenther
2009-02-24spoolss: add push,pull helper for spoolss_DriverInfo101.Günther Deschner2-0/+481
Guenther
2009-02-24spoolss: add spoolss_DriverInfo101 to IDL.Günther Deschner1-1/+33
Note that the size_is of the spoolss_DriverFileInfo is not reflected on the ndr. It is just used as pidl cannot handle a relative pointer to a static array of structs. Guenther
2009-02-24spoolss: generate size functions for printer driver structs.Günther Deschner1-11/+11
Guenther
2009-02-24error-codes: add WERR_INVALID_USER_BUFFER.Günther Deschner2-0/+2
Guenther
2009-02-24added a missing linefeedAndrew Tridgell1-1/+1
2009-02-23More warning fixes for Solaris.Jeremy Allison6-32/+33
Jeremy.
2009-02-23Quieten down a boatload of shadowed variable warnings on Solaris.Jeremy Allison4-55/+55
Makes real problems easier to spot. Jeremy.
2009-02-23Fix headers, ldb_includes.h is a private header,Simo Sorce28-38/+42
do not reference it from ldb.h
2009-02-23Make char* parameters constDerrell Lipman2-20/+10
- Use const in function signatures whenever appropriate, to help prevent errant scribbling on users' buffers. smbc_set_credentials() always acted as if its formal parameters were const char *, and changing the formal declaration to specify that should not cause any change to the ABI. It is still allowable to pass a writable buffer to a function which specifies that it will not write to the buffer. I'm making this change only in master. Derrell
2009-02-23Fix GDB_PROVISION modeSimo Sorce1-1/+1
2009-02-23Make all transactions nested in ldb. The current samba4 code expects thisSimo Sorce2-59/+75
behavior anyway, and given we can only have one transaction active per ldb context this is the only sane model we can support. Fix ldb_tdb transactions, we could return back with an error with neither committing nor canceling the actual tdb transaction in some error paths within the ltdb commit and cancel transaction paths. Added also some debugging to trace what was going on.
2009-02-23s3-spoolss: remove cli_spoolss_notify.c completly.Günther Deschner3-36/+1
All of the spoolss change notify code uses pidl generated functions now. Guenther
2009-02-23s3-spoolss: remove old SPOOL_NOTIFY_OPTION definitions.Günther Deschner1-32/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner4-284/+0
Guenther
2009-02-23s3-spoolss: remove SPOOL_NOTIFY_INFO_DATA and SPOOL_NOTIFY_INFO alltogether.Günther Deschner3-349/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RouterReplyPrinterEx.Günther Deschner4-180/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RouterRefreshPrinterChangeNotify.Günther Deschner3-83/+0
Guenther
2009-02-23s3-spoolss: use pidl for _spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner2-49/+14
Guenther
2009-02-23s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of ↵Günther Deschner2-75/+32
SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE. Guenther
2009-02-23s3-spoolss: add dup_spoolss_NotifyOption.Günther Deschner1-0/+51
Guenther
2009-02-23s3-spoolss: use more idl types in spoolss server.Günther Deschner2-11/+18
Guenther
2009-02-23s3-spoolss: fix memleak of spoolss_Notify array in ↵Günther Deschner2-4/+8
_spoolss_RouterRefreshPrinterChangeNotify. Guenther
2009-02-23s3-spoolss: use rpccli_spoolss_RouterReplyPrinterEx.Günther Deschner1-2/+36
Guenther
2009-02-23s3-spoolss: use pidl for _spoolss_RouterRefreshPrinterChangeNotify.Günther Deschner2-47/+24
Guenther
2009-02-23s3-spoolss: use struct spoolss_NotifyInfo instead of SPOOL_NOTIFY_INFO.Günther Deschner1-106/+76
Guenther
2009-02-23s3-spoolss: use struct spoolss_Notify instead of SPOOL_NOTIFY_INFO_DATA.Günther Deschner2-381/+180
Guenther
2009-02-23prefer gssapi header files from subdirectoryBjörn Jacke2-6/+6
this fixes some compile time noise on FreeBSD 7
2009-02-23s3-rpcclient: use correct clientname in ↵Günther Deschner1-1/+8
spoolss_RemoteFindFirstPrinterChangeNotifyEx command. Guenther
2009-02-23s3: re-run make samba3-idl.Günther Deschner2-29/+12
Guenther
2009-02-23spoolss: spoolss_NotifyData contains a devmode container, not devmode pointer.Günther Deschner1-1/+1
Guenther
2009-02-23spoolss: fix some PRINTER_CHANGE_ defines (and add a new windows 7 flag).Günther Deschner1-11/+6
Guenther
2009-02-23all BSDs use this evironment variableBjörn Jacke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-02-23s3/docs: Fix typo in man mount.cifs.Karolin Seeger1-1/+1
Thanks to Tobias Stoeckmann for reporting! Karolin
2009-02-22s3: Wrap usage of rlimit in configure checksSteven Danneman1-20/+19
2009-02-22For some unknown reason ldbrename was not being built in samba3.Simo Sorce2-1/+115
2009-02-21s3 OneFS: Add an atomic sendfile implementationTim Prouty3-0/+282
2009-02-21s3: If sendfile returns 0 bytes read, fall back to the normal read pathTim Prouty1-0/+24
This allows sendfile implementations that are atomic to avoid having to send zeros or kill the client connection on a short read (usually the file was truncated).
2009-02-21Revert "s3 auth: Add parameter that forces every user through an NSS lookup"Tim Prouty3-35/+4
After the discussion on samba-technical, it was decided that the best answer for now was to revert this change. The right way to do this is to rewrite the token api to use opaque tokens with pluggable modules. This reverts commit 8e19a288052bca5efdb0277a40c1e0fdd099cc2b.