summaryrefslogtreecommitdiffstats
path: root/source3/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-uuid Remove unused smb_uuid_pack()Andrew Bartlett2010-09-201-1/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett2010-09-201-2/+0
| | | | | | | | | This reduces the manual marshalling of these structures by removing the duplication here. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3-build: try to fix the non-ldap build.Günther Deschner2010-09-201-4/+0
| | | | | | ldapsam_search_suffix_by_name is already prototyped in smbldap.h. Guenther
* s3-util: use shared dom_sid_dup.Günther Deschner2010-09-201-1/+0
| | | | Guenther
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-201-3/+0
| | | | Guenther
* s3-build: only include smbldap.h where needed.Günther Deschner2010-09-201-37/+4
| | | | Guenther
* s3: Add a missing prototypeVolker Lendecke2010-09-181-0/+1
|
* ѕ3: remove smb_msleep prototype from hereBjörn Jacke2010-09-161-1/+0
|
* s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce2010-09-151-2/+6
| | | | | This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
* s3-rpc_client: Added a tstream based transport.Simo Sorce2010-09-151-0/+7
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Make process_incoming_data() public.Simo Sorce2010-09-151-0/+2
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Make pipe destructor public.Simo Sorce2010-09-151-0/+1
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.Simo Sorce2010-09-151-0/+1
|
* Allows changing the maximum number of simultaneous clients in winbindd ↵Pierre Carrier2010-09-141-0/+1
| | | | | | through an smb.conf option. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3/profiling: don't use CLOCK_PROCESS_CPUTIME_IDBjörn Jacke2010-09-141-1/+0
| | | | that clock is a CPU burnometer but we need a chronometer for profiling.
* s3-util_sid Tidy up global struct security_tokenAndrew Bartlett2010-09-111-1/+1
| | | | | | | | | 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>
* s3-privs Add constAndrew Bartlett2010-09-111-3/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Remove unused functionAndrew Bartlett2010-09-111-1/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Overhaul PRIVILEGE_SET handling, avoid dealing with the bitmapAndrew Bartlett2010-09-111-0/+1
| | | | | | | | | | 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>
* s3-privs Hide the bitmap-based grant_privilege and revoke_privilegeAndrew Bartlett2010-09-111-2/+2
| | | | | | | | | 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>
* s3-privs Make privilege_enum_sids() take an LUID, not a bitmapAndrew Bartlett2010-09-111-1/+1
| | | | | | | | This moves one more privileges call away from direct bitmap manipuation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Rework access_check_object() to take two privilegesAndrew Bartlett2010-09-111-3/+4
| | | | | | | | | | | | | | 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>
* s3-privs Remove a pointer from grant_privilege()Andrew Bartlett2010-09-111-1/+1
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Remove a pointer indirection from revoke_privilege()Andrew Bartlett2010-09-111-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Move manual prototypes to common privileges.hAndrew Bartlett2010-09-111-20/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:auth Remove NT_USER_TOKENAndrew Bartlett2010-09-111-22/+22
| | | | | | | | | 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>
* s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett2010-09-111-10/+10
| | | | | | | | This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Change type of num_sids to uint32_tAndrew Bartlett2010-09-111-3/+3
| | | | | | | | | | | | | | 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>
* s3-privs Further changes to remove SE_PRIVAndrew Bartlett2010-09-111-19/+19
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-spoolss: Don't leak memory on the session counter list.Andreas Schneider2010-09-101-0/+1
| | | | Thanks Günther, please check.
* s3-msdfs: Make auth_serversupplied_info const.Andreas Schneider2010-09-091-1/+1
|
* s3-rpcint: Make auth_serversupplied_info const.Andreas Schneider2010-09-091-2/+2
|
* s3-auth: Added get_server_info_system function.Andreas Schneider2010-09-091-0/+1
|
* s3:rpc_server: make it possible to use rpcint_binding_handle() directlyStefan Metzmacher2010-09-041-0/+6
| | | | metze
* s3-param: added lp_set_cmdline() and --option= parameterAndrew Tridgell2010-09-021-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-auth: remove global include of krb5pac.h.Günther Deschner2010-08-311-1/+1
| | | | Guenther
* s3-auth: add helper to get server_info out of kerberos infoSimo Sorce2010-08-301-0/+8
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-auth: Add helper function to retrieve the unix user from a kerberos ticketSimo Sorce2010-08-301-1/+14
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Remove smbd_server_fd()Volker Lendecke2010-08-291-1/+0
| | | | | | | | | 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.
* s3: Set the client_id in substitute.c onceVolker Lendecke2010-08-291-0/+2
| | | | | This never changes during a client connection's life, so we can set it once.
* s3: Lift smbd_server_fd() from pass_check()Volker Lendecke2010-08-281-1/+4
|
* s3: Fix smb_pam_passcheckVolker Lendecke2010-08-281-2/+2
|
* s3: Lift smbd_server_fd() from smb_pam_passcheckVolker Lendecke2010-08-271-1/+2
|
* s3: Pass rhost through to smb_pam_passchangeVolker Lendecke2010-08-271-1/+2
|
* s3-proto: remove obsolete prototypes.Günther Deschner2010-08-261-14/+0
| | | | Guenther
* s3-build: use dbwrap.h only where needed.Günther Deschner2010-08-261-38/+0
| | | | Guenther
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-261-49/+0
| | | | Guenther
* s3-nmbd: move nmbd proto out of main proto.hGünther Deschner2010-08-261-357/+0
| | | | Guenther
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-251-7/+0
| | | | Guenther
* s3:smbd: add a nfs backend for sysquotas.Michael Adam2010-08-251-0/+7
| | | | | | | | | 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.