1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00
Commit Graph

125 Commits

Author SHA1 Message Date
Andrew Bartlett
9c9a4731ca Remove useless layer of indirection, where every service called
task_service_init() manually.  Now this is called from service.c for
all services.

Andrew Bartlett
2008-02-04 21:58:29 +11:00
Andrew Bartlett
0d830580e3 Rework service init functions to pass down service name. This is
needed to change prefork behaviour based on what service is being
started.

Andrew Bartlett and David Disseldorp
2008-02-04 17:48:51 +11:00
Jelmer Vernooij
18cd08623e r26672: Janitorial: Remove uses of global_loadparm. 2008-01-05 13:06:03 -06:00
Jelmer Vernooij
8858cf3972 r26440: Remove more uses of global_loadparm. 2007-12-21 05:50:08 +01:00
Jelmer Vernooij
a35e51871b r26402: Require a talloc context in libnetif. 2007-12-21 05:49:33 +01:00
Jelmer Vernooij
9f975417cc r26401: Don't cache interfaces context in libnetif. 2007-12-21 05:49:32 +01:00
Jelmer Vernooij
6d4c598534 r26382: Remove more uses of global_loadparm. 2007-12-21 05:49:17 +01:00
Jelmer Vernooij
5d927b5ca7 r26347: More tests. 2007-12-21 05:48:53 +01:00
Jelmer Vernooij
e452cb2859 r26325: Remove use of global_loadparm in netif. 2007-12-21 05:48:37 +01:00
Jelmer Vernooij
6fd0d9d3b7 r26313: Fix more uses of static loadparm. 2007-12-21 05:48:25 +01:00
Jelmer Vernooij
7c00866423 r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection. 2007-12-21 05:47:47 +01:00
Jelmer Vernooij
2c6b755309 r26250: Avoid global_loadparm in a couple more places. 2007-12-21 05:47:28 +01:00
Jelmer Vernooij
a33a553054 r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm. 2007-12-21 05:47:20 +01:00
Jelmer Vernooij
1386c5c925 r26237: Add loadparm context to the server service interface. 2007-12-21 05:47:15 +01:00
Jelmer Vernooij
5b29ef7c03 r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly. 2007-12-21 05:47:15 +01:00
Jelmer Vernooij
0721a07aad r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack. 2007-12-21 05:47:04 +01:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
9b256a0ca2 r24937: Merge tests spoolss RPC callbacks. 2007-10-10 15:03:39 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
ff41bdc350 r23700: pre-open the sam in the parent smbd. This has the effect of loading
the schema. That stops us loading the schema for each new connection.

In future I would prefer to share a lot more of our ldb contexts with
children. That will require a larger piece of surgery.
2007-10-10 14:59:04 -05:00
Stefan Metzmacher
f20e251bfd r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
configure check for the interfaces.

should fix the build on some old sun boxes

metze
2007-10-10 14:15:39 -05:00
Simo Sorce
a89cc346b9 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
2007-10-10 14:10:18 -05:00
Stefan Metzmacher
6164d1e22e r16464: split client and server min/max protocol settings
metze
2007-10-10 14:09:29 -05:00
Jelmer Vernooij
3ef9326386 r15304: Fix smbd build, more updates on getting --enable-dso to build again 2007-10-10 14:05:08 -05:00
Stefan Metzmacher
2c87f210e9 r14739: keep the last request time for the smbsrv_connection,
smbsrv_session and smbsrv_tcon for management tools

metze
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
7ad522c7ac r14096: setup a service task for smbsrv and dcesrv
metze
2007-10-10 13:56:50 -05:00
Stefan Metzmacher
526f20bbec r14079: I just found the setproctitle library from alt linux:-)
- add set_title hook to the process models
- use setproctitle library in process_model standard if available
- the the title for the task servers and on connections

metze
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
7aabff8298 r13937: fix the build
metze
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
930daa9f41 r13926: More header splitups. 2007-10-10 13:52:26 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
d1bae931b3 r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requests
- the default max protocol is still NT1

metze
2007-10-10 13:52:17 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00
Jelmer Vernooij
0aca5fd513 r12542: Move some more prototypes out to seperate headers 2007-10-10 13:47:55 -05:00
Stefan Metzmacher
a7baf165c1 r12126: get rid of the local ->terminate hacks, we do that genericly now
metze
2007-10-10 13:47:12 -05:00
Tim Potter
9c4436a124 r11967: Fix more 64-bit warnings. 2007-10-10 13:46:52 -05:00
Stefan Metzmacher
08b31d5f61 r11789: - add the start of a SMB2 server
- it does Negprot and SessionSetup yet
  the rest returns NT_STATUS_NOT_IMPLEMENTED
- it's off by default, enable with:
  smbsrv:enable smb2 = yes
- negotition in the SMB Negprot isn't supported yet
- it's only tested with smbtorture SMB2-CONNECT
  not with vista as client

metze
2007-10-10 13:46:28 -05:00
Stefan Metzmacher
f89deac1cb r11774: - move SMB specific initialisation of the smbsrv_connection out of smb_server.c
- add a generic incoming packet handler, which handles the first incoming packet
  and passes to the protocol specifc packet handler

metze
2007-10-10 13:46:25 -05:00
Stefan Metzmacher
b606d5664d r11757: make smb_server.c independent from the protocol
metze
2007-10-10 13:46:23 -05:00
Stefan Metzmacher
7cf6b307bc r11746: revert my last commits, I now understand how we decide between
finished and non-finished sessions

metze
2007-10-10 13:46:21 -05:00
Stefan Metzmacher
0383218a00 r11744: make sure the session is completed authenticated!!!
metze
2007-10-10 13:46:20 -05:00
Stefan Metzmacher
96345b1c46 r11724: - move checks packet size and protocol version,
before we create the request structure
- move code into one function

metze
2007-10-10 13:46:18 -05:00
Andrew Tridgell
6a47cd65a8 r11713: separate out the setting of the fde in the packet context from the
enabling of packet serialisation
2007-10-10 13:46:17 -05:00
Stefan Metzmacher
d677ebf43d r11650: - as every call that goes down to the ntvfs layer need a valid tcon and session
ntcancel also needs to have AS_USER
- move the SIGNING_NO_REPLY logic as global option, because this needs to be set
  for the error replies too.
- as we currently don't know how to generate signatures for ntcancel replies
  we just skip the sending of the reply
- w2k3 first checks the VUID and then the TID, so we do now
- ntcreateX also uses ERRbaduid when getting a wrong VUID

metze
2007-10-10 13:46:08 -05:00
Stefan Metzmacher
5fb5d1a864 r11640: just a nicer format, and make adding more special cases easier
metze
2007-10-10 13:46:05 -05:00
Stefan Metzmacher
3389544c2b r11637: we need a session and a tcon for ntioctl() and ntrename()
metze
2007-10-10 13:46:03 -05:00
Andrew Tridgell
6ab8082234 r11621: some minor fixes from comments by metze 2007-10-10 13:45:59 -05:00
Andrew Tridgell
9eee7bafa1 r11607: switched the smb server to use the generic packet send code 2007-10-10 13:45:58 -05:00
Andrew Tridgell
0fc496bb6f r11603: converted the smb server to use the new generic packet code 2007-10-10 13:45:57 -05:00
Andrew Bartlett
11957c5f37 r10946: Use the right name for the remote workstation, and always initialise it.
Should fix a valgrind error volker is seeing.

Andrew Bartlett
2007-10-10 13:39:44 -05:00