1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

1677 Commits

Author SHA1 Message Date
Jeremy Allison
85d8d24d3d r2034: Allow user-selectable hash functions on open only.
Jeremy.
(This used to be commit b43320ee5c)
2007-10-10 12:58:18 -05:00
Andrew Tridgell
c58b64b7bf r2031: add a check for a blank secret return in lsa secret tests
(This used to be commit eddb31d196)
2007-10-10 12:58:18 -05:00
Andrew Tridgell
53415ebf8a r2030: quick hack to allow the simple NTVFS backend to handler base directories with mixed case names
(This used to be commit efecc3306e)
2007-10-10 12:58:18 -05:00
Andrew Tridgell
5e122da655 r2029: changed our client side dcerpc padding to match what w2k3 does - a 16
byte padding of the payload portion of the packet.
(This used to be commit 271831f97f)
2007-10-10 12:58:18 -05:00
Stefan Metzmacher
13c899de96 r2021: add password change fallback to SetUserInfo level 25,24,23
metze
(This used to be commit d31405ff2f)
2007-10-10 12:58:18 -05:00
Stefan Metzmacher
36e52d5d9a r2020: fix compiler warnings
metze
(This used to be commit 17268837d2)
2007-10-10 12:58:18 -05:00
Stefan Metzmacher
bee751ed17 r2019: fix compiler warnings
metze
(This used to be commit 699248fe82)
2007-10-10 12:58:17 -05:00
Stefan Metzmacher
527bafcf73 r2017: fix compiler warnings
metze
(This used to be commit eb75d9323f)
2007-10-10 12:58:17 -05:00
Stefan Metzmacher
2ed6f07ccd r2012: --enable-developer also sets debug=yes now
and we how set the CFLAGS="-g -Wall" and the rest only
if the compiler supports it.

CFLAGS is now not empty when we call PROG_CC
so there won't be a "-O2" in the final CFLAGS

metze
(This used to be commit 479f681694)
2007-10-10 12:58:17 -05:00
Stefan Metzmacher
335e741671 r2011: remove this broken and never reached test
as PROG_CC will set CFLAGS to the default ones

normaly "-g -O2"

metze
(This used to be commit 424af1a9df)
2007-10-10 12:58:17 -05:00
Stefan Metzmacher
bdec66f0ed r2010: trigger the config.smb_build.dump output by --enable-*developer not --enable-debug
metze
(This used to be commit ffbfc41033)
2007-10-10 12:58:17 -05:00
Stefan Metzmacher
45a69c44e7 r2005: fix compiler warnings
metze
(This used to be commit 71992c90cc)
2007-10-10 12:58:17 -05:00
Stefan Metzmacher
7d1a0239bb r2004: remove unused file
metze
(This used to be commit 46d5ce350a)
2007-10-10 12:58:16 -05:00
Andrew Tridgell
694ac65faa r2003: got rid of next_token_nr(), which involved some horrible globals
and nasy pointer tricks.

this involved fixing some of the internals of smbclient
(This used to be commit 126fec6169)
2007-10-10 12:58:16 -05:00
Stefan Metzmacher
af057bdf84 r2000: remove unused var
metze
(This used to be commit 5d5b651739)
2007-10-10 12:58:16 -05:00
Stefan Metzmacher
94b7bf91fe r1999: fix compiler warning
metze
(This used to be commit 8c9c702bc3)
2007-10-10 12:58:16 -05:00
Stefan Metzmacher
38188de793 r1998: fix compiler warning
metze
(This used to be commit bf06f476db)
2007-10-10 12:58:16 -05:00
Stefan Metzmacher
e89e5eee38 r1997: fix compiler warning
metze
(This used to be commit eb9de893b8)
2007-10-10 12:58:16 -05:00
Stefan Metzmacher
b0856b8ad0 r1996: fix compiler warnings
metze
(This used to be commit dd8d68f3ec)
2007-10-10 12:58:16 -05:00
Stefan Metzmacher
8460fc7df9 r1995: a ndrdump file from abartlet make it clear that this isn't a pointer
to a uint32, there're two uint32 with 0x00000000

metze
(This used to be commit 80f27766cb)
2007-10-10 12:58:16 -05:00
Stefan Metzmacher
ae95563caf r1994: fix compiler warning
metze
(This used to be commit a3a4b9c9ea)
2007-10-10 12:58:15 -05:00
Andrew Bartlett
aca6a1e1ee r1993: Allow WinXP domain logon to progress a bit further (it seems broken for me).
Fix indent, and add a few more useful debug messages.

