1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

21471 Commits

Author SHA1 Message Date
Jeremy Allison
9baa97a46e Add general '-e' option to enable smb encryption
on tools.
Jeremy.
(This used to be commit 757653966f)
2008-01-05 00:23:35 -08:00
Jeremy Allison
4881ed00ca More logical operation on bool.
Jeremy.
(This used to be commit 7e8e91aeb3)
2008-01-04 23:26:47 -08:00
Jeremy Allison
99e349b35d More logical operations on booleans. IBM checker.
Jeremy.
(This used to be commit e289a0c859)
2008-01-04 23:24:15 -08:00
Jeremy Allison
c6a2292724 Using a bool with a logical operation. IBM checker caught.
Jeremy.
(This used to be commit 7f9fe7da1e)
2008-01-04 23:17:38 -08:00
Jeremy Allison
d5bd2e7000 Can't use logical operations on boolean values.
Jeremy.
(This used to be commit 34cd9b5b51)
2008-01-04 22:56:06 -08:00
Jeremy Allison
e86fd65dcd "Desting" -> "Testing"
Jeremy.
(This used to be commit c3f3ec5cd5)
2008-01-04 19:34:43 -08:00
Jeremy Allison
4a95b17fd8 Try and fix scripting errors.
Jeremy
(This used to be commit c84f2234fe)
2008-01-04 19:12:29 -08:00
Jeremy Allison
ceba96c915 Try and fix the buildfarm. There's a scripting error and
I'm hoping this is it...
Jeremy.
(This used to be commit 0356f0efc4)
2008-01-04 19:09:46 -08:00
Jeremy Allison
01afb07321 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 3a45f62310)
2008-01-04 19:06:37 -08:00
Jeremy Allison
3d40b197b0 Add missing patch to allow smbcacls to do krb5 auth, bug #5175
from Tom Maher <tmaher@watson.org>.
Jeremy.
(This used to be commit 54ee718957)
2008-01-04 17:15:04 -08:00
Jeremy Allison
c513ff3675 Better way of testing enc.
Jeremy.
(This used to be commit c580023501)
2008-01-04 16:58:23 -08:00
Jeremy Allison
95fa10d596 Added -e tests for S3 smbtorture.
Jeremy.
(This used to be commit deeeae3ee9)
2008-01-04 16:09:48 -08:00
Jeremy Allison
71a24317fe Added -e option to smbtorture to test encrypted versions
of the tests.
Jeremy.
(This used to be commit e85b346f3d)
2008-01-04 16:09:24 -08:00
Jeremy Allison
29562987c3 Now conn is part of smb_request, we don't need it as
an extra parameter. This cleans up quite a few places
we were passing it around without needing it.
Jeremy.
(This used to be commit 8f36def18e)
2008-01-04 15:37:24 -08:00
Jeremy Allison
058ba641f3 Fix idle client reading keepalive.
Jeremy.
(This used to be commit 4ce0bf7856)
2008-01-04 14:56:56 -08:00
Jeremy Allison
9394916e49 We dont' modify the smb header for crypto anymore.
Jeremy.
(This used to be commit f5b6b6dac6)
2008-01-04 14:43:43 -08:00
Volker Lendecke
a8d2664fec allocate share_mode_str only when needed
(This used to be commit a98693bfa7)
2008-01-04 23:32:24 +01:00
Günther Deschner
395c366237 Do not pass emtpy wkssvc_PasswordBuffers to rpc functions.
Guenther
(This used to be commit fe75e5ccdf)
2008-01-04 23:03:55 +01:00
Jeremy Allison
3aea92c97f Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 4e1bf48e7e)
2008-01-04 13:59:52 -08:00
Jeremy Allison
6503c7338e Fix interesting bug found with make valgrindtest. When cancelling
a lock due to file closure make sure we null out the fsp pointer
so it isn't dangling. This is an old bug (not related to the new
changes).
Jeremy.
(This used to be commit b5ee972b0c)
2008-01-04 13:59:26 -08:00
Michael Adam
4aba7475ef Re-Indent function ldap_open_with_timeout().
This reverts commit #cafda34783f0961c9b463803c19cfcb69f836e3f .

I just learned (the hard way) that these indeted functions
are not indented by accident but that the intention of this
is to not include the prototype into proto.h.

Michael
(This used to be commit 2e5d01b214)
2008-01-04 22:56:10 +01:00
Jeremy Allison
fadf9cc1ca Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 3a62a177ba)
2008-01-04 13:24:41 -08:00
Jeremy Allison
68b2965108 Fix the build.
Jeremy.
(This used to be commit 25a0084af5)
2008-01-04 13:24:24 -08:00
Michael Adam
b54310cbaa Add a debug message (when the LDAP server has really been connected).
Michael
(This used to be commit 7d9d2de390)
2008-01-04 22:09:36 +01:00
Michael Adam
2cb68e3898 Untangle assignment and result check.
Michael
(This used to be commit 465a3b356c)
2008-01-04 22:09:36 +01:00
Michael Adam
34e579fce5 Enhance DEBUG-verbosity of ldap_open_with_timeout().
Michael
(This used to be commit 9e70d1f24d)
2008-01-04 22:09:36 +01:00
Michael Adam
4ad3464fb9 Unindent function header.
Michael
(This used to be commit cafda34783)
2008-01-04 22:09:35 +01:00
Michael Adam
3f42428f9b Fix a misleading DEBUG message.
At this stage, the (tcp) connection to the LDAP server has not
been established, this is what is about to be attempted. What
has been succesfully done, is a CLDAP netlogon query.

