Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-20 | s3-build: only include ctdbd_conn.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-09-10 | s3-spoolss: Don't leak memory on the session counter list. | Andreas Schneider | 1 | -1/+8 | |
Thanks Günther, please check. | |||||
2010-08-31 | s3: messaging_ctdbd_connection() was only called with procid_self() | Volker Lendecke | 1 | -2/+1 | |
Eventually we'll get this right... | |||||
2010-08-29 | s3: Remove smbd_server_fd() | Volker Lendecke | 1 | -7/+0 | |
This breaks the perfcol_onefs() build. Tim, Steve, this use of smbd_server_fd is replacable by calls into substitute.c. I don't have a onefs environment around to build a fix, so I've decided to insert an #error, making it not compile. The fix should be pretty obvious, you can get the socket data via "%I" and "%i" substitutions. | |||||
2010-08-29 | s3: Remove two uses of smbd_server_fd() | Volker Lendecke | 1 | -1/+1 | |
Actually, this is a bit cheating. But those two files depend on smbd_server_conn anyway, it does not make things worse. | |||||
2010-08-29 | s3: Remove a use of smbd_server_fd() in smbd main() | Volker Lendecke | 1 | -2/+1 | |
The effect this might have is that we set the socket options a bit later in inetd mode. | |||||
2010-08-29 | s3: Set the client_id in substitute.c once | Volker Lendecke | 1 | -0/+5 | |
This never changes during a client connection's life, so we can set it once. | |||||
2010-08-28 | s3: Remove some references to smbd_server_fd() | Volker Lendecke | 1 | -5/+7 | |
2010-08-26 | s3-build: only include memcache.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-18 | s3: Add smbd_server_connection->client_id | Volker Lendecke | 1 | -1/+21 | |
2010-08-18 | s3: Lift smbd_server_fd from reload_services() | Volker Lendecke | 1 | -2/+3 | |
2010-08-16 | s3: Add "sock" to smbd_server_connection | Volker Lendecke | 1 | -0/+1 | |
2010-08-16 | s3: Remove get_client_fd() | Volker Lendecke | 1 | -5/+0 | |
2010-08-13 | s3-smbd: Publish nt printers. | Andreas Schneider | 1 | -4/+14 | |
Reloading of the printers requires rpc services up and running! The first call in reload_services will be skipped. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-08-13 | s3-smbd: Move rpc services init to smbd parent. | Andreas Schneider | 1 | -0/+45 | |
The move to the parent makes it possible to use an internal rpc pipe really early and as we migrated serveral parts of samba to rpc function this is required. This should speed up the fork of a smbd a bit cause the rpc services are already running. We still have several problems here which aren't solved. We don't have a dependency tree here. For example we have to make sure that the registry is initialized before we can use the winreg pipe. The spoolss server requires winreg, so we have to start winreg before we can start the spoolss server. I'm sure there are more dependencies. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-08-13 | s3-smbd: Regroup some init functions. | Andreas Schneider | 1 | -12/+12 | |
Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-08-13 | s3-smbd: Cleanup the order of the init functions. | Andreas Schneider | 1 | -5/+6 | |
Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-08-13 | s3-smbd: Make sure the event context is initialized. | Andreas Schneider | 1 | -0/+3 | |
Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-08-08 | s3: Remove the smbd_messaging_context from smb_conf_updated | Volker Lendecke | 1 | -1/+1 | |
2010-08-08 | s3: Pass sconn to smbd_process | Volker Lendecke | 1 | -3/+3 | |
2010-08-08 | s3: Lift the smbd_messaging_context from start_background_queue | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the smbd_messaging_context from smbd_setup_sig_hup_handler | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the smbd_messaging_context from reload_services | Volker Lendecke | 1 | -2/+2 | |
2010-08-07 | s3: Remove a pointless "else" | Volker Lendecke | 1 | -1/+3 | |
2010-08-05 | s3-popt: Only include popt-common.h when needed. | Andreas Schneider | 1 | -0/+1 | |
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-07-05 | s3: Add msg_ctx to smbd_server_connection | Volker Lendecke | 1 | -0/+2 | |
It would be obvious to initialize this in smbd_init_globals(), but there the messaging_context can't be initialized yet because we don't have smb.conf loaded yet. | |||||
2010-07-05 | s3: Pass procid_self() explicitly to messaging_ctdbd_connection() | Volker Lendecke | 1 | -1/+2 | |
2010-07-05 | s3: Create a unique id for the smbd parent | Volker Lendecke | 1 | -0/+4 | |
2010-07-04 | s3: Pass the new server_id through reinit_after_fork | Volker Lendecke | 1 | -3/+7 | |
2010-07-04 | s3: Fix some type-punned warnings | Volker Lendecke | 1 | -1/+1 | |
2010-07-04 | s3: Remove serverid_[de]register_self | Volker Lendecke | 1 | -6/+8 | |
This removes some deep references to procid_self() | |||||
2010-06-25 | Don't use frame as the talloc ctx in open_schannel_session_store(), as this ↵ | Jeremy Allison | 1 | -1/+1 | |
breaks running from inetd (we free frame below). Use NULL instead. Jeremy. | |||||
2010-06-25 | Change talloc_autofree_context() to frame in Andrew's schannel.tdb ↵ | Jeremy Allison | 1 | -1/+1 | |
TDB_CLEAR_IF_FIRST changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy. | |||||
2010-06-25 | s3:schannel Open the schannel_state.tdb at startup | Andrew Bartlett | 1 | -0/+8 | |
This will allow future TDB_CLEAR_IF_FIRST behaviour Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-06-10 | s3:lib make server contexts generic | Simo Sorce | 1 | -12/+1 | |
Pair-programmed-with: Andreas Schneider <asn@samba.org> | |||||
2010-06-10 | Don't use the autofree context for the globals. This causes child smbd's forked | Jeremy Allison | 1 | -1/+6 | |
by modules to crash due to destructors being called (found when using the vfs_aio_fork module with smb2). Jeremy. | |||||
2010-05-28 | s3:smbd move messaging_context and memcache into globals.c | Andrew Bartlett | 1 | -26/+0 | |
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3:smbd split reload services/printers functions from server.c | Andrew Bartlett | 1 | -82/+0 | |
This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.c | Andrew Bartlett | 1 | -146/+0 | |
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3-auth: Added a function to get the server_info from the system user. | Andreas Schneider | 1 | -0/+5 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-registry: only include registry headers when really needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-13 | s3:smbd Remove calls to namecache_enable() | Andrew Bartlett | 1 | -2/+0 | |
This only prints a DEBUG() Andrew Bartlett | |||||
2010-05-06 | s3: only include gen_ndr headers where needed. | Günther Deschner | 1 | -0/+1 | |
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | |||||
2010-03-26 | s3-smbd: Don't close stdout if we want to log to stdout. | Andreas Schneider | 1 | -1/+1 | |
2010-03-25 | s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdb | Volker Lendecke | 1 | -0/+4 | |
In the child, we fully re-open serverid.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | |||||
2010-03-25 | s3: Make sure our CLEAR_IF_FIRST optimization works for the notify tdbs | Volker Lendecke | 1 | -0/+4 | |
The notify tdb files are opened at tconX time, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdbs in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | |||||
2010-03-25 | s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdb | Volker Lendecke | 1 | -0/+4 | |
In the child, we fully re-open messaging.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | |||||
2010-03-22 | s3: Add "log writeable files on exit" parameter | Volker Lendecke | 1 | -0/+31 | |
This boolean option controls whether at exit time the server dumps a list of files with debug level 0 that were still open for write. This is an administrative aid to find the files that were potentially corrupt if the network connection died. | |||||
2010-03-22 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -1/+0 | |