ab/samba.git/.git
15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Fri, 29 Aug 2008 21:38:02 +0000 (07:38 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit f008c3b6ee324056fd9b63f6151ad6849640c959)

15 years agoAdd a setexpiry operation in samdb.py
Andrew Tridgell [Fri, 29 Aug 2008 21:32:44 +0000 (07:32 +1000)]
Add a setexpiry operation in samdb.py

This makes it easy to set the expiry (or no expiry) for a samdb user
(This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)

15 years agoadded a simple script for setting password expiry
Andrew Tridgell [Fri, 29 Aug 2008 21:23:06 +0000 (07:23 +1000)]
added a simple script for setting password expiry
(This used to be commit cf37126ac7b833a3a739b151157c296afc0c979c)

15 years agoIt turns out that the Netlogon PAC verification is encrypted.
Andrew Bartlett [Fri, 29 Aug 2008 05:06:30 +0000 (15:06 +1000)]
It turns out that the Netlogon PAC verification is encrypted.

This test now passes against Win2k3, and a implementation in the
Samba4 server should follow shortly.

Andrew Bartlett
(This used to be commit c6b8ba893dd3ed90bca32c0ae89fd33be729c238)

15 years agoUpdate packaging per suggestions on the review
Andrew Bartlett [Fri, 29 Aug 2008 03:01:52 +0000 (13:01 +1000)]
Update packaging per suggestions on the review

Also make the build more C++ friendly with a patch from Brad Hards.

Andrew Bartlett
(This used to be commit 1367b94c8fb421dd517e7e8044af7606a4693365)

15 years agoFurther rework the RPC-PAC test.
Andrew Bartlett [Thu, 28 Aug 2008 06:30:17 +0000 (16:30 +1000)]
Further rework the RPC-PAC test.

This would seem to match the documentation requirements for the PAC
verfication over NETLOGON, but I can't get Win2k3 to accept it so far.

Andrew Bartlett
(This used to be commit acfa87f3411a61bdd9066fbbba2bcfbe2a60cbbe)

15 years agoHeimdal provides Kerberos PAC parsing routines. Use them.
Andrew Bartlett [Thu, 28 Aug 2008 06:28:47 +0000 (16:28 +1000)]
Heimdal provides Kerberos PAC parsing routines.  Use them.

This uses Heimdal's PAC parsing code in the:
 - LOCAL-PAC test
 - gensec_gssapi server
 - KDC (where is was already used, the support code refactored from here)

In addition, the service and KDC checksums are recorded in the struct
auth_serversupplied_info, allowing them to be extracted for validation
across NETLOGON.

Andrew Bartlett
(This used to be commit 418b440a7b8cdb53035045f3981d47b078be6c1e)

15 years agoDon't wipe the PAC checksums, the caller may actually need them.
Andrew Bartlett [Thu, 28 Aug 2008 06:19:16 +0000 (16:19 +1000)]
Don't wipe the PAC checksums, the caller may actually need them.
(This used to be commit 9db5a966fce0b71a0d2167b4aff70cc081abc1cc)

15 years agoAdd missing file - netlogon.h
Andrew Bartlett [Wed, 27 Aug 2008 12:26:25 +0000 (22:26 +1000)]
Add missing file - netlogon.h

This file allows the remote_pac.c code to call into netlogon.c's setup
credentials code.

Andrew Bartlett
(This used to be commit 0343987cf18c1287d98ae542d397ab1fab0a04b7)

15 years agoAdd a test to explore Netlogon PAC validation
Andrew Bartlett [Wed, 27 Aug 2008 11:36:27 +0000 (21:36 +1000)]
Add a test to explore Netlogon PAC validation

