1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

11490 Commits

Author SHA1 Message Date
Andrew Bartlett
81b971beae r20398: Revert this patch, which caused failures in the samba3sam.js build farm test.
The interaction of the samldb.c module and this function is complex...

Andrew Bartlett
(This used to be commit bf7ab75875f722cc8499d24d455a94dd83b986ad)
2007-10-10 14:30:22 -05:00
Andrew Bartlett
7d7d01cf4e r20397: Another user of the DsCrackNames call needs a rename following IDL clarification.
Andrew Bartlett
(This used to be commit 77169958fc42d8ea4561f6218919a34c330259d3)
2007-10-10 14:30:22 -05:00
Andrew Bartlett
11196d0907 r20396: Missed one user of the renamed elements.
Andrew Bartlett
(This used to be commit a7c83eb7b8e000c51790a9eae67c59c04a4a877c)
2007-10-10 14:30:22 -05:00
Andrew Bartlett
105d18eb30 r20395: Decode more unknowns in the IDL. These are language and codepage IDs!
Try to pass more of the CrackNames test.  Make the test quieter.

Andrew Bartlett
(This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)
2007-10-10 14:30:22 -05:00
Stefan Metzmacher
a1a6a0d52a r20392: initial idl for frsrpc_FrsSendCommPkt()
there's a blob containing the real data,
but that needs handwritten code

metze
(This used to be commit dcb0ea99ba7589a3204d19f54c75a464f97bd1fd)
2007-10-10 14:30:21 -05:00
Stefan Metzmacher
ed7c63a6fc r20391: add idl for the content of the partialAttributeSet attribute
metze
(This used to be commit f7f9f174d77ddf7d4880b430b5dc7154ea1ddb3b)
2007-10-10 14:30:21 -05:00
Stefan Metzmacher
022658ae50 r20383: only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen

metze
(This used to be commit 4aa31c8862020fa2615ec3cf0b65b1bb7ed10dd4)
2007-10-10 14:30:21 -05:00
Stefan Metzmacher
40e7f36212 r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes
metze
(This used to be commit 5440c0a99fd8dced9020a47af4dbee74df504219)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
112d58a0c5 r20381: verify the incoming oid mappings and schema info for the config and domain partition too
metze
(This used to be commit 1fab753b1da608d49bd976e01286f800c2d42965)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
6a75d272fc r20380: verify the incoming schema info and oid mappings
metze
(This used to be commit 27193e4b3d7d43e6fee6f35094ab60ff2531a474)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
58388f7090 r20379: - make sure the schema info blob is 21 bytes long
- add a function to verify the incoming mapping and schema info

metze
(This used to be commit 5f0da4a3ae4eae8a6f14f813a65583cef78e73e4)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
11018b0e13 r20378: add new error code that says the schema mismatches between DC's
metze
(This used to be commit e769029f42f848db8121c7dcfe5be261861776c8)
2007-10-10 14:30:19 -05:00
Andrew Bartlett
6d85ab6275 r20377: Rework the CrackNames implementation to handle some of the BUILTIN sid
cases.

Adjust our 'look for this value in this attribute, of the result'
function samdb_find_attribute() to use the correct comparison
function, no matter what that may be.

Andrew Bartlett
(This used to be commit 3c5ff4e68748cce0bb93d7d141083922d92c3845)
2007-10-10 14:30:19 -05:00
Derrell Lipman
2bbf187698 r20376: make module registration substantially cleaner
(This used to be commit 466f17ea3c8fa4a0a93047abd3529651b4fc9bdc)
2007-10-10 14:30:19 -05:00
Andrew Bartlett
d1d2651a37 r20375: Work to improve our CrackNames implementation.
We now correctly handle the canonical name as a CrackNames source, for
more than just the DNS domain object.

Andrew Bartlett
(This used to be commit 629c72f0c27333cc9ede158e3525e8b03dd295d3)
2007-10-10 14:30:18 -05:00
Andrew Bartlett
f4fd6d97e6 r20374: It's still 2006 (just...). Add copyright.
Andrew Bartlett
(This used to be commit 21b38ae1e4c48dab4b89f234f4dc26a3aed401c3)
2007-10-10 14:30:18 -05:00
Andrew Bartlett
c8fd1a6f2e r20373: When adding a base to a "" DN, don't precede it with a comma (,)
Andrew Bartlett
(This used to be commit ef1ca30180b1b225579a8200b65a4853a135602f)
2007-10-10 14:30:18 -05:00
Andrew Bartlett
d0bc792dba r20369: Remember to break if we find a match.
Andrew Bartlett
(This used to be commit 4bd8dbcf41f04be28e2f5d6e15a22f08ba80b948)
2007-10-10 14:30:18 -05:00
Derrell Lipman
bb6c6945e4 r20367: don't re-load API documentation each time the module is selected
(This used to be commit 233fc754c44692034c15c82fbafbc47cc40edeb6)
2007-10-10 14:30:17 -05:00
Derrell Lipman
3f0d0d109c r20366: remove auto-genereated file
(This used to be commit 2080227ac69101a3409e77f47e3ae6869ab604a6)
2007-10-10 14:30:17 -05:00
Derrell Lipman
53b075dd73 r20365: SWAT updates, part 2
(This used to be commit 5b6b134a0375a527b123617d7d94fa52d7604c02)
2007-10-10 14:30:17 -05:00
Derrell Lipman
2d132edbab r20364: SWAT updates, part 1
These next few check-ins will add a working Statistics module to SWAT, and add
an API Documentation module as well.

