Simo Sorce
59722ef2fb
spnego: avoid explicit dependency on dcerpc specific structures
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:22 -07:00
Simo Sorce
4194383cfe
gssapi: remove unused function argument
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Simo Sorce
412ebad02b
gssapi: avoid explicit dependency on dcerpc specific structures
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Simo Sorce
0e5eb82a6f
s3-dcerpc: move crypto stuff in /librpc/crypto
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Günther Deschner
47a7a5830c
libnetapi: deal with NULL data in I_NetLogonControl2().
...
Guenther
2010-09-19 02:47:10 +02:00
Simo Sorce
f7f9916dc7
s3-rpc_server: Added helper functions to read data from a ncacn socket.
...
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:42 +02:00
Günther Deschner
45d772e0e6
libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.
...
Guenther
2010-09-15 08:32:58 +02:00
Julien Kerihuel
e5e5a1110f
Add unique IP address binding for client connections (EPM and ncacn_ip_tcp levels)
...
This allows for binding strings like this:
ncacn_ip_tcp:host[localaddress=192.168.2.1,seal]
which will force the connection to be locally bound to the specified
IP address
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-07 09:55:14 +10:00
Stefan Metzmacher
54d2dce7b1
librpc/rpc: add dcerpc_binding_handle_set_timeout()
...
metze
2010-09-04 09:01:19 +02:00
Stefan Metzmacher
27918981de
librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
...
metze
2010-09-04 09:01:11 +02:00
Simo Sorce
804aaad526
s3-kerberos: use krb5 compat macros in fill_keytab_from_password()
...
This one uses the compat macro in the right way, without actually
breaking the code.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-02 22:48:09 +02:00
Simo Sorce
d9c63fbe92
Revert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()."
...
This reverts commit 9986d25ed1
.
This patch was causing us to free unallocated memory.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-02 22:48:09 +02:00
Günther Deschner
d8c9756d53
s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().
...
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
765bee9d7a
s3-kerberos: use smb_get_enctype_from_kt_entry() in
...
get_mem_keytab_from_secrets().
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
e26a936333
s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().
...
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
9986d25ed1
s3-kerberos: use krb5 compat macros in fill_keytab_from_password().
...
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
3d78279fd4
s3-kerberos: fix flush_keytab() compile with heimdal.
...
krb5_kt_cursor is not a pointer in heimdal but a struct.
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
9697687e25
dcerpc-gssapi: include missing dcerpc_krb5.h header.
...
Guenther
2010-08-30 14:47:52 +02:00
Günther Deschner
d524f58518
dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is unavailable.
...
Guenther
2010-08-30 14:44:13 +02:00
Simo Sorce
36fdb211a6
dcerpc-gssapi: add function to retrieve client name
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:34:01 +02:00
Simo Sorce
d15d76af5f
dcerpc-gssapi: add function to extract authtime
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:33:14 +02:00
Simo Sorce
6c80e04120
dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi context
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:33:01 +02:00
Simo Sorce
fb1aef085e
dcerpc-gssapi: add function to check flags
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:32:47 +02:00
Simo Sorce
e6ed1dc249
dcerpc-gssapi: add initial server side code
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:32:33 +02:00
Simo Sorce
b31f75d8f6
s3-dcerpc: add krb5 helpers
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:27:48 +02:00
Günther Deschner
3aab0c701c
s3-build: only include rpc_misc.h where needed.
...
Guenther
2010-08-26 00:26:01 +02:00
Stefan Metzmacher
5d7c27cb5b
s3:librpc: make dcerpc_read_ncacn_packet_send/recv() available
...
metze
2010-08-20 18:09:26 +02:00
Günther Deschner
16ad1bbb4e
s3-dcerpc: try to fix the non gssapi build.
...
Guenther
2010-08-17 13:18:34 +02:00
Günther Deschner
36cfadcf6a
s3-dcerpc: fix c++ build warning.
...
Guenther
2010-08-17 13:06:36 +02:00
Simo Sorce
86914b8fab
s3-dcerpc: properly implement gse/spnego_get_session_key
2010-08-17 06:33:13 -04:00
Simo Sorce
72a0098415
s3-dcerpc: Pull packet in the caller, before validation
2010-08-17 06:33:13 -04:00
Andreas Schneider
7644fbdff9
s3-waf: Added missing client option to pidl list for wbint.
2010-08-16 21:40:04 +02:00
Andreas Schneider
1b022d1d3d
s3-waf: Try to fix the idl build.
2010-08-16 21:31:31 +02:00
Michael Adam
3b56f7f6b5
s3:winbind: remove the method REMOVE_MAPPING from winbind's API
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
474020b1ae
s3:winbind: remove the method SET_MAPPING from winbind's API
...
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
66e67c1bad
s3:winbind: remove SET_HWM from winbind's API.
2010-08-14 02:10:31 +02:00
Günther Deschner
bb8936c087
s3-dcerpc: fix build warning seen with -O3.
...
"warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false"
Guenther
2010-08-13 15:20:58 +02:00
Stefan Metzmacher
2c0e296dd7
s3:rpc_client: add dcerpc_binding_handle backend
...
metze
2010-08-12 14:31:21 +02:00
Günther Deschner
385adcce73
s3-libnet_join: add ads.h as helper header to IDL.
...
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
64b26affe0
s3-dcerpc: fix some uninitialized variables build warnings.
...
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
322b524194
s3-build: fix some c++ build warnings.
...
Guenther
2010-08-02 12:05:03 +02:00
Simo Sorce
4c64e4d4af
s3-dceprc: Improve dcerpc_guess_sizes() interface
...
Make it possible to pass in the NDR padding size so that theoretically
client and server code can decide to use a different alignment.
Pass in the header length as a parameter so that this function can be used for
different type of packets.
Make sure padding size will not make the fragment exceed the maximum length.
Calculate padding taking in account the header length.
2010-07-30 14:55:28 -04:00
Simo Sorce
3469fbc5e4
s3-dcerpc: rationalize packet creation in the server code
...
Move all related functions into create_next_packet, but make it transport
neutral (not pass in pipse_struct)
2010-07-30 14:55:27 -04:00
Simo Sorce
a9d3a596a7
s3-dcerpc: Make function to guess pdu sizes common.
2010-07-30 14:55:27 -04:00
Simo Sorce
186f93633b
s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSP
2010-07-30 14:55:27 -04:00
Simo Sorce
984438ca15
s3-dcerpc: add sign/seal support when using SPNEGO/KRB5
2010-07-30 14:55:27 -04:00
Simo Sorce
0b24e8e869
s3-dcerpc: Add SPNEGO incapsulation for KRB5 auth
2010-07-30 14:55:27 -04:00
Simo Sorce
e8ac4a8b82
s3-dcerpc: Try to fix build when gssapi_ext.h is not available
2010-07-28 17:12:57 -04:00
Simo Sorce
7c9c075987
Do not refernece pipe_auth_data directly in dcerpc_gssapi.c
2010-07-28 15:53:56 -04:00
Simo Sorce
7eaa15af2c
s3-dcerpc: Add sign/seal with gssapi
2010-07-28 12:42:15 -04:00
Simo Sorce
1abcbd70ae
s3-dcerpc: Add next authentication step with gssapi
2010-07-28 12:24:44 -04:00
Simo Sorce
135a82e78f
s3-decrpc: Introduce gssapi support for dcerpc krb5 auth
2010-07-28 12:24:44 -04:00
Simo Sorce
2463a87177
s3-dcerpc: Use dcerpc_AuthType in pipe_auth_data
2010-07-28 12:19:32 -04:00
Simo Sorce
9565e3f6a7
s3-dcerpc: Make dcerpc_check_auth() common code
2010-07-28 12:17:41 -04:00
Simo Sorce
3139333419
s3-dcerpc: Move dcerpc_add_auth_footer() to the common helpers file
2010-07-28 12:15:13 -04:00
Andrew Tridgell
a709e423d2
waf-idl: put the gen_ndr/README file for source3 back
...
This was removed by 100d37fc46
, probably
accidentially.
2010-07-19 22:17:17 +10:00
Simo Sorce
628b57ca37
s3-dcerpc: Move common cli/srv functions into a common file
2010-07-17 15:01:11 -04:00
Simo Sorce
65116adceb
s3-dcerpc: Fix ability to receive Big Endian PDUs
2010-07-16 16:02:39 -04:00
Simo Sorce
100d37fc46
s3-dcerpc: Use DATA_BLOB for pipes_struct input data
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:18 +02:00
Simo Sorce
bd19c964d5
s3-dcerpc: Move common helpers into a common file
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:17 +02:00
Günther Deschner
5f92bd863c
s3-registry: add preg.idl.
...
Guenther
2010-07-07 15:27:04 +02:00
Günther Deschner
6ab9eaf90f
s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.
...
Guenther
2010-07-07 13:52:18 +02:00
Günther Deschner
eb634e8c7f
s3-libnet_join: small IDL enhancement.
...
Guenther
2010-07-01 21:19:52 +02:00
Günther Deschner
bcd4077be6
s3: remove unused librpc/ndr/sid.c.
...
Guenther
2010-06-03 01:07:17 +02:00
Günther Deschner
60079f59b0
s3-idl: fix some missing dependencies to other IDL files.
...
Guenther
2010-05-28 02:49:36 +02:00
Kai Blin
b6c5d5de37
s3-waf: Fix up PIDL includes.
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-05-20 22:16:15 +02:00
Stefan Metzmacher
5556deee7a
s3-waf: Add autogeneration with PIDL
2010-05-20 22:16:15 +02:00
Günther Deschner
b75384546a
librpc: finally merge ndr_string.c.
...
Guenther
2010-05-20 13:57:22 +02:00
Günther Deschner
6d9fe52310
s3-libndr: merge in better ndr warnings from s4 ndr_string.c
...
Guenther
2010-05-20 13:54:44 +02:00
Andrew Bartlett
864a95fd9c
s3:winbind use no_srv_register to avoid needing rpc_srv_register
...
This pidl attribute avoids the need for this dummy function, which
helps s3compat.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 17:17:43 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Günther Deschner
c94f1c16bd
s3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.
...
Otherwise the NOTERM case is not reachable for ascii strings (only utf16).
With this patch we now can have:
[flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name;
Guenther
2010-05-14 13:20:40 +02:00
Günther Deschner
cc46f4a319
s3-libnetjoin: omit admin password in generated ndr_print function.
...
Guenther
2010-05-04 16:31:34 +02:00
Andrew Tridgell
5bff08d9a9
s3-idl: removed gen_ndr files from source3/ as well
2010-05-04 13:47:07 +02:00
Stefan Metzmacher
845f9c01ed
s3:librpc/rpc: move prototypes to dcerpc.h
...
metze
2010-03-23 18:44:31 +01:00
Stefan Metzmacher
b82f168c3c
s3:librpc: remove unused stuff
...
metze
2010-03-19 17:05:46 +01:00
Volker Lendecke
4c1c3f2549
s3: Implement global locks in a g_lock tdb
...
This is the basis to implement global locks in ctdb without depending on a
shared file system. The initial goal is to make ctdb persistent transactions
deterministic without too many timeouts.
2010-02-12 23:12:09 +01:00
Volker Lendecke
8905b599b4
s3: Fix some nonempty blank lines
2010-01-23 14:35:37 +01:00
Volker Lendecke
9b6b01aab6
s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
...
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
2009-12-21 23:23:52 +01:00
Günther Deschner
4d0fca4472
s3-winbind: properly include netlogon.idl in wbint.idl.
...
Guenther
2009-11-26 19:21:10 +01:00
Volker Lendecke
e181b88978
Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
...
This reverts commit daa964013b
.
2009-11-08 19:43:47 +01:00
Volker Lendecke
47455b4d1a
Revert "s3: Do not reference the ndr_tables in the server calls directly"
...
This reverts commit 98fb71782e
.
2009-11-08 19:43:46 +01:00
Volker Lendecke
82c35e460e
Revert "s3: Do not reference ndr_table when calling rpc_srv_register"
...
This reverts commit 494b2aff88
.
2009-11-08 19:43:46 +01:00
Volker Lendecke
494b2aff88
s3: Do not reference ndr_table when calling rpc_srv_register
2009-11-08 13:12:15 +01:00
Volker Lendecke
98fb71782e
s3: Do not reference the ndr_tables in the server calls directly
...
This involves storing the interface table in the pipes_struct
2009-11-08 13:12:14 +01:00
Volker Lendecke
daa964013b
s3: Do not reference ndr_table_<pipe> in the cli_ routines directly
2009-11-08 13:12:13 +01:00
Volker Lendecke
5cdee7ae05
s3: Do the printing for DEBUGLEVEL>=10 centrally
...
12 insertions(+), 10651 deletions(-)
I think that says it all :-)
2009-11-07 11:07:37 +01:00
Günther Deschner
e92e33238c
s3: add secrets.idl.
...
Guenther
2009-10-29 10:49:35 +01:00
Günther Deschner
8bd4378ff8
s3-libnetapi: add I_NetLogonControl{2} to IDL.
...
Guenther
2009-10-16 10:50:27 +02:00
Günther Deschner
a3306e352d
s3-winbindd: add wbint_ChangeMachineAccount implementation.
...
Guenther
2009-10-13 12:42:44 +02:00
Günther Deschner
fea2a78beb
s3: re-run make samba3-idl.
...
Guenther
2009-10-07 10:34:15 +02:00
Günther Deschner
cd82d4ba56
s3: add perfcount idl and generated files.
...
Guenther
2009-10-01 12:19:43 +02:00
Günther Deschner
0650423edf
s3-libndr: fix build warning.
...
Guenther
2009-09-25 11:46:51 +02:00
Andrew Tridgell
a3f33356bb
s3-rpc: samba3 needs the DCERPC_NDR64 define
2009-09-17 21:52:28 -07:00
Jeremy Allison
b92c399d97
Check in modified generated files for systems where pidl can't run.
...
Jeremy.
2009-09-17 11:16:54 -07:00
Volker Lendecke
04ea250aeb
s3:winbind: Convert WINBINDD_SET_HWM to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
4ad330d522
s3:winbind: Convert WINBINDD_REMOVE_MAPPING to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
7159060450
s3:winbind: Convert WINBINDD_SET_MAPPING to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
d9b7fd59b0
s3:winbind: Convert WINBINDD_CHECK_MACHACC to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
0cae043b0c
w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new API
2009-08-30 09:48:28 +02:00
Volker Lendecke
9e7c6f12fd
w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new API
2009-08-30 09:48:28 +02:00
Volker Lendecke
2555c12bce
s3:winbind: Add async QueryGroupList
2009-08-29 19:42:27 +02:00
Volker Lendecke
50d9fb42fc
w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new API
2009-08-29 19:42:26 +02:00
Volker Lendecke
7579f0fb17
s3:winbind: Add an async dsgetdcname call
2009-08-29 19:42:26 +02:00
Volker Lendecke
c325ba89cf
s3:winbind: Add async query_user_list
2009-08-29 19:42:26 +02:00
Volker Lendecke
58feaa7947
s3:winbind: Rename wbint_GroupMembers to wbint_Principals
2009-08-29 10:44:13 +02:00
Volker Lendecke
ffd9d41be9
s3:winbind: Rename wbint_GroupMember to wbint_Principal
2009-08-29 10:44:12 +02:00
Volker Lendecke
8a683f4896
s3:winbind: Add async wb_group_members
2009-08-16 12:38:19 +02:00
Volker Lendecke
1d110e0ef6
s3:winbind: Add async wb_seqnum
2009-08-16 10:38:24 +02:00
Volker Lendecke
1dc1ac0051
s3:winbind: Add async wb_lookupusergroups
2009-08-05 03:21:25 -04:00
Volker Lendecke
ce42ea3ab8
s3:winbind: Add async wb_lookupuseraliases
2009-08-05 03:21:24 -04:00
Volker Lendecke
7077492778
s3:winbind: Add async wb_queryuser
2009-08-05 03:21:22 -04:00
Volker Lendecke
292f3f896f
s3:winbind: Add async wb_gid2sid
2009-08-05 03:21:22 -04:00
Volker Lendecke
3eff8e93e2
s3:winbind: Add async wb_uid2sid
2009-08-05 03:21:21 -04:00
Volker Lendecke
153ae58d7d
s3:winbind: Add async wb_sid2gid
2009-08-05 03:21:21 -04:00
Volker Lendecke
ea286fed7a
s3:winbind: Add async wb_sid2uid
2009-08-05 03:21:21 -04:00
Volker Lendecke
a541677077
s3:winbind: Add async wb_lookupname
2009-08-05 03:21:20 -04:00
Volker Lendecke
bb359c780a
s3:winbind: Add async wb_lookupsid
2009-08-05 03:21:20 -04:00
Volker Lendecke
6cf3db9149
s3:winbind: Add NDR-based parent-child communication to winbind
2009-08-05 03:21:19 -04:00
Volker Lendecke
3532882d02
Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndr
2009-07-27 16:15:54 +02:00
Volker Lendecke
f8cfe19d85
Introduce null_ndr_syntax_id
2009-07-05 23:50:12 +02:00
Jim McDonough
7930f15f5d
Don't require "Modify property" perms to unjoin bug #6481 )
...
"net ads leave" stopped working when "modify properties"
permissions were not granted (meaning you had to be allowed
to disable the account that you were about to delete).
Libnetapi should not delete machine accounts, as this does not
happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag
really means "disable" (both in practice and docs).
However, to keep the functionality in "net ads leave", we
will still try to do the delete. If this fails, we try
to do the disable.
Additionally, it is possible in windows to not disable or
delete the account, but just tell the local machine that it
is no longer in the account. libnet can now do this as well.
2009-06-19 13:46:07 -04:00
Günther Deschner
3a2c748cf4
s3-build: re-run make samba3-idl.
...
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
e272acf484
s3-netapi: add NetShutdownInit and NetShutdownAbort.
...
I know, they don't exist as such calls on windows but having them in
libnetapi.so would be very handy.
Guenther
2009-05-14 14:18:26 +02:00
Jeremy Allison
6fc8ed7b1f
Fix IDL licensing file that got missed when IDL files were moved.
...
Jeremy.
2009-04-16 12:09:16 -07:00
Volker Lendecke
32a36e4703
Add notify_onelevel.tdb
...
This optimizes non-recursive notifys. For non-recursive notifies we can use a
per-directory file-id indexed notify record. This matters for the Windows
Explorer and IIS cases which do not use recursive notifies. In these cases, we
do not have to shuffle around the whole notify record on every change.
For the cluster case, this improves correctness of the notifies, ctdb only
distributes the tdb seqnum once a second, so we can lose notifies.
2009-04-16 15:07:06 +02:00
Steven Danneman
b329ea1cf3
s3: Modifications to generic notify structures to allow implementation of OneFS notify.
...
The OneFS kernel based change notify system takes an fd of the directory
to watch in it's initialization syscall. Since we already have this
directory open, this commit plumbs that fd down to the VFS layer via the
notify_entry struct.
We also need to know if the watch is taken out on a snapshot directory.
The full file_id struct is also passed down to make this determination.
The file_id marshalling wrappers are hand written here, but should
eventually be auto-generated by moving the struct file_id into the idl.
2009-02-20 14:10:30 -08:00
Stefan Metzmacher
7082e4526f
s3:librpc/ndr: if uninitialized variable in string_array code
...
metze
2009-02-19 11:13:34 +01:00
Günther Deschner
2e076ff437
rerun make idl.
...
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
3df528f2d1
netapi: add more SERVER_INFO_X levels.
...
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
35f1e02ca4
librpc: add ndr_size_string_array().
...
Guenther
2009-02-03 15:42:29 +01:00
Michael Adam
63e23a7d64
s3: run "make samba3-idl"
...
Michael
2009-01-22 08:16:55 +01:00
Jelmer Vernooij
11a25f9050
Allow calling DCE/RPC server implementations directly using
...
rpc_pipe_client.
2009-01-21 14:05:51 +01:00
Volker Lendecke
5e6f3eaae9
Move initialization of the reply prs_struct to rpc_api_pipe
2009-01-18 15:40:44 +01:00
Jelmer Vernooij
08259c1c52
Add iconv_convenience argument to size functions.
2009-01-01 04:45:33 +01:00
Jelmer Vernooij
e0016b8833
Remove ndrdump - it's available in merged build mode as bin/ndrdump4 and uses the exact same object files there.
2008-12-16 19:08:36 +01:00
Jelmer Vernooij
b5a0c4cefe
Share object files for gen_ndr.
2008-12-16 18:56:21 +01:00
Jelmer Vernooij
5317dd50c0
Add new script for building IDL files in librpc/idl, generating both
...
Samba 3 and Samba 4 output.
2008-12-16 16:32:18 +01:00
Jelmer Vernooij
ca7e4ce97a
Move shared gen_ndr files to librpc/gen_ndr in the root.
...
At the moment these files are used just by Samba 3, but the next step
will be using them from Samba 4 as well.
2008-12-16 15:59:06 +01:00
Jelmer Vernooij
b2a01ef5dd
Consider shared IDL files and Samba3-specific IDL files separately, allow overriding output directory.
2008-12-16 15:42:47 +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
573441ff9b
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-14 17:17:55 +01:00
Volker Lendecke
daeb3a190d
Remove the global "cmdline_auth_info" from source3/lib/util.c
...
This involves changing all our clients, that's why it's so large.
2008-12-14 14:00:43 +01:00
Günther Deschner
a1aef939cf
s3: re-run make samba3-idl.
...
Guenther
2008-12-13 00:27:06 +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
Günther Deschner
e580420490
s3-build: re-run make samba3-idl.
...
Guenther
2008-12-10 11:58:28 +01:00
Günther Deschner
98ea2b12c4
s3-build: re-run make samba3-idl.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
6384c97a42
re-run make samba3-idl.
...
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
408cd5b09d
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-28 13:55:29 +01:00
Jelmer Vernooij
58db2befbd
Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
...
forward enum declarations when compiled with C++.
2008-11-26 18:20:51 +01:00
Günther Deschner
6ed83d3d45
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-20 17:15:55 +01:00
Günther Deschner
07b3a1e988
s3-build: re-run make samba3-idl after pidl change.
...
Guenther
2008-11-19 22:00:43 +01:00
Günther Deschner
0e801722e3
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-17 13:18:19 +01:00
Günther Deschner
5b4140a997
svcctl: fill in SERVICE_CONTROL from s3.
...
Guenther
2008-11-17 13:18:00 +01:00
Jeremy Allison
4c7033df5d
Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is fixed.
...
Jeremy.
2008-11-13 17:18:41 -08:00
Günther Deschner
92f64d3df5
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-12 10:19:40 +01:00
Günther Deschner
1f87fc798d
ntsvcs: use both named-pipe endpoints.
...
Guenther
2008-11-12 10:19:25 +01:00
Günther Deschner
2ea5e222c5
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-12 10:19:10 +01:00
Günther Deschner
0a77b1827d
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-12 10:18:53 +01:00
Günther Deschner
676f3c1c5c
s3-build: re-run make samba3-idl (rid2sid).
...
Guenther
2008-11-10 21:46:31 +01:00
Günther Deschner
8f23dff45e
s3-samr: remove old samr.idl file.
...
Guenther
2008-11-10 21:46:31 +01:00
Günther Deschner
94b7db1fb4
s4-samr: merge samr_RidToSid from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
1f846f6e61
s3-build: re-run make samba3-idl (after cleanup).
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
a4c24b4d30
s3-samr-idl: cleanup.
...
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
fdc28cf8a5
s3-netlogon: fix type of parameters string in user delta.
...
Guenther
2008-11-10 21:46:25 +01:00
Stefan Metzmacher
8d4aaefd86
s3: add missing librpc/gen_ndr/ndr_dom_sid.h
...
metze
2008-11-08 09:16:44 +01:00
Stefan Metzmacher
07ee1a6e14
s3: make idl
...
metze
2008-11-08 08:02:27 +01:00
Stefan Metzmacher
0d25517723
s3: security.idl: split of dom_sid stuff into dom_sid.idl
...
And use the toplevel ndr_sec_helper.c
metze
2008-11-08 08:02:26 +01:00
Stefan Metzmacher
e9b8dd561f
s3: build ndr_named_pipe_auth.c
...
metze
2008-11-06 21:39:15 +01:00
Günther Deschner
884c3b301c
s3-build: rerun make samba3-idl.
...
Guenther
2008-11-06 18:51:08 +01:00
Günther Deschner
6a3a8f7e16
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-05 15:10:52 +01:00
Günther Deschner
7ac5660d2c
s3-samr-idl: fix samr_QueryUserInfo2.
...
Guenther
2008-11-05 15:10:01 +01:00
Günther Deschner
abd2139b42
s3-samr-idl: fix samr_ValidatePassword.
...
Guenther
2008-11-05 15:09:50 +01:00
Günther Deschner
be5c79cbec
s3-build: re-run make samba3-idl.
...
Guenther
2008-11-04 02:46:41 +01:00
Jelmer Vernooij
3fda6c5c2a
Remove global_loadparm stub in Samba 3 as it's no longer used.
2008-11-02 18:28:06 +01:00
Jelmer Vernooij
ff36c52d8c
Remove another use of global_loadparm.
...
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
Günther Deschner
84cc8f5d11
s3-accessmask: re-run make samba3-idl and remove duplicate copies.
...
Guenther
2008-11-01 01:41:21 +01:00
Günther Deschner
66993ab03a
s3-samr: remove duplicate copies of Alias Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
0f9410e806
s3-samr-idl: add Alias Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
5e5edbe761
s3-samr: remove duplicate copies of Group Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
673ba71658
s3-samr-idl: add Group Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
f126371f17
s3-samr: remove duplicate copies of Domain Object specific access rights.
...
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
04c2204e46
s3-samr-idl: add Domain Object specific access rights.
...
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
29d27297d0
s3-samr: remove duplicate copies of SAM user specific access rights.
...
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
3913366c9a
s3-samr-idl: add User Object specific access rights.
...
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
65eca73272
s3-samr-idl: add SAM server specific access rights.
...
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
f591c26dca
build: re-run make samba3-idl.
...
Guenther
2008-10-31 15:53:57 +01:00
Günther Deschner
569fda3173
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-31 02:44:35 +01:00
Günther Deschner
767202e668
srvsvc: share srvsvc idl between s3 and s4.
...
Guenther
2008-10-31 02:44:35 +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
70c9cb4d9b
s4-srvsvc: merge srvsvc_NetServerStatisticsGet from s3 idl.
...
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
bb4894d48b
s3-srvsvc-idl: fix srvsvc_NetCharDevQEnum.
...
Guenther
2008-10-31 02:44:28 +01:00
Günther Deschner
7cd5f73314
s3-srvsvc-idl: fix srvsvc_NetCharDevEnum.
...
Guenther
2008-10-31 02:44:27 +01:00
Günther Deschner
622650597c
s3-srvsvc-idl: add missing field to srvsvc_SrvInfo402/403.
...
Guenther
2008-10-31 02:44:27 +01:00
Günther Deschner
ca4cd04bed
s3-srvsvc-idl: merge STR_LEN4 removal from s4.
...
Guenther
2008-10-31 02:44:27 +01:00
Günther Deschner
5772c73e84
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-29 08:57:53 +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
8e4c691c0a
s4-netlogon: merge netr_ServerAuthenticate{2,3} 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
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
992c03a192
s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +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
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
Günther Deschner
5a4b421952
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-27 14:29:04 +01:00
Günther Deschner
eb3c826f7b
s3-netlogon-idl: fix IDL for netr_DsrGetDcSiteCoverageW.
...
Guenther
2008-10-27 14:29:04 +01:00
Tim Prouty
1b42152454
Fix "ndr_size_PAC_LOGON_INFO defined but not used" build warning
...
This patch removes the gensize option from krb5pac.idl because it
generates an unused function that has been causing warnings during the
s3 build. I re-ran 'make samba3-idl' to update the generated files
for s3. For s4 I ran a full build with no problems.
2008-10-23 15:13:54 -07:00
Günther Deschner
27c4cf4e7b
s3-build: add missing generated svcctl changes.
...
Guenther
2008-10-23 20:00:03 +02:00
Günther Deschner
f36ffa7681
s3-build: remove duplicate svcctl bits and re-run make samba3-idl.
...
Guenther
2008-10-23 18:34:57 +02:00
Jelmer Vernooij
52923c4ff4
Remove unused copy of tables.pl
2008-10-23 03:07:27 +02:00
Jelmer Vernooij
ad50d78496
Remove unused copy of ndrdump.c.
2008-10-23 03:04:48 +02:00
Günther Deschner
66b06e5a7f
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-20 22:09:07 +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
e0905c3090
Use tables in Samba 3 ndrdump.
2008-10-20 13:19:39 +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
a8707a43d0
Regenerate pidl output.
2008-10-20 12:19:01 +02:00
Jelmer Vernooij
5b52964b15
Share winreg.idl.
2008-10-20 11:53:20 +02:00
Günther Deschner
640847b4fc
s3: forgot to remove old copy of krb5pac.idl.
...
Guenther
2008-10-20 11:21:45 +02:00
Günther Deschner
fc8fadf1e9
idl: finally share krb5_pac.idl.
...
Guenther
2008-10-20 11:11:22 +02:00
Günther Deschner
044bb5ce39
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-19 00:26:16 +02: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
Jelmer Vernooij
519458a2fa
Use shared util.c.
2008-10-18 14:27:13 +02:00
Günther Deschner
d7264320f4
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-17 23:02:11 +02:00
Günther Deschner
82aeb52ec0
s3-winreg: merge from s4 winreg idl.
...
Guenther
2008-10-17 23:02:02 +02:00
Günther Deschner
bd07fdcebe
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-17 10:54:01 +02:00
Günther Deschner
d2a007b629
s3: merge from s4 drsuapi.idl.
...
Guenther
2008-10-17 10:54:01 +02:00
Günther Deschner
f0dccc0307
s3: re-merge s4 drsuapi helper and re-run make samba3-idl.
...
Guenther
2008-10-16 14:02:26 +02:00
Günther Deschner
04a676f9a4
s3-idl: merge from s4 drsuapi.idl.
...
Guenther
2008-10-16 14:00:42 +02:00
Günther Deschner
9571a182f1
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-16 09:54:49 +02:00
Günther Deschner
1e7e508e49
s3-build: re-run make samba3-idl after winreg changes.
...
Guenther
2008-10-15 21:45:05 +02: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
018bf57c27
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-15 19:44:48 +02:00
Günther Deschner
f64f444c96
s3: merge some more lsa bits from s4 idl.
...
Guenther
2008-10-15 19:44:40 +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
Günther Deschner
911501bb8b
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-15 17:11:27 +02:00
Günther Deschner
a26dde5b1c
s3: merge from s4 samr.idl.
...
Guenther
2008-10-15 17:11:27 +02:00
Jelmer Vernooij
b41fc6c729
Re-run pidl.
2008-10-15 16:54:28 +02:00
Jelmer Vernooij
d210393639
lsa.idl: Sync a couple more constants from Samba 4.
2008-10-15 16:54:01 +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
310dc3e42d
Re-run pidl.
2008-10-15 16:16:26 +02:00
Jelmer Vernooij
ec63a6f5ad
Merge branch 'master' of git://git.samba.org/samba
2008-10-15 16:16:01 +02:00
Jelmer Vernooij
3214fb0734
Add [public] and [todo] as in Samba 4.
2008-10-15 16:15:20 +02:00
Günther Deschner
bf38baba6d
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-15 16:14:20 +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
Jelmer Vernooij
760dfa76d9
Share epmapper.
2008-10-15 15:31:49 +02:00
Günther Deschner
b54b8912e1
s3-build: re-run make samba3-idl.
...
Guenther
2008-10-15 15:14:46 +02:00
Günther Deschner
94d7e52dd8
idl: more netlogon merges between s3 and s4.
...
Guenther
2008-10-15 15:14:00 +02:00
Günther Deschner
f0fd834141
share ntsvcs.idl.
...
Guenther
2008-10-15 12:03:12 +02:00
Günther Deschner
fe46368e09
move svcctl to main idl directory.
...
Guenther
2008-10-15 11:37:42 +02:00
Günther Deschner
d9070ab7bc
s3-build: add regenerated files.
...
Guenther
2008-10-15 11:28:55 +02:00
Jelmer Vernooij
4695504a6c
Share security.idl.
2008-10-15 02:33:16 +02:00
Jelmer Vernooij
f75b460814
Share misc.idl.
2008-10-15 02:08:24 +02:00
Jelmer Vernooij
4f6a4b5510
Share idl_types.h.
2008-10-15 01:53:09 +02:00
Jelmer Vernooij
4999c5b2b9
Regenerated pidl output.
2008-10-15 01:48:02 +02:00
Jelmer Vernooij
bd8998226c
Sync misc.idl with Samba 4.
2008-10-15 01:33:47 +02:00
Jelmer Vernooij
45f97c4614
Move shared DCE/RPC IDL files to root IDL dir.
2008-10-15 01:23:36 +02:00
Jelmer Vernooij
0132423a09
Share libndr.h between Samba 3 and Samba 4.
2008-10-15 00:35:13 +02:00
Jelmer Vernooij
5198fb6e19
Share ndr_krb5pac implementation.
2008-10-14 23:52:20 +02:00
Jelmer Vernooij
f02a68a89f
Share ndr_compression.c.
2008-10-14 23:46:34 +02:00
Jelmer Vernooij
831141e334
Remove unused file.
2008-10-14 23:37:55 +02:00
Jelmer Vernooij
42f0172fe2
Remove unused file.
2008-10-14 16:21:26 +02:00
Jelmer Vernooij
4577fb5a3b
Remove unused types.
2008-10-14 15:57:03 +02:00
Jelmer Vernooij
2ce72b5a69
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-10-13 16:30:40 +02:00
Jelmer Vernooij
2fddd2e2d5
Share ndrdump implementation.
2008-10-13 15:58:45 +02:00
Jelmer Vernooij
6d02f0805a
Import warning fixes from Samba 3 into libndr, sync more libndr code.
2008-10-13 15:33:40 +02:00
Jelmer Vernooij
58f844ab54
Share uuid implementations.
2008-10-13 15:23:35 +02:00
Jelmer Vernooij
8cae7a5bab
Share ndr_misc implementations.
2008-10-13 15:22:27 +02:00
Jelmer Vernooij
390d37187a
Share ndr_basic implementation.
2008-10-13 15:20:10 +02:00
Jelmer Vernooij
e779345bca
Import changes from upstream libndr.
2008-10-13 15:01:28 +02:00
Jelmer Vernooij
de0aa7850c
Move code specific to Samba 3 to a separate file.
2008-10-13 14:38:42 +02:00
Jelmer Vernooij
3d6f759d08
Import new enum values.
2008-10-13 14:09:10 +02:00
Jelmer Vernooij
99fba0ca69
Remove Samba3/Samba4-specific bits.
2008-10-12 19:37:17 +02:00
Jelmer Vernooij
9f2ed1e00f
Share RPC binding string utility functions.
2008-10-12 19:05:46 +02:00
Volker Lendecke
8641b54a73
Attempt to fix the build on IRIX
...
Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2
2008-10-02 03:45:37 +02:00
Günther Deschner
e867ff52d7
s3: re-run make samba3-idl.
...
Guenther
2008-09-24 03:34:22 +02:00
Günther Deschner
a877745dc7
s3-nbt: full merge of s4 nbt idl.
...
Guenther
2008-09-24 03:34:22 +02:00
Günther Deschner
61a45c85de
s3: fix make everything.
...
Guenther
2008-09-24 01:40:52 +02:00
Günther Deschner
022947097f
s3-ndr: add stub smb_iconv_convenience to some ndr_ functions.
...
Guenther
2008-09-23 23:35:14 +02:00
Günther Deschner
5fa451ea84
s3: re-run make samba3-idl.
...
Guenther
2008-09-23 23:35:04 +02:00
Günther Deschner
0950cce83d
s3: re-run make samba3-idl.
...
Guenther
2008-09-23 23:20:01 +02:00
Günther Deschner
d62bc0e845
s3-nbt: start merging from samba4 idl.
...
Guenther
2008-09-23 23:19:54 +02:00
Günther Deschner
9f8813e4d4
s3: re-run make idl.
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
83c042583b
s3-nbt: refer to ../libcli/nbt in nbt.idl.
...
Guenther
2008-09-23 09:37:24 +02:00