Michael
(This used to be commit 71c3c8ad4c)
2008-01-04 22:09:35 +01:00
Jeremy Allison
e49c28e604 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 16224e8f4f)
2008-01-04 12:59:36 -08:00
Jeremy Allison
9254bb4ef1 Refactor the crypto code after a very helpful conversation
with Volker. Mostly making sure we have data on the incoming
packet type, not stored in the smb header.
Jeremy.
(This used to be commit c4e5a50504)
2008-01-04 12:56:23 -08:00
Michael Adam
2f195e52fa Fix a DEBUG statement.
Michael
(This used to be commit 18360b852c)
2008-01-04 21:35:29 +01:00
Michael Adam
517ad5318d Fix spacing - spaces mixed with tabs.
Michael
(This used to be commit a4ef828102)
2008-01-04 21:16:48 +01:00
Michael Adam
dbdaa5eeec Fix a comment.
Michael
(This used to be commit fc9c3f39b5)
2008-01-04 21:09:55 +01:00
Michael Adam
dee8e32d8d Remove the word "registry" from the help output of the "net conf" command.
Michael
(This used to be commit 8d9e3e08f3)
2008-01-04 21:05:59 +01:00
Michael Adam
34fb783965 Update the introductory comment to net_conf.c to mention linbet_conf.
Michael
(This used to be commit e166b88637)
2008-01-04 21:05:59 +01:00
Gerald (Jerry) Carter
84a50e2154 Fix the inherited trust flags when spidering the trust heirarchy.
Also *do not* clear the trust list when rescanning or else it is possible
to suffer from a race condition where no trusted domains can be found.
(This used to be commit e7164a252b)
2008-01-04 13:35:41 -06:00
Gerald (Jerry) Carter
4093b0632c Add a missing check for dealing with a one-way trust in query_user().
(This used to be commit f89e356bda)
2008-01-04 13:34:10 -06:00
Gerald (Jerry) Carter
bcc2a6a9d7 Ensure that winbindd_getgroups() can deal with a UPN name.
A user logging in via GDM was not getting a complete list of supplementary
groups in his/her token.  This is because getgroup() was not able to
find the winbindd_domain* using the DNS name.  Fallback to matching the DNS
name is the short name match failes.
(This used to be commit 2030a8de19)
2008-01-04 13:32:58 -06:00
Gerald (Jerry) Carter
9a45dcef4d When connecting to an AD DC, use the DsGetDCName variant.
This allows us to deal with child domains in transitive forest trusts.
It also allows us to fill in the forest name to the target domain to the
struct winbindd_domain *.
(This used to be commit ed30516bb0)
2008-01-04 13:31:07 -06:00
Michael Adam
f215dec831 Map WERR_NO_SUCH_SERVICE with dos_errstr().
Michael
(This used to be commit df5839b537)
2008-01-04 19:58:19 +01:00
Michael Adam
b1472c0956 Remove the final regdb_close() from net_conf.c
This is to hide the registry from net_conf.
Right now, it does not harm if "net conf" does not close
the registry file explicitly just before exiting.
I am working out a proper way of handling open/close
operations transparently in the libnet_conf library.

Michael
(This used to be commit 790ef78944)
2008-01-04 19:52:22 +01:00
Michael Adam
2a8722d4c3 Fix the behaviour of "net conf setparm" to create the share if necessary.
This moves functionality taken away from libnet_conf_set_parameter() to the
higher level user frontend function. (Somehow I thought I had done this
already ... :-)

Michael
(This used to be commit fc0fca980f)
2008-01-04 19:49:57 +01:00
Günther Deschner
77219ddd22 Fix build warning.
Guenther
(This used to be commit a43125d9e9)
2008-01-04 17:43:23 +01:00
Günther Deschner
28ef4878d9 Rename server_name to dc_name in libnet join structures.
Guenther
(This used to be commit ff5e15b1ba)
2008-01-04 17:43:15 +01:00
Günther Deschner
6f84ea9cd7 Separate out storing and removing secrets in libnet_join/unjoin.
Guenther
(This used to be commit b59ca2d9c3)
2008-01-04 17:43:09 +01:00
Günther Deschner
0399df22f0 In libnet_join finally separate the admin from the machine pwd entirely.
Guenther
(This used to be commit d88bb94f0e)
2008-01-04 17:43:02 +01:00
Michael Adam
1c183874ab Use the proper boolean constants.
Michael
(This used to be commit 2ba625e473)
2008-01-04 15:26:05 +01:00
Günther Deschner
f78c318eb0 Add debug switch to netdomjoin.
Guenther
(This used to be commit 2b221708c0)
2008-01-04 15:21:41 +01:00
Günther Deschner
564a54aa16 Minor cosmetic cleanup for netdomjoin-gui.
Guenther
(This used to be commit 02e3887f39)
2008-01-04 15:21:35 +01:00
Günther Deschner
5c09517d7d Fix crash bug in regdb_close() when called with no ref count.
Michael, please check.

Guenther
(This used to be commit d6575ff5d2)
2008-01-04 12:58:09 +01:00