Simo Sorce
ae526514a9
s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXT
2010-07-08 01:08:05 -04:00
Günther Deschner
77e3fffd09
s3-dcerpc: add dcerpc_pull_ncacn_packet_header().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08 00:29:33 -04:00
Günther Deschner
257f5145b5
s3-dcerpc: remove unused init_rpc_hdr_rb and init_rpc_context.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:51 -04:00
Günther Deschner
dc6e0cedfc
s3-dcerpc: remove unused smb_io_rpc_hdr_fault.
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
cb9eddb312
s3-dcerpc: add dcerpc_pull_ncacn_packet().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
3d9a12dca7
s3-dcerpc: add dcerpc_push_ncacn_packet().
...
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07 23:45:50 -04:00
Günther Deschner
7e1fa8d067
s3-rpc_parse: remove finally unused prs_unistr().
...
Guenther
2010-07-07 15:29:25 +02:00
Volker Lendecke
3278554b3e
s3: Make talloc_attrs() static
2010-07-05 12:37:13 +02:00
Volker Lendecke
e168b85f00
s3: Remove procid_self() from fill_deferred_open_entry()
2010-07-05 11:06:31 +02:00
Volker Lendecke
13441a9e18
s3: Remove procid_self() from session_claim()
2010-07-05 11:06:25 +02:00
Volker Lendecke
23a31becac
s3: Remove unused msg_flags from connections.tdb
...
This breaks rolling code upgrade!
2010-07-04 21:49:03 +02:00
Volker Lendecke
b0c83d50f9
s3: Replace register_message_flags() with serverid_register_msg_flags()
...
message_send_all is now done by walking the serverid.tdb, not the
connections.tdb anymore.
Günther, Simo, please check!
2010-07-04 21:49:03 +02:00
Volker Lendecke
7f0e6df883
s3: Pass the new server_id through reinit_after_fork
2010-07-04 17:29:23 +02:00
Günther Deschner
04641abb33
s3-libads: move ldap posix schema defines to their own header file.
...
Guenther
2010-07-01 23:20:40 +02:00
Günther Deschner
56538be6af
s3-libads: move ads_dns out of main includes.
...
Guenther
2010-07-01 23:20:40 +02:00
Günther Deschner
e64df82146
s3-libads: move ads_status to a separate header file.
...
Guenther
2010-07-01 23:20:39 +02:00
Günther Deschner
6625aada81
s3-libsmb: move change_trust_account_password out of smbd into libsmb.
...
Guenther
2010-06-30 21:46:08 +02:00
Volker Lendecke
ba0ba4e85b
s3: Make some routines static in smbldap
2010-06-28 16:57:04 +02:00
Jeremy Allison
5a77d648d9
Remove two unused functions (prs_force_dynamic, prs_set_session_key).
...
Jeremy.
2010-06-16 10:26:47 -07:00
Andreas Schneider
47ae4a518c
s3-spoolss: Provide a memory context for clean_up_driver_struct().
...
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would
segfault with a talloc bad magic value.
2010-06-16 12:03:46 +02:00
Jeremy Allison
81f70834ca
Remove unused function.
2010-06-15 15:33:44 -07:00
Volker Lendecke
c7f44801e3
s3: Remove fsp_belongs_conn
...
check_open_fsp does exactly the same
2010-06-13 15:20:58 +02:00
Volker Lendecke
330a64c72b
s3: Explicitly pass sconn to process_blocking_lock_queue
2010-06-12 15:42:56 +02:00
Volker Lendecke
ec2079f5d0
s3: Explicitly pass sconn to blocking_lock_was_deferred_smb1
2010-06-12 15:42:56 +02:00
Volker Lendecke
f856fb0b35
s3: Explicitly pass sconn to remove_pending_lock_requests_by_mid_smb1
2010-06-12 15:42:56 +02:00
Volker Lendecke
5d43180a55
s3: Explicitly pass sconn to the remove_pending_change_notify_request_by_mid
2010-06-12 15:42:55 +02:00
Volker Lendecke
f589909eb1
s3: change_notify_reply() does not need its "conn" argument
2010-06-12 15:42:55 +02:00
Volker Lendecke
dd192bb649
s3: Explicitly pass sconn to is_valid_writeX_buffer
2010-06-12 15:42:52 +02:00
Volker Lendecke
d5f20aea73
s3: Pass sconn explicitly to reply_special
2010-06-12 15:42:52 +02:00
Simo Sorce
a53ca94416
s3:rpc improve handles memory hierarchy and use better name.
...
While there also cleanup the code a bit.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-11 00:43:23 +02:00
Simo Sorce
5e576a53ab
s3:lib make server contexts generic
...
Pair-programmed-with: Andreas Schneider <asn@samba.org>
2010-06-10 17:30:45 -04:00
Jeremy Allison
321d7a6303
Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added).
...
Jeremy.
2010-06-10 13:20:37 -07:00
Volker Lendecke
34b29b1198
Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS"
...
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80.
Conflicts:
source3/auth/auth_ntlmssp.c
2010-06-08 11:38:08 +02:00
Simo Sorce
5da783f4a7
s3:smbd add utility function to check if there are open pipes
2010-06-07 17:25:48 -04:00
Simo Sorce
f9fc4df0c0
s3:rpc make num_pipe_handles get an actual pipe as argument
...
Let the function abstract out how handles are counted
2010-06-07 17:25:48 -04:00
Andrew Bartlett
9a747d500f
s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP
...
This allows the right hooks to be called in GENSEC when s3compat
implements the auth_ntlmssp interface. Otherwise, we can't do the
signing or sealing as we have not negoitated it's use.
Andrew Bartlett
2010-06-07 23:34:29 +10:00
Andrew Bartlett
edba46ce94
s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS
...
It's nicer to have an NTSTATUS return, and in s3compat there may be a
reason other than 'no memory' why this can fail.
Andrew Bartlett
2010-06-07 23:34:29 +10:00
Simo Sorce
0a7ff14617
s3:passdb Export function to calculate the proper primary group sid
...
Don't keep it buried in passdb, this function need to be available
for use in places where we do not want to construct an artificial
samu struct just to play tricks.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07 22:53:08 +10:00
Simo Sorce
aa1a3cbad2
s3:auth create nt token from info3 directly
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07 22:53:07 +10:00
Simo Sorce
e6456df148
s3:auth handle unix domain sids in samu
...
When we generate a user out of thin air we may end up adding sids
that are not part of the sam domain (unix domain sids).
Handle the case and preserve these sids as extra sids.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-07 22:53:07 +10:00
Günther Deschner
4591fdbc18
s3-privileges: use LUID defines from lsa IDL.
...
Guenther
2010-06-07 10:33:36 +02:00
Jeremy Allison
e0acee4919
Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). Simplifies
...
the code and eliminates find_aio_ex().
Jeremy.
2010-06-04 11:30:46 -07:00
Andreas Schneider
15f64af8e3
s3-rpc: Create a file with all functions for a internal named pipe.
...
This makes it possible to use the samr rpc server in winbind without
linking in smbd.
Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04 12:12:50 -04:00
Günther Deschner
84a8f0451d
s3-build: only include generated spoolss headers (not ndr headers).
...
Guenther
2010-06-03 11:00:27 +02:00
Günther Deschner
bcd4077be6
s3: remove unused librpc/ndr/sid.c.
...
Guenther
2010-06-03 01:07:17 +02:00
Matthieu Patou
57ab910b6f
s3: Allow previous password to be stored and use it to check tickets
...
This patch is to fix bug 7099. It stores the current password in the
previous password key when the password is changed. It also check the
user ticket against previous password.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-02 14:32:23 +02:00
Michael Adam
f702578f76
s3: remove unused prototype for lp_idmap_domains().
2010-06-01 15:31:48 +02:00
Andrew Bartlett
a6e07c22a3
s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_info
2010-06-01 17:11:25 +10:00
Andrew Bartlett
dfb206f47e
s3:param Put 'server_role' functions in another file.
...
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01 17:11:24 +10:00
Andrew Bartlett
6d2e796f35
s3:param Add helper function to get at Gobals.iDomainMaster
...
This is needed for a future split out of the server_role code.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01 17:11:24 +10:00