Send a fault, if the bind is not accepted - don't just leave the client hanging.

Andrew Bartlett
(This used to be commit 486215edc1)
2007-10-10 12:58:15 -05:00
Andrew Bartlett
0e5260c4f5 r1992: Make the NTLMSSP torture test show more detail, and return failure etc.
Andrew Bartlett
(This used to be commit a8e76085a7)
2007-10-10 12:58:15 -05:00
Andrew Bartlett
39a3d5eedc r1991: After finding a talloc inconsistancy is a very good time to smb_panic(),
it can only indicate programmer error, and doing a smb_panic() ensures
an automatic backtrace (and eventually an abort()).

Andrew Bartlett
(This used to be commit b2d93d0010)
2007-10-10 12:58:15 -05:00
Andrew Bartlett
dcd43a4cbe r1990: Fix breakage caused by the recent talloc changes. (Failure to process
an SPNEGO login from WinXP at least).

talloc_asprintf_append() lost an argument, but because TALLOC_CTX is
now a void*, this was not picked up by the compiler.

I've tested the login (asn1), but not the registry/gtk changes.

Andrew Bartlett
(This used to be commit 4294be4405)
2007-10-10 12:58:15 -05:00
Andrew Tridgell
ca885cb2d1 r1989: fixed a couple of bugs in code that assumes sizeof(time_t) == sizeof(int)
(This used to be commit cc3d420c33)
2007-10-10 12:58:15 -05:00
Paul Green
0be0e8effc r1988: Let Samba use all POSIX features available on VOS.
paulg
(This used to be commit a489ea5ebe)
2007-10-10 12:58:15 -05:00
Tim Potter
ef7c734976 r1986: Janitor for myself. Merge -r1907:1908 from SAMBA_3_0 branch.
(This used to be commit 99f7feec0a)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
b7e1ea20dc r1985: take advantage of the new talloc in a few more places
(This used to be commit 6ffdfd7799)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
b45f4ebbb8 r1984: this change is what you should read to understand the new talloc()
It simplifies our structure handling a lot, making the code shorter
and easier to understand. Look at the diff carefully and see if you
can understand it. If you're still confused then please ask.
(This used to be commit 03c341aca7)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
b83ba93eae r1983: a completely new implementation of talloc
This version does the following:

  1) talloc_free(), talloc_realloc() and talloc_steal() lose their
     (redundent) first arguments

  2) you can use _any_ talloc pointer as a talloc context to allocate
     more memory. This allows you to create complex data structures
     where the top level structure is the logical parent of the next
     level down, and those are the parents of the level below
     that. Then destroy either the lot with a single talloc_free() or
     destroy any sub-part with a talloc_free() of that part

  3) you can name any pointer. Use talloc_named() which is just like
     talloc() but takes the printf style name argument as well as the
     parent context and the size.

The whole thing ends up being a very simple piece of code, although
some of the pointer walking gets hairy.

So far, I'm just using the new talloc() like the old one. The next
step is to actually take advantage of the new interface
properly. Expect some new commits soon that simplify some common
coding styles in samba4 by using the new talloc().
(This used to be commit e35bb094c5)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
326f562e72 r1982: i is not initialised or used
(This used to be commit db4bc88f9a)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
43afd3fda8 r1973: for systems that don't have strtoull() try strtouq(). This should fix
the build for some BSD varients.
(This used to be commit 73e9ee7914)
2007-10-10 12:58:14 -05:00
Andrew Tridgell
e205ffd83c r1972: cmdline_auth_info does not need to be declared global
(This used to be commit d07dbdb22a)
2007-10-10 12:58:14 -05:00
Stefan Metzmacher
6766809ba8 r1961: print out the dcerpc fault code, when we got NT_STATUS_NET_WRITE_FAULT
(this need to be done more generic for all dcerpc calls,
 but for now I just need it in this 2 places)

metze
(This used to be commit d965f84f69)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
8115bf6e2c r1957: add cmdline_set_* functions
and let smbclient use the cmdline _* functions

metze
(This used to be commit ffb87ebc33)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
cc5b454aa7 r1952: change the _RPC levels into _SAMR
because we may have other rpc levels in future

add more comments about what's going on

check the rsult of samr_OpenUser

metze
(This used to be commit 741f95909b)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
32ec317c90 r1951: add 'net password set' call
use it like:
net password set user
net password set DOM\\user
net password set user pass
net password set DOM\\user pass
net password set -U DOM\\Administrator%admpass DOM\\user pass

