1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

258 Commits

Author SHA1 Message Date
Simo Sorce
333aaf01e8 r1944: put ldif functions in a separate file
(This used to be commit 8be31e5c854e4462163b97b897ff41de95f181c4)
2007-10-10 12:58:13 -05:00
Andrew Tridgell
8d6e233f66 r1941: - fixed an allocation error with querying security descriptors remotely
- print the received security_descriptor in the smbclient "acl" command

- make sure we zero the alignment data in nttrans packet sends
(This used to be commit 8925b8b2193905d084e1bfaaa3235ed7f9d1eb55)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
f42f061236 r1910: this should not be a local var in this block
metze
(This used to be commit 0164cac6df46ca5996aae30b8c48a602999f7e0b)
2007-10-10 12:58:10 -05:00
Andrew Tridgell
1129c78083 r1897: added a choose_called_name() function that allows us to more sanely
handle connections using the IP as the server name, while not trying
for NBT name resolution on names like "192" and "192.168.1.2".

also removed the ip address argument to smbcli_socket_connect() as it
isn't used and doesn't really make sense.
(This used to be commit 2ce4028842556328da4da0de9bee942bed02cc62)
2007-10-10 12:58:09 -05:00
Andrew Tridgell
5f1f1e5e5c r1896: stricter check on packet parsing for NBT session replies
(This used to be commit 30ab38559e8c52ecdaf7ca9b124875ade82c5c66)
2007-10-10 12:58:09 -05:00
Andrew Tridgell
acc885855a r1893: add a commented out lump of code to implement the "by the SPEC"
ALL_INFO queryfileinfo level. It is useful having it here as many
non-Microsoft servers implement it this way, which breaks just about
all the torture tests, so when testing against these broken systems
just change this one #if line and recompile smbtorture.
(This used to be commit cd8887293e7735d8ee1cc2daebda233673801775)
2007-10-10 12:58:08 -05:00
Volker Lendecke
6e5a9a6fe4 r1886: Fix the build
(This used to be commit 7be7f25a57422fea3e763479629e18dc9a204aba)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
7d032a9992 r1883: I don't know why this was broken...
tridge: can you please check if this is correct,
        I have only compiled it, but haven'T run it.

metze
(This used to be commit d3123c2e7357d8db4dce9e0253ac405318d05c48)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
46003a56a8 r1881: empty structs are not allowed by all compilers
metze
(This used to be commit 4c6c4d6bc8927b93f29beecf44aef5c228533a43)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
ebd696bd8c r1862: add invalid_creds ldap error
metze
(This used to be commit 11c866d602fb4daefc1dced349606bd8ccd38ef2)
2007-10-10 12:58:04 -05:00
Stefan Metzmacher
c074e30e2e r1856: - move asn1 functions to asn1.c
- merge some stuff from trunk

metze
(This used to be commit 267edf1c0bb1ed73f1ba19148e6412b9a1c41979)
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
69d6435358 r1851: if we try to peek a subtag, check if the parent tag has remaining data
metze
(This used to be commit 01626ed381bdc9cab3e94e80220c916bb61acf30)
2007-10-10 12:58:02 -05:00
Andrew Tridgell
39686072d5 r1824: nicer handling of NBT session replies, and handling of bad packets
with the async SMB code
(This used to be commit cef94978f43a8326b6cf1888c15ca8c568ebe9f8)
2007-10-10 12:58:00 -05:00
Andrew Tridgell
6408221433 r1819: changed "smb ports" to be a LIST parameter type in loadparm (its a classic case for a list)
(This used to be commit e53d32c65ab0751b3e01f4f699f5d0e1892369ae)
2007-10-10 12:57:59 -05:00
Stefan Metzmacher
16757c52d6 r1805: ...I just forgot to say that the sasl bind actually works now:-)
metze
(This used to be commit a2cd725681fa7b10a5cca337554be17f628465c0)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
e0a6215cdf r1804: get a bit closer to a sasl bind
metze
(This used to be commit d0278c6bef622feeda8da7a120e3d1abce4a74e5)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
cd5421b8ab r1803: more progress on sasl binds, but decoding the response still fails
metze
(This used to be commit f6c44201073df37881191509ffb7badee3baac71)
2007-10-10 12:57:58 -05:00
Simo Sorce
01b58ebf83 r1802: start to support SASL in our ldap libraries
does not work yet but we are close currently we send the right data
on wire and fail to decode the answer
(This used to be commit 10baf585821bf1f10a3786045a0965000cdffd12)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
2129ba5082 r1798: fix the build
metze
(This used to be commit a1bfc94ab35c426b75efedea0df21acec7d1eeed)
2007-10-10 12:57:58 -05:00
Andrew Bartlett
7b088a8f65 r1796: Enable server-side SPNEGO, now that I have fixed the server-side SMB
signing code to be able to cope.

