1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-28 00:49:42 +03:00

1459 Commits

Author SHA1 Message Date
Stefan Metzmacher
90e3150099 r696: fix formating
add pkg-config --libs-only-L to linker flags

metze
(This used to be commit cfefe907cce05512a200bd4a3de0b3829f7b0ddb)
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
722ae56f6a r695: don't add libs andlinkerflags to STATIC_LIBRARY
metze
(This used to be commit 2edc46eabe59d6e430199f68e37fb49875a72d28)
2007-10-10 12:53:43 -05:00
Jelmer Vernooij
072ef868c3 r693: Make static
(This used to be commit 30d3915c760ac5ee5e632539a3503fc7fed9cc63)
2007-10-10 12:53:43 -05:00
Jelmer Vernooij
76d50e0d26 r692: Add libwinregistry
(This used to be commit 0ace3bf289777c30310a05e66fd674337413f0d8)
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
bb1bb2dee7 r691: add
--
make binary_smbd
make library_libldb
make module_ntvfs_simple
--
style make rules which depend on make basics, so make idl proto is called by them

metze
(This used to be commit bbec0b6c95d7d01ac36bb0820b2049db57fd2a2c)
2007-10-10 12:53:43 -05:00
Stefan Metzmacher
d5ba19d008 r690: - ignore source/tags
- add support for shared libraries

- enable libldb shared lib when --enable-experimental

metze
(This used to be commit dcef69dc54a2575e7f57d67d1983482b4ff57bdb)
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
3f564db67d r688: add --enable-experimental
use Data::Dumper for config.smb_build.dump
when --enable-debug

metze
(This used to be commit 0fd558de796e5798279e8252a7f0d4efdd3a86e6)
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
2b7de39bd2 r687: add newline at eof
metze
(This used to be commit 38fd7c5e1a8ee5dcc0e5e6af765fb81f6f7c4111)
2007-10-10 12:53:42 -05:00
Jelmer Vernooij
0048335d9e r686: - Add SMB_EXT_LIB_FROM_PKGCONFIG()
- Build gregedit and registry_gconf again if the required libs are found (gconf and gtk)
(This used to be commit a63b704c36f2f5b52e932b6b2c99e7d664c9bdc7)
2007-10-10 12:53:42 -05:00
Andrew Bartlett
d12e825042 r685: The SAM is dead! Long live the new SAM! ;-)
This commit kills passdb, which was only hosting the auth subsystem.

With the work tridge has done on Samba4's SAM backend, this can (and
now is) all hosted on ldb.  The auth_sam.c file now references this
backend.

You will need to assign your users passwords in ldb - adding a new line:

unicodePwd: myPass

to a record, using ldbedit, should be sufficient.  Naturally, this
assumes you have had your personal SAMR provisioning tutorial from
tridge.  Everybody else can still use the anonymous logins.

Andrew Bartlett
(This used to be commit 2aa0b55fb86648731d5f2201fa5a6aa993b7ca48)
2007-10-10 12:53:42 -05:00
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