Günther Deschner
d62bc0e845
s3-nbt: start merging from samba4 idl.
...
Guenther
2008-09-23 23:19:54 +02: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
Günther Deschner
8bd302ab22
s3-build: let ctags/etags start from the toplevel dir.
...
Guenther
2008-09-23 23:16:35 +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
05e0966d85
s3-nbt: remove old samba3 libcli/nbt copy.
...
Guenther
2008-09-23 10:48:58 +02:00
Michael Adam
4432967532
[s3]winbindd_group: don't list the domain twice when expanding internal aliases
...
Before this, "getent group builtin\\administrators" expanded
domain group members in the form DOMAIN\domain\user.
Michael
2008-09-23 10:00:26 +02:00
Michael Adam
4205fab500
[s3]winbindd_group: sanely handle NULL domain in add_member().
...
Michael
2008-09-23 10:00:26 +02:00
Michael Adam
49145bfefa
[s3]winbindd_ads: honour "winbind use default domain" in lookup_groupmem().
...
This fixes the output of "getent group" when "winbind use default domain = yes"
with security = ads.
Michael
2008-09-23 10:00:26 +02:00
Michael Adam
1f8a7739ac
[s3]winbindd_rpc: add domain prefix to username in lookup_groupmem().
...
This makes the output of "getent group" of a domain group show the
domain prefix with "security = domain".
Michael
2008-09-23 10:00:26 +02:00
Michael Adam
1b9c2ccb1f
[s3]winbindd_util: add fill_domain_username_talloc().
...
A talloc version of fill_domain_username().
Michael
2008-09-23 10:00:26 +02:00
Michael Adam
e401ce6de7
[s3]winbindd_util: add prototype for fill_domain_username_talloc().
...
A talloc version of fill_domain_username().
Michael
2008-09-23 10:00:25 +02:00
Michael Adam
f0dccdca6a
[s3]winbindd: fix a comment typo
...
Michael
2008-09-23 10:00:25 +02:00
Michael Adam
6c8c5d7113
[s3]winbind_util: fix an implicit cast compile warning.
...
Michael
2008-09-23 10:00:25 +02:00
Günther Deschner
fd3ba988dc
s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.
...
Guenther
2008-09-23 09:49:56 +02:00
Günther Deschner
7f5aef542a
s3-nbt: use ../libcli/nbt helper.
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
9f8813e4d4
s3: re-run make idl.
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
83c042583b
s3-nbt: refer to ../libcli/nbt in nbt.idl.
...
Guenther
2008-09-23 09:37:24 +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
c48186f507
s3: use samba4 prototype for ndr_push/pull_struct_blob.
...
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
c8858058e9
s3: re-run make idl.
...
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
9421ecac33
s3-nbt: fix nbt.idl in order to use shared nbt helper.
...
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
f093ddbc11
s3-charset: add smb_iconv_convenience.
...
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
9216153827
s4-nbt: remove unrequired include.
...
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
b60d612cde
s4: add talloc_strdup_upper.
...
Guenther
2008-09-23 09:37:23 +02:00
Andrew Tridgell
9cf29abee2
test setinfo FULL_EA_INFORMATION in gentest
2008-09-23 16:45:55 +10:00
Andrew Tridgell
219aa1b4fd
added FULL_EA_INFORMATION setea call
2008-09-23 16:45:10 +10:00
Andrew Tridgell
e3a562b1cd
fixed a memory error in change notify handling in gentest
2008-09-23 15:20:24 +10:00
Andrew Tridgell
2b6e139206
fixed readonly handling in deltree
2008-09-23 15:16:46 +10:00
Andrew Bartlett
c5265ea3bf
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
2008-09-22 21:48:49 -07:00
Andrew Tridgell
f4e212323f
added some debug code
2008-09-23 12:09:56 +10:00
Andrew Bartlett
c39d1b829b
Remove unused parameter from decode_pw_buffer and fail on invalid
...
UTF-16 input
The input checking is important, as otherwise we could set the wrong
password.
Andrew Bartlett
2008-09-22 17:50:43 -07:00