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

899 Commits

Author SHA1 Message Date
Andrew Bartlett
060f94b9fc r684: Note the fact that NTLMv2 provides a weath of futher testcases...
Andrew Bartlett
(This used to be commit d75558cdcbbb89dbe66287d7461b7abae14a8d36)
2007-10-10 12:53:42 -05:00
Andrew Bartlett
03631a6d1f r683: Remove the trailing ; from this macro, so it can be used in an 'if' expression.
(This used to be commit 3813517a8b561e7210ffc32ce861683b057d18eb)
2007-10-10 12:53:42 -05:00
Jelmer Vernooij
61ff3d4296 r682: Typo fixes
(This used to be commit 767ba7bd52d7fa98524a553d86dca657c5290424)
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
14832874ee r681: don't init r.out.result.v
metze
(This used to be commit f7ded36699dabecf31ccaf765d667b7240822f8d)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
4b08f42c0d r680: fail directly when we notice that perl is not there
(we fail anyway)

metze
(This used to be commit 9f6deb7d795fbddc973e84a45ecb1273aa4f3aea)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
30d726082e r679: fix make install
metze
(This used to be commit 17bb581ab617c9a1883a3a4028ddac94aa2d5980)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
fa069fdf4d r678: use ./config.smb_build.pl instead of config.smb_build.pl
metze
(This used to be commit 3de5bf894e71ce9a7a0464f2245a64822a34cc5a)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
7624b3231d r677: fix: '$' -> '\$'
metze
(This used to be commit 89c3780c15687c16d4607c912f71d1082690af76)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
25b9531e5f r674: use the same -I flags as before
metze
(This used to be commit e7c9e56a5d889497f63c65582f064e02d4442e36)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
0b7f81e0f6 r673: disable registry_gconf for now
metze
(This used to be commit 5bbf0c240730fc27b7341eb7c6891c7741640e74)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
0a690c12a1 r672: disable gregedit for now
metze
(This used to be commit 63600a2a9b2607130efe8e4336a48b5e9584d929)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
93263d375b r671: fix make ./include/proto.h
metze
(This used to be commit 9312b9cd611373468d5b89c9480646170a49db5b)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
4c83bc7499 r670: add make everything
metze
(This used to be commit 3f942ac521ffbb970345519775f20284be393e60)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
6e70a689a3 r669: display the version on top of configure
this will help in the build farm

metze
(This used to be commit 05c53de97ee98ae27b064d15085606b041307bc2)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
9c4a451463 r668: fix the build
metze
(This used to be commit ba5e71f59e0547aa8329661c7fec73a6469726a5)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
c2236f1a8b r667: remove Data::Dumper dependecy
metze
(This used to be commit eae450f219701e156a5bd0fd7096dd7fe7da6e2b)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
5ad0ccbd59 r666: readd 'make etags' and 'make ctags'
metze
(This used to be commit fcab9867f90f86c329d82925549c2f9733131ab5)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
f236700ef6 r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.

NOTE: that it's not completely ready, but it's functional:-)

