summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-02-25Fix an incompatible pointer passed to winbind_get_groupsVolker Lendecke1-1/+3
This is the same bug that was fixed in other places of the code a few times already: A C compiler ONLY does automatic type conversions during an assignment. Passing down a pointer to type A to a function taking type B as an argument does NOT do any automatic type conversions. If required, I can dig up the relevant portions of the C standard.
2009-02-25Convert rpc_sock_write to use tevent_req base async_sendVolker Lendecke1-7/+46
2009-02-25Convert rpc_sock_read to use tevent_req base async_readVolker Lendecke1-10/+47
2009-02-25s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.Günther Deschner2-107/+31
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_getprinter.Günther Deschner3-121/+0
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_setprinter.Günther Deschner4-724/+0
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_addprinterex.Günther Deschner4-299/+0
Guenther
2009-02-25s3-spoolss: use rpccli_spoolss_addprinterex wrapper.Günther Deschner2-28/+10
Guenther
2009-02-25s3-net: use rpccli_spoolss_getprinter and rpccli_spoolss_SetPrinter.Günther Deschner1-46/+123
Guenther
2009-02-25s3-rpcclient: use rpccli_spoolss_SetPrinter and rpccli_spoolss_getprinter.Günther Deschner1-61/+124
Guenther
2009-02-25s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.Günther Deschner2-1/+55
Guenther
2009-02-25s3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.Günther Deschner2-0/+45
Guenther
2009-02-25s3: Fix 'assignment differ in signedness' warningTim Prouty1-1/+1
2009-02-24s3 OneFS: Fix uninitialized variableTim Prouty1-1/+1
2009-02-24Fix guest mountsSteve French1-1/+3
guest session setup, login (user id) as anonymous. This patch is for samba bugzilla bug 4640. Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@samba.org>
2009-02-24Allow set attributes on a stream fnum to be redirected to the base filename.Jeremy Allison1-2/+10
Fixes the new RAW-STREAMS torture test. Jeremy.
2009-02-24s3: Rename auth_onefs_wb and pdb_onefs_samDan Sledz4-74/+105
auth_onefs_wb.c -> auth_wbc.c pdb_onefs_sam.c -> pdb_wbc_sam.c No changes to functionality
2009-02-24s3: onefs_acl.c cleanupDan Sledz1-4/+1
Remove some duplicate code. Add a \n to a debugging statement
2009-02-24S3: Add in profile counters for new vfs and syscall entries.todd stecher6-6/+100
2009-02-25s3-spoolss: remove some left-over hand marshalling code and structs.Günther Deschner3-433/+0
Guenther
2009-02-24s3-spoolss: remove rpccli_spoolss_addprinterdriver.Günther Deschner3-139/+0
Guenther
2009-02-24s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.Günther Deschner2-51/+69
Guenther
2009-02-24s3: Fix a bug that prevent core files from being createdTim Prouty1-1/+0
Removed an erroneous free() that was causing the corepath to be NULL during dump_core(). This prevented dump_core() from actually calling abort() to create a core file. The bug was introduced in December by: 07e0094365e8dc360a83eec2e7cf9b1d5d8d6d00
2009-02-24s3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.Günther Deschner3-110/+0
Guenther
2009-02-24s3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2Günther Deschner1-56/+89
wrapper. Guenther
2009-02-24s3-rpcclient: use rpccli_spoolss_getprinterdriver2 wrapper.Günther Deschner1-8/+78
Guenther
2009-02-24s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.Günther Deschner2-0/+73
Guenther
2009-02-24Use read_packet for wb_resp_readVolker Lendecke1-90/+29
2009-02-24Use read_packet for wb_req_readVolker Lendecke1-92/+36
2009-02-24Remove read_pktVolker Lendecke2-108/+0
2009-02-24Replace read_pkt by read_packet in np_readVolker Lendecke1-8/+8
2009-02-24Use async_writev in np_writeVolker Lendecke1-12/+10
2009-02-24Use async writev for wb_resp_writeVolker Lendecke1-53/+23
2009-02-24Use async writev in wb_req_writeVolker Lendecke1-52/+22
2009-02-24Convert async_connect to tevent_reqVolker Lendecke2-31/+60
2009-02-24Add tevent_req_is_unix_errorVolker Lendecke1-1/+2
2009-02-24Convert name_mangle() to use tallocVolker Lendecke4-11/+42
2009-02-24s3:Makefile: build libcli/ldap filesStefan Metzmacher1-10/+13
metze
2009-02-24s3: remove unused smb_ldap.hStefan Metzmacher2-257/+0
metze
2009-02-24s3:mount.cifs: make "mount.cifs -V" print the version, not usage.Michael Adam1-5/+28
Also make "mount.cifs -h" not exit with error exit code but with return code 0. Michael
2009-02-24s3:mount.cifs: don't error exit on explicitly requested help...Michael Adam1-2/+1
Michael
2009-02-24s3-spoolss: use marshall/unmarshall_sec_desc_buf in nt_printing_setsec/getsec.Günther Deschner1-45/+35
Guenther
2009-02-24s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers.Günther Deschner2-0/+68
Guenther
2009-02-24s3-spoolss: merge path handling in _spoolss_PrintProcessorDirectory andGünther Deschner1-36/+91
_spoolss_PrinterDriverDirectory. Guenther
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 Danneman3-32/+1
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-23More warning fixes for Solaris.Jeremy Allison16-65/+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-23More warning fixes for Solaris.Jeremy Allison6-32/+33
Jeremy.