metze
(This used to be commit b660e5b9e6)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
a5ca84508c r1950: implement libnet_SetPassword_rpc()
this currently tries only SetUserInfo26
the fallback is not yet done

metze
(This used to be commit af6b5673b0)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
c2e2921bad r1949: provide functions to access the username, userdomain and userpassword
now you're prompted when cmdline_get_userpassword() is called
and the password is not yet known

metze
(This used to be commit d14a01533c)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
5a8f826653 r1947: fix cup & paste errors
metze
(This used to be commit 1c72f30650)
2007-10-10 12:58:13 -05:00
Simo Sorce
333aaf01e8 r1944: put ldif functions in a separate file
(This used to be commit 8be31e5c85)
2007-10-10 12:58:13 -05:00
Stefan Metzmacher
5a5f9c8aa7 r1943: don't use the with --enable-*developer selected flags for
the configure tests.

and test if the compiler really understand the options,
and clear them when not

this means we can maybe use --enable-developer on the build farm now

metze
(This used to be commit 35624842c7)
2007-10-10 12:58:12 -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 8925b8b219)
2007-10-10 12:58:12 -05:00
Jelmer Vernooij
454e76dec2 r1929: CHeck if cpp on AIX likes /* */ better then //
(This used to be commit 8bf6841a8e)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
011ff131f8 r1928: give up on NT_STATUS_PASSWORD_RESTRICTION
(NOTE: this code pass isn't called yet,
       because pidl mixes the NTSTATUS of transport and request layer,
       and will be fixed soon)

metze
(This used to be commit 84c06d9ab0)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
b2f39d19e3 r1927: allow the domain to be a ip address
metze
(This used to be commit d0e518e7d0)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
618368ead6 r1926: fallback to other SAMR ChangePasswordUser levels
1. ChangePasswordUser3
2. ChangePasswordUser2
3. OemChangePasswordUser2
4. ChangePasswordUser (not implemented complete)

metze
(This used to be commit eb93d38de0)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
bd225f8c28 r1925: now we lookup the domain controller
and fallback to a workstation name

metze
(This used to be commit 2012d90f26)
2007-10-10 12:58:11 -05:00
Volker Lendecke
3ccba74549 r1920: This needs more inspection by the IDL experts. Reverting my last change.
Volker
(This used to be commit 5d9b5a2e58)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
9d62046b0e r1919: paasword change basicly works now:-)
but we need to find the real pdc for the users domain
and fallback to other levels

metze
(This used to be commit f1b9c1f3dd)
2007-10-10 12:58:11 -05:00
Volker Lendecke
c3ec4582ba r1917: Attempt to push the AIX machine a bit further in the compile. I'm not sure,
but pidl there says "syntax error".

Volker
(This used to be commit c26dc367e4)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
ad5acba254 r1916: return a more clear error, we are miss configure in this case
metze
(This used to be commit a908f831cb)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
124e00068f r1915: use popt's cmdline_auth_info to fill the net_context
and print the user domain when prompting for a new password

metze
(This used to be commit aedb2e9e1c)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
5c9c6b4741 r1914: use common popt stuff in net
metze
(This used to be commit 52b866c403)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
927e8242c1 r1913: add --version back
metze
(This used to be commit a1bb734009)
2007-10-10 12:58:11 -05:00
Stefan Metzmacher
d139dc808a r1912: move popt_common.h
metze
(This used to be commit ecf6be894f)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
bca24a19eb r1911: merge a few popt parameters from 3.0 move some to better places
and deal with users DOMAIN and lp_workgroup() of the local workstation

metze
(This used to be commit 1fc0100e44)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
f42f061236 r1910: this should not be a local var in this block
metze
(This used to be commit 0164cac6df)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
f547d2c4c3 r1909: nicer format
metze
(This used to be commit e9e5fb2cb0)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
e60139b81f r1907: init the configuration
and fix compiler warning