However, I have still not figured out this protocol yet, and the docs
are rather unclear... :-(

Andrew Bartlett
(This used to be commit d878643071a1477435a267e2944461d367cdfa79)

15 years agoPut the internal gensec_gssapi state into a header.
Andrew Bartlett [Wed, 27 Aug 2008 06:24:05 +0000 (16:24 +1000)]
Put the internal gensec_gssapi state into a header.

This will allow a torture suite to inspect some otherwise internal
details.

Andrew Bartlett
(This used to be commit 9701149ef75f9771f42000e2b6f44963abfee938)

15 years agoFix the build on Win32, and use NEGOTIATE security (to allow kerberos)
Andrew Bartlett [Wed, 27 Aug 2008 06:22:45 +0000 (16:22 +1000)]
Fix the build on Win32, and use NEGOTIATE security (to allow kerberos)
(This used to be commit f0bde093d76fe9d17a0709cf01fa7b70f1985c6b)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
Andrew Bartlett [Wed, 27 Aug 2008 01:01:55 +0000 (11:01 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
(This used to be commit 32143287c7eb452c6ed9ccd15e8cd4e5a907b437)

15 years agoAdd definition for NT_STATUS_DOWNGRADE_DETECTED
Andrew Bartlett [Wed, 27 Aug 2008 00:29:54 +0000 (10:29 +1000)]
Add definition for NT_STATUS_DOWNGRADE_DETECTED
(This used to be commit f6e227b72bb56d12cb270d76f7f458136c4ca160)

15 years agoheimdal: add missing heimdal/lib/hcrypto/{evp-aes-cts.c,evp-hcrypto.c}, sorry...
Stefan Metzmacher [Tue, 26 Aug 2008 19:36:09 +0000 (21:36 +0200)]
heimdal: add missing heimdal/lib/hcrypto/{evp-aes-cts.c,evp-hcrypto.c}, sorry...

metze
(This used to be commit 0c4227e45d6b8e31a0219358042318e9d2a0b36d)

15 years agoheimdal_build: include heimdal's new EVP code to fix the build
Stefan Metzmacher [Tue, 26 Aug 2008 09:31:57 +0000 (11:31 +0200)]
heimdal_build: include heimdal's new EVP code to fix the build

metze
(This used to be commit f454342d48e1dce7dff0bcff246c7237bed94fd5)

15 years agoheimdal: import heimdal's trunk svn rev 23697 + lorikeet-heimdal patches
Stefan Metzmacher [Tue, 26 Aug 2008 17:35:52 +0000 (19:35 +0200)]
heimdal: import heimdal's trunk svn rev 23697 + lorikeet-heimdal patches

This is based on f56a3b1846c7d462542f2e9527f4d0ed8a34748d in my heimdal-wip repo.

metze
(This used to be commit 467a1f2163a63cdf1a4c83a69473db50e8794f53)

15 years agoheimdal_build: fix parse.h lex.c dependencies
Stefan Metzmacher [Tue, 26 Aug 2008 17:33:23 +0000 (19:33 +0200)]
heimdal_build: fix parse.h lex.c dependencies

metze
(This used to be commit dbfbd1b018f7c29dde2e291cbb7bb54bf147a10e)

15 years agoheimdal_build: autogenerate the heimdal private/proto headers
Stefan Metzmacher [Tue, 26 Aug 2008 09:20:54 +0000 (11:20 +0200)]
heimdal_build: autogenerate the heimdal private/proto headers

Now it's possible to just use a plain heimdal tree in source/heimdal/
without any pregenerated files.

metze
(This used to be commit da333ca7113f78eeacab4f93b401f075114c7d88)

15 years agoheimdal_build: autogenerate table files in heimdal/lib/wind/
Stefan Metzmacher [Tue, 26 Aug 2008 09:22:17 +0000 (11:22 +0200)]
heimdal_build: autogenerate table files in heimdal/lib/wind/

metze
(This used to be commit f4cfba26aebb18fecdb50478bec9c07d4910ab3b)

15 years agoheimdal_build: autogenerate heimdal/lib/roken/roken.h
Stefan Metzmacher [Tue, 26 Aug 2008 08:49:40 +0000 (10:49 +0200)]
heimdal_build: autogenerate heimdal/lib/roken/roken.h

metze
(This used to be commit 3ab59dc66fe2d40533a66ff786d0b2373eea1ab8)

15 years agoheimdal_build: add fallback for AC_WARNING_ENABLE()
Stefan Metzmacher [Tue, 26 Aug 2008 09:29:33 +0000 (11:29 +0200)]
heimdal_build: add fallback for AC_WARNING_ENABLE()

metze
(This used to be commit 8d6d96898dcc948aa0ee004eaeb48dc847946361)

15 years agoheimdal: remove unused old files
Stefan Metzmacher [Tue, 26 Aug 2008 09:25:10 +0000 (11:25 +0200)]
heimdal: remove unused old files

metze
(This used to be commit 94cef56212d7d7c1150aea760dba24bda7190442)

15 years agoheimdal_build: split heimdal/lib/asn1 file lists
Stefan Metzmacher [Tue, 26 Aug 2008 13:30:18 +0000 (15:30 +0200)]
heimdal_build: split heimdal/lib/asn1 file lists

metze
(This used to be commit d3e939bf75fb85cf0eb3551856e161e3e58c0031)

15 years agoheimdal_build: split handwritten and generated hx509 file lists
Stefan Metzmacher [Tue, 26 Aug 2008 09:57:29 +0000 (11:57 +0200)]
heimdal_build: split handwritten and generated hx509 file lists

metze
(This used to be commit 848067033c40c3a4681f196ac5da289cd488d962)

15 years agoheimdal_build: split out gssapi_spnego and gssapi_krb5 file lists
Stefan Metzmacher [Tue, 26 Aug 2008 09:56:37 +0000 (11:56 +0200)]
heimdal_build: split out gssapi_spnego and gssapi_krb5 file lists

metze
(This used to be commit 95135ade447e04329afa7581c66c4df8de63ca24)

15 years agoheimdal_build: add a fake sqlite keytab implementation
Stefan Metzmacher [Tue, 26 Aug 2008 10:19:52 +0000 (12:19 +0200)]
heimdal_build: add a fake sqlite keytab implementation

This remove a difference against lorikeet-heimdal.

metze
(This used to be commit 4314df3561dfe60228db0af220549300b0137c85)

15 years agoheimdal_build: split glue.c into krb5 and gssapi parts
Stefan Metzmacher [Tue, 26 Aug 2008 09:42:13 +0000 (11:42 +0200)]
heimdal_build: split glue.c into krb5 and gssapi parts

metze
(This used to be commit 1c7bb21bd85900206e9ad831bc4795c1f765a9aa)

15 years agokdc: move references to heimdal internals into heimdal_build/kpasswd-glue.h
Stefan Metzmacher [Mon, 25 Aug 2008 14:12:42 +0000 (16:12 +0200)]
kdc: move references to heimdal internals into heimdal_build/kpasswd-glue.h

metze
(This used to be commit 65057f17b0d9e83f1b775afdeb7ea91ce0e52cd1)

15 years agoRevert "gsskrb5: add support for DCE_STYLE and des and des3 keys"
Stefan Metzmacher [Tue, 26 Aug 2008 10:25:54 +0000 (12:25 +0200)]
Revert "gsskrb5: add support for DCE_STYLE and des and des3 keys"

This reverts commit 86848dd0f217774faed81af8fbf68618013e20a1.

This should come back via a merge from heimdal's trunk later.

metze
(This used to be commit 585e5360e2d9f722e80850eb86c3d4253530e8ba)

15 years agoRevert "gsskrb5: always return an acceptor subkey"
Stefan Metzmacher [Tue, 26 Aug 2008 10:23:13 +0000 (12:23 +0200)]
Revert "gsskrb5: always return an acceptor subkey"

This reverts commit 6a8b07c39558f240b89e833ecba15d8b9fc020e8.

This isn't strictly needed and will come back in the next merge
from heimdal's trunk.

metze
(This used to be commit 8ed040c8c4bed082ab74ab267090b35bb57db3f3)

15 years agobuild: generate :: rules for automatic dependencies
Stefan Metzmacher [Tue, 26 Aug 2008 08:32:28 +0000 (10:32 +0200)]
build: generate :: rules for automatic dependencies

metze
(This used to be commit 66d8da17a4c3543e133452f9a87702a2a8fb609c)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
Andrew Bartlett [Tue, 26 Aug 2008 06:28:59 +0000 (16:28 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
(This used to be commit 2a1adaa759d9201670519b3938109e13c0476a83)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 26 Aug 2008 06:27:10 +0000 (16:27 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit d7db5fe161429163a19d18c7e3045939897b9b2a)

15 years agoDon't use lsa_Delete any more, as smbd now refuses it.
Andrew Bartlett [Tue, 26 Aug 2008 06:26:46 +0000 (16:26 +1000)]
Don't use lsa_Delete any more, as smbd now refuses it.
(This used to be commit 8e1285a1ee60e3d3b7352ab7269d535c41916b46)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
Andrew Bartlett [Tue, 26 Aug 2008 06:26:08 +0000 (16:26 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
(This used to be commit b706708210a05d6f10474a3cd2bbc550704d4356)

15 years agoMore LSA server and testuite work.
Andrew Bartlett [Tue, 26 Aug 2008 02:18:26 +0000 (12:18 +1000)]
More LSA server and testuite work.

 - Implement QueryDomainInformationPolicy in Samba4

 - Allow RPC-LSA to pass against Windows 2008 (which does not allow
   the Audit privilage to be removed)

Andrew Bartlett
(This used to be commit d94c7bbcd6eee6d975eac32a1d172f4164c97137)

15 years agoMake RPC-LSA test deterministic with an msleep(200).
Andrew Bartlett [Tue, 26 Aug 2008 00:56:16 +0000 (10:56 +1000)]
Make RPC-LSA test deterministic with an msleep(200).
(This used to be commit 914e1865aa9fba417f74a3abdd8b4b2659feb001)

15 years agoImplement matching logic to Windows 2008 on handling of secrets.
Andrew Bartlett [Tue, 26 Aug 2008 00:33:41 +0000 (10:33 +1000)]
Implement matching logic to Windows 2008 on handling of secrets.

This is enforced by the new RPC-LSA test.

Andrew Bartlett
(This used to be commit da200ac64485fd9531b1aa048570c682b680b012)

15 years agoFix LSA server to pass more of RPC-LSA and match Windows 2008
Andrew Bartlett [Tue, 26 Aug 2008 00:32:49 +0000 (10:32 +1000)]
Fix LSA server to pass more of RPC-LSA and match Windows 2008

This fixes some info levels in the QueryTrustedDomainInfo call, and
changes from implementing lsa_Delete to lsa_DeleteObject (which has an
explicit close and reutrns a NULL handle).

Andrew Bartlett
(This used to be commit 1f12c368b2566b378a6c521c389b8b1bafbcf916)

15 years agoOnly allow the trust in the correct direction (per the flags).
Andrew Bartlett [Tue, 26 Aug 2008 00:27:00 +0000 (10:27 +1000)]
Only allow the trust in the correct direction (per the flags).
(This used to be commit 2c7195429411d68bc66f4100659c622df4f5a20a)

15 years agoUpdate RPC-LSA to (almost) pass against Windows 2008.
Andrew Bartlett [Mon, 25 Aug 2008 23:49:54 +0000 (09:49 +1000)]
Update RPC-LSA to (almost) pass against Windows 2008.
(This used to be commit a17cb558c23142e522de3ed56d65c7694477395f)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Sun, 24 Aug 2008 22:27:06 +0000 (08:27 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit a555334db67527b57bc6172e3d08f65caf1e6760)

15 years agofixed the data in SAVEFILE op in RAW-OFFLINE
Andrew Tridgell [Sun, 24 Aug 2008 07:42:29 +0000 (17:42 +1000)]
fixed the data in SAVEFILE op in RAW-OFFLINE
(This used to be commit 3441ea5df5b750442d17b90de73d392d2d802ab1)

15 years agoshow the bad data in RAW-OFFLINE
Andrew Tridgell [Sun, 24 Aug 2008 07:38:43 +0000 (17:38 +1000)]
show the bad data in RAW-OFFLINE

also show the worst case latencies so far, matching tsm_torture
(This used to be commit 5859bb337ce2ec5091425ebd02cad14c4da40457)

15 years agodon't use zero data for the first file in RAW-OFFLINE
Andrew Tridgell [Sat, 23 Aug 2008 01:54:02 +0000 (11:54 +1000)]
don't use zero data for the first file in RAW-OFFLINE

the most likely bugs in HSM involve zero data, due to the
dm_punch_hole() request
(This used to be commit 330ab956ea7e0b344450eee60b1357d854fbef28)

15 years agodisable the anr== tests until they are understood
Andrew Tridgell [Fri, 22 Aug 2008 11:54:21 +0000 (21:54 +1000)]
disable the anr== tests until they are understood
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)

15 years agonow that ldap integers are 32 bit, we need to put the right 32 bit
Andrew Tridgell [Fri, 22 Aug 2008 11:26:32 +0000 (21:26 +1000)]
now that ldap integers are 32 bit, we need to put the right 32 bit
value in for group type to avoid sign extension, otherwise we don't
find the builtin groups
(This used to be commit 9b558639395bd8209313bb7ed2e04821c83975a4)

15 years agofixed the DomainDNS searches in the netlogon code
Andrew Tridgell [Fri, 22 Aug 2008 10:50:07 +0000 (20:50 +1000)]
fixed the DomainDNS searches in the netlogon code
(This used to be commit 7dce38f9897df02073132f18b1021e0d0636590c)

15 years agoMerge commit 'origin/v4-0-test' into v4-0-test
Andrew Tridgell [Fri, 22 Aug 2008 08:39:52 +0000 (18:39 +1000)]
Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit 93cf0b3c7e6d8a4758c44519de51e51be89f76c7)

15 years agofixed the GUID and objectSID canonicalisation functions
Andrew Tridgell [Fri, 22 Aug 2008 08:37:34 +0000 (18:37 +1000)]
fixed the GUID and objectSID canonicalisation functions
(This used to be commit 115053ea7e70b067e7873668ed83f1f10908287d)

15 years agofixed a speellling erra
Andrew Tridgell [Fri, 22 Aug 2008 08:37:11 +0000 (18:37 +1000)]
fixed a speellling erra
(This used to be commit 3c058f50cc3b91d540feb51fb698d90565b2b7c9)

15 years agoMerge branch 'abartlet-4-0-local' into v4-0-test
Andrew Tridgell [Fri, 22 Aug 2008 07:37:43 +0000 (17:37 +1000)]
Merge branch 'abartlet-4-0-local' into v4-0-test
(This used to be commit 469fac2669991b130dec219e1a109a8b2ce224be)

15 years agofixed a problem with length limited ldap values
Andrew Tridgell [Fri, 22 Aug 2008 07:36:56 +0000 (17:36 +1000)]
fixed a problem with length limited ldap values

The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited
(This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)

15 years agofixed error handling in ANR code
Andrew Tridgell [Fri, 22 Aug 2008 04:32:27 +0000 (14:32 +1000)]
fixed error handling in ANR code

when we can't process an ANR request we need to continue with the
parse tree we were given, not a NULL tree
(This used to be commit ed66feb80aac7432049fe9fd86a9232984587e17)

15 years agondr_compression: implement mszip compression based on deflate()
Stefan Metzmacher [Wed, 20 Aug 2008 13:48:00 +0000 (15:48 +0200)]
ndr_compression: implement mszip compression based on deflate()

The output doesn't match the output from windows servers,
but it's a start...

metze
(This used to be commit 8a2f9688275aa150b739b5525e738df15c5e25cc)

15 years agodrsuapi.idl: use hand written push functions for the compressed blobs
Stefan Metzmacher [Wed, 20 Aug 2008 19:53:21 +0000 (21:53 +0200)]
drsuapi.idl: use hand written push functions for the compressed blobs

This isn't really the final solution, as we compress the data twice,
but it works.

metze
(This used to be commit 6da1d41173a7b82412fcebdd751eade51cf82b2a)

15 years agondr_compression: add common parts of ndr compression
Stefan Metzmacher [Thu, 7 Aug 2008 16:26:45 +0000 (16:26 +0000)]
ndr_compression: add common parts of ndr compression

metze
(This used to be commit 9fe466f84afcbd64c9bbfe0f9ea6c1933acb07fe)

15 years agoDon't walk past the end of ldb values.
Andrew Bartlett [Thu, 21 Aug 2008 09:24:58 +0000 (19:24 +1000)]
Don't walk past the end of ldb values.

This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb.  There is much more work to do in
this area.

Andrew Bartlett
(This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)

15 years agoPush loading the objectGUID and objectSID handlers earlier.
Andrew Bartlett [Thu, 21 Aug 2008 07:29:47 +0000 (17:29 +1000)]
Push loading the objectGUID and objectSID handlers earlier.

Andrew Bartlett
(This used to be commit 0b6e53f80b063d8702718c84409d7b069aee9c05)

15 years agoStop every ldb startup doing a write to the database.
Andrew Bartlett [Thu, 21 Aug 2008 06:42:03 +0000 (16:42 +1000)]
Stop every ldb startup doing a write to the database.

Something in the search stack adds a distinguisedName record, which
isn't in the message we generate.  So we compare, fail and rewrite the
record - every time ldb starts up...

Andrew Bartlett
(This used to be commit 44775d1ed4a4b8edc66a06e2b3710aba6a0dd019)

15 years agoValidate input in the CLDAP and DGRAM 'netlogon' responder.
Andrew Bartlett [Thu, 21 Aug 2008 06:09:42 +0000 (16:09 +1000)]
Validate input in the CLDAP and DGRAM 'netlogon' responder.
(This used to be commit 682ca3cae1d5e796bc58142f79c99d43742ac85c)

15 years agoHandle error cases in attribute handlers better.
Andrew Bartlett [Thu, 21 Aug 2008 05:10:40 +0000 (15:10 +1000)]
Handle error cases in attribute handlers better.

We don't need to just bail, for all these error cases there is still
real result that can be made - just fall back to binary copy/compare.

Andrew Bartlett
(This used to be commit 6aa5dde2aa9a5f070871ecc117e44bfcad363459)

15 years agoThe index handling is now configured from the schema load, not by a
Andrew Bartlett [Thu, 21 Aug 2008 02:59:16 +0000 (12:59 +1000)]
The index handling is now configured from the schema load, not by a
template.

Andrew Bartlett
(This used to be commit b36c6a21ad12fdc1b53efdc3f29cde7614b4fa9e)

15 years agoSet both attributes and indexes into the database on schema load.
Andrew Bartlett [Thu, 21 Aug 2008 02:58:00 +0000 (12:58 +1000)]
Set both attributes and indexes into the database on schema load.

This ensures that a rudementary schema is always present (for
bootstrapping), and that the indexes are maintained equal to the
schema (rather than hard-coded).

Andrew Bartlett
(This used to be commit 747d683b0d92c3b1cde67245d514977a2c87dc44)

15 years agoAll these syntaxes are now handled by the schema.
Andrew Bartlett [Thu, 21 Aug 2008 02:56:34 +0000 (12:56 +1000)]
All these syntaxes are now handled by the schema.
(This used to be commit 94d5e69190f34d66d4defd4a7de7ce24bee77bc3)

15 years agoDon't hardcode attributes to be treated as a DN
Andrew Bartlett [Thu, 21 Aug 2008 02:56:04 +0000 (12:56 +1000)]
Don't hardcode attributes to be treated as a DN

This is now handled by reading the schema into the attributes.

Also, when we do set something here, mark it as FIXED, so the schema
and any reload from @ATTRIBUTES won't touch it.

Andrew Bartlett
(This used to be commit 7b24701335398ece3d1b3a20cf5f1174500b16ce)

15 years agoCorrect anr search commants and error messages in ldap.js
Andrew Bartlett [Thu, 21 Aug 2008 02:51:55 +0000 (12:51 +1000)]
Correct anr search commants and error messages in ldap.js
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)

15 years agoDon't allow a NULL syntax
Andrew Bartlett [Thu, 21 Aug 2008 02:51:06 +0000 (12:51 +1000)]
Don't allow a NULL syntax
(This used to be commit 505a0c2b702b696b91dab683626bb25b14a49c38)

15 years agoDon't maniplate control entries in samldb
Andrew Bartlett [Thu, 21 Aug 2008 02:50:22 +0000 (12:50 +1000)]
Don't maniplate control entries in samldb
(This used to be commit 8003ee9abf474de534677283fc499f9a3d992b20)

15 years agokrb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type Serialization...
Stefan Metzmacher [Tue, 19 Aug 2008 06:51:45 +0000 (08:51 +0200)]
krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type Serialization header

Now we should be able to handle bigendian PAC_LOGON_INFO buffers.

metze
(This used to be commit adbff0b0f92aa0742a8293071776b388879cbd8e)

15 years agokdc/pac-glue: pull/push the logon_info via the PAC_INFO union
Stefan Metzmacher [Tue, 19 Aug 2008 11:23:09 +0000 (13:23 +0200)]
kdc/pac-glue: pull/push the logon_info via the PAC_INFO union

This prepares the next commit...

metze
(This used to be commit 7d297f7fb7a3ac388390429db7cb16fa60d3f8c0)

15 years agodrsuapi: fix samba4 callers after drsuapi.idl changes
Stefan Metzmacher [Tue, 19 Aug 2008 08:36:24 +0000 (10:36 +0200)]
drsuapi: fix samba4 callers after drsuapi.idl changes

metze
(This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)

15 years agodrsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*
Stefan Metzmacher [Tue, 19 Aug 2008 08:35:15 +0000 (10:35 +0200)]
drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*

metze
(This used to be commit 4e6937816f1563686d04da4ab00a46d4461401b9)

15 years agondr_compression: remove the type serialization handling from the compression layer
Stefan Metzmacher [Tue, 19 Aug 2008 08:33:03 +0000 (10:33 +0200)]
ndr_compression: remove the type serialization handling from the compression layer

metze
(This used to be commit 70a7b1f6c2e359102467ea270c2bb1efe736f64a)

15 years agondr_compression: unify the common handling of mszip and xpress compression
Stefan Metzmacher [Tue, 19 Aug 2008 08:29:40 +0000 (10:29 +0200)]
ndr_compression: unify the common handling of mszip and xpress compression

metze
(This used to be commit 925a2066ffa18a86704a8ee1a7a6908e0cd65a2a)

15 years agolibrpc/ndr: add support for Type Serialization Version 1 to subcontext
Stefan Metzmacher [Mon, 18 Aug 2008 15:10:59 +0000 (17:10 +0200)]
librpc/ndr: add support for Type Serialization Version 1 to subcontext

We use the header size 0xFFFFFC01 as magic for constructed types.

See [MS-RPCE] 2.2.6 Type Serialization Version 1 for more details.

metze
(This used to be commit 98d3568f079ea143214bcf5271b636313d6491c3)

15 years agopidl/NDR::Parser: pass typedefs through the ParseElement*Level() functions
Stefan Metzmacher [Wed, 20 Aug 2008 12:41:38 +0000 (14:41 +0200)]
pidl/NDR::Parser: pass typedefs through the ParseElement*Level() functions

metze
(This used to be commit e51c0cf62c91f79f703b17bcf37c4a6fa8107ae0)

15 years agopidl/NDR: generate a LEVELS array for typedefs
Stefan Metzmacher [Wed, 20 Aug 2008 12:41:05 +0000 (14:41 +0200)]
pidl/NDR: generate a LEVELS array for typedefs

metze
(This used to be commit 6785684db3446c03d8061c8bb3d94889b443d7d5)

15 years agopidl/NDR: correctly check for valid properties
Stefan Metzmacher [Wed, 20 Aug 2008 08:18:42 +0000 (10:18 +0200)]
pidl/NDR: correctly check for valid properties

grep($str, @array) returns the number of elements in @array!
We need grep(/^$str$/, @array) to the only the amount of matches.

Also fix unitialized vars for the error case.

metze
(This used to be commit f002f147d8a8a0b49389e30e611ff8b33dd077e1)

15 years agopidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()
Stefan Metzmacher [Tue, 19 Aug 2008 18:53:18 +0000 (20:53 +0200)]
pidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()

metze
(This used to be commit bdff9728cc1c8b5fe5a29040e092a8e48603725b)

15 years agopidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()
Stefan Metzmacher [Tue, 19 Aug 2008 18:51:27 +0000 (20:51 +0200)]
pidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()

metze
(This used to be commit c3921c7b4e7a3b51b97a2afb688271a8ae403105)

15 years agopidl/NDR::Parser: pass $ndr to ParsePtrPush()
Stefan Metzmacher [Tue, 19 Aug 2008 18:48:53 +0000 (20:48 +0200)]
pidl/NDR::Parser: pass $ndr to ParsePtrPush()

metze
(This used to be commit 77571cd7c74dfaa93e58f047530df369ae293ffd)

15 years agopidl/NDR::Parser: use my $ndr = "ndr" in the remaining top functions
Stefan Metzmacher [Tue, 19 Aug 2008 18:34:00 +0000 (20:34 +0200)]
pidl/NDR::Parser: use my $ndr = "ndr" in the remaining top functions

metze
(This used to be commit ce83f4bb596fad23000acc1f6691669e2f2cfe1b)

15 years agopidl/NDR::Parser: pass down $ndr from the top functions
Stefan Metzmacher [Tue, 19 Aug 2008 18:27:15 +0000 (20:27 +0200)]
pidl/NDR::Parser: pass down $ndr from the top functions

metze
(This used to be commit b01d7457fa5b3572989b821f04e023fd9abd0d52)

15 years agopidl/NDR::Parser: pass $ndr to ->PRINT_FN_BLOB()
Stefan Metzmacher [Tue, 19 Aug 2008 18:12:03 +0000 (20:12 +0200)]
pidl/NDR::Parser: pass $ndr to ->PRINT_FN_BLOB()

metze
(This used to be commit a143806364051141604ebb40eb5a4ef72958b55f)

15 years agopidl/NDR::Parser: pass $ndr to ->PUSH_FN_BLOB()
Stefan Metzmacher [Tue, 19 Aug 2008 11:24:05 +0000 (13:24 +0200)]
pidl/NDR::Parser: pass $ndr to ->PUSH_FN_BLOB()

metze
(This used to be commit 71b0d64866eb1a4f6dc73eeb57b5f0fe5d8a5780)

15 years agopidl/NDR::Parser: pass $ndr to ->PULL_FN_BODY()
Stefan Metzmacher [Tue, 19 Aug 2008 11:04:38 +0000 (13:04 +0200)]
pidl/NDR::Parser: pass $ndr to ->PULL_FN_BODY()

metze
(This used to be commit 38c4b2a3e9b316f390651297854de033ede0d128)

15 years agopidl/NDR::Parser: use $ndr instead of "ndr"
Stefan Metzmacher [Tue, 19 Aug 2008 10:34:49 +0000 (12:34 +0200)]
pidl/NDR::Parser: use $ndr instead of "ndr"

metze
(This used to be commit a1cf2289dd4ff9a3f9cf61da680223193235e35f)

15 years agoUse the new SEARCH_FLAG_ANR define
Andrew Bartlett [Wed, 20 Aug 2008 06:18:44 +0000 (16:18 +1000)]
Use the new SEARCH_FLAG_ANR define
(This used to be commit 07d122ce2c255124dfb3acf71a3afdf52f06e1b1)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 20 Aug 2008 06:02:13 +0000 (16:02 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit ae502f9e3991209d70a745bef3a3e6e7484cdb5f)

15 years agodon't overwrite fixed attributes with @ATTRIBUTES
Andrew Tridgell [Wed, 20 Aug 2008 06:00:54 +0000 (16:00 +1000)]
don't overwrite fixed attributes with @ATTRIBUTES
(This used to be commit e860fc171fd127d73df23336089c1479911953da)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 20 Aug 2008 05:52:08 +0000 (15:52 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)

15 years agoMerge commit 'origin/v4-0-test' into v4-0-test
Andrew Tridgell [Wed, 20 Aug 2008 05:50:58 +0000 (15:50 +1000)]
Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)

15 years agoadded a LDB_ATTR_FLAG_FIXED so the schema module can mark attributes
Andrew Tridgell [Wed, 20 Aug 2008 05:46:58 +0000 (15:46 +1000)]
added a LDB_ATTR_FLAG_FIXED so the schema module can mark attributes
as never to be removed.
(This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)

15 years agoApply attributes (and their syntax) from the schema into ldb
Andrew Bartlett [Wed, 20 Aug 2008 05:46:46 +0000 (15:46 +1000)]
Apply attributes (and their syntax) from the schema into ldb

This changes the @ATTRIBUTES record to be for bootstrapping only,
before we find the schema.

Andrew Bartlett
(This used to be commit 358477fcc041d5fb2e6ac5641c2f899cc49cfb69)

15 years agoAdd schema search flags from MS-ADTS
Andrew Bartlett [Wed, 20 Aug 2008 05:45:16 +0000 (15:45 +1000)]
Add schema search flags from MS-ADTS
(This used to be commit 731d9e569a474da27014737e0805ae712366357d)

15 years agoSplit schema_init.c into smaller bits.
Andrew Bartlett [Wed, 20 Aug 2008 03:22:16 +0000 (13:22 +1000)]
Split schema_init.c into smaller bits.

This should make schema manipulation a little easier to follow.

Andrew Bartlett
(This used to be commit 300ed83526e75d834bd23ddd1c1c26ebe2555e0f)

15 years agoRemove last traces of the old 'subclass' feature
Andrew Bartlett [Wed, 20 Aug 2008 03:09:40 +0000 (13:09 +1000)]
Remove last traces of the old 'subclass' feature
(This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)

15 years agoAdd a torture test for the new 'netlogon' flags.
Matthias Dieter Wallnöfer [Wed, 20 Aug 2008 02:46:37 +0000 (12:46 +1000)]
Add a torture test for the new 'netlogon' flags.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit a484334fb4dafd1df514d1bf88f7e0c4f07dff86)