Andrew Bartlett
aefe60da8c
s3-util_sid Tidy up global struct security_token
...
This no longer needs to be global, and should be const. We now also
init it with the C99 style initialisers.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:12 +10:00
Andrew Bartlett
e3edd7ca3a
s3-privs Add const
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:12 +10:00
Andrew Bartlett
96e59faa62
s3-privs Remove unused function
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:11 +10:00
Andrew Bartlett
9883993b66
s3-privs Overhaul PRIVILEGE_SET handling, avoid dealing with the bitmap
...
This avoids us dealing with the privilege bitmap in the LSA server, and
overhauls much of the rest of the handling to be currnet with the modern
world of talloc.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:11 +10:00
Andrew Bartlett
ad5ec58a71
s3-privs Hide the bitmap-based grant_privilege and revoke_privilege
...
The new wrappers avoid anything but the core privileges code
dealing with the bitmap values directly.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:11 +10:00
Andrew Bartlett
4080ff7af5
s3-privs Make privilege_enum_sids() take an LUID, not a bitmap
...
This moves one more privileges call away from direct bitmap manipuation.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:11 +10:00
Andrew Bartlett
62e5900cd1
s3-privs Rework access_check_object() to take two privileges
...
This allows the privileges bitmap to be used only when setting
privileges, and uses an the LUID constant for all 'does this user
have this privilege' operations.
The advantage is that we now only need one API to determine if a
token has a privilege, and much less code needs to know what type
is used for the underlying bitmap.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:10 +10:00
Andrew Bartlett
b057867de3
s3-privs Remove a pointer from grant_privilege()
...
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:09 +10:00
Andrew Bartlett
a02ae674dd
s3-privs Remove a pointer indirection from revoke_privilege()
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:08 +10:00
Andrew Bartlett
0d25212cc1
s3-privs Move manual prototypes to common privileges.h
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:07 +10:00
Andrew Bartlett
f20bba97d8
s3-privs Move source3/ privileges implmentation into common
...
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:06 +10:00
Andrew Bartlett
cae7babb1f
s3-privs Rename structure elements for greater clarity
...
It is important to make clear which is the LUID and which
is the Samba-only bitmap mask.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:06 +10:00
Andrew Bartlett
d1bb21b0d5
s3:auth Remove NT_USER_TOKEN
...
The all UPPER case typedef is no longer the preferred Samba style
and this makes it easier to see that this is the IDL-derivied structure
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:06 +10:00
Andrew Bartlett
4bfc8d3b1a
s3-auth Change struct nt_user_token -> struct security_token
...
This common structure is defined in security.idl
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Andrew Bartlett
4bf783d4d6
s3-auth Change type of num_sids to uint32_t
...
size_t is overkill here, and in struct security_token in the num_sids
is uint32_t.
This includes a change to the prototype of add_sid_to_array()
and add_sid_to_array_unique(), which has had a number of
consequnetial changes as I try to sort out all the callers using
a pointer to the number of sids.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Andrew Bartlett
3e36aefc66
s3-privs Only store low bits of luid in privileges table
...
Samba only uses the low bits, and this makes the code simpler.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Andrew Bartlett
e113af6fb1
privs Add my Copyright
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Andrew Bartlett
fcaa86f402
s3-privs Further changes to remove SE_PRIV
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:04 +10:00
Andrew Bartlett
821b9e61aa
privs Move privilege bitmasks to security.idl
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:04 +10:00
Andrew Bartlett
42a98a570b
s3:privileges Change SE_PRIV to be just a uint64_t
...
We don't need 128 possible privileges here, as we only use 12.
This reverts some of 46e5effea9
by Jerry back in 2005, where he introduced the SE_PRIV structure
to replace the uint32_t used at the time.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:03 +10:00
Andreas Schneider
fc1a5dbffb
s3-spoolss: Don't leak memory on the session counter list.
...
Thanks Günther, please check.
2010-09-10 16:10:46 +02:00
Simo Sorce
4a8d042afa
s3-spoolss: Move Printer_entry to srv_spoolss_nt.c
...
It is used only there, and it is a good idea to make this one private and
opaque to the rest of the code.
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10 15:49:03 +02:00
Andreas Schneider
bbf2cd50b0
s3-printing: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
021539570b
s3-msdfs: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
0d9fa9e96f
s3-rpcint: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
669213e812
s3-auth: Added get_server_info_system function.
2010-09-09 16:00:07 +02:00
Björn Jacke
1b5cdd76b7
s3/ldap: use monotonic clock for timeouts in smbldap
...
tevent would need monotonic clock features to make also smbldap's idle handling
aware of backward clock jumps. Other areas in smbldap are clock jump save now.
2010-09-08 22:33:31 +02:00
Björn Jacke
5b016dbab8
s3/libads: use monotonic clock for ldap connection timeouts
2010-09-07 20:37:53 +02:00
Stefan Metzmacher
2907310803
s3:rpc_server: make it possible to use rpcint_binding_handle() directly
...
metze
2010-09-04 09:01:10 +02:00
Andrew Tridgell
4ca96834f3
s3-param: added lp_set_cmdline() and --option= parameter
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Günther Deschner
95f9542e05
s3-auth: remove global include of krb5pac.h.
...
Guenther
2010-08-31 23:17:40 +02:00
Volker Lendecke
5648c3f67e
s3: messaging_ctdbd_connection() was only called with procid_self()
...
Eventually we'll get this right...
2010-08-31 17:07:41 +02:00
Volker Lendecke
301bf22eab
s3: Make ctdbd_init_connection static
2010-08-31 17:07:41 +02:00
Björn Jacke
6e9747c1ce
s3: add TspecDiff macro
2010-08-31 10:25:59 +02:00
Björn Jacke
8c6ca6e25a
s3: we have clock_gettime everywhere, remove ifdefs
2010-08-31 09:07:42 +02:00
Andrew Bartlett
eee63b7e75
s3-auth Rename NT_USER_TOKEN privileges -> privilege_mask
...
This is closer to the struct security_token from security.idl
Andrew Bartlett
2010-08-31 11:25:41 +10:00
Andrew Bartlett
8c15cf54ae
s3-auth Rename NT_USER_TOKEN user_sids -> sids
...
This is closer to the struct security_token from security.idl
2010-08-31 10:20:14 +10:00
Simo Sorce
08a8e25d6b
s3-auth: add helper to get server_info out of kerberos info
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:24:30 +02:00
Simo Sorce
b9772a4886
s3-auth: Add helper function to retrieve the unix user from a kerberos ticket
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:17:06 +02:00
Volker Lendecke
e466bb4af4
s3: Remove smbd_server_fd()
...
This breaks the perfcol_onefs() build.
Tim, Steve, this use of smbd_server_fd is replacable by calls into
substitute.c. I don't have a onefs environment around to build a fix, so I've
decided to insert an #error, making it not compile. The fix should be pretty
obvious, you can get the socket data via "%I" and "%i" substitutions.
2010-08-29 21:55:25 +02:00
Volker Lendecke
4a58c640cc
s3: Set the client_id in substitute.c once
...
This never changes during a client connection's life, so we can set it
once.
2010-08-29 21:55:23 +02:00
Volker Lendecke
0f83aa8650
s3: Remove the dependency of g_lock on procid_self
...
procid_self() references global vars, don't depend on them unnecessarily
2010-08-28 12:28:53 +02:00
Volker Lendecke
92fd03c5f0
s3: Lift smbd_server_fd() from pass_check()
2010-08-28 11:12:13 +02:00
Volker Lendecke
636d107989
s3: Fix smb_pam_passcheck
2010-08-28 11:05:22 +02:00
Volker Lendecke
9322fa4077
s3: Lift smbd_server_fd() from smb_pam_passcheck
2010-08-27 21:59:09 +02:00
Volker Lendecke
8e1d3b5f8f
s3: Pass rhost through to smb_pam_passchange
2010-08-27 12:53:17 +02:00
Günther Deschner
338184fb3a
s3-proto: remove obsolete prototypes.
...
Guenther
2010-08-26 23:25:00 +02:00
Günther Deschner
3aab0c701c
s3-build: only include rpc_misc.h where needed.
...
Guenther
2010-08-26 00:26:01 +02:00
Günther Deschner
8b4f5319ef
s3-build: use talloc_dict.h only where needed.
...
Guenther
2010-08-26 00:25:58 +02:00
Günther Deschner
7a05ca2c9c
s3-build: use dbwrap.h only where needed.
...
Guenther
2010-08-26 00:25:55 +02:00
Günther Deschner
ca765d2f50
s3-build: only include krb5 environment variables where required.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
c8f8110342
s3-build: only include libnscd.h where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
184339825d
s3-build: include mangle.h only where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
7b6fc9f414
s3-dcerpc: only include rpc_dce.h where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
d9a7605431
s3-build: remove unrequired ntlmssp forward declaration.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
2b41f421fd
s3-idmap: only include idmap headers where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
3ef531ec34
s3-build: no point in including doserr.h, noone uses them.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
b5bdcdd65e
s3-build: only include "fake_file.h" where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
c217790918
s3-nmbd: move nmbd proto out of main proto.h
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
7ff7eb0b52
s3-build: only include nsswitch header where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
08eff4d311
s3-build: remove unrequired forward declaration for struct printjob.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
aba1bf4b5e
s3-build: only include memcache.h where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
e978a3d3f4
s3-lsa: separate out init_lsa headers.
...
Guenther
2010-08-25 22:50:39 +02:00
Michael Adam
3add3aa17d
s3:smbd: add a nfs backend for sysquotas.
...
This module is based on the Solaris/FreeBSD implementation
of NFS quotas in the quotas.c module.
It implements the SMB_USER_QUOTA_TYPE query of the
get_quotas call. The other types and the set_quota call
are not implemented.
2010-08-25 14:05:51 +02:00
Volker Lendecke
1808dd0a85
s3: Make srv_send_smb take an sconn instead of a sock fd
2010-08-24 21:06:41 +02:00
Volker Lendecke
177e394f93
s3: Pass the rhost through smb_pam_accountcheck
2010-08-22 22:42:21 +02:00
Volker Lendecke
de95124935
s3: Move check_access to cgi.c, its only user
2010-08-22 14:28:34 +02:00
Jeremy Allison
22a0168504
Fix const warning.
2010-08-20 15:56:37 -07:00
Michael Adam
34092c11b4
s3:loadparm: make lp_load_ex static. We have wrappers for external callers.
2010-08-20 11:14:06 +02:00
Simo Sorce
cbe9f879af
s3-ads: Fix wrong test in if statement
2010-08-19 11:28:12 -04:00
Simo Sorce
1ab17f13a2
s3-ads: Remove unused wrapper and make function static
2010-08-18 09:37:56 -04:00
Volker Lendecke
d7c8fb21bb
s3: async cli_list
2010-08-18 15:14:02 +02:00
Volker Lendecke
77761d9adc
s3: Add cli_flush
2010-08-18 15:14:02 +02:00
Andreas Schneider
555b175212
s3-printing: Added function to update the queue.
2010-08-18 11:43:18 +02:00
Volker Lendecke
a847f13d7b
s3: Use pipe_struct->client_id->name for pjob.clientmachine
2010-08-18 11:18:24 +02:00
Volker Lendecke
4b5e252354
s3: Add "client_id" to pipes_struct
2010-08-18 11:18:23 +02:00
Volker Lendecke
6d10684556
s3: Remove unneeded "client_address" from connection_struct
2010-08-18 11:18:23 +02:00
Volker Lendecke
7b6835ec1d
s3: Add smbd_server_connection->client_id
2010-08-18 11:18:22 +02:00
Volker Lendecke
ac7b63384d
s3: Lift smbd_server_fd from reload_services()
2010-08-18 11:18:21 +02:00
Günther Deschner
59289d4fa9
s3-build: only include smb_signing.h where needed.
...
Guenther
2010-08-18 09:20:13 +02:00
Volker Lendecke
26ff858934
s3: Remove smbd_server_fd() from session_claim
2010-08-17 22:52:03 +02:00
Volker Lendecke
840b0f523b
s3: Move read_smb_length() to smbd/reply.c
2010-08-17 22:44:04 +02:00
Volker Lendecke
3aba8e9b7e
s3: Remove unused "pos" arg from print_job_write
2010-08-17 15:31:49 +02:00
Simo Sorce
7b12513d12
s3-dcerpc: make a few local functions as static
2010-08-17 06:33:13 -04:00
Stefan Metzmacher
e79c8098d6
s3:include: remove unused dispatch* fn pointers from rpc_pipe_client
...
metze
2010-08-16 14:30:19 +02:00
Stefan Metzmacher
dd16d3b2d6
s3:rpc_client: remove unused rpc_pipe_open_local()
...
metze
2010-08-16 14:30:17 +02:00
Volker Lendecke
d418f9f11a
s3-printing: Lift the use of smbd_server_fd from job_submit.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-08-16 14:02:19 +02:00
Volker Lendecke
976e1b46ef
s3: Remove an unused struct definition
2010-08-16 13:26:18 +02:00
Volker Lendecke
96ae457023
s3: Remove get_client_fd()
2010-08-16 13:13:10 +02:00
Andreas Schneider
66b6a8cf62
s3-auth: Remove obsolete 'update encrypted' option.
2010-08-16 12:48:27 +02:00
Volker Lendecke
08b628efe4
s3: Remove some unused code
2010-08-15 15:15:59 +02:00
Andrew Bartlett
70211ea6a3
s3:auth Change winbindd -> auth interface to more standard structures
...
This removes conversions to and from the source3 varient of the
server_info structure when replaced in s3compat, and presents a tidier
interface to winbindd in any case.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Bartlett
23994e1b53
s3:auth Make Samba3 use the new common struct auth_usersupplied_info
...
This common structure will make it much easier to produce an auth
module for s3compat that calls Samba4's auth subsystem.
In order the make the link work properly (and not map twice), we mark
both that we did try and map the user, as well as if we changed the
user during the mapping.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-14 11:58:13 +10:00
Michael Adam
1cd1dff756
s3:idmap: add idmap_unix_id_is_in_range() for checking an id against an idmap range
2010-08-14 02:10:42 +02:00
Michael Adam
dc4d838401
s3:idmap: add a read_only flag to the idmap_domain struct.
...
This will be used to mark "allocating backends" (tdb, tdb2, ldap) read-only.
2010-08-14 02:10:41 +02:00
Michael Adam
10c50f74d0
s3:idmap: add low_id and high_id to the idmap_domain struct
...
This global data will replace the backend-specific filter_low_id
and filter_high_id. The presence of a range is generic to all
idmap configs.
2010-08-14 02:10:41 +02:00
Michael Adam
6d9f4d6d36
s3:loadparm: add new boolean parameter "idmap read only"
...
This will be used to be able to put the default idmap config
read only. This can make sense for instance with the tdb2
idmap backend and using the idmap script feature.
2010-08-14 02:10:40 +02:00
Michael Adam
c62f7c7a0b
s3:loadparm: remove parameter "idmap alloc backend"
2010-08-14 02:10:40 +02:00
Michael Adam
7dd8339ca1
s3:idmap: remove unused definition of idmap_alloc_methods.
...
Allocation is now completely handled in the allocating backends.
2010-08-14 02:10:40 +02:00
Michael Adam
75a6c24459
s3:idmap: remove unused smb_register_idmap_alloc().
...
The registering of alloc backends is being removed.
The idmap backends are responsible for initializing
their alloc code on their own if necessary.
2010-08-14 02:10:39 +02:00
Michael Adam
7b4c6f7e89
s3:idmap_tdb: make idmap_alloc_tdb_init() static.
2010-08-14 02:10:37 +02:00
Michael Adam
770b22ff5a
s3:idmap: add an allocate_id method to the idmap_methods struct.
...
The idmap_alloc_methods are being removed, but this single "alloc" method
is still needed for the samba-wide Unix-ID allocator, which is used in
group-mapping and ldapsam:editposix.
This method should ultimately also disappear.
2010-08-14 02:10:37 +02:00
Michael Adam
0d0032e744
s3:idmap: remove the set_mapping method from the idmap API
2010-08-14 02:10:36 +02:00
Michael Adam
95b840cbf1
s3:idmap: remove unused method set_id_hwm from idmap API
...
Michael
2010-08-14 02:10:35 +02:00
Michael Adam
3715a1687f
s3:idmap: remove unused alloc method get_id_hwm from idmap API
...
Michael
2010-08-14 02:10:35 +02:00
Michael Adam
672ab10ee7
s3:idmap: remove unused method dump_data() from the idmap API
...
Michael
2010-08-14 02:10:35 +02:00
Michael Adam
0f91373156
s3:idmap: remove the remove_mapping method from API and backends
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
d888e726a9
s3:idmap: remove unused idmap_remove_mapping().
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
6740c180e6
s3:idmap: remove unused idmap_set_mapping().
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
806e006288
s3:idmap: remove unused idmap_set_gid_hwm()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
002fe91768
s3:idmap: remove unused idmap_set_uid_hwm()
...
Michael
2010-08-14 02:10:32 +02:00
Andrew Bartlett
71d80e6be0
s3-krb5 Only build ADS support if arcfour-hmac-md5 is available
...
Modern Kerberos implementations have either defines or enums for these
key types, which makes doing #ifdef difficult. This shows up in files
such as libnet_samsync_keytab.c, the bulk of which is not compiled on
current Fedora 12, for example.
The downside is that this makes Samba unconditionally depend on the
arcfour-hmac-md5 encryption type at build time. We will no longer
support libraries that only support the DES based encryption types.
However, the single-DES types that are supported in common with AD are
already painfully weak - so much so that they are disabled by default
in modern Kerberos libraries.
If not found, ADS support will not be compiled in.
This means that our 'net ads join' will no longer set the
ACB_USE_DES_KEY_ONLY flag, and we will always try to use
arcfour-hmac-md5.
A future improvement would be to remove the use of the DES encryption
types totally, but this would require that any ACB_USE_DES_KEY_ONLY
flag be removed from existing joins.
Andrew Bartlett
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13 09:08:27 -04:00
Stefan Metzmacher
2c0e296dd7
s3:rpc_client: add dcerpc_binding_handle backend
...
metze
2010-08-12 14:31:21 +02:00
Volker Lendecke
016418d6c2
s3: Remove the smbd_messaging_context from load_printers
2010-08-08 23:37:47 +02:00
Volker Lendecke
1c1d83a532
s3: Remove the smbd_messaging_context from pcap_cache_reload
2010-08-08 23:37:47 +02:00
Volker Lendecke
37d71a56fd
s3: Pass sconn to smbd_process
2010-08-08 23:37:47 +02:00
Volker Lendecke
53ed39de4a
s3: Make check_reload() static
2010-08-08 23:37:46 +02:00
Volker Lendecke
1b60ead64a
s3: Lift the server_messaging_context from update_monitored_printq_cache
2010-08-08 18:09:38 +02:00
Volker Lendecke
ef208c5571
s3: Lift the server_messaging_context from print_job_endpage
2010-08-08 18:09:38 +02:00
Volker Lendecke
d1f3a2efb7
s3: Lift the server_messaging_context from print_job_write
2010-08-08 18:09:37 +02:00
Volker Lendecke
de10824872
s3: Lift the server_messaging_context from print_job_set_name
2010-08-08 18:09:37 +02:00
Volker Lendecke
0b423493c3
s3: Lift the server_messaging_context from pjob_delete
2010-08-08 18:09:37 +02:00
Volker Lendecke
128976e011
s3: Lift the server_messaging_context from notify_printer_byname
2010-08-08 18:09:36 +02:00
Volker Lendecke
d62c73b799
s3: Lift the server_messaging_context from notify_printer_location
2010-08-08 18:09:36 +02:00
Volker Lendecke
83c4c04121
s3: Lift the server_messaging_context from notify_printer_port
2010-08-08 18:09:36 +02:00
Volker Lendecke
f3313c5307
s3: Lift the server_messaging_context from notify_printer_printername
2010-08-08 18:09:36 +02:00
Volker Lendecke
c427423aee
s3: Lift the server_messaging_context from notify_printer_sharename
2010-08-08 18:09:36 +02:00
Volker Lendecke
7285e0d5dd
s3: Lift the server_messaging_context from notify_printer_comment
2010-08-08 18:09:36 +02:00
Volker Lendecke
4e4bf13e70
s3: Lift the server_messaging_context from notify_printer_driver
2010-08-08 18:09:35 +02:00
Volker Lendecke
b71debcca0
s3: Lift the server_messaging_context from notify_job_submitted
2010-08-08 18:09:35 +02:00
Volker Lendecke
aa5fd419b2
s3: Lift the server_messaging_context from notify_job_name
2010-08-08 18:09:35 +02:00
Volker Lendecke
06cf2ae6ea
s3: Lift the server_messaging_context from notify_job_username
2010-08-08 18:09:35 +02:00
Volker Lendecke
7a9f94dae8
s3: Lift the server_messaging_context from notify_job_total_pages
2010-08-08 18:09:35 +02:00
Volker Lendecke
bd6626c40c
s3: Lift the server_messaging_context from notify_job_total_bytes
2010-08-08 18:09:35 +02:00
Volker Lendecke
edbed43119
s3: Lift the server_messaging_context from notify_job_status
2010-08-08 18:09:35 +02:00
Volker Lendecke
9b3a53a7a7
s3: Lift the server_messaging_context from notify_job_status_byname
2010-08-08 18:09:35 +02:00
Volker Lendecke
21811fe72d
s3: Lift the server_messaging_context from notify_printer_status
2010-08-08 18:09:35 +02:00
Volker Lendecke
49d18478fd
s3: Lift the server_messaging_context from notify_printer_status_byname
2010-08-08 18:09:34 +02:00
Volker Lendecke
c6e6aee0a0
s3: Lift the server_messaging_context from print_queue_status
2010-08-08 18:09:34 +02:00
Volker Lendecke
c50c973036
s3: Lift the server_messaging_context from print_job_end
2010-08-08 18:09:34 +02:00
Volker Lendecke
a4c27786ff
s3: Lift the server_messaging_context from print_queue_length
2010-08-08 18:09:33 +02:00
Volker Lendecke
bc760e79c8
s3: Lift the smbd_messaging_context from start_background_queue
2010-08-08 18:09:33 +02:00
Volker Lendecke
75b4dfd14d
s3: Lift the smbd_messaging_context from smbd_setup_sig_hup_handler
2010-08-08 18:09:33 +02:00
Volker Lendecke
39da717fe1
s3: Lift the smbd_messaging_context from reload_services
2010-08-08 18:09:33 +02:00
Volker Lendecke
7c7ffb70fb
s3: Lift the smbd_messaging_context from reload_printers
2010-08-08 18:09:33 +02:00
Volker Lendecke
cc280f0cd1
s3: Lift the smbd_messaging_context from print_queue_purge
2010-08-08 16:03:27 +02:00
Volker Lendecke
9723f33ef5
s3: Lift the smbd_messaging_context from print_queue_resume
2010-08-08 16:03:27 +02:00
Volker Lendecke
5f9165a7ea
s3: Lift the smbd_messaging_context from print_queue_pause
2010-08-08 16:03:26 +02:00
Volker Lendecke
9441e8c52c
s3: Lift the smbd_messaging_context from print_job_start
2010-08-08 16:03:26 +02:00
Volker Lendecke
7df0e672f2
s3: Lift the smbd_messaging_context from print_job_resume
2010-08-08 16:03:26 +02:00
Volker Lendecke
2811c258f6
s3: Lift the smbd_messaging_context from print_job_pause
2010-08-08 16:03:26 +02:00
Volker Lendecke
8dcbeecd6d
s3: Lift the smbd_messaging_context from print_job_delete
2010-08-08 16:03:26 +02:00
Volker Lendecke
99b2da4504
s3: Lift the smbd_messaging_context from is_printer_published
2010-08-08 16:03:26 +02:00
Volker Lendecke
bccb7c87cc
s3: Lift the smbd_messaging_context from check_published_printers
2010-08-08 16:03:25 +02:00
Volker Lendecke
7d08c25f98
s3: Lift the smbd_messaging_context from nt_printer_publish
2010-08-08 16:03:25 +02:00
Volker Lendecke
e43ffde91f
s3: Lift the smbd_messaging_context from nt_printer_remove
2010-08-08 16:03:25 +02:00
Volker Lendecke
39ce462043
s3: Lift the smbd_messaging_context from print_time_access_check
2010-08-08 16:03:25 +02:00
Volker Lendecke
be7fd4ae50
s3: Lift the smbd_messaging_context from print_access_check
2010-08-08 16:03:25 +02:00
Volker Lendecke
d79895e826
s3: Lift the smbd_messaging_context from printer_driver_files_in_use
2010-08-08 16:03:24 +02:00
Volker Lendecke
862e888f71
s3: Lift the smbd_messaging_context from printer_driver_in_use
2010-08-08 16:03:24 +02:00
Volker Lendecke
2d3623529f
s3: Lift the smbd_messaging_context from rpc_pipe_open_internal
2010-08-08 16:03:15 +02:00
Volker Lendecke
33256d6478
s3: Lift the smbd_messaging_context from np_open
2010-08-08 16:03:15 +02:00
Volker Lendecke
7c90a6bf38
s3: Lift the smbd_messaging_context from make_internal_rpc_pipe_p
2010-08-08 16:03:15 +02:00
Volker Lendecke
5acb5b09ee
s3: Remove references to smbd_messaging_context()
2010-08-08 16:03:15 +02:00
Volker Lendecke
92282a815d
s3: Remove references to smbd_messaging_context() from the spoolss server
2010-08-07 13:16:49 +02:00
Volker Lendecke
21229178bd
s3: Add msg_ctx to pipes_struct
2010-08-07 13:16:48 +02:00
Volker Lendecke
c9b654f581
s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()
2010-08-07 13:16:48 +02:00
Günther Deschner
0f8e032628
s3-netlogon: remove global include of netlogon.h.
...
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
2010-08-06 15:46:16 +02:00
Günther Deschner
ccd4af271f
s3: remove global include of samr.h
...
Guenther
2010-08-06 15:43:38 +02:00
Günther Deschner
a90ed3381a
s3-build: no need to include privileges.h twice.
...
Guenther
2010-08-06 15:43:38 +02:00
Günther Deschner
c31df3adb2
s3-build: remove global include of krb5pac.h.
...
Put in samr and netlogon, as they were pulled in via krb5pac.h.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
257a1f1097
s3-krb5: include krb5pac.h where needed.
...
Guenther
2010-08-06 15:43:37 +02:00
Volker Lendecke
869a19f06c
s3: Remove a pointless wrapper function
2010-08-05 14:53:54 +02:00
Volker Lendecke
61fb8a4fd1
s3: Explicitly pass flags2 to clistr_pull_talloc
...
Required to eventually make cli_list async
2010-08-05 14:53:54 +02:00
Volker Lendecke
1cbe8b85ae
s3: Remove some pointless wrapper functions
2010-08-05 13:57:31 +02:00
Volker Lendecke
6cb5a0d097
s3: Remove some pointless wrapper functions
2010-08-05 13:57:31 +02:00
Volker Lendecke
0a224bc77b
s3: Save the received trans2 from the inbuf in cli_trans
2010-08-05 13:57:29 +02:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
e7a6a3ec0d
s3: avoid global include of ads.h.
...
Guenther
2010-08-05 00:32:02 +02:00
Volker Lendecke
867626abca
s3: Convert cli_list() to return NTSTATUS
...
If needed, the callback functions can count themselves
2010-08-04 20:32:50 +02:00
Günther Deschner
813fbbd68c
s3-build: avoid to globally include printing and spoolss headers.
...
This shrinks precompiled headers by 3MB and will slightly speed up any build.
Guenther
2010-07-31 00:50:31 +02: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
0b24e8e869
s3-dcerpc: Add SPNEGO incapsulation for KRB5 auth
2010-07-30 14:55:27 -04:00
Volker Lendecke
fcdda8f443
s3: Remove "cli" from "struct finfo"
2010-07-30 17:01:33 +02:00
Simo Sorce
135a82e78f
s3-decrpc: Introduce gssapi support for dcerpc krb5 auth
2010-07-28 12:24:44 -04:00
Simo Sorce
146af48d48
s3-dcerpc: revive cli_rpc_pipe_open_krb5()
2010-07-28 12:21:29 -04:00
Simo Sorce
250e341e0a
misc: Remove unused structure elements
2010-07-28 12:20:13 -04:00
Simo Sorce
2463a87177
s3-dcerpc: Use dcerpc_AuthType in pipe_auth_data
2010-07-28 12:19:32 -04:00
Simo Sorce
3c3237dd0a
s3-auth: Remove unimplemented functions
2010-07-28 12:18:28 -04:00
Andreas Schneider
f7a1453957
s3-include: Use struct pipes struct and get rid of the typedef.
2010-07-28 10:39:25 +02:00
Andreas Schneider
46397f788b
s3-rpc_server: Use struct pipes_struct.
2010-07-28 10:39:23 +02:00
Volker Lendecke
dace013898
s3: Remove a typedef (struct file_info)
2010-07-27 21:05:35 +02:00
Andreas Schneider
b95d5563dd
s3-printing: Added automatic migration of printing tdbs.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
c3186f22c5
s3-lib: Make the standard_mapping parameter const.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
1be454538b
s3-spoolss: Remove the program global current_user_info.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Simo Sorce
c18913a2c2
s3-smbd: Convert reply_printqueue to use spoolss.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Simo Sorce
f5a2f8fa2b
s3-printing: Removed unused function print_job_fd().
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Simo Sorce
bdab6b10d2
s3-printing: Moved printing.c headers to include/printing.h.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Simo Sorce
628f9bee05
s3-spoolss: Use WERROR for print_job_delete.
...
And also check for PJOB_SMBD_SPOOLING in print_job_write.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:13 -04:00