Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Günther Deschner
dd49f7483b
s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:39 +02:00
Günther Deschner
6ddaf5f160
s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:31 +02:00
Günther Deschner
b684efacf5
s4-drsuapi: merge drsuapi_DsRemoveDSServer from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:07 +02:00
Günther Deschner
bc1d39483c
s4-drsuapi: merge drsuapi_DsAddEntry from s3 drsuapi idl.
...
Guenther
2008-10-18 23:05:59 +02:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Stefan Metzmacher
3c9f3c32d1
s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()
...
metze
2008-10-02 12:20:59 +02:00
Volker Lendecke
af1c802791
The IRIX compiler does not like embedded unnamed unions
2008-10-02 08:09:25 +02:00
Jelmer Vernooij
cef80957c4
Remove global_loadparm instance, discard_const_p.
2008-09-30 02:19:15 +02:00
Jelmer Vernooij
43d944e6d6
Remove global_loadparm instance.
2008-09-30 01:59:10 +02:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Simo Sorce
508527890a
Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
...
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Stefan Metzmacher
75f594b285
drsuapi: fix samba4 callers after drsuapi.idl changes
...
metze
(This used to be commit 4b054cee51
)
2008-08-20 15:22:05 +02:00
Stefan Metzmacher
8275d511bc
drsuapi: fix callers after idl change
...
metze
(This used to be commit 7dee6fb62d
)
2008-08-07 19:15:58 +02:00
Michael Adam
db36f37b8f
libnet_become_dc: send msDS_Behavior_Version == 3 (win2k8) in DsAddEntry
...
instead of version 2 (win2k3).
This makes the NET-API-BECOME-DC test work against windows 2003 and 2008.
Michael
(This used to be commit a7bfa1fb1b
)
2008-07-23 18:02:44 +02:00
Michael Adam
c71030bd04
libnet_become_cd: add boolean option "become_dc:force krb5" to control krb5 auth.
...
This allows controlling whether krb5 auth is forced for the rpc bind in
libnet_become_dc. It defaults to "yes". For Windows 2000, DsGetNCChanges
only krb5 auth works due to a bug in Windows (it returns garbage - a
positive object count is returned along with first object == NULL).
For Windows 2008, on the other hand, krb5 auth does not work currently
due to the lack of support for AES keys. (Metze is working on that.)
Michael
(This used to be commit af85aad814
)
2008-07-23 18:01:02 +02:00
Michael Adam
1f20ca14cc
drsuapi: always set the pid field of the outgoing DsBindInfo to 0.
...
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).
Michael
(This used to be commit 1f5704e2de
)
2008-07-23 15:36:13 +02:00
Michael Adam
e269804b04
libnet_unbecome_dc: teach unbecomeDC_drsuapi_bind_recv() DsBindInfo48.
...
..to work agains w2k8.
Michael
(This used to be commit 97e8d5813d
)
2008-07-23 15:36:13 +02:00
Michael Adam
46bb8aa357
libnet_become_cd: teach becomeDC_drsuapi_bind_recv() DsBindInfo48.
...
To work with w2k8.
Michael
(This used to be commit 7d80fab912
)
2008-07-23 15:36:13 +02:00
Stefan Metzmacher
945eedc4c1
libnet/become_dc: add a comment and explain why it's important to specify krb5
...
metze
(This used to be commit 26d1f9366d
)
2008-07-23 11:56:55 +02:00
Michael Adam
7fba6c649b
Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
...
Michael
(This used to be commit b91bbc5fe4
)
2008-07-22 15:35:23 +02:00
Andrew Bartlett
d626a26374
Rename structures to better match the names in the WSPP IDL.
...
The 'comment' element in a number of domain structures is called
oem_information. This was picked up actually because with OpenLDAP
doing the schema checking, it noticed that 'comment' was not a valid
attribute.
The rename tries to keep this consistant in both the LDB mappings and
IDL, so we don't make the same mistake in future.
This has no real schema impact, as this value isn't actually used for
anything, as 'comment' was not used in the provision.
Andrew Bartlett
(This used to be commit 65dc0d5365
)
2008-07-21 13:42:07 +10:00
Stefan Metzmacher
29049aa670
drsuapi: print out the number of linked attribute values we got
...
metze
(This used to be commit 34f8b2abdd
)
2008-07-16 14:42:12 +02:00
Stefan Metzmacher
f0e44c35af
drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]
...
metze
(This used to be commit 35c7fa470a
)
2008-07-16 14:42:11 +02:00
Stefan Metzmacher
f3fae86549
drsuapi: check ctr6->drs_error
...
metze
(This used to be commit 511847f5f5
)
2008-07-16 14:42:11 +02:00
Stefan Metzmacher
a24fb2b537
drsuapi: get ctr6 out of xpress compressed level
...
metze
(This used to be commit 4e0708148a
)
2008-07-16 14:42:06 +02:00
Stefan Metzmacher
c6ea7f0221
drsuapi: total_object_count was the wrong guess
...
The total_object_count member of DsGetNCChangesCtr[1|6] was wrong
it's the error code of an extended operation.
DsGetNCChangesCtr6 has a nc_object_count value which contains
the estimated amount of objects in the naming_context.
W2k seems to have a bug and sends this number of objects
in the extended_ret field. Maybe it's just a bug and
not a feature:-)
metze
(This used to be commit 6793109212
)
2008-07-16 12:16:58 +02:00
Stefan Metzmacher
ddce2beba8
libnet/become_dc: an unknown field in drsuapi.idl changed to object_flags
...
metze
(This used to be commit a6198ab6cb
)
2008-07-16 12:15:50 +02:00
Stefan Metzmacher
c8a1254db8
become_dc: we need to replicate using krb5 auth to work against w2k
...
With NTLMSSP we just get strange responses with a random object count
and a NULL object list. On the domain partition where we try to replicate
the password fields.
metze
(This used to be commit ce12a91051
)
2008-07-16 12:12:29 +02:00
Andrew Bartlett
532899386b
Use secrets.ldb to store credentials to contact LDAP backend.
...
This makes Samba4 behave much like Samba3 did, and use a single set of
administrative credentials for it's connection to LDAP.
Andrew Bartlett
(This used to be commit e396a59788
)
2008-07-15 15:07:13 +10:00
Andrew Bartlett
44ea6a26fd
rename sambaPassword -> userPassword.
...
This attribute is used in a very similar way (virtual attribute
updating the password) in AD on Win2003, so eliminate the difference.
This should not cause a problem for on-disk passwords, as by default
we do not store the plaintext at all.
Andrew Bartlett
(This used to be commit 1cf0d75149
)
2008-07-12 15:26:42 +10:00
Michael Adam
24caf1178a
libnet_domain: eliminate "discards qualifier" warning (const).
...
Michael
(This used to be commit ea99590046
)
2008-07-09 16:00:24 +02:00
Stefan Metzmacher
c88ec856bd
drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)
...
metze
(This used to be commit d41b3dd6ff
)
2008-06-30 17:40:01 +02:00
Simo Sorce
2daf2897d5
Use a custom init function for samba4 that sets a samba4
...
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308
)
2008-06-14 13:00:53 -04:00
Simo Sorce
929adc9efa
Make up the right dependencies now that ldb depends on libevents
...
(This used to be commit 3b8eec7ca3
)
2008-06-14 11:59:19 -04:00
Andrew Bartlett
be14efbdf9
Revert Jelmer's CFLAGS commit e2b71a0ecb
...
This commit broke the build, because not all files (libreplace, popt)
were updated.
Andrew Bartlett
(This used to be commit 3faacf4351
)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
39f50afc57
Move CFLAGS handling out of smb_build.
...
(This used to be commit e2b71a0ecb
)
2008-05-30 02:07:28 +02:00
Jelmer Vernooij
b8310221c6
Add docstring for samba.net.Join
...
(This used to be commit 382de54553
)
2008-05-23 00:37:30 +02:00
Jelmer Vernooij
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48
)
2008-05-21 23:59:34 +02:00
Andrew Bartlett
343fea32cc
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
Fix config.mk due to changing syntax.
Conflicts:
source/libcli/config.mk
source/nbt_server/config.mk
(This used to be commit 6a1c76f29f
)
2008-05-20 08:03:35 +10:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b5211994
)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9
)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
100d3967d3
Use src dir.
...
(This used to be commit 63f2b66f0e
)
2008-05-18 19:10:37 +02:00
Jelmer Vernooij
4d2f44163e
Use variables for source path in libnet/ and scripting/python.
...
(This used to be commit fb10a81b94
)
2008-05-18 19:07:07 +02:00
Andrew Bartlett
58e7f253ea
Rework the CLDAP and NBT netlogon requests and responses.
...
This now matches section 7.3.3 of the MS-ATDS specification, and all
our current tests pass against windows. There is still more testing
to do, and the server implementation to complete.
Andrew Bartlett
(This used to be commit 431d0c0396
)
2008-05-16 13:03:01 +10:00
Kai Blin
240d959005
libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
...
(This used to be commit 5f3a70f285
)
2008-04-24 11:17:23 +02:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down the code.
...
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162
)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a2
)
2008-04-17 12:23:44 +02:00
Jelmer Vernooij
1efbd5fbf6
Remove event context tracking from the credentials struct.
...
(This used to be commit 4d7fc946b2
)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
18f8f5d656
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 1ef3830bb0
)
2008-04-14 20:00:32 +02:00
Andrew Bartlett
68a2c547d0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 0f0c8519b8
)
2008-04-14 19:32:42 +02:00
Simo Sorce
4f51b0246d
Fix problems with event context not being the parent.
...
(This used to be commit 957c4d893a
)
2008-04-14 12:45:51 -04:00
Andrew Bartlett
b54e6a8155
Ensure we initialise s->lp_ctx for the way into the provision.
...
Andrew Bartlett
(This used to be commit b191a1953c
)
2008-04-14 17:58:09 +02:00
Jelmer Vernooij
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054
)
2008-04-14 17:22:58 +02:00
Andrew Bartlett
a1a3089199
Use the python-provided ldb and lp_ctx pointers in libnet_vampire.c
...
By using the already open smb.conf and sam.ldb, we not only avoid
overhead, but also remove the risk we could touch a different
database.
Andrew Bartlett
(This used to be commit 38634183a0
)
2008-04-11 19:15:24 +10:00
Andrew Bartlett
8a982108a4
Link the new vampire code togeather.
...
This adds in the newly attached secrets handling, as well as an
interface to the command line 'net' tool.
Andrew Bartlett
(This used to be commit 1282e3c394
)
2008-04-09 14:59:32 +10:00
Andrew Bartlett
29b25a1b04
Factor out filling in the secrets database.
...
This allows the vampire code to start with a join, but fill in the
secrets only when the process is compleated.
Andrew Bartlett
(This used to be commit c90751040e
)
2008-04-09 14:56:24 +10:00
Andrew Bartlett
5eda5e5197
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 58e00594d8
)
2008-04-09 12:03:36 +10:00
Andrew Bartlett
2f8ac9a422
Start implementation of real 'net vampire' code.
...
This will use DRS Replication (metze's thesis work) and possibly
samsync, and will work outside the smbtorture process.
Andrew Bartlett
(This used to be commit 02a33165ca
)
2008-04-09 12:02:11 +10:00
Jelmer Vernooij
8db14bf26b
Add manually written Python binding for libnet_Join.
...
(This used to be commit 374654b43d
)
2008-04-08 05:16:07 +02:00
Jelmer Vernooij
236fc02913
Reduce the number of installed headers.
...
(This used to be commit 2243e24024
)
2008-04-02 13:41:10 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Andrew Kroeger
8f8c56bfbc
Convert some more files to GPLv3.
...
(This used to be commit ebe5e83994
)
2008-03-28 01:08:49 -05:00
Stefan Metzmacher
2fd5992038
swig: regenerate _wrap.c files
...
metze
(This used to be commit 08b41e1069
)
2008-03-14 14:33:55 +01:00
Andrew Bartlett
359be70ed7
Report binding in libnet failure message.
...
Andrew Bartlett
(This used to be commit def46f6852
)
2008-03-13 14:13:31 +11:00
Jelmer Vernooij
1ada710840
Move public header accumulation out of the perl code.
...
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.
Conflicts:
source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk
(This used to be commit 6c659689ed
)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
7e04591520
Remove use of global_loadparm.
...
(This used to be commit 3cf3922c80
)
2008-02-28 21:02:49 +01:00
Jelmer Vernooij
fc6bc92e11
Merge branch 'v4-0-trivial' into v4-0-test
...
(This used to be commit 6cbb241c05
)
2008-02-28 18:27:29 +01:00
Andrew Bartlett
2a209a6a9d
Ensure we don't try and set the acct_flags if they are 0 (meaning
...
unchanged in this interface).
We seem to have two very similar interfaces here, and this is the
poorer interface, for this reason.
Andrew Bartlett
(This used to be commit 582073eff1
)
2008-02-28 10:43:57 +11:00
Jelmer Vernooij
10169a2030
Remove more global_loadparm instance.s
...
(This used to be commit a1280252ce
)
2008-02-21 17:54:24 +01:00
Jelmer Vernooij
08c8d3b992
Remove Samba 3 backwards compatibility code in C.
...
This code is no longer used, and equivalent code already exists in Python
(scripting/python/samba/samba3.py)
(This used to be commit c16212e8bf
)
2008-02-11 13:51:09 +01:00
Andrew Bartlett
d08eabdf91
Remove the forced 'krb5' from the NET-API-BECOME-DC test.
...
If we want to try this authenication mechanism, we can always manually
specify the binding string.
Andrew Bartlett
(This used to be commit 191d56d41e
)
2008-02-09 14:13:23 +11:00
Andrew Bartlett
8bceed449d
Fix segfaults in codepaths only tested by the NET-API-BECOME-DC test.
...
(I presume this has resulted from the global variable elimination)
Perhaps the iconv handle argument to ndr_push_struct needs to be
marked as 'not NULL' or similar?
Andrew Bartlett
(This used to be commit e8081333b8
)
2008-01-23 15:34:44 +11:00
Jelmer Vernooij
35c6831644
python: Avoid duplicate copies of some objects in different packages.
...
(This used to be commit bd293cde1b
)
2008-01-22 16:21:54 +01:00
Jelmer Vernooij
03023c4f7d
build: Demote a bunch of libraries to subsystems. This makes packaging easier and should also make it easier
...
to migrate to a new build system.
(This used to be commit 77b400764e
)
2008-01-21 03:54:42 +01:00
Kai Blin
ed4fde2acc
libnet: Rename a variable so it does not shadow a global.
...
(This used to be commit a5b9d2f332
)
2008-01-11 11:12:52 +01:00
Rafal Szczesniak
d6b91ac202
r26693: Add (untested) libnet_rpc_groupdel function.
...
rafal
(This used to be commit e940b1020a
)
2008-01-08 04:27:01 -06:00
Jelmer Vernooij
2c8c9a5355
r26669: Janitorial: Remove uses of global_loadparm.
...
(This used to be commit 50c46160d9
)
2008-01-05 09:42:02 -06:00
Jelmer Vernooij
7d5f0e0893
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
...
(This used to be commit 2f29f80e07
)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
86dc05e99f
r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
...
(This used to be commit 61ad78ac98
)
2008-01-01 16:12:11 -06:00
Rafal Szczesniak
3a0a6e810a
r26633: A couple of fixes in comments.
...
(This used to be commit 9ff6568f95
)
2007-12-30 13:21:01 -06:00
Rafal Szczesniak
fcb8285339
r26632: Add libnet_CreateGroup function.
...
(This used to be commit b8e115a920
)
2007-12-30 13:18:01 -06:00
Jelmer Vernooij
68b6982704
r26624: libnet/python: Use standard function for constructing context, allow overriding credentials.
...
(This used to be commit a5fb3caede
)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
c2d16f46a3
r26619: Add Python bindings for libnet. No tests yet and no way to set the parameters...
...
(This used to be commit 9de0a153e9
)
2007-12-28 09:42:02 -06:00
Jelmer Vernooij
de9c8930a6
r26573: Fix warnings.
...
(This used to be commit 874f0ac056
)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
0500b87092
r26540: Revert my previous commit after concerns raised by Andrew.
...
(This used to be commit 6ac86f8be7
)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc
r26539: Remove unnecessary statics.
...
(This used to be commit e53e79eebe
)
2007-12-21 05:52:05 +01:00
Rafal Szczesniak
1385a75409
r26532: Fix mistake in assignment.
...
(This used to be commit 4d0ff8e375
)
2007-12-21 05:51:55 +01:00
Rafal Szczesniak
cad1e11959
r26519: Add libnet_GroupList function. Totally untested (yet), but
...
it builds for start.
(This used to be commit 4e1054dc62
)
2007-12-21 05:51:25 +01:00
Jelmer Vernooij
71e2cafe96
r26483: Merge ldb module dependency fixes, fix auth python module.
...
(This used to be commit 85eeecf997
)
2007-12-21 05:50:41 +01:00
Jelmer Vernooij
2331f4e9a5
r26442: Remove use of global_loadparm.
...
(This used to be commit 2962a6143c
)
2007-12-21 05:50:09 +01:00
Jelmer Vernooij
84b4763947
r26441: Remove global_loadparm uses.
...
(This used to be commit 32007c6277
)
2007-12-21 05:50:09 +01:00
Jelmer Vernooij
70ccac0f05
r26435: Remove global_loadparm instance.
...
(This used to be commit 66fd8d480b
)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
a2cea02584
r26430: require explicit specification of loadparm context.
...
(This used to be commit 1b947fe0e6
)
2007-12-21 05:49:58 +01:00
Jelmer Vernooij
a5b8999f23
r26427: Avoid global_smb_iconv_convenience.
...
(This used to be commit bf072c6fb3
)
2007-12-21 05:49:53 +01:00
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de
)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
33582dffcc
r26408: Remove use of global_loadparm.
...
(This used to be commit f933b43621
)
2007-12-21 05:49:39 +01:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a4
)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
949f3c7264
r26333: No more global_loadparm in finddcs.
...
(This used to be commit 0c91026e58
)
2007-12-21 05:48:45 +01:00
Jelmer Vernooij
6c77f353d3
r26328: remove more uses of global_loadparm.
...
(This used to be commit 40ae12c086
)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
4c4323009f
r26327: Explicit loadparm_context for RPC client functions.
...
(This used to be commit eeb2251d22
)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
41db2ab12c
r26319: Split encoding functions out of libcli_ldap.
...
(This used to be commit 95a6ef7fc8
)
2007-12-21 05:48:33 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b
)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
9ebcd7a0df
r26277: Move loadparm context higher up the stack.
...
(This used to be commit 38fa08310c
)
2007-12-21 05:48:03 +01:00
Jelmer Vernooij
da0f222f43
r26271: Remove some more uses of global_loadparm.
...
(This used to be commit e9875fcd56
)
2007-12-21 05:47:53 +01:00
Jelmer Vernooij
1fbdd6ef1d
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
...
(This used to be commit c7eae1c784
)
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
fface33dd7
r26231: Spell check: credentails -> credentials.
...
(This used to be commit 4b46888bd0
)
2007-12-21 05:47:09 +01:00
Jelmer Vernooij
991ee1aff0
r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
...
(This used to be commit 5718b6cfee
)
2007-12-21 05:46:51 +01:00
Andrew Bartlett
25143a2648
r26135: Remove samdb_add(), samdb_delete() and samdb_modify(), which were just
...
wrappers to ldb_add() etc. samdb_replace() remains, as it sets flags on
all entries as 'replace'.
Andrew Bartlett
(This used to be commit 09c0faa5b7
)
2007-12-21 05:46:17 +01:00
Jelmer Vernooij
ca0b72a1fd
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
...
(This used to be commit 56dfcb4f2f
)
2007-12-21 05:45:40 +01:00
Stefan Metzmacher
529763a9aa
r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
...
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/
metze
(This used to be commit 6223c7fddc
)
2007-12-21 05:45:02 +01:00
Stefan Metzmacher
1e14ad7cfe
r25823: remove unneeded nesting by using error and out logic
...
metze
(This used to be commit 86db839382
)
2007-12-21 05:44:13 +01:00
Günther Deschner
f2002541ce
r25803: Make our security descriptor acl manipulation methods more generic so that we
...
can add and delete ACEs for SACLs as well as for DACLs.
Guenther
(This used to be commit 947fff9941
)
2007-12-21 05:44:06 +01:00
Günther Deschner
a6c4b9d179
r25607: Allow to set security descriptor type flags at creation time with
...
security_descriptor_create().
Guenther
(This used to be commit 7dd0d28d25
)
2007-12-21 05:42:51 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
2f3551ca7c
r25446: Merge some changes I made on the way home from SFO:
...
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e77
)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9
)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Rafal Szczesniak
353c00dc1f
r25367: Add initial implementation of internal group add function.
...
rafal
(This used to be commit 05624840c7
)
2007-10-10 15:07:19 -05:00
Rafal Szczesniak
cc6881b8ea
r25356: Conversion from the old-style composite functions take 2.
...
Let's find out if NET-USERMOD test passes this time on
the build farm...
rafal
(This used to be commit 6ab46e91ac
)
2007-10-10 15:07:17 -05:00
Rafal Szczesniak
7f894169d9
r25315: Revert my last change until I find out what's causing the
...
problem spotted by the builfarm.
rafal
(This used to be commit 39359391af
)
2007-10-10 15:07:13 -05:00
Rafal Szczesniak
a23b4958c0
r25312: Replace the old-style composite calls.
...
rafal
(This used to be commit 0a8531404f
)
2007-10-10 15:07:13 -05:00
Jelmer Vernooij
9b009c9009
r25301: Merge my includes.h cleanups.
...
(This used to be commit 37425495f3
)
2007-10-10 15:07:09 -05:00
Rafal Szczesniak
21dd06471b
r25256: Fix missing field set in libnet_ModifyUser routine.
...
Submitted by Matthias Dieter Wallnoefer <mwallnoefer@yahoo.de>
rafal
(This used to be commit 4fe47e4f97
)
2007-10-10 15:07:00 -05:00
Jeremy Allison
9a012df08e
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
(This used to be commit 0844dbf597
)
2007-10-10 15:06:46 -05:00
Andrew Bartlett
37de963f67
r25048: From the archives (patch found in one of my old working trees):
...
Try two different DNs, when performing a samsync from an AD server.
Andrew Bartlett
(This used to be commit 8204e261b5
)
2007-10-10 15:05:49 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97
)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
959915a8cb
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
...
(This used to be commit 0bcb21ed74
)
2007-10-10 15:05:28 -05:00
Rafal Szczesniak
b42691ee16
r24732: Add comments and fix memory leak.
...
rafal
(This used to be commit 07b52b3606
)
2007-10-10 15:03:00 -05:00
Jelmer Vernooij
61ffa08f4c
r24712: No longer expose the 'BOOL' data type in any interfaces.
...
(This used to be commit 1ce32673d9
)
2007-10-10 15:02:54 -05:00
Rafal Szczesniak
9a02cc10e1
r24680: fix a couple of stupid typos from previous commit.
...
rafal
(This used to be commit b21b322e4c
)
2007-10-10 15:02:40 -05:00
Rafal Szczesniak
e104b1fedf
r24679: Add (raw and untested) implementation of libnet_GroupInfo function.
...
rafal
(This used to be commit 80479eee25
)
2007-10-10 15:02:39 -05:00
Stefan Metzmacher
f14bd1a90a
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
(This used to be commit 84651aee81
)
2007-10-10 15:02:15 -05:00
Rafal Szczesniak
91657bfd51
r24554: Add internal implementation (before api function) of group
...
info call.
rafal
(This used to be commit 75f81f862e
)
2007-10-10 15:02:13 -05:00
Stefan Metzmacher
b8cdadced4
r24551: rename dcerpc_interface_table -> ndr_interface_table
...
rename dcerpc_interface_list -> ndr_interface_list
and move them to libndr.h
metze
(This used to be commit 4adbebef5d
)
2007-10-10 15:02:12 -05:00
Andrew Bartlett
e0779e2d3b
r24127: Set the Domain SID into the libnet context, and have libnet_UserInfo
...
return full SIDs for the user SID and primary group sid.
This should help kai with his getpwnam work in winbind.
Andrew Bartlett
(This used to be commit 078671d501
)
2007-10-10 15:01:27 -05:00
Rafal Szczesniak
a47313851f
r24051: more monitor function calls and monitor msg names
...
convention change.
rafal
(This used to be commit 6ab10b2ed2
)
2007-10-10 15:01:18 -05:00
Andrew Bartlett
4a517b1433
r24011: Keep the connect handle around in libnet, in case we want it.
...
Andrew Bartlett
(This used to be commit e6ccdb6cea
)
2007-10-10 15:01:17 -05:00
Rafal Szczesniak
0d80514173
r23959: add more monitor messages support that's been sitting around on my
...
laptop for a while.
rafal
(This used to be commit c257363adb
)
2007-10-10 15:01:11 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Rafal Szczesniak
62b3aaa2e0
r23292: check for errors returned in a call result.
...
rafal
(This used to be commit 18c5341fad
)
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
40cd2d7780
r22944: fix bug #4618 :
...
rename private -> private_data
metze
(This used to be commit 58551f2f28
)
2007-10-10 14:52:30 -05:00
Rafal Szczesniak
7e14a25dc6
r22811: two more memory allocation checks.
...
rafal
(This used to be commit d66b13f6fa
)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
945cb016a4
r22809: use buffer size specified in libnet context.
...
rafal
(This used to be commit c78dfd3567
)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
7c636fd2fe
r22808: store default buffer size for samr operations in libnet context.
...
This allows not requiring it as an argument in some function calls
and still enables specifying any size if it's necessary via libnet
context.
rafal
(This used to be commit 3e4b0c5b3b
)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
6bf83794e5
r22804: convert libnet_rpc_userinfo function to use "continue" functions
...
instead of a single handler.
rafal
(This used to be commit c27c0523ac
)
2007-10-10 14:52:18 -05:00
Rafal Szczesniak
665065a1df
r22764: - replace talloc_zero with composite_create
...
- use event context provided with libnet context instead of creating
a new one
rafal
(This used to be commit ce8414b3da
)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
da7f449a07
r22763: replace talloc_zero calls with composite_create and add more
...
allocation checks.
rafal
(This used to be commit 621f3e5674
)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
0ad4c05508
r22735: correct some comments
...
rafal
(This used to be commit 6d4268bcd3
)
2007-10-10 14:52:07 -05:00
Rafal Szczesniak
fbe82f1375
r22734: - use samr pipe if it is already opened
...
- close connection handle after domains enumeration
- collect domain names in subsequent rounds of enumeration
(if there are more than one)
rafal
(This used to be commit 5ab76ce515
)
2007-10-10 14:52:07 -05:00
Rafal Szczesniak
d02dc1b674
r22672: use composite_create calls instead of talloc_zero.
...
rafal
(This used to be commit 969b175c73
)
2007-10-10 14:52:00 -05:00
Stefan Metzmacher
aa95279b81
r22669: fix uninitialized element which was causing a crash with 'net password set'
...
metze
(This used to be commit 9bbe473356
)
2007-10-10 14:51:59 -05:00
Rafal Szczesniak
c66fae011f
r22565: add libnet_DomainList function.
...
rafal
(This used to be commit b17da3b7da
)
2007-10-10 14:51:44 -05:00
Stefan Metzmacher
aad487ac94
r22536: resolve name before passing to cldap
...
metze
(This used to be commit 2d28258406
)
2007-10-10 14:51:39 -05:00
Rafal Szczesniak
29c2744f96
r22519: convert libnet_DomainOpenSamr function from state-handling routine
...
to composite_continue.
rafal
(This used to be commit 4a2839d95d
)
2007-10-10 14:51:36 -05:00
Stefan Metzmacher
2acf0d6537
r22437: fix dependencies
...
metze
(This used to be commit ca6594eb6b
)
2007-10-10 14:51:19 -05:00
Stefan Metzmacher
41c5453507
r21839: add my email address
...
metze
(This used to be commit e3be33c1d9
)
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
37f2d53528
r21827: move comments to the place where the functionality is implemented
...
metze
(This used to be commit 5d49d8b9e1
)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
63fd883e54
r21826: reorder functions
...
metze
(This used to be commit 3d0a810ccd
)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
31c674bffc
r21821: move comment about the becoming a dc to the code which implements it
...
and extent the comments a bit
metze
(This used to be commit 16c958600e
)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
952a90814f
r21820: move function, so that all are in top-down order as they get called
...
metze
(This used to be commit 38bb7f5445
)
2007-10-10 14:49:32 -05:00
Jelmer Vernooij
fd2d095048
r21541: Export mgmt, samr and atsvc for use in samba-gtk.
...
(This used to be commit 7f451cbb8d
)
2007-10-10 14:48:55 -05:00
Stefan Metzmacher
815d3f2e68
r21538: this looks better...
...
metze
(This used to be commit 8ddfbbcb93
)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
d92bc6db36
r21516: - use the same assoc_group_id, for all 3 drsuapi connection
...
- use the PFC_CONC_MPX flag for the 3rd connection
- to DsGetNCChanges requests on the 3rd connection with the bind handle
from the 2nd connection to match w2k3
metze
(This used to be commit 5071af332c
)
2007-10-10 14:48:48 -05:00
Stefan Metzmacher
3b14713f6d
r21362: rename:
...
"ntPwdHash" => "unicodePwd"
"lmPwdHash" => "dBCSPwd"
"sambaLMPwdHistory" => "lmPwdHistory"
"sambaNTPwdHistory" => "ntPwdHistory"
Note: you need to reprovision after this change!
metze
(This used to be commit dc4242c09c
)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
eee140d7da
r21300: let the caller decide if it wants rid decrypted hashes or not
...
metze
(This used to be commit 8711d01ffd
)
2007-10-10 14:48:05 -05:00
Stefan Metzmacher
5a61821e7e
r21295: pass down the gensec session key to the store_chunk hook
...
metze
(This used to be commit 91de959173
)
2007-10-10 14:48:03 -05:00
Stefan Metzmacher
c672e06cd5
r21293: store the gensec session key for each drsuapi connection
...
metze
(This used to be commit d399739820
)
2007-10-10 14:48:02 -05:00
Stefan Metzmacher
78eb31a8f0
r21292: add become_dc:print = yes option to dump out the drsuapi traffic
...
metze
(This used to be commit 5065a9b5ff
)
2007-10-10 14:48:02 -05:00
Andrew Bartlett
728ff99fe3
r21255: Add a debugging option to avoid rid decryption in the samsync output.
...
Andrew Bartlett
(This used to be commit 9e15a51579
)
2007-10-10 14:44:55 -05:00
Andrew Bartlett
e473050052
r21175: Fix the kerberos keytab update code to handle deletes.
...
Fix the join code to know that the ldb layer handles the keytab update.
Andrew Bartlett
(This used to be commit d3fbc089f4
)
2007-10-10 14:44:42 -05:00
Volker Lendecke
c2c8650825
r21141: Attempt to fix the build
...
(This used to be commit 3f41a4b014
)
2007-10-10 14:44:33 -05:00
Andrew Bartlett
d2bfa66119
r20964: Show the domain name we figured out, rather than a null pointer (in
...
some error cases)
Andrew Bartlett
(This used to be commit 4195839d1a
)
2007-10-10 14:44:04 -05:00
Stefan Metzmacher
e0efa2c97a
r20714: we can use talloc_asprintf_append() again, because strupper_talloc()
...
creates string with the correct memory size without padding zero bytes
at the end
metze
(This used to be commit df8e97014b
)
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
faf57b1dc5
r20708: fix crash bug! we can't use stack memory for async requests...
...
jelmer: please take more care when you fix pidl warnings:-)
metze
(This used to be commit 05da114ea8
)
2007-10-10 14:40:29 -05:00
Jelmer Vernooij
e8d2437cd5
r20676: Add ref pointer to fix warning.
...
(This used to be commit 1afcf85067
)
2007-10-10 14:40:19 -05:00
Stefan Metzmacher
927e163670
r20570: use talloc_asprintf() instead of talloc_asprintf_append()
...
because talloc_asprintf_append() doesn't work like talloc_append_string()
which uses strlen() on the old string instead of (tc->size - 1)
This matter in this case because strlower_talloc() over allocates
tridge: how should we fix this in lib/talloc/?
metze
(This used to be commit 1748af20b1
)
2007-10-10 14:37:03 -05:00
Stefan Metzmacher
536ca21c55
r20504: we handle the attribute values always as DATA_BLOB's and
...
don't need the union with the attribute id as switch anymore
metze
(This used to be commit d47c81923d
)
2007-10-10 14:36:01 -05:00
Stefan Metzmacher
16d6d8d4c5
r20484: get rid of the special case for DN strings
...
metze
(This used to be commit 4c2addf2dd
)
2007-10-10 14:35:59 -05:00
Stefan Metzmacher
d70852659b
r20476: get rid of extra case for uint32 values
...
metze
(This used to be commit 13ccd405b5
)
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
2754a73d22
r20475: remove special case for GUID values
...
metze
(This used to be commit b7ab1c0039
)
2007-10-10 14:35:56 -05:00
Stefan Metzmacher
2206a7d592
r20418: start to get step by step rid of the union for the attribute
...
specific attribute values.
start with ntSecurityDescriptor
metze
(This used to be commit c72f5a16b4
)
2007-10-10 14:30:33 -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 77169958fc
)
2007-10-10 14:30:22 -05:00
Rafal Szczesniak
37457a0f07
r20328: use prereq function instead of local implementation.
...
rafal
(This used to be commit f79dcd41e7
)
2007-10-10 14:29:41 -05:00
Andrew Bartlett
728e4e311c
r20294: Without this we don't do the ADS join against Win2k3 SP1
...
Andrew Bartlett
(This used to be commit 7a7f1a9764
)
2007-10-10 14:29:33 -05:00
Stefan Metzmacher
7cb96a785f
r20293: implement store chunk hook for libnet_BecomeDC()
...
metze
(This used to be commit aba497f2fd
)
2007-10-10 14:29:33 -05:00
Stefan Metzmacher
ce38e5368e
r20292: set ntds_dn_str if DsAddEntry() was successful
...
metze
(This used to be commit 5cb5986067
)
2007-10-10 14:29:33 -05:00
Stefan Metzmacher
fdf95ba005
r20291: implement prepare_db hook of libnet_BecomeDC()
...
metze
(This used to be commit 07f1075d46
)
2007-10-10 14:29:32 -05:00
Stefan Metzmacher
64ba98bbd4
r20285: pass more info to check_options hook and move behavior versions etc.
...
to the domain and forest structures
metze
(This used to be commit 15157bf5b9
)
2007-10-10 14:29:32 -05:00
Stefan Metzmacher
4973fbe773
r20283: pass in callbacks to libnet_BecomeDC() from the caller
...
and implement the check_options call
metze
(This used to be commit fc9669e2a0
)
2007-10-10 14:29:31 -05:00
Stefan Metzmacher
ceaf036f42
r20282: prepare callback infrastructure to check if the forest/domain
...
behaviors and the schema version is what the caller expects.
also a callback prepares the new database and commits chunks
to the partitions
metze
(This used to be commit 9b5116be2e
)
2007-10-10 14:29:31 -05:00
Stefan Metzmacher
88ef467282
r20251: I found out that the oid-prefix to uint32-id-prefix mapping is transferred
...
in replication replies, but I don't know the exact encoding.
for example the oids are transferred as:
2.5.4 => uint8_t v[] = { 0x55, 0x04 };
2.5.5 => uint8_t v[] = { 0x55, 0x05 };
2.5.6 => uint8_t v[] = { 0x55, 0x06 };
2.5.18 => uint8_t v[] = { 0x55, 0x12 };
2.5.20 => uint8_t v[] = { 0x55, 0x14 };
2.5.21 => uint8_t v[] = { 0x55, 0x15 };
1.2.840.113556.1.2 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x02 };
1.2.840.113556.1.3 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x03 };
1.2.840.113556.1.4 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x04 };
1.2.840.113556.1.5 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05 };
1.2.840.113556.1.5.7000 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05, 0xb6, 0x58 };
1.2.840.113549.1.9 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09 };
2.16.840.1.113730.3 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03 };
2.16.840.1.113730.3.1 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x01 };
2.16.840.1.113730.3.2 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x02 };
0.9.2342.19200300.100.1 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01 };
0.9.2342.19200300.100.4 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x04 };
1.3.6.1.4.1.250.1 => uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x81, 0x7a, 0x01 };
1.3.6.1.4.1.1466.101.119=> uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x8b, 0x3a, 0x65, 0x77 };
if someone knows how the encoding works, please tell me:-)
I assume some ASN.1 encoding...
metze
(This used to be commit aa720a1531
)
2007-10-10 14:29:27 -05:00
Stefan Metzmacher
f767a508a6
r20225: we can't use composite_error() in a _recv() function, as that would
...
trigger the caller to call the _recv() function again and will be an endless
loop.
this is just a fix the to prevent this, and use a more usefull error code
than NT_STATUS_UNSUCCESSFUL
I think we should move the checks about valid responses into the function
which receives the the response (here continue_name_found()),
so that the _recv() function only needs to transfer the output vars to the caller
without any logic to analyse the network response.
metze
(This used to be commit c02048f480
)
2007-10-10 14:29:25 -05:00
Rafal Szczesniak
56d768842e
r20222: return status unsuccessful when null pointers are returned
...
from lookup call.
rafal
(This used to be commit 0eb605cf42
)
2007-10-10 14:29:24 -05:00
Stefan Metzmacher
ba1be45aa2
r20205: remove unused var
...
metze
(This used to be commit a77e1bd1b4
)
2007-10-10 14:29:22 -05:00
Stefan Metzmacher
6e8a88fe2e
r20204: use symbolic constant
...
metze
(This used to be commit a816c2973a
)
2007-10-10 14:29:22 -05:00
Stefan Metzmacher
1a1027b824
r20182: make the composite api usage more consistant (only cosmetic change)
...
metze
(This used to be commit 1f67433914
)
2007-10-10 14:29:18 -05:00
Rafal Szczesniak
9775696af1
r20177: return the actual function status code.
...
rafal
(This used to be commit 2d046cc0df
)
2007-10-10 14:29:18 -05:00
Stefan Metzmacher
bdafdec2bb
r20166: we have a dom_sid_add_rid() function that adds the rid after allocating
...
enough memory for the new sub_auth element.
the old version wrote behind the buffer.
also make the output sid a pointer.
metze
(This used to be commit b9901d5f8c
)
2007-10-10 14:29:17 -05:00
Rafal Szczesniak
5ff19e8ca4
r20162: Always return some error string.
...
rafal
(This used to be commit 0c37360577
)
2007-10-10 14:29:16 -05:00
Rafal Szczesniak
1dd09da392
r20161: Prevent potential segfault in case account is unknown.
...
rafal
(This used to be commit 9f5f9ee9b4
)
2007-10-10 14:29:16 -05:00
Stefan Metzmacher
f1317dadc0
r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
...
but that's not needed untill we can support the DsGetNCChanges()
in the server...
metze
(This used to be commit 9c3267e17f
)
2007-10-10 14:29:14 -05:00
Rafal Szczesniak
6de9ae9e43
r20138: return the proper status for the other functions as well.
...
rafal
(This used to be commit 0b82b9dba1
)
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
3dde7ab2c0
r20137: return the proper status.
...
rafal
(This used to be commit e635f5aeaf
)
2007-10-10 14:29:13 -05:00
Andrew Bartlett
334f78d206
r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
...
particular to verify more expected results.
Also return more details from the join process. Now we also return
the machine account's GUID.
Andrew Bartlett
(This used to be commit 5b32f102af
)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
d23f3119a9
r20109: let libnet_BecomeDC() work against w2k servers
...
metze
(This used to be commit d295239861
)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
d4ac51982c
r20105: remove useless comments
...
metze
(This used to be commit d70140ed07
)
2007-10-10 14:29:07 -05:00
Rafal Szczesniak
47e03d96a2
r20103: Change the returned type of prerequisite checking functions,
...
as metze once suggested.
rafal
(This used to be commit 1f3fd5f854
)
2007-10-10 14:29:06 -05:00
Andrew Bartlett
e8e61a414a
r20102: Do not reference remote_ldb before we initialise it. This should fix
...
up many of the build farm failures.
Andrew Bartlett
(This used to be commit 924af98ffa
)
2007-10-10 14:29:06 -05:00
Andrew Bartlett
1e6807d8a1
r20099: Add some comments, and correct others.
...
Andrew Bartlett
(This used to be commit d1b1a4c059
)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
04b50f0f0d
r20095: make a complete copy of the binding string
...
metze
(This used to be commit b0ee130892
)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
8b137ba30a
r20088: implement DsReplicaUpdateRefs() calls for all partitions
...
metze
(This used to be commit 557bb80089
)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
7312cda3b3
r20086: pull domain partition
...
metze
(This used to be commit 8b03b3a196
)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
9e426649c5
r20085: add _part to structure elements
...
metze
(This used to be commit de2f9869b5
)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
d26ac7b937
r20084: pull the config partition
...
metze
(This used to be commit d770effb89
)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
3155ded048
r20083: move function together which belong to each other
...
metze
(This used to be commit 0c4a7d713d
)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
662ea9f1c7
r20081: pull the whole schema partition
...
metze
(This used to be commit 2f1ec24d77
)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
d3c9737e5b
r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
...
this wasn't noticed because on the 1st dc in the forest both have the
same value
metze
(This used to be commit 527bd9a0a3
)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
3fd9c96342
r20075: start pulling the schema content.
...
Note: we're not doing the "use the policy handle on a different connection"
trick, which w2k3 use
metze
(This used to be commit 1e4abd6a91
)
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
6011531ac6
r20073: update the computer_dn_str after ldb_rename()
...
metze
(This used to be commit c40bc7d287
)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
048279b2be
r20071: move common code into a function
...
metze
(This used to be commit 61c312a943
)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
1e17f6ed38
r20070: implement the 2nd and 3rd drsuapi connection
...
metze
(This used to be commit 6b84a5b595
)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
99390be80c
r20068: handle DsAddEntry() errors
...
metze
(This used to be commit 45466871b4
)
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
3aedc80896
r20067: use a global zero_sid
...
metze
(This used to be commit 5ebf76d23e
)
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
81a3bd7bc8
r20066: use the same sid "Domain Admins" for the security_descriptor
...
metze
(This used to be commit 58ae1bedf1
)
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
0df2c30821
r20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)
...
metze
(This used to be commit e8c77b5cba
)
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
553e339f0d
r20061: use a DsBindInfo28 structure
...
metze
(This used to be commit e8c1457797
)
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
ac98f84de7
r20056: send a DsBindInfo28 struct in the DsBind() and take care of the DsBindInfo
...
the remote end sends back
metze
(This used to be commit ff27129792
)
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
383cbaa6b0
r20055: implement dummy DsAddEntry call (without attributes yet)
...
metze
(This used to be commit 8441500a32
)
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
496b65d593
r20053: implement the DsBind on the 1st drsuapi connection
...
metze
(This used to be commit f66f9c2150
)
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
85497ed8cb
r20052: implement the first drsuapi connection
...
metze
(This used to be commit 96e5d89655
)
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
840ef0d5cf
r20051: handle the case where the server object exist, but doesn't have a serverReference
...
metze
(This used to be commit e5729a29fd
)
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
bb725bbe01
r20045: implement the drsuapi_DsRemoveDSServer() call
...
metze
(This used to be commit deb85414c4
)
2007-10-10 14:28:54 -05:00
Stefan Metzmacher
b3f6211f86
r20044: implement the drsuapi connect and ds_bind
...
metze
(This used to be commit 69f1b8d388
)
2007-10-10 14:28:54 -05:00
Stefan Metzmacher
20f55aaad8
r20043: when becoming a dc:
...
- implement set userAccountControl = UF_SERVER_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION
- implement moving to CN=Domain Controllers
metze
(This used to be commit c4037880a0
)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
047f2c7091
r20042: move the computer account to the CN=Computers container if needed
...
metze
(This used to be commit f901956598
)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
a99d5b799b
r20041: when unbecoming a dc:
...
- implement lookup the computer object
- set userAccountControl = UF_WORKSTATION_TRUST_ACCOUNT if needed
metze
(This used to be commit 3a64eb4e8c
)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
584446d5b1
r20040: uncomplete implementation start for libnet_UnbecomeDC()
...
metze
(This used to be commit f66a93ec0b
)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
1027451d52
r20031: - implement earching for an existing server object
...
- implement adding a server object
metze
(This used to be commit 6d5a1f11e7
)
2007-10-10 14:28:50 -05:00
Stefan Metzmacher
d0be12ad50
r20030: - implement the computer object search
...
- fix a source vs. dest dsa bug
metze
(This used to be commit ef9d9799a4
)
2007-10-10 14:28:50 -05:00
Stefan Metzmacher
408db037ac
r20029: - implement source_dsa site object search
...
metze
(This used to be commit c6166a5641
)
2007-10-10 14:28:49 -05:00
Stefan Metzmacher
bb6f3ece26
r20026: - store the infrastructure server_dn_str
...
- implement the rid manager info searches
metze
(This used to be commit be3f91afe2
)
2007-10-10 14:28:49 -05:00
Stefan Metzmacher
6bf98f3adb
r20025: - implement the windows2003update revision search
...
- finish the infrastructure fsmo detail searches
metze
(This used to be commit f1a2bd6f37
)
2007-10-10 14:28:48 -05:00
Stefan Metzmacher
effc51d7db
r20024: lookup the infrastructure fSMORoleOwner on the 1st LDAP connection
...
metze
(This used to be commit 99bdd5523b
)
2007-10-10 14:28:48 -05:00
Stefan Metzmacher
46d2824907
r20022: - implement the ldap connect code
...
- implement rootdse search on the 1st LDAP connection
- implement msDs-Behavior-Version and objectVersion searches on the 1st LDAP connection
metze
(This used to be commit b9b705b7dd
)
2007-10-10 14:28:48 -05:00
Stefan Metzmacher
c83efbe900
r20021: implement a CLDAP netlogon request to get some infos
...
needed for becoming a dc.
metze
(This used to be commit 6a007aaa51
)
2007-10-10 14:28:47 -05:00
Stefan Metzmacher
6d7630a516
r20011: define libnet_BecomeDC_state struct and add some dummy functions
...
metze
(This used to be commit 2a50a885ed
)
2007-10-10 14:28:47 -05:00
Stefan Metzmacher
1d7f8edb7a
r20009: use a composite context
...
metze
(This used to be commit ed3826bc47
)
2007-10-10 14:28:46 -05:00