Stefan Metzmacher
c16c90a1cb
s3:smbd: use new simplified snb_signing code in the server
...
We keep the seqnum/mid mapping in the smb_request structure.
This also moves one global variable into the
smbd_server_connection struct.
metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
2654653f55
s3:libsmb: add a much simplified smb_siging infrastructure
...
It's the job of the caller to maintain the seqnum/mid mapping.
Hopefully we can use this code in s4 later too.
metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
1a48d0793b
s3:libsmb: rename smb_signing.c => clisigning.c
...
This prepares a large simplification of the smb_signing code
metze
2009-03-23 12:21:12 +01:00
Stefan Metzmacher
7716ad68a8
s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too.
...
Otherwise we'll confuse the client signing engine, when we reply an error to each transs2.
metze
2009-03-23 12:21:12 +01:00
Stefan Metzmacher
435a0a5a3b
socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet
...
Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.
Commit 66dc53ee01
was an incomplete fix for this
problem.
metze
2009-03-23 12:19:29 +01:00
Volker Lendecke
298bff5019
Fix connect to port 139 only -- thanks gd for bugging me :-)
2009-03-23 12:06:57 +01:00
Volker Lendecke
979a1b06d0
talloc_array_length: talloc_get_size deals fine with NULL
2009-03-22 22:10:09 +01:00
Volker Lendecke
1bff89c4ad
Only build the dirsort module if we have the dirfd function
...
Fix the build on HP/UX
2009-03-22 13:17:42 +01:00
Stefan Metzmacher
1f72e4abfd
Revert "socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet"
...
This reverts commit 66dc53ee01
.
Somehow this leads to timeouts in some tests, samba4.ldb.ldapi
and samba4.rpc.schannel. I need to look at it more closely later...
metze
2009-03-22 12:36:38 +01:00
Stefan Metzmacher
8a6f91c910
LDAP-CLDAP: remove temporary debug statements...
...
metze
2009-03-22 12:20:45 +01:00
Volker Lendecke
191152daa1
Document the dirsort module
2009-03-22 11:44:14 +01:00
Volker Lendecke
14df86e9e3
Use StrCaseCmp in the dirsort module
2009-03-22 11:44:13 +01:00
Andy Kelk
2835d0d463
Add dirsort module
2009-03-22 11:44:13 +01:00
Volker Lendecke
f590915fe5
Revert "Add a basic Doxyfile for talloc"
...
This reverts commit f55e84e904
.
2009-03-22 09:48:54 +01:00
Volker Lendecke
a83c18062a
Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments"
...
This reverts commit d21212c919
.
2009-03-22 09:48:48 +01:00
Volker Lendecke
c3df040699
Revert "Delete talloc_guide.txt"
...
This reverts commit 3f9c30022a
.
2009-03-22 09:48:41 +01:00
Volker Lendecke
b7fb083dd7
Revert "Add a default "undocumented" module"
...
This reverts commit ba42320c7e
.
2009-03-22 09:48:34 +01:00
Volker Lendecke
790326cc38
Revert "Add some initial hook to the front page"
...
This reverts commit cfce2d3611
.
2009-03-22 09:48:27 +01:00
Volker Lendecke
5098f4625e
Revert "Reformatting"
...
This reverts commit db447d0c47
.
2009-03-22 09:48:19 +01:00
Volker Lendecke
c67ea37d62
Revert "Document talloc_pool()"
...
This reverts commit 27944ed745
.
2009-03-22 09:48:14 +01:00
Volker Lendecke
6b1a5bbf02
Revert "Add a talloc_internal "module""
...
This reverts commit 02662d56c6
.
2009-03-22 09:48:06 +01:00
Volker Lendecke
cce595d1fc
Revert "Document _talloc"
...
This reverts commit 2ce70d4f5a
.
2009-03-22 09:47:59 +01:00
Volker Lendecke
f15a0305f3
Revert "Document TALLOC_FREE()"
...
This reverts commit 3f81649b8d
.
2009-03-22 09:47:51 +01:00
Volker Lendecke
c086c26ffb
Revert "Document talloc_parent, talloc_parent_name and talloc_is_parent"
...
This reverts commit 986c2e01cc
.
2009-03-22 09:47:44 +01:00
Volker Lendecke
257ea7e6f1
Revert "Document talloc_zero_array()"
...
This reverts commit 59dff57455
.
2009-03-22 09:47:37 +01:00
Volker Lendecke
59dff57455
Document talloc_zero_array()
2009-03-21 23:57:24 +01:00
Volker Lendecke
986c2e01cc
Document talloc_parent, talloc_parent_name and talloc_is_parent
2009-03-21 23:50:33 +01:00
Volker Lendecke
3f81649b8d
Document TALLOC_FREE()
2009-03-21 20:04:17 +01:00
Volker Lendecke
2ce70d4f5a
Document _talloc
2009-03-21 20:04:17 +01:00
Volker Lendecke
02662d56c6
Add a talloc_internal "module"
2009-03-21 20:04:17 +01:00
Volker Lendecke
27944ed745
Document talloc_pool()
2009-03-21 19:49:40 +01:00
Volker Lendecke
db447d0c47
Reformatting
2009-03-21 19:02:02 +01:00
Volker Lendecke
cfce2d3611
Add some initial hook to the front page
2009-03-21 19:02:02 +01:00
Volker Lendecke
ba42320c7e
Add a default "undocumented" module
2009-03-21 19:02:02 +01:00
Volker Lendecke
3f9c30022a
Delete talloc_guide.txt
2009-03-21 19:02:02 +01:00
Volker Lendecke
d21212c919
Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments
...
talloc_guide.txt was partly outdated, and as going through talloc.h now shows
it was incomplete.
2009-03-21 19:02:01 +01:00
Volker Lendecke
f55e84e904
Add a basic Doxyfile for talloc
2009-03-21 19:02:01 +01:00
Stefan Metzmacher
3b73cdb412
s3:nmbd: implement a MAILSLOT => CLDAP proxy for NETLOGON_SAMLOGON requests
...
This will be used as part a the franky setup, where nmbd will forward
the MAILSLOT requests to the local samba4 CLDAP server.
"nmbd_proxy_logon:cldap_server = 127.0.0.1" would configure
and activate this feature.
metze
2009-03-21 10:44:42 +01:00
Stefan Metzmacher
431fc718c1
selftest/Samba3: always use the same timeout for all servers
...
metze
2009-03-21 10:44:41 +01:00
Stefan Metzmacher
593ab6ac00
s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
...
metze
2009-03-21 10:44:40 +01:00
Stefan Metzmacher
6ef1442360
s4:smbd: the name of the binary is "samba" now
...
metze
2009-03-21 10:44:40 +01:00
Stefan Metzmacher
66dc53ee01
socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet
...
metze
2009-03-21 10:44:40 +01:00
Matthias Dieter Wallnoefer
62ab39dde3
s4/provision: Use existing serverrole variable.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-21 03:07:00 +01:00
Jelmer Vernooij
960b755315
pyldb: Let conversion to LDIF up to the user of the API rather than doing
...
it implicitly.
2009-03-21 02:19:25 +01:00
Jelmer Vernooij
de1e3e2cf0
Remove unnecessary duplication of string in memory.
2009-03-21 01:00:18 +01:00
Jelmer Vernooij
8f4e4d2e30
Adapt Zahari's test to the generic LDB Python tests.
2009-03-20 22:58:15 +01:00
zahari
4fff36f618
Setting nTSecurityDescriptor via LDAP fails
...
Fix for the problem was substitute talloc_strndup() with
talloc_memdup(), allocate 1 more character and put null character
('\0') in the extra place so data copied is null terminated.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 22:54:15 +01:00
Jelmer Vernooij
ee577ef0ee
Add more comments.
2009-03-20 22:52:57 +01:00
Günther Deschner
19de802c17
s3-spoolss: _spoolss_EnumPrinters level 3 always returns WERR_UNKNOWN_LEVEL.
...
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
d2de9b068c
s3-spoolss: implement enumprinters_level4.
...
Guenther
2009-03-20 17:20:33 +01:00