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