Andrew Bartlett
(This used to be commit cb74d52b563730a50e33c92d868c45ee96a598e8)
2007-10-10 12:57:57 -05:00
Stefan Metzmacher
184bb1ab41 r1794: fix the build MIT krb5
metze
(This used to be commit fe655d047434422eae77486e5fd7fa51eb942677)
2007-10-10 12:57:57 -05:00
Simo Sorce
16c52f7a07 r1792: split ldap_setup_connection() and provide an ldap_bind_simple() function
(This used to be commit d9f8f97c9eaa8078f411adf0a8db607365082197)
2007-10-10 12:57:57 -05:00
Stefan Metzmacher
2a574e2245 r1790: a few updates on krb5 PAC...
metze
(This used to be commit 5a3a10c004ee2c94c42f08d52b36c75b413bdb79)
2007-10-10 12:57:56 -05:00
Simo Sorce
28ea8b8785 r1785: remove unneeded dependencies on openldap client libraries
(This used to be commit 44083e317855f6d8a0b4a81002a3376e8775df28)
2007-10-10 12:57:56 -05:00
Stefan Metzmacher
425caa9b78 r1784: a few minor changes and debug the decoded PAC_DATA
metze
(This used to be commit 250485b69fbdd494bfd6c69bae94662e24fb0117)
2007-10-10 12:57:56 -05:00
Simo Sorce
2e28edd233 r1771: OK Let's add tests for ldap.
Thanks to Metze and Volker for their unvaluable support :)
(This used to be commit e6a6c0737ab94d58930c0d4e1ef0bb4d99510833)
2007-10-10 12:57:56 -05:00
Stefan Metzmacher
8a0f6c9c79 r1770: here's the krb5 server code,
there're some cleanups needed and we need to verify the PAC correctly
and create the auth_session_info correctly...

metze
(This used to be commit d8fe497097ee49611bb05c4a2fed36912d8e16b4)
2007-10-10 12:57:55 -05:00
Andrew Bartlett
63c5ca7d58 r1769: Add a new torture test to check vuid properties, and SPNEGO/non-SPNEGO games.
Andrew Bartlett
(This used to be commit 90d70a63ee6d44172cec99a9115817f666b5d06d)
2007-10-10 12:57:55 -05:00
Andrew Bartlett
f387277b7f r1768: Add some debugs to assist in SMB signing debugging.
Andrew Bartlett
(This used to be commit 32b45fc9e8ff1d0b73bbec1eb1d249af3ec52e46)
2007-10-10 12:57:55 -05:00
Simo Sorce
2b51ce3ca4 r1761: start porting valuable volker's work on ldap from trunk
all ldb functions has been renamed to ldap_ as we don't
really want to include ldb functions here, let's keep ldap
and ldb separate.
(This used to be commit f9d7b731c910b530a0a6c0f0c09c809f3e7b4167)
2007-10-10 12:57:54 -05:00
Stefan Metzmacher
fa8d37adae r1756: merge volkers ldap client lib to samba4 for simo to start with the
ldap server code

it's not compiled in yet...

metze
(This used to be commit 48939adca1332ff90f9287311c0e9ff3e2e5917a)
2007-10-10 12:57:54 -05:00
Andrew Bartlett
5a4845ff8b r1752: Fix compile bugs on C (rather than C++) tolerant compilers.
Andrew Bartlett
(This used to be commit 0949b72645024a6810f447fe8acb643f98588ab3)
2007-10-10 12:57:53 -05:00
Stefan Metzmacher
34b0a989eb r1748: don't segfault if there's no ticket
metze
(This used to be commit b8985892964e84ca09d611540811d5a50a31232e)
2007-10-10 12:57:53 -05:00
Andrew Bartlett
912e79ade5 r1746: Remove more cruft from the SMB signing code.
Andrew Bartlett
(This used to be commit b176151b7294b03534921a26db4fb4be1e5d617c)
2007-10-10 12:57:53 -05:00
Andrew Bartlett
ffcfb97fb3 r1745: More work on cleaning up SMB signing.
This removes the function pointer mess from the SMB signing code.

