Age | Commit message (Collapse) | Author | Files | Lines |
|
Changes all over the shop, but all towards:
- NTLM2 support in the server
- KEY_EXCH support in the server
- variable length session keys.
In detail:
- NTLM2 is an extension of NTLMv1, that is compatible with existing
domain controllers (unlike NTLMv2, which requires a DC upgrade).
* This is known as 'NTLMv2 session security' *
(This is not yet implemented on the RPC pipes however, so there may
well still be issues for PDC setups, particuarly around password
changes. We do not fully understand the sign/seal implications of
NTLM2 on RPC pipes.)
This requires modifications to our authentication subsystem, as we
must handle the 'challege' input into the challenge-response algorithm
being changed. This also needs to be turned off for
'security=server', which does not support this.
- KEY_EXCH is another 'security' mechanism, whereby the session key
actually used by the server is sent by the client, rather than being
the shared-secret directly or indirectly.
- As both these methods change the session key, the auth subsystem
needed to be changed, to 'override' session keys provided by the
backend.
- There has also been a major overhaul of the NTLMSSP subsystem, to
merge the 'client' and 'server' functions, so they both operate on a
single structure. This should help the SPNEGO implementation.
- The 'names blob' in NTLMSSP is always in unicode - never in ascii.
Don't make an ascii version ever.
- The other big change is to allow variable length session keys. We
have always assumed that session keys are 16 bytes long - and padded
to this length if shorter. However, Kerberos session keys are 8 bytes
long, when the krb5 login uses DES.
* This fix allows SMB signging on machines not yet running MIT KRB5 1.3.1. *
- Add better DEBUG() messages to ntlm_auth, warning administrators of
misconfigurations that prevent access to the privileged pipe. This
should help reduce some of the 'it just doesn't work' issues.
- Fix data_blob_talloc() to behave the same way data_blob() does when
passed a NULL data pointer. (just allocate)
REMEMBER to make clean after this commit - I have changed plenty of
data structures...
Andrew Bartlett
(This used to be commit 57a895aaabacc0c9147344d097d333793b77c947)
|
|
(This used to be commit 52c1973f39f4c4161097843fcf395e0102531575)
|
|
running; bug 398
(This used to be commit cb12d519cc40b964d022886538044e8613931199)
|
|
are written out surrounded by single quotes. This means that
both double and single quotes are now used to surround
strings in smb.conf. This is a slight change from the previous
behavior but needed or else things like
printer admin = +ntadmin, 'VALE\Domain, Admin'
get written to smb.conf by SWAT.
(This used to be commit 59e9d6e301c752e99fb6a50204d7941f7f84566a)
|
|
<link@foo.fh-furtwangen.de>.
Jeremy.
(This used to be commit f68c2ff0f3307612ddbe62b8cc2ea12251d54ec6)
|
|
Jeremy.
(This used to be commit 2b39e3f12a12f0863bf76d996c0d0db422d593bc)
|
|
suffix values in SWAT; based on tpot's original patch; bug 328
(This used to be commit b1d5173b16c40d55cfb6265f1d1947ec78952b6f)
|
|
(This used to be commit d1394f02cb0e369701217ce6610f4efe54438c3a)
|
|
Patch by metze.
rafal
(This used to be commit 91e1be66b1a3aa002f68d8f1c2fc148c1374d365)
|
|
Jeremy.
(This used to be commit 42114b75f2c082522f7806a1af11409609785b06)
|
|
<Helmut.Heinreichsberger@wincor-nixdorf.com>
Jeremy.
(This used to be commit 0984b35fbfd0c9579d2a8a6fa748ade604ad6a82)
|
|
Jeremy.
(This used to be commit b93e44e01edb432e11b9ad6aeb4d4eea0f7fa433)
|
|
Patch by metze.
rafal
(This used to be commit 7191186fc64eb0b8092a2f6f1e89b6b6a6df7627)
|
|
rafal
(This used to be commit 5f02adbd261b7fde22b72703135dec44b7652ef1)
|
|
a mangled name. Added const. Fix inspired by Andrew Bartlett ideas.
Jeremy.
(This used to be commit 8de1d4ebf72928c958d4c5be887f2babe13d3c87)
|
|
Jeremy.
(This used to be commit 9b50fd8cfc36c817177103b07e7b8a3952e641c7)
|
|
Jeremy.
(This used to be commit 5df3d16c9226bf884226e8302b996a484017f8c3)
|
|
This fixes a bug when establishing trust against a german W2k3 AD server. In
the bind response to WKSSVC it does not send \PIPE\ntsvcs as NT4 (did not
check w2k) but \PIPE\wkssvc. I'm not sure whether we should make this check at
all, so making it a bit more liberal should hopefully not really hurt.
Volker
(This used to be commit dbd17dd0366d6cd20a2d5d8247dd5842563da2ca)
|
|
(not /etc/group) even when doing local aliases
* remove "hide local users" parameter; we have this
behavior built into 3.0
(This used to be commit 3b75e862dfba42c95e2279c300c06bb981f52993)
|
|
(forget to remove the module from the default list after testing :-)
(This used to be commit aae13b2e63dd3aeafe7dcb48a484da9d51a0a589)
|
|
Add module support for configuration loading
Add a first implementation of config_ldap module to put samba configuration
on ldap
It worked on my test machine, please try it out and send bugfixes :-)
have fun,
Simo.
INSTRUCTIONS:
Just add something like this to your smb.conf file:
config backend = config_ldap:ldap://localhost
config_ldap:basedn = dc=samba,dc=org
the config tree must follow this scheme:
ou=foo, dc=samba, dc=org <- global section
|- sambaOptionName=log level, ou=foo, ... <- options
|- ...
|- sambaShareName=testlc, ou=foo, ... == [testlc]
|- sambaOptionName=path, sambaShareName=testlc, ou=foo, ... <- option
here is a sample ldif:
# foo, samba, org
dn: ou=foo, dc=samba, dc=org
objectClass: organizationalUnit
objectClass: sambaConfig
ou: foo
description: Test Foo
# log level, foo, samba, org
dn: sambaOptionName=log level, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: log level
sambaIntegerOption: 10
description: log level 10 is suitable for good debugging
# testlc, foo, samba, org
dn: sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaShare
sambaShareName: testlc
description: share to test ldap config module actually works
# path, testlc, foo, samba, org
dn: sambaOptionName=path, sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: path
sambaStringOption: /tmp
description: Path for share testlc
# read only, testlc, foo, samba, org
dn: sambaOptionName=read only, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: read only
sambaBoolOption: TRUE
description: Share testlc is read only
# guest ok, testlc, foo, samba, org
dn: sambaOptionName=guest ok, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: guest ok
sambaBoolOption: TRUE
description: Guest users are allowed to connect to testlc share
(This used to be commit 207968eafc2c2a185e50e2132702d7bab2142aba)
|
|
(This used to be commit 89a8c607af4ca67fcefe285480f7c9b832f6720c)
|
|
jobs) by only enforce the 'max reported print jobs' parameter
when it is non-zero.
* Fixed bug 338 by making sure that data values are written
out when we are marshalling an EnumPrinterDataEx() reply.
This probably fixes other bugs reported against point-n-print
feature in 3.0.0
(This used to be commit d7026f6d178f6ed531bbf7d681d4efde0828616c)
|
|
(This used to be commit 664cc4f46cf1be08c704a9d163ee33c8629ad065)
|
|
(This used to be commit 3290582cb0542d1e2a7e1e5213614fca8788b070)
|
|
> module. Install though, in case one recreates the tree as it was before.
>
>
> rafal
Same as in SAMBA_3_0 source tree.
rafal
(This used to be commit af972c76158069efe3817a4e6dce4826d883edf1)
|
|
(This used to be commit aef7f54355a71e36963ed7427e9c2f05d26cc222)
|
|
dump if server goes away.
Jeremy.
(This used to be commit a646cb60a24498451d379967a1da272fcd40875f)
|
|
Skip over the winbind separator when looking up a user.
Volker
(This used to be commit efe36a44d3d35f2bbb3381916dfdfda80560b67c)
|
|
source/passdb/pdb_get_set.c:
I agree with vl's #if 0 here, and am not quite sure what I was
thinking with regard to the original code.
Let's keep samba simple, and just remove it.
source/rpc_server/srv_netlog_nt.c:
Remove compleatly wrong comments. (There were correct, 2 years ago...)
source/intl/lang_tdb.c:
Add newline to debug message
Andrew Bartlett
(This used to be commit 2a8dbe03690b60f3d9c83de3cf6ce873aa0657bc)
|
|
* revert the change that prevent the guest
account from being added to a passdb backend
since it broke the build farm.
* apply patch from Alex Deiter to fix the
"smbldap_open: cannot access when not root
error" messages when looking up group
information (bug 281)
(This used to be commit 20bd309239199d85accb2b7aac6d4dd73e414f85)
|
|
with memory leak fixes by me.
Jeremy.
(This used to be commit daceed37387c517b3f0ab9c173f419215e3d676b)
|
|
UNIX entity foo to DOMAIN\foo instead of SERVER\foo
on members of a Samba domain when all UNIX accounts
are shared via NIS, et. al.
* allow winbindd to match local accounts to domain SID
when 'winbind trusted domains only = yes'
* remove code in idmap_ldap that searches the user
suffix and group suffix. It's not needed and
provides inconsistent functionality from the tdb backend.
This has been tested. I'm still waiting on some more feedback
but This needs to be in 3.0.1pre2 for widespread use.
(This used to be commit cac4723e206bd001882011c9e12327064d032268)
|
|
(This used to be commit 1e461f06ec492dc3f139165932c3518a6dd416f9)
|
|
Implement %i-Macro for the locally used IP address. With this you can again
have virtual hosts with different configurations on a single smbd even on port
445.
Volker
(This used to be commit 3a5130f231a0fd6f7490d3b028361ff0458bfae1)
|
|
Simple rename of get_socket_addr to get_peer_addr and get_socket_name to
get_peer_name. This is to get closer to the getsockname/getpeername system
functions.
Next step will be the %i macro for the local IP address. I still want to play
%L-games in times of port 445.
Volker
(This used to be commit 99311b437be050fd9ee656cd184f299993d20bfb)
|
|
Jeremy.
(This used to be commit 5d52e6b3016960cc3be33d3cd15725cce5fd0580)
|
|
(This used to be commit ac9f9f9ea83b0419d3f1f95b57ff3ead625d7576)
|
|
(This used to be commit f7798571178d18aae9c0be5f437838222bfc25b9)
|
|
(This used to be commit 2277c6e06c2e5b3ace4b231ff8af03d2d29fac36)
|
|
(This used to be commit 7a60693a47823c2a174886ad44e7af102440ba4d)
|
|
(This used to be commit e490efd29a8a6b1fc7087b7dd51bbd41465803c3)
|
|
changed where it puts things :-)
(This used to be commit 123a516a6095e3fb6c2ad372b2800a825bbd2a13)
|
|
(This used to be commit d7a0c6da0baf41faf0eb0b71f3576d3c3fbf7c62)
|
|
(This used to be commit a6cc763333943bc6e360bb7e78cf9bfb1bc936e8)
|
|
Volker
(This used to be commit 11da19dd5c2a6434b73a03eadedb5b877776b1f7)
|
|
Revision 1.82.2.24:
Patch from James Henstridge to allow rpcclient adddriver
command to specify printer driver version. Closes bug #514.
(This used to be commit b873832e33ba251741ae4f091f93f4bb79d57bee)
|
|
(This used to be commit 6a001dbd13c11f22b5d3c444fd1da3055f3afb67)
|
|
(This used to be commit a26d425f93e43641195d0aaf0f9ce5ef0e69f5e1)
|
|
Revision 1.42.2.8:
Use the actual size of the buffer in strftime instead of a
made up value which just happens to be less than
sizeof(fstring). Closes #713.
(This used to be commit 45c28f8a2723b5e942d13d1c6e5db757921fb64f)
|