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

2965 Commits

Author SHA1 Message Date
Andrew Tridgell
9defca2895 r4072: - changed the names of some of the well known sids to be more consistent
- added string constants for the important privileges.
(This used to be commit d5bc706140faf2d0a917f90f87884cd097e8a48c)
2007-10-10 13:06:22 -05:00
Andrew Tridgell
a42dba94d0 r4071: - ldap does allow adding additional attribute values with a modify
operation, but not if the value already exists

- fixed syntax of test.ldif for ldap backend
(This used to be commit 29225d0bec39038e42e68849bd9378898f062081)
2007-10-10 13:06:22 -05:00
Stefan Metzmacher
f99c93ec57 r4070: move some defines from asn_1.h to the places they belong to
metze
(This used to be commit ab2c2f27e1c61516e885f02bf26350f97209057a)
2007-10-10 13:06:22 -05:00
Andrew Tridgell
1424dccb92 r4069: better error code for SMBwriteBMPX
(This used to be commit eef066175f98f38eff465f941a7bd747173e8db9)
2007-10-10 13:06:22 -05:00
Andrew Tridgell
b821dedf9d r4068: added LANMAN2.1 to list of supported protocols (for OS/2)
(This used to be commit 06e48d1276d3837db4d278400e7ee29561cd9205)
2007-10-10 13:06:22 -05:00
Andrew Tridgell
79bb84cea4 r4067: no matches in findnext is not an error
(This used to be commit 6da058a28ba44a02964d375c9e390fbd472bc2b6)
2007-10-10 13:06:22 -05:00
Andrew Tridgell
14c65343b0 r4066: add a mapping for NT_STATUS_NO_MORE_ENTRIES
(This used to be commit 335b1c6a52b2e437e7f16a84ba547e5387ef64d1)
2007-10-10 13:06:22 -05:00
Andrew Tridgell
41999d67c1 r4065: fixed ntstatus->dos error code for NT_STATUS_NO_SUCH_FILE
(This used to be commit 19efd83b863a8c94f509d6a933a7d5de43aa95e9)
2007-10-10 13:06:21 -05:00
Stefan Metzmacher
9922c2d035 r4064: use the same name for type on both ends
for long term we should remove all typedef's

metze
(This used to be commit 4b3f552cb373a0d91526412fc31699959c96a007)
2007-10-10 13:06:21 -05:00
Stefan Metzmacher
9112a632f6 r4063: - change char * -> uint8_t in struct request_buffer
- change smbcli_read/write to take void * for the buffers to match read(2)/write(2)

all this fixes a lot of gcc-4 warnings

metze
(This used to be commit b94f92bc6637f748d6f7049f4f9a30b0b8d18a7a)
2007-10-10 13:06:21 -05:00
Andrew Tridgell
4127edc1af r4062: the RAW-ACLS test now passes. The SEC_STD_DELETE bit is rather strange
though - I expect we'll need to tweak that some more.
(This used to be commit e3500811b90b8423ee7694609340f394957d1160)
2007-10-10 13:06:21 -05:00
Andrew Tridgell
6a58011be5 r4061: more additions to the RAW-ACLS test, to help me work out some details for pvfs
(This used to be commit 273165e53a606fa0a55ff8fb6fea440e19a7e285)
2007-10-10 13:06:21 -05:00
Andrew Tridgell
ae3f904038 r4060: removed an unused file
(This used to be commit 35ca4e1e81c5d927238e90d0c6c09987c11b5d35)
2007-10-10 13:06:21 -05:00
Andrew Tridgell
9012a50153 r4059: moved the ldb -o option parsing to a common routine
(This used to be commit ee52c1e38c9bac852458196ffbd677cca62a3965)
2007-10-10 13:06:20 -05:00
Andrew Tridgell
2f9e170f45 r4058: added a type safe version of smb_xmalloc()
(This used to be commit 1235afa5fe3a396cd7a180cbc500834a30fbaa80)
2007-10-10 13:06:20 -05:00
Günther Deschner
fbb5a6a0fa r4057: unknown5 represents the account policy "Users must logon to change
password".