Andrew Bartlett
(This used to be commit 8830603e4bc821a11db87072a32a51b076a28e06)
2007-10-10 12:57:52 -05:00
Andrew Tridgell
44e04cdb11 r1739: fixed the padding in setpathinfo, noticed when forcing negotiated ascii strings
(This used to be commit fc75dc49025f4beb0f1df656cfe4ec497e693dcc)
2007-10-10 12:57:51 -05:00
Andrew Tridgell
b3e7722a88 r1738: honor the "unicode=yes/no" option in the SMB client library
(This used to be commit b6664bdd0f4125a483620b76a87ea69cad866d6a)
2007-10-10 12:57:51 -05:00
Stefan Metzmacher
daa4a722f9 r1737: don't segfault when a mech don't have a session_info hook
metze
(This used to be commit 68f3e538265b59ec818917b914678485585795a6)
2007-10-10 12:57:51 -05:00
Andrew Bartlett
ca72bdfecb r1735: Clean up SMB signing - we don't have more than one 'real' way to sign
a packet, so don't pretend we do...

Andrew Bartlett
(This used to be commit 68a6d5aeb35e8972182fffbb6cc506f89584b2d5)
2007-10-10 12:57:51 -05:00
Andrew Bartlett
1c9216f36c r1731: Add server-side SPNEGO support to Samba (disabled, until SMB signing
is reworked).

Andrew Bartlett
(This used to be commit 73ee549b8c54e93556ff0105941996e0d4de8303)
2007-10-10 12:57:51 -05:00
Andrew Bartlett
d9ff454a87 r1729: Make the SMB signing code more generic (to share more between client and servers).
Andrew Bartlett
(This used to be commit b90b04e84bc8add235cf9ee7797a608ff48c4ca0)
2007-10-10 12:57:50 -05:00
Andrew Bartlett
5a79e6cf48 r1725: Remove a silly 'utility' function.
Andrew Bartlett
(This used to be commit 4d563d7e4afad1c5f583aca3f42087bfff0fb895)
2007-10-10 12:57:50 -05:00
Andrew Bartlett
1bcd36ed8a r1724: Add a new function to return the list of available OIDs.
(Used in our SPNEGO code).

Andrew Bartlett
(This used to be commit c91d6b6f9b53e64069fd5860f677bc1b4c250f0c)
2007-10-10 12:57:50 -05:00
Andrew Bartlett
8ed563cfbb r1723: Make sure we bail out on error in reading a OID.
Andrew Bartlett
(This used to be commit 6da7b65851aa4932aab56d1ab0f8fc67ccb62cdf)
2007-10-10 12:57:50 -05:00
Andrew Tridgell
7a523b2bc4 r1712: this should fix a bug with a spinning client when a server dies
unexpectedly. bug found by abartlett.
(This used to be commit 566b7a9ce986cdfeabb69f17c472782fc7494d43)
2007-10-10 12:57:50 -05:00
Andrew Bartlett
6ffaf57fe7 r1686: Don't use a void* for the context inside the SMB signing code.
Andrew Bartlett
(This used to be commit 64fcd8ecebabdd09fed6b65e3c436bffc1da9de7)
2007-10-10 12:57:48 -05:00
Andrew Bartlett
06cf56bc1d r1685: Add the ability to lookup RPC auth types for the RPC-MGMT torture test.
Andrew Bartlett
(This used to be commit 0e4e3647e848605416fe79c742ac84d84dc4357c)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
9c41274ace r1676: - improved the handling of username/password in locktest and gentest
- use lp_maxprotocol() in the libcli/raw/ negotiate code, so we obey
  the smb.conf "max protocol" option

- better handling of -M option in masktest
(This used to be commit 8685a584c92ab73a35b29a8c719f1ec207562837)
2007-10-10 12:57:48 -05:00
Andrew Tridgell
3ef16b2679 r1674: fixed a bug in the handling of STR_LEN8BIT flagged strings
(This used to be commit 17a331529706266bd53b2d1c7b873cf4bbd7aaa7)
2007-10-10 12:57:48 -05:00
Stefan Metzmacher
c5fbb6f23c r1654: rename cli_ -> smbcli_
rename CLI_ -> SMBCLI_

metze
(This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10 12:57:47 -05:00