Andrew Tridgell
38e70dc47a
be friendlier in smb2_deltree to some of the SMB2 implementations that
...
don't handle SEC_FLAG_MAXIMUM_ALLOWED
2008-09-24 18:10:22 -07:00
Andrew Tridgell
9a50009430
check error code for zero desired_access in SMB2 create
2008-09-24 18:10:22 -07:00
Andrew Tridgell
76835f103e
fixed setpathinfo in gentest to not zero the filename/handle
2008-09-24 18:10:22 -07:00
Andrew Tridgell
094afe614b
fixed uninitialised variable bug
2008-09-24 18:10:22 -07:00
Andrew Tridgell
9fcafbb42c
support NT_STATUS_XX:NT_STATUS_YY syntax in ignore files
2008-09-24 18:10:22 -07:00
Andrew Tridgell
71ae732669
fixed error code for bad keepalive
2008-09-24 18:10:22 -07:00
Andrew Tridgell
ff542275c3
stricter checking of SMB2 echo body (per the spec)
...
thanks to the bluearc test suite
2008-09-24 18:10:22 -07:00
Jelmer Vernooij
b0a95ad2f6
Revert LDB return code patches from Matthias.
2008-09-25 00:01:05 +02:00
Matthias Dieter Wallnöfer
b39b6099a4
Cosmetic corrections for the KERBEROS library
...
This commit applies some cosmetic corrections for the KERBEROS library.
2008-09-24 19:40:03 +02:00
Matthias Dieter Wallnöfer
79854dc48a
Kerberos cosmetic changes: Revert a part of the patch
...
Reverts a part of the patch because it changes the function of the code (suggested by Jelmer).
2008-09-24 19:40:03 +02:00
Matthias Dieter Wallnöfer
57edd24ca0
Cosmetic corrections for the KERBEROS library
...
This commit applies some cosmetic corrections for the KERBEROS library.
2008-09-24 19:40:03 +02:00
Matthias Dieter Wallnöfer
9d849c30bc
Cosmetic corrections for the LDB library
...
This commit applies some cosmetic corrections for the LDB library.
2008-09-24 19:40:03 +02:00
Matthias Dieter Wallnöfer
9261fa997c
Cosmetic corrections for the LDB backend modules
...
This commit applies some cosmetic corrections for the LDB backend modules.
2008-09-24 19:40:03 +02:00
Matthias Dieter Wallnöfer
cf1935817f
Cosmetic corrections for the DSDB module
...
This commit applies some cosmetic corrections for the DSDB (Directory Server Database).
2008-09-24 19:40:03 +02:00
Jelmer Vernooij
291ca93843
Use loadparm since it's required by some modules.
2008-09-24 19:27:09 +02:00
Jelmer Vernooij
b9890af546
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypto
2008-09-24 16:11:13 +02:00
Jelmer Vernooij
3023a56b64
Clean .o files in lib/ and libcli/ too.
2008-09-24 16:10:34 +02:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Simo Sorce
83b0c5d43f
Fix nasty bug that would come up only if a client connection to a remote
...
ldap server suddenly dies.
We were creating a wrong talloc hierarchy, so the event.fde was not
freed automatically as expected. This in turn made the event system call
the ldap io handlers with a null packet structure, causing a segfault.
Fix also the ordering in ldap_connection_dead()
Thanks to Metze for the huge help in tracking down this one.
2008-09-24 01:43:57 -04:00
Simo Sorce
7b20cbb115
Fix python test, we can't check only the first member, because the order
...
is not guaranteed
2008-09-24 01:42:30 -04:00
Jelmer Vernooij
1ca2e4b99f
Use new binary name in merged build.
2008-09-24 04:41:30 +02:00
Jelmer Vernooij
4b942c2a72
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-09-24 04:34:54 +02:00
Stefan Metzmacher
b7d2ff38f5
s4:libcli/smb_composite: we only check the signature when the server return OK
...
We need to manually free the request, otherwise the timeout handler is
triggered later.
metze
2008-09-24 04:08:31 +02:00
Günther Deschner
1ea185a340
s3: fix merged_build.
...
Guenther
2008-09-24 03:30:50 +02:00
Jelmer Vernooij
6a689c23e8
Rename smbd -> samba.
...
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091.
Conflicts:
source4/smbd/server.c
2008-09-24 03:16:15 +02:00
Günther Deschner
ed23c66bf7
s4: remove autogeneration of libcli/netlogon protos.
...
we do need to have them around for samba3.
Guenther
2008-09-24 01:20:42 +02:00
Simo Sorce
508527890a
Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
...
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Günther Deschner
1147d05b47
s4-nbt: use moved libcli netlogon helpers.
...
Guenther
2008-09-23 23:18:00 +02:00
Günther Deschner
9d541f314f
s4-libcli: move nbt/netlogon helper functions up one level.
...
Guenther
2008-09-23 23:17:51 +02:00
Volker Lendecke
1f8fe94ff3
S3 puts smb.conf and lmhosts in lib/, s4 into etc/
2008-09-23 23:13:03 +02:00
Stefan Metzmacher
5477e1cbf9
s4:lib/charset: add missing prototype of talloc_strdup_upper()
...
metze
2008-09-23 21:07:43 +02:00
Andrew Tridgell
1c2e6978b8
fixed problem with ACLs with an empty DACL list
2008-09-23 11:17:43 -07:00
Andrew Tridgell
66092ced5e
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-09-23 11:15:46 -07:00
Stefan Metzmacher
353aaf26c5
selftest: run smb signing tests as part of make quicktest
...
metze
2008-09-23 11:30:04 +02:00
Stefan Metzmacher
61a38d9180
selftest: test some smb signing combinations against the member server
...
metze
2008-09-23 11:30:04 +02:00
Stefan Metzmacher
171349bc21
s4:smb_server: remove the bogus smbsrv_signing_restart()
...
Real signing always starts with seqnumber 2, and once signing
is on the session key never change anymore for the complete
smb connection.
metze
2008-09-23 11:30:04 +02:00
Stefan Metzmacher
c01426ce73
libcli/smb_composite: for spnego session setups check the smb signature manually
...
We need to start signing when we got NT_STATUS_OK from the server
and manually check the signature of the servers response.
This is needed as the response might be signed with the krb5 acceptor subkey,
which comes within the server response.
With NTLMSSP this happens for the session setup:
request1 => BSRSPYL seqnum: 0
response1 => BSRSPYL seqnum: 0
request2 => BSRSPYL seqnum: 0
response2 => <SIGNATURE> seqnum: 1
and with krb5:
request1 => BSRSPYL seqnum: 0
response1 => <SIGNATURE> seqnum: 1
metze
2008-09-23 11:30:03 +02:00
Stefan Metzmacher
8c3d969934
libcli/raw: real signing starts at seqnumber 2
...
metze
2008-09-23 11:30:03 +02:00
Stefan Metzmacher
7deacc615e
libcli/raw: in SMB_SIGNING_ENGINE_BSRSPYL state it's ok to accept any signature
...
Even if signing is mandatory.
With NTLMSSP this happens for the session setup:
request1 => BSRSPYL
response1 => BSRSPYL
request2 => BSRSPYL
response2 => <SIGNATURE>
and with krb5:
request1 => BSRSPYL
response1 => <SIGNATURE>
metze
2008-09-23 11:30:03 +02:00
Stefan Metzmacher
e00ab641b4
libcli/raw: give the caller the chance to do the signing checks on its own.
...
metze
2008-09-23 11:30:02 +02:00
Stefan Metzmacher
781d7c4c1c
libcli/raw: give the caller the chance to prevent the talloc_free(req) in the _recv functions
...
metze
2008-09-23 11:30:02 +02:00
Stefan Metzmacher
588af6901b
gensec_krb5: only give away the session key, when the authentication is done
...
metze
2008-09-23 11:30:02 +02:00
Stefan Metzmacher
02cffed79d
gensec_gssapi: only give away the session key, when the authentication is done
...
metze
2008-09-23 11:30:01 +02:00
Stefan Metzmacher
23e31350f5
ntlmssp: only give away the session key, when the authentication is done
...
metze
2008-09-23 11:30:01 +02:00
Stefan Metzmacher
70b0c8f79a
RPC-PAC: loop in gensec_update() untill the server side is ready
...
metze
2008-09-23 11:30:01 +02:00
Günther Deschner
a1a92688ba
s4-nbt: use ../libcli/nbt
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
6f33f3e4c2
s4-nbt: move libcli/nbt up one level.
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
be8b72dd55
s4-nbt: merge some fixes from samba3 nbt helper.
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
13a3971438
s4-nbt: use private_data instead of private.
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
9216153827
s4-nbt: remove unrequired include.
...
Guenther
2008-09-23 09:37:23 +02:00