Next step will be to modify the LDB browser to work with this new module and
fsm structure.

Derrell
(This used to be commit 29db71587f1332a9c44d5993a2be389f3a392ce4)
2007-10-10 14:30:16 -05:00
Stefan Metzmacher
b5aa81635d r20360: level -4 of DsReplicaGetInfo(), which gives back all open bind handles
returned by DsBind() on all drsuapi connection also contains the client
ip address. Also the u1 value of the clients DsBindInfoX structure is returned
in u5 here...

metze
(This used to be commit 1adb0fb291d788d0bf10a49b05970ac72eb4764e)
2007-10-10 14:30:16 -05:00
Stefan Metzmacher
c70a3f6706 r20359: level -1 of DsGetDomainControllerInfo gives back a list
of all active connections to the Directory Service Agent (DSA)
(This can be LDAP or DRSUAPI connections)

abartlet: you had just luck by using flag(BIG_ENDIAN) as BIG_ENDIAN is
          defined in <endian.h>, it should be flag(NDR_BIG_ENDIAN)...

metze
(This used to be commit c7e639763de1f8ddccfb954227feeaddb7386edc)
2007-10-10 14:30:16 -05:00
Stefan Metzmacher
3c20e210de r20358: - fix ejs generated code for ipv4address
- (not Parse::Pidl::Typelist::scalar_is_reference($e->{TYPE}))
  is much more generic than ($e->{TYPE} ne "string")
  and handles ipv4address and other special types...

metze
(This used to be commit 02d2ce65e614a0c99ef3246bc738eb0f8d91b24a)
2007-10-10 14:30:15 -05:00
Volker Lendecke
1757c0f0a4 r20357: run_trans2test and torture_trans2_scan are two separate tests
(This used to be commit 2e06c38a98e3891ed1f9e823614c3f0c3d279afe)
2007-10-10 14:30:15 -05:00
Andrew Bartlett
6b236024da r20354: Trusted domains don't have a surname, I think we want 'cn' here.
Andrew Bartlett
(This used to be commit 05debeaced7296762b293cc804a71abcfb096066)
2007-10-10 14:30:15 -05:00
Andrew Bartlett
ea4c64388b r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because as
usual things are more complex than they appear.

Also remove the incorrect server-side implementation, which blindly
assumed some sense of consistancy across the API switch levels.

Andrew Bartlett
(This used to be commit 79941adbff843f5027dacd31b972deca4a1557ec)
2007-10-10 14:30:15 -05:00
Andrew Bartlett
f9dd1d7ef8 r20352: Use the common function to find the DN for a domain.
Andrew Bartlett
(This used to be commit 929fd1beee5cab647702a9b8d8d5e4c2aab23d11)
2007-10-10 14:30:14 -05:00
Andrew Tridgell
b4ae9868d0 r20351: ensure these variables are set in the right place in the Makefile
(This used to be commit 0ed2c0a0afea5b0d4c5f49e2493cb6eae694fe40)
2007-10-10 14:30:14 -05:00
Derrell Lipman
e0b5d94e0a r20350: configure svn:ignore values via a .ignore file
(This used to be commit 53c5ac7ea6bded2f6019c93027511d5583166bb7)
2007-10-10 14:30:14 -05:00
Derrell Lipman
a65715533b r20348: don't check in auto-generated code
(This used to be commit 7ddf1247eee19f8d1430c9487c6823e7d6d51c42)
2007-10-10 14:29:43 -05:00
Derrell Lipman
48d5d50e83 r20347: added generic rpc fsm and statistics-specific fsm. next step: statistics gui
(This used to be commit 68fd2c76e4377ce59636aac6e3ce7a2ba798f402)
2007-10-10 14:29:43 -05:00
Derrell Lipman
7cd9ac7a45 r20346: This is the beginnings of a framework for a complete SWAT. It will provide
for easily adding modules, and using as much common code as possible.
Although all modules are loaded to the browser as part of the application,
modules are not actually initialized, their finite state machines generated,
or their graphical user interfaces built until they are selected to be viewed
for the first time.