Guenther
(This used to be commit 18e01ae25493d2b4b9b86d090199d5202d7a9e42)
2007-10-10 13:06:20 -05:00
Andrew Tridgell
4075e28a4f r4056: modified the access check code based on results from RAW-ACLS
test. Also added generic mapping bits for pvfs. We don't pass RAW-ACLS
yet, but its close.
(This used to be commit c7cbd966d49a5345ea326732587555d209c531fc)
2007-10-10 13:06:20 -05:00
Andrew Tridgell
6e6374cb5b r4055: fixed more places to use type safe allocation macros
(This used to be commit eec698254f67365f27b4b7569fa982e22472aca1)
2007-10-10 13:06:20 -05:00
Andrew Tridgell
e5ce904ddb r4054: got rid of Realloc(), replacing it with the type safe macro realloc_p()
(This used to be commit b0f6e21481745d1b2ced28d9ed6f09f6ffd99562)
2007-10-10 13:06:19 -05:00
Andrew Tridgell
7dcfd94f81 r4053: expanded and fixed a bug in the RAW-ACLS test
(This used to be commit 0d19b4a09f4ce0b0c5e7779809c383322f4de4fc)
2007-10-10 13:06:18 -05:00
Andrew Tridgell
58c326809a r4052: fixed a bunch of code to use the type safe _p allocation macros
(This used to be commit 80d15fa3402a9d1183467463f6b21c0b674bc442)
2007-10-10 13:06:18 -05:00
Andrew Tridgell
c9932a3a92 r4051: use talloc_array() instead of talloc() when allocating arrays in auto-generated ndr code
(This used to be commit 90cdfd921e1a6f8806fe94bba61f1bbaa79c79f1)
2007-10-10 13:06:18 -05:00
Andrew Tridgell
cef92d7fd5 r4050: make sure we add objectClass and sAMAccountName
(This used to be commit 57d0079bb91b8edc625027e1f28203794e018afc)
2007-10-10 13:06:18 -05:00
Andrew Tridgell
300cebcc9d r4049: a simple perl script to add a new user to Samba4 ldb
(This used to be commit 76f2ae32040fe494e703abb54dd7ad09d7110408)
2007-10-10 13:06:18 -05:00
Andrew Tridgell
e43e893d95 r4048: a very simple howto for new developers to tell them how to build and install samba4
(This used to be commit 4e7d723dacc0d6d526721ee037502c02ffd3fdec)
2007-10-10 13:06:18 -05:00
Stefan Metzmacher
b0d518efdf r4046: add more servicePrincipalName's for the dc account
metze
(This used to be commit 659a0b26e2fa466169078bab6dd4af1e5fffb48b)
2007-10-10 13:06:17 -05:00
Stefan Metzmacher
64b516b105 r4045: readd krb5 support defaulted to disable
use:
gensec:krb5=yes
gensec:ms_krb5=yes

to enable it

or -k on the client tools on the command line

metze
(This used to be commit 0ae5794cf44933d2554e0356baaca24c7a784f71)
2007-10-10 13:06:17 -05:00
Stefan Metzmacher
00948a8072 r4044: only send supportedMech when we also send other data
metze
(This used to be commit 1e0483a8482574fa0f8d7ad31cc4bf4a6155ec52)
2007-10-10 13:06:17 -05:00
Stefan Metzmacher
4299e989c0 r4042: fix segfault on server schannel connections
metze
(This used to be commit 57bd26f9c528687ca2ca9bbaa56f7f36efd2231f)
2007-10-10 13:06:17 -05:00
Stefan Metzmacher
b71458c742 r4041: fix cut-n-paste typo
metze
(This used to be commit 54398aa889b5954c7c387b252dd1a9173eac36f0)
2007-10-10 13:06:17 -05:00
Stefan Metzmacher
785e7eb452 r4040: sorry today is not my day...
uint32 != uint8_t ...

metze
(This used to be commit a8a3b8ee341fda041383df225ea2b7f9b589fc04)
2007-10-10 13:06:17 -05:00
Andrew Tridgell
4754082fea r4039: added a test for an element > 128 bytes in length, to ensure we test
for sign extending errors in element length
(This used to be commit 07378fca6c12ffffcd3fe5e91f4d70ef838a45d5)
2007-10-10 13:06:17 -05:00
Stefan Metzmacher
7ea3540763 r4038: fix sign/unsign bug I introduced in -r 4022
this caused new ldb record to be corrupt if the length was > 12b byte

thanks tridge for finding this

metze
(This used to be commit 6998c37b473d8efeb2ed5285f10f469a29ad787a)
2007-10-10 13:06:16 -05:00
Andrew Tridgell
4183b2ac38 r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
(This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221)
2007-10-10 13:06:16 -05:00
Andrew Tridgell
3b863542dc r4036: expanded the RAW-ACLS torture test to include tests for the
generic->specific access mask mappings, and tests of the behaviour of
SID_CREATOR_OWNER and SEC_FLAG_MAXIMUM_ALLOWED
(This used to be commit f572fe6d29d5a318b24d71a2ebfa2baca2b79a10)
2007-10-10 13:06:16 -05:00
Andrew Tridgell
cc8f4358cc r4035: more effort on consistent naming of the access mask bits.
This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and
SEC_RIGHTS_FULL_CONTROL, which are just other names for
SEC_FLAG_MAXIMUM_ALLOWED and SEC_RIGHTS_FILE_ALL. The latter names
match the new naming conventions in security.idl

