summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server/epmd.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-epmd: Cast getpid() result to unsigned int for GNU/Solaris buildAndrew Bartlett2013-03-151-1/+1
| | | | Reviewed-by: Jeremy Allison <jra@samba.org>
* s3-daemons: Set the comment field of the daemons.Andreas Schneider2013-03-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR_SET_NAME sets the comm field of a process. This way we can give processes a name and they are easier to identify. $ ps afx -o pid,comm 29447 smbd 29452 \_ epmd 29453 \_ lsasd-master 29455 | \_ lsasd-child 29457 | \_ lsasd-child 29459 | \_ lsasd-child 29461 | \_ lsasd-child 29463 | \_ lsasd-child 29454 \_ spoolssd-master 29456 \_ lpqd 29458 \_ spoolssd-child 29460 \_ spoolssd-child 29462 \_ spoolssd-child 29465 \_ spoolssd-child 29466 \_ spoolssd-child 29467 \_ spoolssd-child 29468 \_ spoolssd-child 29469 \_ spoolssd-child 29470 \_ spoolssd-child 29471 \_ spoolssd-child Reviewed-by: David Disseldorp <ddiss@samba.org>
* s3: Remove some calls to procid_selfVolker Lendecke2012-10-191-1/+1
| | | | | | | | | The goal is to have procid_self handling completely in the messaging_context. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Oct 19 20:39:56 CEST 2012 on sn-devel-104
* loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell2012-07-181-2/+3
| | | | | | | | | | They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2012-03-241-1/+1
| | | | | | | | | The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
* change low FDs are handled in SambaAndrew Bartlett2012-03-041-3/+0
| | | | | | | | | | | We now only close fds 0, 1, 2 when we are a forked daemon, and take care not to close a file descriptor that we might need for foreground stdin monitoring. This should fix stdout logging in the lsa and epmapper deamons (ie in make test). Andrew Bartlett
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-121-1/+0
| | | | All callers to messaging_[re]init only used procid_self()
* s3-messaging: Do not register to classes we are not going to use.Simo Sorce2011-08-111-2/+2
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Aug 11 17:09:30 CEST 2011 on sn-devel-104
* s3-epmd: Use rpc_setup_tcpip_sockets().Andreas Schneider2011-08-011-73/+14
|
* s3-rpc_server: Fixed segfaults in rpc daemons.Andreas Schneider2011-07-181-1/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Jul 18 14:01:02 CEST 2011 on sn-devel-104
* s3-epmapper: Register ports on IPv4 too.Andreas Schneider2011-06-011-1/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jun 1 13:14:53 CEST 2011 on sn-devel-104
* s3-rpc_server: Remove guessing of the syntax id.Andreas Schneider2011-06-011-3/+0
| | | | | This is only a wild guess. We don't know to which rpc service the client wants to talk until we read the the rpc bind packet.
* s3-rpc_server: run minimal_includes.pl.Günther Deschner2011-05-051-1/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 5 03:04:38 CEST 2011 on sn-devel-104
* s3: include ntdomain.h before including generated srv_ headers.Günther Deschner2011-05-021-0/+1
| | | | Guenther
* s3-proto: move rpc_srv_register protos and structs to town headerfile.Günther Deschner2011-05-021-0/+1
| | | | Guenther
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-301-1/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-epmd: Cleanup endpoints on service pipe disconnect.Andreas Schneider2011-03-231-1/+1
|
* s3-rpc_server: Added disconnect callback function.Andreas Schneider2011-03-231-1/+2
|
* s3-epmd: Cleanup endpoint mapper correctly.Andreas Schneider2011-03-231-1/+15
|
* s3-epmd: remove some unused variables.Günther Deschner2011-03-081-6/+0
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Added IPv6 support for epmapper.Andreas Schneider2011-03-081-0/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Created an Endpoint Mapper Daemon.Andreas Schneider2011-03-081-0/+279
Signed-off-by: Günther Deschner <gd@samba.org>