I'm checking this in at this early stage because I promised Brad some
check-ins a week ago, and the flu has kept me unable to do anything for the
past 10 days.  Now that I'm back in working order, I hope to be building on
this regularly over the next few days.

Derrell
(This used to be commit 9302ef10173a8eaa31935323f899e65f6e7ae95c)
2007-10-10 14:29:42 -05:00
Volker Lendecke
880a9be3f7 r20341: Make sure we do not regress on r20338 in Samba3
(This used to be commit 64ee399c964c2935c1386123e2e636c266c8c6a8)
2007-10-10 14:29:42 -05:00
Stefan Metzmacher
d9a1d365e3 r20332: add mastered-By and msDs-mastered-By attributes to the domain object
the config and schema head objects already have them

metze
(This used to be commit 6d43c1963856c5140ca3447aa2f9a276035eff8c)
2007-10-10 14:29:42 -05:00
Stefan Metzmacher
3710a7ae99 r20331: the last entry in the oid mapping array which starts with 0xFF
is the content of the schemaInfo attribute of the schema head object

metze
(This used to be commit bfb7756bb0f1bbd9a7a17c9689cf2ea351247116)
2007-10-10 14:29:42 -05:00
Rafal Szczesniak
37457a0f07 r20328: use prereq function instead of local implementation.
rafal
(This used to be commit f79dcd41e78662c376d29cf210436c0a28cce4e8)
2007-10-10 14:29:41 -05:00
Stefan Metzmacher
89771a974c r20327: start to analyse the schema content
metze
(This used to be commit fa59f168b2c4e56c88c415110c220515a148a592)
2007-10-10 14:29:41 -05:00
Stefan Metzmacher
7a3aaa4041 r20326: always set the binding->target_hostname!
we crashed before trying ncacn_np: for frsrpc
as frsrpc doesn't have a ncacn_np endpoint listed
in the idl header and the endpoint mapping code
was trying our smbcli lib with a
NULL target_hostname -> called_name

metze
(This used to be commit ed49e4b1f87db483768dec36732b0c9765d1d4bc)
2007-10-10 14:29:41 -05:00
Stefan Metzmacher
4a40f0310c r20325: handle NULL strings in is_ipaddress()
metze
(This used to be commit b8b69ff6bec0c1d412b1f935721b45ef07e9c9f5)
2007-10-10 14:29:40 -05:00
Stefan Metzmacher
dba738d044 r20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS test
metze
(This used to be commit bbd086f2edf81028f2370be8ce0739144cd64b02)
2007-10-10 14:29:40 -05:00
Stefan Metzmacher
9f2945b00d r20322: I assume the options attribute of the nTDSDSA object contains
mutiple flags not just 1 for being a global catalog

metze
(This used to be commit 202645e196b1425f9043bd34dd02a1418e2e3dd9)
2007-10-10 14:29:40 -05:00
Stefan Metzmacher
37ad9ee7cc r20321: fix the samdb_partitions_dn() and samdb_sites_dn() calls,
to use the new samdb_config_dn() call.

also add samdb_ wrappers for samdb_schema_dn() and samdb_config_dn()

metze
(This used to be commit 80b8a968243aadeef7512c03278dbb0d4e88a9f2)
2007-10-10 14:29:40 -05:00
Stefan Metzmacher
6f68945f7d r20320: add missing prototypes
metze
(This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)
2007-10-10 14:29:39 -05:00
Stefan Metzmacher
c65b5a6f87 r20319: fix compiler warnings
metze
(This used to be commit 3769270a6a22dd29845e889b0601fcdf7c46acb5)
2007-10-10 14:29:39 -05:00
Stefan Metzmacher
2506a1efce r20318: do what the printf statement says:-)
metze
(This used to be commit dd9ef6e5ab471665d019fbda87c90f5c95bd57ea)
2007-10-10 14:29:39 -05:00
Stefan Metzmacher
ff322519af r20317: store references to all important naming contexts.
add ldb_get_config_basedn(), ldb_get_schema_basedn()
and ldb_get_root_basedn()

metze
(This used to be commit e28cb83904299fe01e8c0797f5429387f254ed1e)
2007-10-10 14:29:38 -05:00
Stefan Metzmacher
525447821e r20316: fix compiler warning
metze
(This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)
2007-10-10 14:29:38 -05:00
Andrew Bartlett
400a56d6dd r20315: Implement the server side of DsGetDomainControllerInfo. This is a
supprisingly complex call...

It turns out that the in/out parameter 'level' is not in/out, but set
seperatly by the server-side code from r->req.req1.level.

This commit also breaks out some common code from samldb into samdb.

Andrew Bartlett
(This used to be commit 2eb9e6445c64840399171f4f56b1e43786dbcfa7)
2007-10-10 14:29:38 -05:00