Also added names for the generic->specific mappings for files are
directories
(This used to be commit 17a4e0b3aca227b40957ed1e0c57e498debc6ddf)
2007-10-10 13:06:16 -05:00
Andrew Tridgell
81476cd9fa r4034: add a function security_descriptor_create() which can be used to
easily create complex security descriptors for testing. This greatly
simplifies the smbtorture code I am writing for testing our
new access_check code.
(This used to be commit 891a8bc16af3c6ce5800e793ce4ec8b0078e444f)
2007-10-10 13:06:16 -05:00
Andrew Tridgell
450368c833 r4033: removed a pointless comment
(This used to be commit 1f3f9f829444cb889c6782c4fe52773fd6867b55)
2007-10-10 13:06:16 -05:00
Stefan Metzmacher
34b1367373 r4027: add a useful function for debugging
metze
(This used to be commit 41b1ba53fc201b7b9f9d806dccef6258b2a1d157)
2007-10-10 13:06:15 -05:00
Andrew Tridgell
a8a3fec528 r4026: added NT ACL checking on pvfs_open() for existing files. I need to
work out some way to do a decent test suite for this.
(This used to be commit 9a9a0d0e791e4b64f0a35c921729e623b977af47)
2007-10-10 13:06:15 -05:00
Andrew Tridgell
1a7283a8fa r4025: added a sec_access_check() function for checking security descriptors
against a users security token and access_mask
(This used to be commit c4d21cd4b1ccffd5aaa70a551c57f6eab1ca9c6d)
2007-10-10 13:06:15 -05:00
Stefan Metzmacher
b6c4b63dc5 r4022: fix compiler warnings
metze
(This used to be commit 79d0eb2f677f9e985ba476a9680f68537d41be6f)
2007-10-10 13:06:15 -05:00
Andrew Tridgell
75f58e2d0f r4015: correct copyright attributions
(This used to be commit 078d9ab05bffc79e4f329ea18fe3dafd144d989c)
2007-10-10 13:06:15 -05:00
Andrew Tridgell
bb291f184e r4014: removed unused MacExtension.h header
(This used to be commit 5ffffdd79f23c461e30bc91e983b12939f063d2d)
2007-10-10 13:06:15 -05:00
Andrew Tridgell
607e302238 r4013: got rid of a bunch of unused or unmaintained code
- removed the clitar code. It is unmaintained, and a horribly badly done hack

 - removed client.h as it contained mostly unused definitions

 - removed the unused clidfs.c code
(This used to be commit 31a7bddbb3815b4d625e993dbce4805dae1c18f8)
2007-10-10 13:06:15 -05:00
Andrew Tridgell
c33283df20 r4012: split out the lsa lookup single name logic into a separate function
(This used to be commit 44d97619623830cc24905a5f4df941d45ebd41c3)
2007-10-10 13:06:14 -05:00
Andrew Tridgell
fdc9f417d8 r4011: get rid of rpc_secdes.h and replace it with a single sane set of
definitions for security access masks, in security.idl

The previous definitions were inconsistently named, and contained many
duplicate and misleading entries. I kept finding myself tripping up
while using them.
(This used to be commit 01c0fa722f80ceeb3f81f01987de95f365a2ed3d)
2007-10-10 13:06:13 -05:00
Andrew Tridgell
2ed4ff13d5 r4010: fixed parsing of null attributes in the ldb ldif parser
(This used to be commit b4fd76f78eadd8648ceed508766235e80702aa8f)
2007-10-10 13:06:13 -05:00
Stefan Metzmacher
5ef59e9a0a r4003: run successful against a nt4 sp6 pdc with one nt4 sp6 trust and a w2k3 trust
metze
(This used to be commit 5101cd51a24fdcda8dd8fc4da446782948290f9b)
2007-10-10 13:06:13 -05:00
Stefan Metzmacher
b7781099e6 r4002: NT 4.0 sp6a can't do schannel 128
metze
(This used to be commit c04a77ed6945db0292434fb5461a884708a9ebf2)
2007-10-10 13:06:13 -05:00