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
Andrew Tridgell
cf1a7bbe96
r8893: fixed the valgrind error on stream termination due to prototol errors
2007-10-10 13:30:15 -05:00
Andrew Tridgell
b1d577f48d
r8658: move use of lp_security() and lp_nt_status_support() into the connection structure.
...
This massively reduces the number of lp_*() calls made
2007-10-10 13:29:50 -05:00
Andrew Tridgell
391cfe3c96
r8574: added server side irpc calls for listing the current sessions
2007-10-10 13:29:39 -05:00
Andrew Tridgell
8f69867867
r8272: added the hooks for adding a name to a messaging context, so we will
...
be able to send a message to the "ldap_server" task without having to
know its task ID.
2007-10-10 13:19:29 -05:00
Andrew Tridgell
5521060c08
r8119: fixed two error code returns in the smb server now that we have
...
torture code that can tell the difference between dos and ntstatus
codes without mapping
2007-10-10 13:19:10 -05:00
Andrew Tridgell
6ee98c5f65
r7857: improved the handling of end-of-file on sockets in the smb server
2007-10-10 13:18:43 -05:00
Andrew Tridgell
45487e8a14
r7782: fixed an ordering problem with smb requests. I found this when I had "sam database"
...
set to the internal ldap server over loopback. The following happened:
- DCERPC_AUTH3 request
- auth requests calls ldb
- ldb calls ldap
- ldap calls our internal ldap server, triggering events
- samrConnect from client
- connect refused
- SMBclose from client
- causes dcerpc_pipe to be destroyed
- AUTH3 continues
- dies on freed pipe
I chose this solution as it provides a guarantee that backends only have to think about
async issues when they mark a request async. When they don't, this code guarantees that
a second request won't happen on the same connection while processing the first one
2007-10-10 13:18:36 -05:00