1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

1089 Commits

Author SHA1 Message Date
Jelmer Vernooij
39e465a096 r1035: Support shared modules again
(This used to be commit 7949dc25ab05f7d5ad6217a6304e1f50b8b5dc41)
2007-10-10 12:56:31 -05:00
Jelmer Vernooij
39965d1993 r1034: Couple of small (popt) fixes
(This used to be commit 6fa0baa1c33b487f5f693483dd9b2664a0093b12)
2007-10-10 12:56:31 -05:00
Jelmer Vernooij
fe3bcd4588 r1032: Fix RPC backend segfault
(This used to be commit db902bff3c5eb54d6b1035d009948ff316cffa94)
2007-10-10 12:56:31 -05:00
Andrew Bartlett
ed0123a62b r1031: Move more code dealing with passwords to struct samr_Password.
Andrew Bartlett
(This used to be commit 88222b5da9a005e48477d2bfd98a488e4442b5f6)
2007-10-10 12:56:31 -05:00
Andrew Tridgell
5341ad20e1 r1030: added server side schannel support
(This used to be commit 2ac79dfba0e64056a680f21d7dd0c007f79d4a70)
2007-10-10 12:56:30 -05:00
Andrew Tridgell
4c6f04d83f r1029: cope wiith samdb_result_passwords() returning a null machine password
(This used to be commit ee6c17f3735381568d38e6c2df80bec687d00fbb)
2007-10-10 12:56:30 -05:00
Andrew Bartlett
c455b0a935 r1028: More consistancy fixes, which should also fix the build.
Andrew Bartlett
(This used to be commit 0d2ae66d3a82134d86084f63c05214e03dfcb48b)
2007-10-10 12:56:30 -05:00
Andrew Bartlett
35af895350 r1027: More rename:
pwd -> password

(should fix the build).

Andrew Bartlett
(This used to be commit f9280f956eef19ad1a39e120cb3ed0e3982fe7d5)
2007-10-10 12:56:30 -05:00
Tim Potter
21aaa719b5 r1026: Spelling.
(This used to be commit b7fe73613acf5423b77fd91c56849351bf386960)
2007-10-10 12:56:30 -05:00
Andrew Bartlett
5b04ca8080 r1025: Rename (across the samr and netlogon pipes, so far)
pwd -> password
passwd -> password

username -> account_name

Also work on consistant structure feild names between these two pipes,
and fix up some callers to use samr_Password for the netlogon
credential code.

Andrew Bartlett
(This used to be commit 4e35418c2776f7b79be5b358ffd077754685d1ac)
2007-10-10 12:56:30 -05:00
Andrew Bartlett
ae067cdaf7 r1024: Use samr_Password for the machine password here - this ensures we can
never pass in something of the wrong length.

Andrew Bartlett
(This used to be commit d6999ea9c07d8652b0d63147e7294bc35e7063fe)
2007-10-10 12:56:29 -05:00
Andrew Bartlett
306fcbd063 r1023: Prepare the auth subsystem interfaces for netlogon SamLogon to use.
Andrew Bartlett
(This used to be commit b5fa2baaa9e110aa93107b13744e1fc5a64adbb5)
2007-10-10 12:56:28 -05:00
Stefan Metzmacher
a851ab6fdb r1022: add the session_info() call to the dcerpc server auth backends
metze
(This used to be commit d1ab26b907f1eb2be31fe6946ffa5b8255fc6ac9)
2007-10-10 12:56:28 -05:00
Andrew Bartlett
42b6b71493 r1021: Because auth_serversupplied_info is not reference counted, this may
only be called once per authentication.

Andrew Bartlett
(This used to be commit 9a5de8de952a4e5c3eadccf42d034fa7cfd55171)
2007-10-10 12:56:28 -05:00
Andrew Bartlett
8de7e76e78 r1020: Add an (untested, until the other end is hooked in) method for
obtaining the session_info from an NTLMSSP authenticated user.

Andrew Bartlett
(This used to be commit 7961f1a18d67a6a0cf2c61bcc1c3b42ed06176f7)
2007-10-10 12:56:28 -05:00
Andrew Bartlett
0d466258be r1019: Push the auth subsystem away from using typedef, and over to the 'all
goodness and light' struct ;-)

Break apart the auth subsystem's return strucutres, into the parts
that a netlogon call cares about, and the parts that are for a local
session.  This is the 'struct session_info' and it will almost
completly replace the current information stored on a vuid, but be
generic to all login methods (RPC over TCP, for example).