metze
(This used to be commit c358f11406)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
8dfd1daf30 r1905: add -Werror-implicit-function-declaration with --enable-developer
metze
(This used to be commit 11495a42b9)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
75e967bd0e r1904: catch the common gtk function prototypes with make proto
metze
(This used to be commit b3cae309ae)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
a154ed7291 r1903: hmm a better solution is to include popt.h where it is needed
metze
(This used to be commit 64d61ef4a5)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
045bdb356f r1902: we need to include popt.h before popt_common.h
metze
(This used to be commit edde7497e9)
2007-10-10 12:58:09 -05:00
Stefan Metzmacher
838c208ab1 r1901: add missing include of <fnmatch.h>
metze
(This used to be commit 5e5681e283)
2007-10-10 12:58:09 -05:00
Stefan Metzmacher
6674c834df r1900: fix function prototypes
metze
(This used to be commit a60b528b34)
2007-10-10 12:58:09 -05:00
Simo Sorce
debce401eb r1898: Check the context we are going to return.
(This used to be commit d721b122b5)
2007-10-10 12:58:09 -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 2ce4028842)
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 30ab38559e)
2007-10-10 12:58:09 -05:00
Andrew Tridgell
70f630d375 r1895: added a note about OPEN_BY_FILE_ID to the ntcreatex interface definition
(This used to be commit e50fc00671)
2007-10-10 12:58:09 -05:00
Volker Lendecke
664f50e81c r1894: Convert // to /* */
(This used to be commit 5dc793b2b4)
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 cd8887293e)
2007-10-10 12:58:08 -05:00
Andrew Tridgell
c3a2584bb4 r1892: this adds talloc_get_context(), which is something I discussed at the
team meeting at CIFS04. It allows you to find the talloc context given
any pointer allocated with talloc.
(This used to be commit 01dc4ed9b4)
2007-10-10 12:58:08 -05:00
Volker Lendecke
6e5a9a6fe4 r1886: Fix the build
(This used to be commit 7be7f25a57)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
1a89c76c93 r1884: remove empty header file
metze
(This used to be commit 874d450609)
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 d3123c2e73)
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 4c6c4d6bc8)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
770fb6d22d r1880: bugger, now I have used gcc 3.4.1 myself and have statements before declarations
Does any knows if there are flags to let gcc 3.4.1 fail with that?

metze
(This used to be commit 6ad57a86c8)
2007-10-10 12:58:08 -05:00
Stefan Metzmacher
bc3a20e9d8 r1879: - add a user sub struct in net_context
- add 'net password change' command
  (it doesn'T work yet because libnet_rpc_connect() isn't implemented yet,
   and we don't fill in the net_context user substruct yet)

metze
(This used to be commit 939da063cd)
2007-10-10 12:58:07 -05:00
Stefan Metzmacher
226478521b r1878: implemet libnet_context_{init,destroy}
and implement libnet_Change_Password_generic()

metze
(This used to be commit d48050ae90)
2007-10-10 12:58:07 -05:00
Stefan Metzmacher
f7c842707a r1877: since make proto catches all functions
the inlcude has to move to includes.h

metze
(This used to be commit 97fe38183b)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
9373c046f1 r1876: rewrite net command completely
and add it to the build

metze
(This used to be commit 14b9858800)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
8de0c24a08 r1875: - move 'net' code into a subdir
- and remove all unneeded files

we'll reimplement the stuff step by step using the functions from
libnet/ which will do the hard work for us

metze
(This used to be commit 8b2d5ec973)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
2aa976aeb0 r1874: add dcerpc_errstr() function to display a fault code by name,
this should be used in the torture  tests when we got NT_STATU_NET_WRITE_FAULT

metze
(This used to be commit 964748389b)
2007-10-10 12:58:06 -05:00
Stefan Metzmacher
70f457bd1a r1872: revert -r 1845 because the caling function should look at the fault_code
when it gets NT_STATUS_NET_WRITE_FAULT

metze
(This used to be commit 084845c1ab)
2007-10-10 12:58:06 -05:00
Jelmer Vernooij
84da00004b r1867: Add README file in build/pidl/
(This used to be commit 189ed09840)
2007-10-10 12:58:04 -05:00
Stefan Metzmacher
ebd696bd8c r1862: add invalid_creds ldap error
metze
(This used to be commit 11c866d602)
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 267edf1c0b)
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
a4b2f077e0 r1855: fix compiler warning and output fromatting
metze
(This used to be commit 59f3d41744)
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 01626ed381)
2007-10-10 12:58:02 -05:00
Stefan Metzmacher
0320233d15 r1850: when we have a username and use sign or seal on a dcerpc over np
use dcerpc auth instead off smb auth

metze
(This used to be commit 6b42923496)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
b47f9985ce r1849: use LIBNDR_STRING_BYTESIZE here
metze
(This used to be commit 6e6bfd6dd2)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
10126065d4 r1848: fix LIBNDR_STRING_FLAGS to include LIBNDR_STRING_BYTESIZE
metze
(This used to be commit 7f1fceeb7f)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
07eab50180 r1847: add STR_BYTESIZE flag, to handle cases where
the size is in bytes not in unicode chars