metze
(This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
2007-10-10 12:53:36 -05:00
Jelmer Vernooij
b2d1f78907 r655: Fix if() logic
(This used to be commit 09096cfc3e1b35b4ac944cf84bfdec6ee44e06bf)
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
b5edc0fc05 r649: return unknown interface when the client not yet
binds succesful to an interface

metze
(This used to be commit c39e450702cfa2b577c64e14ba1428fd95db7ade)
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
968bf581f6 r644: add SPNEGO auth type
metze
(This used to be commit 75bca5dcfa68de0d18a144a221260d2f728e0bfc)
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
085df45264 r641: readd 'use dump;'
metze
(This used to be commit 8e2c08f8c7f9481d64b87e7d45e98bc48661efbb)
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
e8d3e37524 r638: remove unused dependency to Data::Dumper and dump
(fix some  build farm hosts)

metze
(This used to be commit 8735a393c19711cc0f0cf392684d523b1abd2878)
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
e0970e1986 r627: remove the precompiled header when we call make clean or make proto
metze
(This used to be commit e37238a7c7c69e3dfcda319752e13131207d59e4)
2007-10-10 12:51:56 -05:00
Stefan Metzmacher
28cfc3c7d7 r626: make the code a bit more readable
metze
(This used to be commit 81b94718e4145a53947d401c4b4b88b71c71e4a4)
2007-10-10 12:51:56 -05:00
Andrew Tridgell
5afbecdc2e r625: - handle passwords longer than length 14 (thanks to abartlet for pointing out the bug)
- delete unicodePwd if not storing a plaintext password
(This used to be commit 6c3f22a685c55f183f4e0e4303e3d9990f4b39b5)
2007-10-10 12:51:56 -05:00
Andrew Tridgell
7dc054acaf r624: all templates should be in class Template
(This used to be commit 0431d309037e97456895095f8e0a44b71de1454e)
2007-10-10 12:51:55 -05:00
Andrew Tridgell
0f581e4af9 r623: setUserInfo level 24 (password set) now works in the SAMR server. This includes all
of the password complexity, password history and other password restrictions.
(This used to be commit cb070b9084d95cf5178edbef951b75eab62b7220)
2007-10-10 12:51:55 -05:00
Andrew Tridgell
0997d02c50 r622: removed some unused functions to make smbd compile again after
andrew's recent chainsaw job :)
(This used to be commit 20166f4e19a599a85dfff045a738309d191db9e7)
2007-10-10 12:51:54 -05:00
Andrew Bartlett
bc8e2d5f23 r620: Remove more ununsed code.
Andrew Bartlett
(This used to be commit 795ace17a8905f495e9e191ffbd559927894941b)
2007-10-10 12:51:54 -05:00
Andrew Bartlett
c9bf9773e0 r619: Remove more code that is no longer called.
Andrew Bartlett
(This used to be commit 4e614cbe922ddc591b17b2357e17eff8ce1d546c)
2007-10-10 12:51:52 -05:00
Tim Potter
005eb6b502 r617: Sync some minor updates with repository:
- start handing idl string types
  - comments
  - generate field types
  - code to select field types and bases
(This used to be commit 3d4148c07c46d5d99bd91e1985540cc4e59db2bc)
2007-10-10 12:51:52 -05:00
Volker Lendecke
16f7b35a0a r615: Implement samr_OpenGroup, samr_QueryGroupInfo, samr_SetGroupInfo,
samr_DeleteDomainGroup.

I've added the hidden attribute numMembers that must be maintained by
Add/DelGroupMember for the GroupInfoAll query.

Volker
(This used to be commit 945d7478605c1bd67e4162ebb0635ab7da11faaf)
2007-10-10 12:51:52 -05:00
Andrew Bartlett
c041077856 r614: Clean out the POSIX assumptions from the Samba4 auth subsystem.
This removes the code that tried to lookup posix groups, as well as
the code that was tied to the SAM_ACCOUNT.

This should make auth_ldb much easier to write :-)

Andrew Bartlett
(This used to be commit e096ee2112adecaa69b6b3eb155a4e8f80dfc0f7)
2007-10-10 12:51:51 -05:00
Andrew Bartlett
5ae9bd7535 r613: Fix the RPC-SAMR torture test, for my session_key changes.
Andrew Bartlett
(This used to be commit a04b074c049db832f4c02a35d951d40875fce6d1)
2007-10-10 12:51:51 -05:00
Andrew Tridgell
13abda1292 r612: fixed a timezone call typo noticed by abartlet
(This used to be commit 329c5ccd74680381b30c4a2235010c766ac46ecc)
2007-10-10 12:51:51 -05:00
Andrew Bartlett
59c8f48f0d r611: Fix breakage from my last commit:
Now that all session keys are DATA_BLOBs, fix the callers.

This assumes some things about the behaviour of certain crypto
algorithms, without the ability to test it on session keys != 16 bytes
in length.  We will just need to retest when we get the KRB5 support
in (DES keys are 8 bytes).