Andrew Bartlett
(This used to be commit d199697014d9562f9439a30b950fda798c5ef419)
2007-10-10 12:56:28 -05:00
Andrew Tridgell
b553acce4b r1018: fix a const and unsigned int problem in ldb
(This used to be commit 3d52ca93731ad67c14ac42f627e3feb1a964b29a)
2007-10-10 12:56:28 -05:00
Andrew Tridgell
e06d8e94a9 r1017: - move to a centralised way of handling talloc/ldb interaction
(This used to be commit 363cb3377a0eca5bfef71a02dcdc21c5fadbaf32)
2007-10-10 12:56:28 -05:00
Andrew Tridgell
1a993b800e r1016: - store the schannel session key after it is established
- move to a centralised way of handling talloc/ldb interaction
(This used to be commit 2b9b752875ba5e03e82f40e31f26bc1f245b3825)
2007-10-10 12:56:27 -05:00
Andrew Tridgell
cd35e12c7f r1015: commit the schannel session key handling code now, so abartlet and
metze can have a look. Not tested yet, as I'm still writing the server
side schannel code.
(This used to be commit 768cc0193a1267274f297c47a36bef4acd391e83)
2007-10-10 12:56:27 -05:00
Andrew Tridgell
4ee70616cc r1014: change the handling of r->out to auto-zero the structure, and auto-copy
in,out,ref vars
(This used to be commit dffe9165164a111313d744d942645ad2df83d5f3)
2007-10-10 12:56:26 -05:00
Stefan Metzmacher
0413849c3b r1013: WE NEED ALWAYS TO INIT THE OUTPUT VARS!
in rpc server code!

add missing ZERO_STRUCT(r->out.info);
in samr_GetDomPwInfo

metze
(This used to be commit e21f8a343022424097ff53cd8d5e16ac46fff772)
2007-10-10 12:56:26 -05:00
Stefan Metzmacher
2d6207add7 r1010: make the dcesrv_crypto code a bit more generic...
fix type 'cyrpto' -> 'crypto'

metze
(This used to be commit 90f4777dfcb141b646063128c82f4c03bd176413)
2007-10-10 12:56:26 -05:00
Andrew Bartlett
9eb6afb00d r1009: Make all users of NT and LM passwords use the samr_Password structure.
This includes the netlogon pipe, for the machine account password
change system.

Andrew Bartlett
(This used to be commit 49d545a82057ee8b60d50aa55e908efe59875150)
2007-10-10 12:56:26 -05:00
Stefan Metzmacher
a58c249412 r1006: print out the SVN revision by configure,
so that the build farm can use it

metze
(This used to be commit 20f848aeef19c7694cc5435287ec9235419741fc)
2007-10-10 12:56:26 -05:00
Stefan Metzmacher
faf527758c r1005: there was one NTLMSSP_STATE left in:-(
...fix the build

metze
(This used to be commit 49118189444e020b4d3159b6edbc6f7559dbb1a6)
2007-10-10 12:56:26 -05:00
Stefan Metzmacher
5165fec02e r1004: continue tridge's work on dcerpc server auth/crypto code
I made it much more generic, and we should be able to add a
module interface to this code, so that other DCERPC_AUTH types can be added
via modules...

metze
(This used to be commit d09abeb686c43c62322205689273d1b417113004)
2007-10-10 12:56:25 -05:00
Tim Potter
b0d4ed741f r1003: Removed e_ndr stuff - too verbose.
Merged across populating %needed with hf index members for functions
from old version of eparser.
(This used to be commit fc3c5d6fabf397106520ed25a564229ee4853521)
2007-10-10 12:56:25 -05:00
Tim Potter
5c3f152d08 r1002: Add helper files for eparser output.
(This used to be commit 595b6e0f2c9832b3e4a8eaa24d64f32d6a693ff3)
2007-10-10 12:56:25 -05:00
Stefan Metzmacher
8f84a98e29 r1001: in samba4 we don't(shouldn't) use typedef's anymore...
metze
(This used to be commit ac5f6f7e511a730448012c8a709887827aea2281)
2007-10-10 12:56:25 -05:00
Andrew Tridgell
8087d844ef r995: - renamed many of our crypto routines to use the industry standard
names rather than our crazy naming scheme. So DES is now called
  des_crypt() rather than smbhash()

- added the code from the solution of the ADS crypto challenge that
  allows Samba to correctly handle a 128 bit session key in all of the
  netr_ServerAuthenticateX() varients. A huge thanks to Luke Howard
  from PADL for solving this one!

- restructured the server side rpc authentication to allow for other
  than NTLMSSP sign and seal. This commit just adds the structure, the
  next commit will add schannel server side support.

- added 128 bit session key support to our client side code, and
  testing against w2k3 with smbtorture. Works well.
