summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-02-11s3: Change behavior when seeing an unknown domain.Dan Sledz3-42/+35
After a lot of testing against various Windows servers (W2K, W2K3, W2K8), within an AD domain it seems that unknown domains will only be translated to the local account domain, not the netbios name of the member server's domain. This makes samba act more like Windows.
2009-02-11s3: Implement wbcGetSidAliasesDan Sledz7-88/+221
* Adds wbcGetSidAliases that calls the lookup_useraliases function. * Updates wbinfo and winbind_util.c to call the new function. * Also added winbind_get_groups helper function.
2009-02-11s3: Implement wbcGetpwsidDan Sledz5-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.
2009-02-11Fix double free caused by incorrect talloc_steal usage.Dan Sledz1-2/+2
2009-02-11Added nsswitch/ object files to make cleanSteven Danneman1-5/+4
* also removed duplicate paths to lib directories in make clean
2009-02-12s3-spoolss: remove duplicate PRINTER_NOTIFY_INFO_DISCARDED define.Günther Deschner1-2/+0
Guenther
2009-02-11s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.Günther Deschner2-10/+4
Guenther
2009-02-11s3: remove old copy of SPOOLSS_ADDPRINTERDRIVEREX flags.Günther Deschner1-7/+0
Guenther
2009-02-11s3-spoolss: Fix uninitialised variable warning.Günther Deschner1-0/+2
Guenther
2009-02-11s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.Günther Deschner1-6/+6
Guenther
2009-02-11s3 OneFS: Expand the usage of the ignore sacl parametertodd stecher2-0/+11
2009-02-11s3:build: some implementations of "ln" are picky about the order of argumentsMichael Adam1-15/+15
Michael
2009-02-11Only assign argv[1] after the argc check, thanks Tim!Volker Lendecke1-1/+3
2009-02-11Fix an uninitialized variableVolker Lendecke1-1/+1
2009-02-10s3: Remove some unused varsTim Prouty1-5/+3
2009-02-10s3-rpcclient: use one macro for all printername formats.Günther Deschner1-117/+51
Guenther
2009-02-10s3-spoolss: remove more whitespace.Günther Deschner1-135/+135
Guenther
2009-02-10s3-spoolss: remove devmode fields from include file.Günther Deschner1-34/+0
Guenther
2009-02-10s3-spoolss: remove old spoolss_ReplyOpenPrinter.Günther Deschner4-133/+0
Guenther
2009-02-10s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter.Günther Deschner1-8/+10
Guenther
2009-02-10S3: Add in missing full audit entries.todd stecher1-6/+34
2009-02-10S3: Fixes for coverity issues.todd stecher5-10/+26
2009-02-10Remove an unused extern referenceVolker Lendecke1-2/+0
2009-02-10Convert api_NetUserGetGroups to use samr instead of pdbVolker Lendecke1-50/+68
2009-02-10Fix some nonempty blank linesVolker Lendecke1-9/+9
2009-02-10Do not use strlen if not necessary... :-)Volker Lendecke1-4/+2
2009-02-10If we receive a DOS error code, nt_errstr should display itVolker Lendecke2-2/+7
2009-02-10Fix an uninitialized variable. Tim, please check!Volker Lendecke1-1/+1
2009-02-10Add queueing to np_writeVolker Lendecke1-9/+38
2009-02-10Add queueing to np_read_state, simulate message-type named pipes.Volker Lendecke1-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.
2009-02-10Add read_pkt_send/recvVolker Lendecke2-0/+108
2009-02-10merged-build: pass PYTHON and PERL down to make test4Stefan Metzmacher1-1/+2
metze
2009-02-10s3-spoolss: remove old spoolss_OpenPrinter.Günther Deschner3-71/+0
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_OpenPrinter.Günther Deschner2-81/+20
Guenther
2009-02-10s3-spoolss: remove old spoolss_OpenPrinterEx.Günther Deschner5-288/+0
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_OpenPrinterEx.Günther Deschner2-68/+35
Guenther
2009-02-10s3-spoolss: remove old spoolss_SetJob.Günther Deschner4-115/+0
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_SetJob.Günther Deschner2-38/+9
Guenther
2009-02-10s3-spoolss: remove old spoolss_StartDocPrinter.Günther Deschner4-265/+0
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_StartDocPrinter.Günther Deschner2-52/+21
Guenther
2009-02-10s3-spoolss: add temporary convert_devicemode_new function.Günther Deschner1-0/+75
Guenther
2009-02-10s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL.Günther Deschner2-11/+5
Guenther
2009-02-10s3-rpcclient: use rpccli_spoolss_openprinter_ex helper.Günther Deschner3-105/+96
Guenther
2009-02-10s3-rpcclient: add rpccli_spoolss_openprinter_ex() convenience wrapper.Günther Deschner2-0/+54
Guenther
2009-02-10s3-spoolss: fix memleak in get_remote_printer_publishing_data().Günther Deschner1-2/+8
Guenther
2009-02-09s3: OneFS bulk directory enumeration supportSteven Danneman6-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.
2009-02-09s3: Added SMB_VFS_INIT_SEARCH_OP to initialize data at the beginning of SMB ↵Steven Danneman8-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
2009-02-09Pass stat buffer down through all levels of VFS_READDIR wrappersSteven Danneman5-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
2009-02-09Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIRSteven Danneman12-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
2009-02-09s3 OneFS: Change ACLs to do a stat-only open before get/set_security_descriptorTim Prouty1-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.