Andrew Bartlett
872cb0257c
Move DRSUAPI per-attribute decryption into a common file
...
This file (contining metze's decryption routines) is now also be used by
Samba3's DRSUAPI implementation
Andrew Bartlett
2009-04-14 14:19:39 +10:00
Stefan Metzmacher
1441e87e24
s4:service_task: s/private/private_data
...
metze
2009-02-02 13:08:59 +01:00
Simo Sorce
380874ef86
Fix the mess with ldb includes.
...
Separate again the public from the private headers.
Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.
2009-01-30 01:02:03 -05:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Andrew Bartlett
6488afaafe
Now store the GUID and SID from a DN over DRSUAPI into ldb.
...
Until the extended DN work was compleated, there was no way to store
the additional metadata.
Andrew Bartlett
2008-12-20 14:44:39 +11:00
Günther Deschner
dd49f7483b
s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:39 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +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 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
2008-08-20 15:22:05 +02:00
Stefan Metzmacher
8275d511bc
drsuapi: fix callers after idl change
...
metze
(This used to be commit 7dee6fb62d5adbd2eaaaf4d8ba9e87a72ef9f94b)
2008-08-07 19:15:58 +02:00
Michael Adam
f9e6197924
dsdb: teach dreplsrv_out_drsuapi_bind_recv() knowledge of DsBindInfo48.
...
To make it work against w2k8.
Michael
(This used to be commit a8aea9274170a2b472c45c97a4904bd299d2a92e)
2008-07-23 15:36:13 +02:00
Michael Adam
7fba6c649b
Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
...
Michael
(This used to be commit b91bbc5fe4a47e5823be6be5f2f203f1f14105de)
2008-07-22 15:35:23 +02:00
Stefan Metzmacher
f0e44c35af
drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]
...
metze
(This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
2008-07-16 14:42:11 +02:00
Stefan Metzmacher
f3fae86549
drsuapi: check ctr6->drs_error
...
metze
(This used to be commit 511847f5f5015bcdef69e80b91cb08ffb1690e59)
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 4e0708148a121bd41a12abf6122d5d6f3f09667a)
2008-07-16 14:42:06 +02:00
Stefan Metzmacher
c88ec856bd
drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)
...
metze
(This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
2008-06-30 17:40:01 +02:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-17 12:23:44 +02:00
Andrew Bartlett
0f8eeb81ec
Remove useless layer of indirection, where every service called
...
task_service_init() manually. Now this is called from service.c for
all services.
Andrew Bartlett
(This used to be commit 9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
2008-02-04 21:58:29 +11:00
Andrew Bartlett
23d681caf9
Rework service init functions to pass down service name. This is
...
needed to change prefork behaviour based on what service is being
started.
Andrew Bartlett and David Disseldorp
(This used to be commit 0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
2008-02-04 17:48:51 +11:00
Andrew Bartlett
dc08079d81
Get more information from ldb when reporting a failed replication.
...
Andrew Bartlett
(This used to be commit 948ee9b7acd90b994bb9d9f7c1813a8eca430e4f)
2008-01-23 15:44:02 +11:00
Jelmer Vernooij
df408d056e
r26672: Janitorial: Remove uses of global_loadparm.
...
(This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
2008-01-05 13:06:03 -06:00
Jelmer Vernooij
9d136bc0a3
r26640: Janitorial: Remove some more uses of global_loadparm.
...
(This used to be commit c863f4ebde8efa1a695b4469142d6719e30bc419)
2008-01-01 19:57:01 -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 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
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 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2008-01-01 16:12:11 -06:00
Jelmer Vernooij
0500b87092
r26540: Revert my previous commit after concerns raised by Andrew.
...
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc
r26539: Remove unnecessary statics.
...
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21 05:52:05 +01:00
Jelmer Vernooij
4c4323009f
r26327: Explicit loadparm_context for RPC client functions.
...
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
da0f222f43
r26271: Remove some more uses of global_loadparm.
...
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21 05:47:53 +01:00
Jelmer Vernooij
43696d2752
r26252: Specify loadparm_context explicitly when creating sessions.
...
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
2007-12-21 05:47:29 +01:00
Jelmer Vernooij
291ddf4336
r26237: Add loadparm context to the server service interface.
...
(This used to be commit 1386c5c92505a950c65411b8af74d703ce023f95)
2007-12-21 05:47:15 +01:00
Jelmer Vernooij
51db4c3f3d
r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack.
...
(This used to be commit ba75f1613a9aac69dd5df94dd8a2b37820acd166)
2007-12-21 05:47:05 +01:00
Jelmer Vernooij
f4a1083cf9
r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack.
...
(This used to be commit 0721a07aada6a1fae6dcbd610b8783df57d7bbad)
2007-12-21 05:47:04 +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 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -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 df9cebcb97e20564359097148665bd519f31bc6f)
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 abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Stefan Metzmacher
f14bd1a90a
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
(This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10 15:02:15 -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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
40cd2d7780
r22944: fix bug #4618 :
...
rename private -> private_data
metze
(This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
5d2f325f83
r22508: at option for the startup delay
...
metze
(This used to be commit 09da9f6490bf57d231a2ace4697adc8c6cd5f912)
2007-10-10 14:51:35 -05:00
Stefan Metzmacher
023e245187
r22472: Commit the start of the DRSUAPI pull replication service.
...
It doesn't work completely yet because we aren't able to
resolve DNS SRV records. And also we also need a kdc locator
plugin...
But with some hacks the pull replication works fine
metze
(This used to be commit 0dc78f7439c9c786fd8c592960f9669dea40b811)
2007-10-10 14:51:30 -05:00
Stefan Metzmacher
f19637f957
r21859: add a comment why we remove the rid_crypt obfuscation
...
metze
(This used to be commit e44b6df1387096989726c0a68189fe6c4e37dfd7)
2007-10-10 14:49:37 -05:00
Stefan Metzmacher
41c5453507
r21839: add my email address
...
metze
(This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
3e697d5110
r21773: fix typo orginating -> originating
...
and use the struct member names in all cases
metze
(This used to be commit c543ee57454d006c545e3e9e20c9ac0114081d3d)
2007-10-10 14:49:24 -05:00
Stefan Metzmacher
e4d2c67467
r21359: remove the rid encryption before storing the password hashes
...
We decided to store them plain in our ldb
metze
(This used to be commit ff13b21102641a308bd48a8efa6b94a98f567e15)
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
42598ada22
r21296: remove the session specific encryption from the attributes
...
before storing them.
metze
(This used to be commit 7146e265a441eaa46c20361178be371eb6985371)
2007-10-10 14:48:04 -05:00
Stefan Metzmacher
9bdb49455a
r21282: we only need one for loop...
...
metze
(This used to be commit 181b3a031f9683ea5e9aa2c96f121639561c6830)
2007-10-10 14:44:59 -05:00
Stefan Metzmacher
e38fad186f
r21281: move constinancy checks to the beginning of the function
...
metze
(This used to be commit f2af44d20484e57495ab0ebd5aab993e4af43fd4)
2007-10-10 14:44:58 -05:00