Andrew Bartlett
(This used to be commit e4355a7ec1eba92bdecef8cc478272897276dbae)
2007-10-10 12:51:51 -05:00
Andrew Bartlett
dce84ffd37 r610: - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.
- This required using NETLOGON_NEG_AUTH2_FLAGS for the
    SetupCredentials2 negotiation flags, which is what Samba3 does,
    because otherwise the server uses different crypto.
  - This tests the returned session keys, which we decrypt.

 - Update the Samba4 notion of a 'session key' to be a DATA_BLOB in
   most places.

 - Fix session key code to return NT_STATUS_NO_SESSION_KEY if none is
   available.

 - Remove a useless argument to SMBsesskeygen_ntv1

 - move netr_CredentialState from the .idl to the new credentials.h

Andrew Bartlett
(This used to be commit 44f8b5b53e6abd4de8a676f78d729988fadff320)
2007-10-10 12:51:51 -05:00
Andrew Tridgell
55fa62be31 r609: allow ldbedit to take a list of attributes to edit, just like
ldbsearch. This allows you to edit the description of all users using
something like:

  ldbedit 'objectclass=user' description

and not get overwhelmed with fields. It also allows you to edit HIDDEN attributes
by specifying them explicitly
(This used to be commit dd83d39de23cdf8c574005829972dae8dc6bee6a)
2007-10-10 12:51:51 -05:00
Andrew Tridgell
a765d3692f r608: - a couple of very minor fixes to the CreateGroup code
- added samr_GetUserPwInfo() samr server call
(This used to be commit 0250f5d6aaf4f9325ace707c69f5e24bcd7a0ed9)
2007-10-10 12:51:51 -05:00
Andrew Bartlett
5dc73338d2 r607: When our code is looking for an 'empty' data blob
some of it tests the .length, other code checks the
.data.

Ensure that we always NULL the .data, so that talloc-based
blobs behave just like their direct malloc equivalents.

Andrew Bartlett
(This used to be commit 64121aa1a9d037d3969f24be62f4521611c89888)
2007-10-10 12:51:50 -05:00
Andrew Tridgell
51d5ddecc6 r606: added a HIDDEN attribute on fields in ldb (in @ATTRIBUTES). This allows you to mark
an attribute as only appearing in searches that explicitly name it. It will be used
for attributes like nTSecurityDescriptor
(This used to be commit f5cd3d733b71368ea652f8a4d653d87f45ff983f)
2007-10-10 12:51:50 -05:00
Volker Lendecke
9652ed4de8 r605: Implement CreateDomainGroup, essentially cut&paste from CreateUser2.
Volker
(This used to be commit 59241c0c9aa2d64d66eb04e81aa5500681604061)
2007-10-10 12:51:50 -05:00
Tim Potter
1f2fa49b20 r604: Better dumping of in,out,ref properties.
(This used to be commit 209f5a25a950e8780e9512b71fbb12b1cdbe1a17)
2007-10-10 12:51:50 -05:00
Tim Potter
0221717a62 r602: Autogenerated packet-dcerpc-samr.c now compiles!
(This used to be commit 0c1069b56e7c80e2b428f6a6b550eacd5ac3d762)
2007-10-10 12:51:50 -05:00
Andrew Tridgell
54a695f7ed r601: added the server code for all the samr_SetUserInfo and samr_QueryUserInfo levels except for the password
set levels.

This means that a large part of the RPC-SAMR torture test now runs correctly against Samba4
(This used to be commit ec0a51898f543578e755207d81ed5c1524861c64)
2007-10-10 12:51:50 -05:00
Tim Potter
b91eb9e73a r600: Get rid of trailing whitespace which freaks out emacs' fontification.
(This used to be commit d0383e9a7a0a5bee9a52ddc81d5f89c9f01c269b)
2007-10-10 12:51:49 -05:00
Tim Potter
5c50f79b86 r597: Start generating parser code - only supports uint16, uint32 and policy
handle types.
(This used to be commit 1e02ccd94edc87f4107d21f7f778f1a88c9e197d)
2007-10-10 12:51:49 -05:00
Andrew Tridgell
0ea5d1fde7 r596: log all ldb searches at level 4 in samdb
(This used to be commit defaf0d817a7c207da59692245aa65bc30c9bd19)
2007-10-10 12:51:49 -05:00
Andrew Tridgell
1d5c2c364e r595: nicer handling on max_size multiplier
(This used to be commit 994baba7ebc267cb3051109aee022d71472aa6b6)
2007-10-10 12:51:49 -05:00