(This used to be commit 729b2f41c924a0b435d44a14209e6dacc2304cee)
2007-10-10 12:56:25 -05:00
Stefan Metzmacher
4309727424 r990: fix tdb standalone build
metze
(This used to be commit 4c1c9f59ccea8b6cd7edf3bad8acb9cd8c772670)
2007-10-10 12:56:25 -05:00
Tim Potter
e071ecd991 r987: Start replacing ndr_* functions with e_ndr_* and removing stuff related
to storing data in structure members.
(This used to be commit 60942eaa3a8a56b5823bfcb736d25c00b17fec50)
2007-10-10 12:56:25 -05:00
Tim Potter
faaa211d66 r986: Attempt #3 at eparser. This time use the 'pull' code as a base as it's
closer to what ethereal does.  Also try to keep as much of the generated
structure wrt pointers/structs/alignment as possible.
(This used to be commit 8ad93f03d64befdee67a1b0a0ff9d7c3dfaac9ea)
2007-10-10 12:56:24 -05:00
Tim Potter
525d2fba27 r985: Add stub function for dumping enums to prevent perl warnings in eparser.
(This used to be commit 12c7d3a464fea87c3289f2914ee9696a17ce5a81)
2007-10-10 12:56:24 -05:00
Andrew Tridgell
21c71e0bed r976: - added -W for workgroup to locktest
- retry connections a few times when reconnecting
(This used to be commit d0d0734845e37a2639ade2545bccef1615e17d63)
2007-10-10 12:56:24 -05:00
Andrew Tridgell
dfbf620129 r975: slight improvemet to nt_errstr(), still needs to be fixed properly
(getting rid of the static buffer)
(This used to be commit 86a6236c2ad14fe94f5d7c488bfdbfb329d2a0bb)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
de827cb9d9 r970: - remove unused wchar_t check
- move immediate structures check to the compiler checks

metze
(This used to be commit e2a322aa116de9977f6438f9eb6d2af42799ab83)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
60025b1d67 r969: remove some unused checks
metze
(This used to be commit 5357700fc526663eeec27b3bfd28dda13430e7e0)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
c6dfa0cc3d r968: use sinlcude() and no function, that's more portable between
autoconf versions

metze
(This used to be commit 9fa83ca022f2ca2e9e5d3d738beefcf9f90cfcff)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
9318fdbb33 r967: move some configure checks to seperate files
metze
(This used to be commit 2d109074e8be712a6eb0cfc76439176e3dcdee3a)
2007-10-10 12:56:24 -05:00
Volker Lendecke
63990406ae r963: Tridge, according to ethereal this is an 'Acct Ctrl' field. My tests also
indicate this although I could not find any consistent pattern.

I found this as 'net rpc group list local' in Samba3 sets this to 250 and only
gets a fixed, but incomplete list of groups out of W2k3.

I tried to correlate the results I got from w2k3 with the LDAP contents of the
corresponding entries, but I could not find anything. Ethereal only decodes
the lower byte, but to get all it seems necessary to have 0xffff here.

If you have time, could you might want to spend some of it decoding the bits
for SAMR completeness....

Volker
(This used to be commit 74e59c45603a9f897a24e37fc7626cf8ffc81403)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
770e3307ce r962: convert 'unsigned' and 'unsigned int' to uint_t
metze
(This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
98d291423f r961: convert 'uchar' to 'uint8_t'
metze
(This used to be commit 9f914e4af99e18b469d4cf9d8b1514a2bd28ddec)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
fa2e9ec311 r960: convert 'unsigned int' to uint_t in the most places
metze
(This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10 12:56:23 -05:00
Stefan Metzmacher
b88fc7a391 r959: - a static WERROR function should return a WERROR:-)
- some minor format fixes

metze
(This used to be commit 72d9c70fdd21101744f6fad230c75b6a13105696)
2007-10-10 12:56:23 -05:00
Jelmer Vernooij
9fba08b621 r955: Update debian package rules... builds now
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
2007-10-10 12:56:22 -05:00
Tim Potter
50b21753ba r954: Start working on typedef parsing.
(This used to be commit 877f7c32a89218fb59adc48bd2c2f331b9600d12)
2007-10-10 12:56:22 -05:00
Tim Potter
9389779793 r953: Remove unused Pull and Print parse functions. Remove Push from
remaining parse function names.

Add some debug comments in parser output to aid in debugging.
(This used to be commit 8225a3245a2b399ea4a9d8515e299ae5f10dff8c)
2007-10-10 12:56:22 -05:00
Andrew Tridgell
e86bb4dcc1 r952: fixed schannel from my last commit
(This used to be commit 05b69d9fff0922e2864a336f203bf2afc932d1b9)
2007-10-10 12:56:21 -05:00