summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Implement wbcGetpwsidDan Sledz2009-02-115-20/+75
| | | | | | | | * Adds the plumbing required to lookup users by sid into winbind, wbinfo and smbd helper lib (winbind_util.c). * Removes some double declarations of winbind_util.c functions. * Bumps the winbind protocol version to 21 and the minor version of wbclient to 3.
* Fix double free caused by incorrect talloc_steal usage.Dan Sledz2009-02-111-2/+2
|
* Added nsswitch/ object files to make cleanSteven Danneman2009-02-111-5/+4
| | | | * also removed duplicate paths to lib directories in make clean
* s3-spoolss: remove duplicate PRINTER_NOTIFY_INFO_DISCARDED define.Günther Deschner2009-02-121-2/+0
| | | | Guenther
* s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.Günther Deschner2009-02-112-10/+4
| | | | Guenther
* s3: remove old copy of SPOOLSS_ADDPRINTERDRIVEREX flags.Günther Deschner2009-02-111-7/+0
| | | | Guenther
* s3-spoolss: Fix uninitialised variable warning.Günther Deschner2009-02-111-0/+2
| | | | Guenther
* s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.Günther Deschner2009-02-111-6/+6
| | | | Guenther
* s3 OneFS: Expand the usage of the ignore sacl parametertodd stecher2009-02-112-0/+11
|
* s3:build: some implementations of "ln" are picky about the order of argumentsMichael Adam2009-02-111-15/+15
| | | | Michael
* Only assign argv[1] after the argc check, thanks Tim!Volker Lendecke2009-02-111-1/+3
|
* Fix an uninitialized variableVolker Lendecke2009-02-111-1/+1
|
* s3: Remove some unused varsTim Prouty2009-02-101-5/+3
|
* s3-rpcclient: use one macro for all printername formats.Günther Deschner2009-02-101-117/+51
| | | | Guenther
* s3-spoolss: remove more whitespace.Günther Deschner2009-02-101-135/+135
| | | | Guenther
* s3-spoolss: remove devmode fields from include file.Günther Deschner2009-02-101-34/+0
| | | | Guenther
* s3-spoolss: remove old spoolss_ReplyOpenPrinter.Günther Deschner2009-02-104-133/+0
| | | | Guenther
* s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter.Günther Deschner2009-02-101-8/+10
| | | | Guenther
* S3: Add in missing full audit entries.todd stecher2009-02-101-6/+34
|
* S3: Fixes for coverity issues.todd stecher2009-02-105-10/+26
|
* Remove an unused extern referenceVolker Lendecke2009-02-101-2/+0
|
* Convert api_NetUserGetGroups to use samr instead of pdbVolker Lendecke2009-02-101-50/+68
|
* Fix some nonempty blank linesVolker Lendecke2009-02-101-9/+9
|
* Do not use strlen if not necessary... :-)Volker Lendecke2009-02-101-4/+2
|
* If we receive a DOS error code, nt_errstr should display itVolker Lendecke2009-02-102-2/+7
|
* Fix an uninitialized variable. Tim, please check!Volker Lendecke2009-02-101-1/+1
|
* Add queueing to np_writeVolker Lendecke2009-02-101-9/+38
|
* Add queueing to np_read_state, simulate message-type named pipes.Volker Lendecke2009-02-101-25/+100
| | | | | | | | | | | | | The problem with msg-type pipes is that we have to return short reads when a message ends before the read request. When reading from the unix domain socket, the message limits are lost. So we would happily return more than a message, which confuses for example the s4 rpc client horribly. I'd expect other np rpc clients also to blow up over this. The real solution is to properly implement a two-byte length field per message on the unix domain socket, but this requires more changes there. And as we right now only serve DCE/RPC over the named pipes, this implements a hack that looks into the fragment headers to figure out hdr.frag_len.
* Add read_pkt_send/recvVolker Lendecke2009-02-102-0/+108
|
* merged-build: pass PYTHON and PERL down to make test4Stefan Metzmacher2009-02-101-1/+2
| | | | metze
* s3-spoolss: remove old spoolss_OpenPrinter.Günther Deschner2009-02-103-71/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_OpenPrinter.Günther Deschner2009-02-102-81/+20
| | | | Guenther
* s3-spoolss: remove old spoolss_OpenPrinterEx.Günther Deschner2009-02-105-288/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_OpenPrinterEx.Günther Deschner2009-02-102-68/+35
| | | | Guenther
* s3-spoolss: remove old spoolss_SetJob.Günther Deschner2009-02-104-115/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_SetJob.Günther Deschner2009-02-102-38/+9
| | | | Guenther
* s3-spoolss: remove old spoolss_StartDocPrinter.Günther Deschner2009-02-104-265/+0
| | | | Guenther
* s3-spoolss: use pidl for _spoolss_StartDocPrinter.Günther Deschner2009-02-102-52/+21
| | | | Guenther
* s3-spoolss: add temporary convert_devicemode_new function.Günther Deschner2009-02-101-0/+75
| | | | Guenther
* s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL.Günther Deschner2009-02-102-11/+5
| | | | Guenther
* s3-rpcclient: use rpccli_spoolss_openprinter_ex helper.Günther Deschner2009-02-103-105/+96
| | | | Guenther
* s3-rpcclient: add rpccli_spoolss_openprinter_ex() convenience wrapper.Günther Deschner2009-02-102-0/+54
| | | | Guenther
* s3-spoolss: fix memleak in get_remote_printer_publishing_data().Günther Deschner2009-02-101-2/+8
| | | | Guenther
* s3: OneFS bulk directory enumeration supportSteven Danneman2009-02-096-21/+692
| | | | | | | | | | | | | | | | | | OneFS provides the bulk directory enumeration syscall readdirplus(). This syscall has the same semantics as the NFSv3 READDIRPLUS command, returning a batch of directory entries with prefetched stat information via one syscall. This commit wraps the readdirplus() call in the existing POSIX readdir/seekdir VFS interface. By default a batch of 128 directory entries are optimistically read from the kernel into a global cache, and fed to iterative calls of VFS_OP_READDIR. The global buffers could be avoided in the future by hanging connection specific buffers off the conn struct. Added new parameter "onefs:use readdirplus" which toggles usage of this code on or off.
* s3: Added SMB_VFS_INIT_SEARCH_OP to initialize data at the beginning of SMB ↵Steven Danneman2009-02-098-5/+53
| | | | | | | | search requests. By default this VFS call is a NOOP, but the onefs vfs module takes advantage of it to initialize direntry search caches at the beginning of each TRANS2_FIND_FIRST, TRANS2_FIND_NEXT, SMBffirst, SMBsearch, and SMBunique
* Pass stat buffer down through all levels of VFS_READDIR wrappersSteven Danneman2009-02-095-98/+106
| | | | | | | | | * VFS_OP_READDIR can now provide stat information, take advantage of it if it's available * is_visible_file(): optimistically expect the provided stat buffer is already valid * dptr_ReadDirName(): refactor code for easier readability, functionality is the same
* Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIRSteven Danneman2009-02-0912-21/+63
| | | | | | | | * this allows VFS implementations that prefetch stat information on readdir to return it through one VFS call * backwards compatibility is maintained by passing in NULL * if the system readdir doesn't return stat info, the stat struct is set to invalid
* s3 OneFS: Change ACLs to do a stat-only open before get/set_security_descriptorTim Prouty2009-02-091-22/+4
| | | | | | This ensures that getting/stting a security descriptor does not contend an oplock. The correct access checks will be still be done in the kernel on the get/set rather than the open.
* s3 OneFS: Add kernel oplocks implementationTim Prouty2009-02-099-82/+996
| | | | | | | | | A few functions in oplocks_onefs.c need to be accessed from the onefs vfs module. It would be ideal if oplocks were implemented at the vfs layer, but since they aren't yet, a new header is added to source3/include to make these functions available to the onefs vfs module. oplocks_onefs.o doesn't need to be linked into the onefs vfs module explicitly, since it is already linked into smbd by default.
* s3 oplocks: Remove oplocks before handling delete on close semanticsTim Prouty2009-02-091-4/+5
| | | | | | Unlinking a file while still holding an oplock can cause problems with kernel oplocks. This simply releases the oplock before actually unlinking the file.