metze
(This used to be commit 6d094d60d3)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
bd30f32d4e r1846: add helpstring
metze
(This used to be commit b1c8611d73)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
6311e8955e r1845: map DCERPC_FAULT_LOGON_FAILURE to NT_STATUS_LOGON_FAILURE
metze
(This used to be commit 0cf0c36460)
2007-10-10 12:58:01 -05:00
Stefan Metzmacher
85f12a0ee0 r1844: fix the build,
jelmer: you forgot lookupsid.c

metze
(This used to be commit 2d4b806156)
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
b1be11a13b r1843: return DCERPC_FAULT_LOGON_FAILURE when the auth fails
metze
(This used to be commit a6ce6ee878)
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
c7088e5e3c r1842: add fault code that happens with wrong password
or when signing or sealing fails

DCERPC_FAULT_LOGON_FAILURE      = 0x00000005;

metze
(This used to be commit 6ed2ce4edc)
2007-10-10 12:58:00 -05:00
Jelmer Vernooij
d3e8a74551 r1838: Updates from the airplane:
- IDL fixes + adding comments
 - Start working on dcom infrastructure
(This used to be commit ef0fc269f0)
2007-10-10 12:58:00 -05:00
Stefan Metzmacher
d3e7a22630 r1836: - as abartlet said to me, we need to contact the users domain pdcfor doing a
password change
- add start of libnet_SetPassword
- use KRB5 and LDAP instead of ADS as ADS isn't a protocol
- add start of lib_rpc_connect()

metze
(This used to be commit 05c40dca8a)
2007-10-10 12:58:00 -05:00
Tim Potter
644200235a r1826: Implement some stub functions: ndr_pull_{save,restore,set_offset}()
Implement ndr_pull_relative()

Call ndr_pull_uintX() for ndr_pull_intX()

Generate warnings for unimplemented functions pulling NTTIME and HYPER_T.

Implement ndr_pull_dom_sid2()

We now dissect a lot more of the samr torture test without errors.
(This used to be commit 197fb3a264)
2007-10-10 12:58:00 -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 cef94978f4)
2007-10-10 12:58:00 -05:00
Volker Lendecke
c17a1daf63 r1823: No real changes, I just did not like the ^M's an the line ends :-)
Volker
(This used to be commit ea73426e65)
2007-10-10 12:57:59 -05:00
Andrew Tridgell
10793fb249 r1821: fixed reference to "status" that should be "result"
(This used to be commit bdf7d66d29)
2007-10-10 12:57:59 -05:00
Andrew Tridgell
ada86316e5 r1820: added a strcmp_safe() that handles NULL pointers. Needed for the
search torture test, as some servers return really bad entries.
(This used to be commit c900ebb3ac)
2007-10-10 12:57:59 -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 e53d32c65a)
2007-10-10 12:57:59 -05:00
Andrew Tridgell
350673b2d0 r1818: _really_ fixed epmapper this time, it was using more than one old rpc interface method.
(This used to be commit ec41c73ae1)
2007-10-10 12:57:59 -05:00
Andrew Tridgell
dd4a93dfa0 r1817: fixed fault code generation for unimplemented functions in epmapper
thanks to volker for spotting these!
(This used to be commit b2152912ca)
2007-10-10 12:57:59 -05:00
Stefan Metzmacher
1406581761 r1816: here's the initial idea of libnet
metze
(This used to be commit dcb3ea32da)
2007-10-10 12:57:59 -05:00
Tim Potter
b9bc12619d r1815: Update parser for recent changes to perl parser.
(This used to be commit 1d0bde1c77)
2007-10-10 12:57:59 -05:00
Volker Lendecke
6706ba5bb4 r1814: Fix the build.
Tridge, in rpc_epmapper.c there's a whole bunch of "return
NT_STATUS_NOT_IMPLEMENTED". You told me that's wrong, you should generate the
correct fault pdu. Or is epmapper special in that respect?

