summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-03-08s3-rpc_server: Add server support for NCALRPC system user pipe.Andreas Schneider3-1/+41
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Improved the dcerpc_ncacn_accept switch.Andreas Schneider1-29/+38
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Remove unneeded ncacn wrappers.Andreas Schneider1-85/+12
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Fixed ncalrpc connection accept.Andreas Schneider1-1/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Only allow epm insert and delete on NCALRPC.Andreas Schneider1-2/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider5-2/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Start the Endpoint Mapper Dameon if enabled.Andreas Schneider2-6/+24
Endpoint Mapper is still disabled by default! Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Created an Endpoint Mapper Daemon.Andreas Schneider2-0/+280
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Register endpoints using ncalrpc.Andreas Schneider1-36/+56
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.Andreas Schneider3-1/+40
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added prototype to setup a ncalrpc socket.Andreas Schneider2-1/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-epmap: add ncalrpc listener codeSimo Sorce1-0/+126
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08sr-epmap: Minor cleanups and fixesSimo Sorce1-33/+30
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-epmap: Return the correct ip address.Andreas Schneider1-0/+10
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added server address to pipes struct.Andreas Schneider2-7/+35
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Set client and server connection info.Andreas Schneider1-1/+49
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added tcpip listener for each rpc service.Andreas Schneider1-9/+101
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Free memory we don't need.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Added tcpip support for dcerpc_binding_vector_create.Andreas Schneider3-1/+15
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-idmap: fix the build of idmap_tdb2.Günther Deschner1-11/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 8 10:51:04 CET 2011 on sn-devel-104
2011-03-07s3: state->ev is not needed in winbindd_lookupsidVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 7 20:52:53 CET 2011 on sn-devel-104
2011-03-06s3: Remove close_fn from idmap_methodsVolker Lendecke11-98/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
2011-03-06s3-idmap-hash: Make "hashed_domains" properly tallocedVolker Lendecke1-7/+7
2011-03-06s3: Replace idmap_ad_close by a destructorVolker Lendecke1-11/+12
2011-03-06s3-idmap-ad: Make ad_schema properly tallocedVolker Lendecke1-4/+2
2011-03-06s3-idmap-tdb: private_data is a talloc child of domVolker Lendecke1-7/+0
2011-03-06s3-idmap-ldap: private_data is a talloc child of domVolker Lendecke1-10/+0
2011-03-06s3-idmap-rid: private_data is a talloc child of domVolker Lendecke1-1/+0
2011-03-06s3: Remove an unnecessary if-statementVolker Lendecke1-3/+1
2011-03-06s3: Remove an obsolete commentVolker Lendecke1-5/+0
2011-03-06s3: Remove some unused codeVolker Lendecke1-21/+0
2011-03-06s3: Remove unused args from nss_get_info_cachedVolker Lendecke3-7/+4
2011-03-06s3: Remove unused args from nss_get_infoVolker Lendecke3-3/+1
2011-03-06s3: Remove unused args from get_nss_infoVolker Lendecke6-10/+1
2011-03-06s3: Move EXOP definitions to smbldap.hVolker Lendecke2-25/+25
This attempts to fix the build on Solaris Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 10:45:16 CET 2011 on sn-devel-104
2011-03-05s3: Fix uninitialized variablesVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 5 17:25:43 CET 2011 on sn-devel-104
2011-03-05s3-net: Use wbcSidToStringBufVolker Lendecke1-17/+3
2011-03-05nsswitch: wbcFreeMemory deals fine with NULLVolker Lendecke1-3/+1
2011-03-05s3: Fix a memory leak in check_sam_security_info3Volker Lendecke1-10/+12
Abartlet, this commit makes check_sam_security_info3 use talloc_tos() and also cleans up the temporary talloc stackframe. The old code created a temporary talloc context off "mem_ctx" but failed to clean up the tmp_ctx in all but one return paths. talloc_stackframe()/talloc_tos() is designed as a defense against exactly this error: Even if we failed to free the frame when returning from the routine, it would be cleaned up very soon, in our main event loop. Please check this patch! Thanks, Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 5 14:08:37 CET 2011 on sn-devel-104
2011-03-05s3:test: the registry roundtrip test passes nowMichael Adam1-1/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Mar 5 02:19:33 CET 2011 on sn-devel-104
2011-03-05s3:test: mark vanished parameter "postscript" invalid in net registry ↵Michael Adam1-0/+1
roundtrip test
2011-03-05s3:test: in net registry roundtrip test, mark "lock dir" as invalid parameterMichael Adam1-0/+1
This is a synonym of lock directory which is already marked invalid.
2011-03-05s3:test: in net registry roundtrip test, exclude the files from exclude/logonMichael Adam1-1/+1
These files are not samba config files...
2011-03-05s3:registry: fix invalid write in iconvert_talloc()Michael Adam1-2/+5
For a non-preallocated dest-string and sourcestring of len < 2, (one or both of the) final two two zero-bytes would be written after the end of the allocated dest-string. The sourcelen did not include the source string terminator. For longer strings, this was not a problem because the dest-string would have been reallocated in the convert-loop. This is fixed now by allocating two extra bytes for the terminating 0-bytes that are needed anyways in the initial allocation. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-03-05s3:test: correctly react to each failing step in the net registry roundtrip ↵Michael Adam1-0/+29
tests
2011-03-05s3:test: improve logging in the net registry roundtrip test stepsMichael Adam1-1/+7
2011-03-04s3: add two missing vfs disconnect callsDavid Disseldorp1-0/+2
The fix for bug 7976 added a vfs connect call to create_conn_struct. This change adds two further disconnect calls that were missed by the original change. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Mar 4 16:33:53 CET 2011 on sn-devel-104
2011-03-04s3-printing: fix cups pcap reload with no printersDavid Disseldorp1-12/+27
cups_async_callback() is called to receive new printcap data from a child process which requests the information from cupsd. Newly received printcap information is stored in a temporary printcap cache (tmp_pcap_cache). Once the child process closes the printcap IPC file descriptor, the system printcap cache is replaced with the newly populated tmp_pcap_cache, however this only occurs if tmp_pcap_cache is non null (has at least one printer). If the printcap cache is empty, which is the case when cups is not exporting any printers, the printcap cache is not replaced resulting in stale data. https://bugzilla.samba.org/show_bug.cgi?id=7915 Signed-off-by: Andreas Schneider <asn@samba.org>
2011-03-04s3-printing: remove unneeded local_pcap_copy globalDavid Disseldorp1-36/+18
The cups local_pcap_copy global served as a temporary buffer during asynchronous cups printcap cache updates, as well as indicating when the printcap cache had not yet been filled and printcap cache update should block. As smbd printcap reads are now triggered by the parent smbd following printcap cache update, the variable and blocking mechanism are no longer needed. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-03-04s3-printing: follow force user/group for driver IODavid Disseldorp3-57/+118
Configuring force user/group settings for the print$ share currently has unexpected results, this is explained by how the driver upload/add process takes place. Consider the following example: [print$] path = /print-drv write list = $DRIVER_UPLOAD_USER force group = ntadmin - the client connects to the [print$] share and uploads all driver files to the /print-drv/W32X86 directory. - This is permitted, as /print-drv/W32X86 is owned by group ntadmin, and the "force group = ntadmin" takes effect for the [print$] session. - Once all files are uploaded, the client connects to the [ipc$] share and issues an AddPrinterDriverEx spoolss request. - In handling this request move_driver_to_download_area() is called, which attempts to create the directory /print-drv/W32X86/3 - The create directory fails, as it is done as the user connected to the [ipc$] share which does not have permission to write to the driver directory. The [print$] "force group = ntadmin" has no effect. This is a regression from previous behaviour prior to the commit: 783ab04 Convert move_driver_to_download_area to use create_conn_struct. https://bugzilla.samba.org/show_bug.cgi?id=7921 Signed-off-by: Andreas Schneider <asn@samba.org>