Stefan Metzmacher
4eb557bf25
Revert "Use an absolute path to ensure that we can always regenerate tables.c"
...
This reverts commit b57c8ff440
.
This actually breaks the merged build...
Doing a merged build and a samba4 build within the same
checkout, without a git clean -x -d -f (this removes everything that's
not checked into git! save files you don't want to delete!) running in the
toplevel directory, is not supported.
metze
2009-04-21 15:37:36 +02:00
Andrew Bartlett
f128bfd449
Add str() for policy_handles.
...
Pair programmed with Jelmer
2009-04-21 12:06:04 +02:00
Andrew Bartlett
6f60a6e71a
python/dcerpc: Custom implementations of policy_handle.__init__ and policy_handle.__repr__
...
pair-programmed with Jelmer
2009-04-21 11:53:00 +02:00
Andrew Bartlett
1856b999c8
python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.
2009-04-21 11:14:11 +02:00
Stefan Metzmacher
a98a9c39a2
s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()
...
The caller should decide if async is desired it should be harcoded per call.
metze
2009-04-20 18:15:06 +02:00
Stefan Metzmacher
d0e6803218
s4:librpc/rpc: remove async argument from the sync dcerpc_request() function
...
metze
2009-04-20 18:15:00 +02:00
Stefan Metzmacher
f3c9d124bb
s4:librpc/rpc: only use smb_trans for sync rpc calls
...
Over named pipes we can only do one smb_trans at a time,
otherwise we're getting NT_STATUS_PIPE_BUSY.
Async rpc calls need to use smb_read/write only.
metze
2009-04-20 18:14:59 +02:00
Stefan Metzmacher
900d569bed
s4:librpc/rpc: ask for 0x2000 bytes in the ioctl case to match all othercases
...
metze
2009-04-20 18:14:58 +02:00
Andrew Bartlett
6c9caed481
Merge commit 'origin/master' into libcli-auth-merge-without-netlogond
2009-04-20 16:53:02 +02:00
Jelmer Vernooij
294359b7bc
Make domain sid argument to as_sddl() optional.
2009-04-20 15:10:29 +02:00
Andrew Bartlett
b57c8ff440
Use an absolute path to ensure that we can always regenerate tables.c
...
I had trouble building Samba3 in a merged build, perhaps because I was
also building Samba4 in that tree.
Andrew Bartlett
2009-04-16 12:06:35 +10:00
Andrew Bartlett
5095d7b1c8
Rework Samba4 to use the new common libcli/auth code
...
In particular, this is the rename from creds_ to netlogon_creds_, as
well as other links to use the new common crypto.
Andrew Bartlett
2009-04-14 16:23:44 +10:00
Günther Deschner
8d901caf35
move dcerpc.idl to main directory.
...
Guenther
2009-03-24 11:14:06 +01:00
Jelmer Vernooij
94069bd274
s4: Use same function signature for convert_* as s3.
2009-03-01 19:55:46 +01:00
Jelmer Vernooij
9ffb6d2d9e
Add allow_badcharcnv argument to all conversion function, for
...
consistency with Samba 3.
2009-03-01 06:33:40 +01:00
Stefan Metzmacher
052f3f0d4d
s4:librpc/ndr: if uninitialized variable in string_array code
...
metze
2009-02-19 11:13:35 +01:00
Stefan Metzmacher
ba0042fcdb
s4:pyrpc: fix compiler warnings
...
metze
2009-02-05 17:48:13 +01:00
Stefan Metzmacher
b493bc1aa1
s4:build: remove not commited files under librpc/gen_ndr with make clean
...
metze
2009-02-05 17:48:10 +01:00
Günther Deschner
b03913cbc6
spoolss: move ndr spoolss helper to main librpc dir.
...
Guenther
2009-02-05 16:04:36 +01:00
Stefan Metzmacher
8b408f7819
s4:selftest: avoid hardcoded pathes in blackbox tests
...
metze
2009-02-03 16:31:04 +01:00
Günther Deschner
35f1e02ca4
librpc: add ndr_size_string_array().
...
Guenther
2009-02-03 15:42:29 +01:00
Stefan Metzmacher
eb012dd212
s4:auth/credentials: the python bindings don't use swig anymore
...
metze
2009-02-02 15:16:09 +01:00
Stefan Metzmacher
b4af7074b7
s4:py_security: avoid 'this' and use 'py_self' and 'self'
...
metze
2009-02-02 13:09:18 +01:00
Stefan Metzmacher
0ac7792e02
s4:libcliraw: s/private/private_data
...
metze
2009-02-02 13:08:51 +01:00
Stefan Metzmacher
74e783bf58
s4:librpc/rpc: s/private/private_data
...
metze
2009-02-02 13:08:29 +01:00
Jelmer Vernooij
d30b6af953
pyrpc: Raise proper NDR error codes with matching strings rather than mapping
...
to NTSTATUS first.
2009-01-26 17:31:50 +01:00
Jelmer Vernooij
c9d193eb08
Add prototypes required by samba-gtk.
2009-01-25 05:32:30 +01:00
Jelmer Vernooij
a4afed1e9a
Implement as_sddl.
2009-01-22 14:49:51 +01:00
Jelmer Vernooij
fc50f7ecba
Support parsing sddl for security descriptors.
2009-01-22 14:37:59 +01:00
Volker Lendecke
f8f878285d
Add derpc_transport_string_by_transport(), apply some const
2009-01-09 23:08:16 +01:00
Günther Deschner
f2dd351a1e
s4-smbtorture: print hand-decoded service status array in svcctl torture test.
...
Guenther
2009-01-09 17:08:18 +01:00
Jelmer Vernooij
ba5d6e6d70
Avoid using a utility header for Python replacements included in Samba,
...
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-08 12:20:20 +01:00
Tim Prouty
61a23c5eea
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
2009-01-07 15:03:16 -08:00
Jelmer Vernooij
f4735b7180
Set proper python exception when running out of memory.
2009-01-07 22:40:13 +01:00
Volker Lendecke
1d427dcee0
Add some const to dcerpc_binding_build_tower()
2009-01-06 21:57:01 +01:00
Jelmer Vernooij
63e7c2fef8
Fix prototype.
2009-01-06 21:45:13 +01:00
Jelmer Vernooij
d2c70d24e1
py: Properly increase the reference counter of Py_None.
2009-01-06 04:13:57 +01:00
Jelmer Vernooij
ce47b69d8e
Fix syntax errors.
2009-01-01 06:33:25 +01:00
Jelmer Vernooij
08259c1c52
Add iconv_convenience argument to size functions.
2009-01-01 04:45:33 +01: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
Jelmer Vernooij
1feab85be6
Rename samba-socket -> samba_socket to fix a couple more compiler
...
warnings.
2008-12-24 00:15:43 +01:00
Jelmer Vernooij
1807b0870b
pidl/python: Factor out connect code rather than duplicating it in each
...
Python module.
2008-12-22 04:56:41 +01:00
Jelmer Vernooij
d58270c537
Add header for pyparam.
2008-12-22 04:38:57 +01:00
Jelmer Vernooij
4eabc417a0
Remove unnecessary dependencies between Python modules.
2008-12-22 04:13:16 +01:00
Jelmer Vernooij
2396d8d613
Use consistent names for dcerpc python modules; fixes messaging test.
2008-12-22 04:03:55 +01:00
Jelmer Vernooij
2c58c9497c
Import types from other Python mechanisms using the Python import mechanism, to ensure they are initialized.
2008-12-22 01:51:38 +01:00
Jelmer Vernooij
2227860a79
Fix more tests, improve repr() functions for various Python types.
2008-12-21 23:05:35 +01:00
Jelmer Vernooij
7e651c7ef3
Simplify customization of pidl-generated Python modules.
2008-12-21 21:10:40 +01:00
Jelmer Vernooij
38a4749d2c
Allow providing extra module-level Python functions.
2008-12-21 18:46:59 +01:00
Jelmer Vernooij
f2b4aa82e0
Merge the rest of security.i into samba.dcerpc.security.
2008-12-21 18:25:59 +01:00
Jelmer Vernooij
a925e22d7a
Remove duplicate Python bindings for dom_sid, security_descriptor and
...
security_token.
2008-12-21 18:03:27 +01:00
Jelmer Vernooij
bd41b4579c
Avoid linking in all Python modules to the samba binaries - we can just let Python dlopen() them.
2008-12-21 00:53:06 +01:00
Stefan Metzmacher
fc31f2c526
s4:lib/socket: socket_connect_send() and socket_connect_ev() should only wrok with addresses
...
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
4c2a113dd0
s4:librpc/rpc: remove we should not redo the name resolving for secondary tcp connections
...
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
fa23a63b4d
s4:headermap: dom_sid.h was renamed to server_id.h
...
metze
2008-12-17 18:55:45 +01:00
Jelmer Vernooij
b3c926376c
Fix header installation after move of gen_ndr headers.
2008-12-16 22:20:21 +01:00
Jelmer Vernooij
b5a0c4cefe
Share object files for gen_ndr.
2008-12-16 18:56:21 +01:00
Jelmer Vernooij
4c7293feae
Simplify idl-deps.pl script a bit.
2008-12-16 16:46:13 +01:00
Jelmer Vernooij
0f04beff33
Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl.
2008-12-16 15:36:18 +01:00
Jelmer Vernooij
530758dc2a
Add python extensions for dom_sid.
2008-12-16 00:16:02 +01:00
Jelmer Vernooij
cd25b6245f
Move dom_sid to the Samba 3 IDL file, remove the old definition.
2008-12-12 20:20:01 +01:00
Jelmer Vernooij
c4fc0b49f0
Manually marshall dom_sid, so we can use a fixed size array for
...
dom_sid.sub_auths rather than a dynamically allocated one.
This makes it possible to use the same DCE/RPC object code for Samba 3
and Samba 4's DCE/RPC parsers and allows copying sids more easily
(since they no longer contain any pointers). The cost of having additional
manual marshalling code is limited (~35 additional lines of C code).
2008-12-12 19:52:06 +01:00
Jelmer Vernooij
d1101dba79
Remove noejs property, which is no longer used.
2008-12-12 11:48:42 +01:00
Stefan Metzmacher
d595844891
s4:librpc: add SUBSYSTEM::RPC_NDR_BROWSER
...
metze
2008-12-06 14:56:50 +01:00
Sam Liddicott
f5a87e35d2
Make sure dom_sid.h is installed.
2008-11-25 15:41:07 +01:00
Jelmer Vernooij
15c629181a
Move wireshark conformance file to top-level.
2008-11-19 00:10:15 +01:00
Stefan Metzmacher
1290b1d3d3
s4:librpc/ndr: integrate NDR_MISC into LIBNDR
...
metze
2008-11-16 16:24:34 +01:00
Günther Deschner
843135c841
s4-samr: move samr.idl to toplevel idl directory.
...
Guenther
2008-11-10 21:46:25 +01:00
Stefan Metzmacher
03b9547b47
s4: use toplevel security.idl
...
metze
2008-11-08 08:02:27 +01:00
Stefan Metzmacher
9579036dc5
s4: fix samba4.samba3sam.python test
...
metze
2008-11-08 08:02:25 +01:00
Stefan Metzmacher
ff5c58da55
librpc/ndr: move ndr_sec_helper.c to the toplevel
...
metze
2008-11-07 22:41:12 +01:00
Stefan Metzmacher
da9f41dde2
s4: ndr_sec_helper: remove unused include
...
metze
2008-11-07 22:33:45 +01:00
Stefan Metzmacher
c6e5788435
s4: security.idl: for now move server_id also to dom_sid.idl
...
We should move server_id somewhere else...
metze
2008-11-07 18:06:54 +01:00
Stefan Metzmacher
616bc99b14
s4: security.idl: split of dom_sid stuff into dom_sid.idl
...
This prepares having a shared security.idl file
metze
2008-11-07 16:45:37 +01:00
Stefan Metzmacher
1a60fc02d8
librpc/idl: Add named_pipe_auth.idl to Samba4
...
metze
2008-11-06 21:39:13 +01:00
Günther Deschner
c353c53692
netlogon: add 8bit varients of netr_SamDatabaseID8Bit and netr_DeltaEnum.
...
Guenther
2008-11-06 18:50:12 +01:00
Jelmer Vernooij
b45caa44e1
Fix the build.
2008-11-02 23:58:49 +01:00
Jelmer Vernooij
a1cc278142
Remove use of global_loadparm during initialization of gensec.
2008-11-02 17:04:22 +01:00
Jelmer Vernooij
29a20af75f
Remove use of global_loadparm for SMB2 client connections.
2008-11-02 16:20:00 +01:00
Jelmer Vernooij
b034c519f5
Add gensec_settings structure. This wraps loadparm_context for now, but
...
should in the future only contain some settings required for gensec.
2008-11-02 02:05:48 +01:00
Jelmer Vernooij
7a6190e9a7
Remove another use of global_loadparm.
2008-11-02 01:03:26 +01:00
Jelmer Vernooij
dccf1b2c9f
Remove another use of global_loadparm.
2008-11-02 00:26:04 +01:00
Jelmer Vernooij
d9cbf2b0d9
Remove another use of global_loadparm.
2008-11-01 23:26:36 +01:00
Jelmer Vernooij
7942333712
Remove another use of global_loadparm.
2008-11-01 23:09:18 +01:00
Jelmer Vernooij
ac428a22e6
dcerpc: Fix include path so header installer translates it correctly during install.
2008-10-31 16:15:08 +01:00
Günther Deschner
7f8bc6a2d9
errors: share dcerpc error function.
...
Guenther
2008-10-31 12:42:09 +01:00
Günther Deschner
6066e1a44d
srvsvc: re-move idl file to main directory.
...
Guenther
2008-10-31 03:08:04 +01:00
Günther Deschner
f25b645ab1
s4-srvsvc: merge srvsvc_NetShareEnum from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
Günther Deschner
7204deac82
s4-srvsvc: merge srvsvc_NetShareEnumAll from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
Günther Deschner
947e14adae
s4-srvsvc: merge srvsvc_NetSessEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
546fb4028a
s4-srvsvc: merge srvsvc_NetFileEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
8f99170ab9
s4-srvsvc: merge srvsvc_NetConnEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
d1340df8b8
s4-srvsvc: merge srvsvc_NetCharDevQEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
07f1bb3abc
s4-srvsvc: merge srvsvc_NetCharDevEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
439f197a68
s4-srvsvc: merge srvsvc_NetDiskEnum from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
7255209177
s4-srvsvc: merge srvsvc_NetFileGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:33 +01:00
Günther Deschner
b70d984f8f
s4-srvsvc: merge srvsvc_NetCharDevQGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
6e9d69e4c8
s4-srvsvc: merge srvsvc_NetCharDevGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
c982b36930
s4-srvsvc: merge srvsvc_NetSrvGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
5cd089edd2
s4-srvsvc: merge srvsvc_NetSrvSetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
d2cc4e63c5
s4-srvsvc: merge srvsvc_NetTransportEnum from s3 idl.
...
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
8859e9a904
s4-srvsvc: merge srvsvc_NetTransportDel from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
227c6ed8ea
s4-srvsvc: merge srvsvc_NetShareGetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
523732ed2d
s4-srvsvc: merge srvsvc_NetShareSetInfo from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
3206f35527
s4-srvsvc: merge srvsvc_NetShareAdd from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
70c9cb4d9b
s4-srvsvc: merge srvsvc_NetServerStatisticsGet from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
31b067a6dd
s4-srvsvc: merge srvsvc_NetShareCheck from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
f151246e53
s4-srvsvc: merge srvsvc_NetPathType from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
0688173c27
s4-srvsvc: merge srvsvc_NetPathCanonicalize from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
9fd82703d1
s4-srvsvc: merge srvsvc_NetRemoteTOD from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
f61ce2fe41
s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
...
Guenther
2008-10-31 02:44:30 +01:00
Günther Deschner
95e438d9b3
s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
...
Guenther
2008-10-31 02:44:29 +01:00
Günther Deschner
0b95cb251c
s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.
...
Apparently both s3 and s4 are not entirely correct one this. metze is looking
into hand-marshalling security descriptors so this will fix this finally. For
now, just keep the two in sync.
Guenther
2008-10-31 02:44:29 +01:00
Günther Deschner
4b8606f616
s4-srvsvc-idl: pure cosmetic merge from s3 idl.
...
Guenther
2008-10-31 02:44:28 +01:00
Günther Deschner
d0b02f9708
s4-srvsvc-idl: use maxuses as uint32 consistently.
...
Guenther
2008-10-31 02:44:28 +01:00
Günther Deschner
ecd2434d69
s4-srvsvc-idl: adapt some more formating changes from s3 idl.
...
Guenther
2008-10-29 13:31:02 +01:00
Günther Deschner
8be9cefd98
netlogon: merge netlogon.idl between s3 and s4.
...
Guenther
2008-10-29 08:57:53 +01:00
Günther Deschner
524156333b
s4-netlogon: merge netr_ServerPasswordSet2 from s3 idl.
...
Guenther
2008-10-29 08:57:52 +01:00
Günther Deschner
556b5bb9ee
s4-netlogon: merge netr_ServerPasswordSet from s3 idl.
...
Guenther
2008-10-29 08:57:52 +01:00
Günther Deschner
1798e9d7ec
s4-netlogon: merge netr_ServerReqChallenge from s3 idl.
...
Guenther
2008-10-29 08:57:52 +01:00
Günther Deschner
8e4c691c0a
s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.
...
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
8f52c33401
s4-netlogon: merge netr_DatabaseRedo from s3 idl.
...
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
ef37351f18
s4-netlogon: merge netr_DatabaseSync2 from s3 idl.
...
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
cbc0b63a77
s4-netlogon: merge netr_DatabaseSync from s3 idl.
...
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
f285af6367
s4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.
...
Guenther
2008-10-29 08:57:31 +01:00
Günther Deschner
0de8811a59
s4-netlogon: merge netr_AccountSync from s3 idl.
...
Guenther
2008-10-29 08:57:28 +01:00
Günther Deschner
fccd5a4dfd
s4-netlogon: merge netr_AccountDeltas from s3 idl.
...
Guenther
2008-10-29 08:57:28 +01:00
Günther Deschner
6f2179b088
s4-netlogon: merge netr_DatabaseDeltas from s3 idl.
...
Guenther
2008-10-29 08:57:28 +01:00
Günther Deschner
4f6264b66c
s4-netlogon: merge netr_LogonGetDomainInfo from s3 idl.
...
Guenther
2008-10-29 08:57:27 +01:00
Günther Deschner
359927dd34
s4-netlogon: merge netr_LogonControl2Ex from s3 idl.
...
Guenther
2008-10-29 08:57:27 +01:00
Günther Deschner
8a79378469
s4-netlogon: merge netr_LogonControl2 from s3 idl.
...
Guenther
2008-10-29 08:57:27 +01:00
Günther Deschner
388952f82c
s4-netlogon: merge netr_LogonControl from s3 idl.
...
Guenther
2008-10-29 08:57:26 +01:00
Günther Deschner
f0697b0ad5
s4-netlogon: merge netr_DsRGetDCName{Ex,Ex2} from s3 idl.
...
Guenther
2008-10-29 08:56:52 +01:00
Günther Deschner
f82a117832
s4-netlogon: merge netr_GetDcName from s3 idl.
...
Guenther
2008-10-28 23:40:53 +01:00
Günther Deschner
a674a3bbf3
s4-netlogon: merge netr_GetAnyDCName from s3 idl (untested).
...
Guenther
2008-10-28 23:40:53 +01:00
Günther Deschner
2a329c4963
s4-netlogon: merge netr_DsRGetSiteName from s3 idl.
...
Guenther
2008-10-28 23:40:52 +01:00
Günther Deschner
2a7de4e3f8
s4-netlogon: merge netr_DsrEnumerateDomainTrusts from s3 idl.
...
Guenther
2008-10-28 23:40:52 +01:00
Günther Deschner
0992a9d987
s4-netlogon: merge netr_DsrGetDcSiteCoverageW from s3 idl.
...
Guenther
2008-10-28 23:40:51 +01:00
Günther Deschner
bb3836a67f
s4-smbtorture: fix test_LogonUasLogon.
...
Guenther
2008-10-28 23:40:44 +01:00
Günther Deschner
98f8f89164
s4-netlogon: merge misc stuff.
...
Guenther
2008-10-28 23:37:40 +01:00
Günther Deschner
d04131c8ec
idl: share lsa.idl between s3 and s4.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
95231eae39
s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
92f1c0d156
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
992c03a192
s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
8e622f57e7
s4-lsa: merge lsa_QueryDomainInformationPolicy from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
ea88686419
s4-lsa: merge lsa_QueryTrustedDomainInfoByName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
36725ec0b4
s4-lsa: merge lsa_QueryTrustedDomainInfo from s3 idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
7c3d1dd8a9
s4-lsa: merge lsa_QueryTrustedDomainInfoBySid from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
8bcc939a8c
s4-lsa: merge lsa_LookupPrivName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
ea6b4865ea
s4-lsa: merge lsa_EnumPrivsAccount from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
95c69caef6
s4-lsa: merge lsa_LookupPrivDisplayName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
6a2dabe1a7
s4-lsa: merge lsa_GetUserName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
6131c0d888
s4-lsa: merge lsa_EnumTrustDom from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
7e19dd6a0a
s4-lsa: merge lsa_EnumAccounts from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
fb38705e42
s4-lsa: merge lsa_EnumPrivs from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
4ee7b58e0a
s4-lsa: merge lsa_QuerySecurity from s3 lsa idl.
...
Guenther
2008-10-27 19:33:21 +01:00
Jelmer Vernooij
e72e2773c4
Remove another use of global_loadparm.
2008-10-24 18:15:09 +02:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
37d885c51a
Remove iconv_convenience argument from convert_string{,talloc}() but
...
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24 14:26:46 +02:00
Jelmer Vernooij
8b06312f7e
Eliminate another instance of global_loadparm.
2008-10-24 13:13:27 +02:00
Günther Deschner
bb36f3a342
idl: merge from s4 lsa.idl to s3.
...
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
6d2d09348f
Sync syntax of srvsvc.idl with samba3.
2008-10-20 19:50:49 +02:00
Jelmer Vernooij
41b02b7ac0
Move orpc to top-level directory.
2008-10-20 19:20:12 +02:00
Jelmer Vernooij
dc3828f06c
Move WMI support code to top-level.
2008-10-20 19:14:47 +02:00
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
Jelmer Vernooij
66b1c8b61a
Import comments about opcodes from Samba 3.
2008-10-20 17:16:04 +02:00
Jelmer Vernooij
e0905c3090
Use tables in Samba 3 ndrdump.
2008-10-20 13:19:39 +02:00
Jelmer Vernooij
db90d9ad16
Also move wireshark conformance file.
2008-10-20 12:20:53 +02:00
Jelmer Vernooij
d78f3be238
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt
2008-10-20 12:19:57 +02:00
Jelmer Vernooij
5b52964b15
Share winreg.idl.
2008-10-20 11:53:20 +02:00
Günther Deschner
fc8fadf1e9
idl: finally share krb5_pac.idl.
...
Guenther
2008-10-20 11:11:22 +02:00
Matthias Dieter Wallnöfer
b789ff950f
LSA Patch for User Manager
...
New (major) patch
=================
- Enhances the "lsa.idl" file in the sense that it adds more values to
"PolicyInformation" to improve the "lsa_QueryInfoPolicy*" calls.
- Adds a minimal implementation for "AuditEvents" (also lsa_QueryInfoPolicy*
calls) to enable the "Audit" option in the "User Manager for Domains" (at least
readable).
- Adds to the "lsa.idl" file the system access mode flags needed for the calls
"lsa_*SystemAccessAccount".
- Fill in the "lsa_GetSystemAccessAccount" for enabling the "User Rights"
option in the "User Manager for Domains" (at least readable).
- Merge the two similar torture tests of the "lsa_QueryInfoPolicy*" calls in
one using "if"'s for a few separations.
- Add a torture test for "lsa_GetSystemAccessAccount".
- Some cosmetic-only changes (unifications) in output strings in the "LSA"
torture test.
The work has been done using the Microsoft WSPP docs.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-10-20 20:07:09 +11:00
Günther Deschner
f34b6bfe34
idl: share drsblobs idl.
...
Guenther
2008-10-18 23:54:49 +02:00
Günther Deschner
80af41b5ea
drsuapi: build new merged drsuapi idl and helpers.
...
Guenther
2008-10-18 23:25:58 +02:00
Günther Deschner
d413e1f40a
drsuapi: share drsuapi idl and helper code.
...
Guenther
2008-10-18 23:25:48 +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
ca84c406d3
s4-drsuapi: merge drsuapi_DsGetDomainControllerInfo from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:24 +02:00
Günther Deschner
32a1d55797
s4-drsuapi: merge drsuapi_DsWriteAccountSpn from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:17 +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
6a89b59ca6
Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba
...
3.
2008-10-18 18:09:04 +02:00
Günther Deschner
e941e4ad52
s4: merge from s3 drsuapi.idl.
...
Guenther
2008-10-17 10:54:01 +02:00
Andrew Bartlett
c35b0d9ab5
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
2008-10-17 15:57:07 +11:00
Günther Deschner
80f9029aae
s4-idl: merge drsuapi.idl from s3.
...
Guenther
2008-10-16 11:33:33 +02:00
Andrew Bartlett
7c88ea8aad
Create a 'straight paper path' for UTF16 passwords.
...
This uses a virtual attribute 'clearTextPassword' (name chosen to
match references in MS-SAMR) that contains the length-limited blob
containing an allegidly UTF16 password. This ensures we do no
validation or filtering of the password before we get a chance to MD4
it. We can then do the required munging into UTF8, and in future
implement the rules Microsoft has provided us with for invalid inputs.
All layers in the process now deal with the strings as length-limited
inputs, incluing the krb5 string2key calls.
This commit also includes a small change to samdb_result_passwords()
to ensure that LM passwords are not returned to the application logic
if LM authentication is disabled.
The objectClass module has been modified to allow the
clearTextPassword attribute to pass down the stack.
Andrew Bartlett
2008-10-16 12:48:16 +11:00
Günther Deschner
d242491488
idl: finally fully share nbt.idl in s3 and s4.
...
Guenther
2008-10-15 21:44:39 +02:00
Günther Deschner
a1b7b6d5b4
idl: more lsa.idl merges.
...
Guenther
2008-10-15 20:46:35 +02:00
Günther Deschner
e561c9acd5
s4: merge from s3 lsa idl.
...
Guenther
2008-10-15 19:45:28 +02:00
Jelmer Vernooij
4c61745573
Merge branch 'master' of git://git.samba.org/samba
2008-10-15 17:48:25 +02:00
Günther Deschner
11ecd5acfd
s4: merge from s3 samr.idl.
...
Guenther
2008-10-15 17:42:33 +02:00
Jelmer Vernooij
ada0e343b2
Sync parameter names with samba 3.
2008-10-15 17:38:51 +02:00
Jelmer Vernooij
fed4658c1b
winreg.idl: Sync ref change from Samba 3.
2008-10-15 17:34:55 +02:00
Jelmer Vernooij
5390dc0d24
Share wkssvc.idl.
2008-10-15 16:48:53 +02:00
Jelmer Vernooij
85c36cb2cd
Share eventlog.idl.
2008-10-15 16:37:27 +02:00
Jelmer Vernooij
5d408ccf83
Rename reboot -> do_reboot since the first is a reserved name on FreeBSD.
2008-10-15 16:25:06 +02:00
Jelmer Vernooij
ec63a6f5ad
Merge branch 'master' of git://git.samba.org/samba
2008-10-15 16:16:01 +02:00
Günther Deschner
9b162bd3a9
idl: merge netlogon IDL between s3 and s4 wrt LogonSamLogon.
...
Guenther
2008-10-15 16:14:19 +02:00
Jelmer Vernooij
881b36f4cf
Share initshutdown.idl.
2008-10-15 16:13:02 +02:00
Jelmer Vernooij
0c840bd8d2
Share xattr implementation.
2008-10-15 15:57:39 +02:00