Volker
(This used to be commit 48df39c133)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
16757c52d6 r1805: ...I just forgot to say that the sasl bind actually works now:-)
metze
(This used to be commit a2cd725681)
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 d0278c6bef)
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 f6c4420107)
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 10baf58582)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
74a66a13ad r1801: fix the build
metze
(This used to be commit afe5715200)
2007-10-10 12:57:58 -05:00
Jelmer Vernooij
b7779be06a r1799: List more uuids. From
http://www.hsc.fr/ressources/articles/win_net_srv
(This used to be commit 8d36dbed8c)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
2129ba5082 r1798: fix the build
metze
(This used to be commit a1bfc94ab3)
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 cb74d52b56)
2007-10-10 12:57:57 -05:00
Andrew Bartlett
14924a9fe7 r1795: Fix the multiple session setup torture tests.
Andrew Bartlett
(This used to be commit c4036f2189)
2007-10-10 12:57:57 -05:00
Stefan Metzmacher
184bb1ab41 r1794: fix the build MIT krb5
metze
(This used to be commit fe655d0474)
2007-10-10 12:57:57 -05:00
Simo Sorce
9dc1e17c35 r1793: try to bind multiple times as anonimous and user
added -D parameter to torture to be able to specify:
- user dn
- base dn
- user secret
(This used to be commit 0eaec28f5c)
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 d9f8f97c9e)
2007-10-10 12:57:57 -05:00
Stefan Metzmacher
2a574e2245 r1790: a few updates on krb5 PAC...
metze
(This used to be commit 5a3a10c004)
2007-10-10 12:57:56 -05:00
Jelmer Vernooij
daa7c98409 r1786: Add support for the 'helpstring' attribute on interfaces
(This used to be commit 85fb26a05d)
2007-10-10 12:57:56 -05:00
Simo Sorce
28ea8b8785 r1785: remove unneeded dependencies on openldap client libraries
(This used to be commit 44083e3178)
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 250485b69f)
2007-10-10 12:57:56 -05:00
Jelmer Vernooij
71e149a8a3 r1774: Add the uuids of the known exchange pipes
(This used to be commit 0e07a068b4)
2007-10-10 12:57:56 -05:00
Stefan Metzmacher
3301f6c59e r1773: fix the build
metze
(This used to be commit 4e1156602c)
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 e6a6c0737a)
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 d8fe497097)
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 90d70a63ee)
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 32b45fc9e8)
2007-10-10 12:57:55 -05:00
Tim Potter
9130e707c1 r1767: Checkin of workarea. Sorry Jelmer but this overwrites some of your changes
which I will have to merge in later on.

This latest version of eparser tries to stick more closely to the original
parser.pm.
(This used to be commit 456a4d1d72)
2007-10-10 12:57:55 -05:00
Simo Sorce
67f28b93ab r1766: we do not have smb_read_error in samba4
(This used to be commit 1c3d52cea4)
2007-10-10 12:57:55 -05:00
Andrew Bartlett
b918c6c5cd r1762: Ensure that a user (as opposed to guest) cannot login without SPNEGO,
when we have negotiated SPNEGO.

Andrew Bartlett
(This used to be commit 07e3d2c4cd)
2007-10-10 12:57:54 -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 f9d7b731c9)
2007-10-10 12:57:54 -05:00
Simo Sorce
76abf79a5f r1760: name the struct
(This used to be commit 512c410860)
2007-10-10 12:57:54 -05:00
Simo Sorce
13a579df87 r1759: Add some helper functions to read and write data to a socket with timeout (again from volker in trunk)
(This used to be commit 40d8262e7d)
2007-10-10 12:57:54 -05:00
Simo Sorce
d01bc8a91e r1758: Move and enhance the add_string_to_array function as per volker job on trunk
(This used to be commit 606caddeb9)
2007-10-10 12:57:54 -05:00
Andrew Tridgell
e2357c67f5 r1757: much simpler (and smaller, faster etc) way of doing relative pointers
in pidl. This mechanism should be much easier to extend to the
"retrospective subcontexts" that jelmer needs.

also produced more standards complient full-pointer offsets. This
keeps ethereal happy with decoding our epmapper frames.
(This used to be commit ecb7378bbc)
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 48939adca1)
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 0949b72645)
2007-10-10 12:57:53 -05:00
Andrew Tridgell
6292e5b952 r1749: added some random stuff that captures some discussions volker and I
just had on emulating % macros from smb.conf in a possible ldb based
config system
(This used to be commit d547479290)
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 b898589296)
2007-10-10 12:57:53 -05:00
Stefan Metzmacher
62c67d6505 r1747: don't segfault when the spnego mech only use one call from the client to finish
metze
(This used to be commit ddac5e46d4)
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 b176151b72)
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 8830603e4b)
2007-10-10 12:57:52 -05:00