summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-09-23s3-dcerpc: add spnego server helpersSimo Sorce1-0/+10
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-21s3:services_db: remove unused legacy function svcctl_fetch_regvalues().Michael Adam1-1/+0
2010-09-21s3:services_db: publish svcctl_get_string_value()Michael Adam1-0/+3
2010-09-21s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdescMichael Adam1-1/+2
2010-09-20s3-lib/util Remove unused smb_uuid_unpack()Andrew Bartlett1-4/+0
Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3-uuid Remove unused smb_uuid_pack()Andrew Bartlett1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett1-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>
2010-09-20s3-build: try to fix the non-ldap build.Günther Deschner1-4/+0
ldapsam_search_suffix_by_name is already prototyped in smbldap.h. Guenther
2010-09-20s3-util: use shared dom_sid_dup.Günther Deschner1-1/+0
Guenther
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-3/+0
Guenther
2010-09-20s3-build: only include smbldap.h where needed.Günther Deschner1-37/+4
Guenther
2010-09-18s3: Add a missing prototypeVolker Lendecke1-0/+1
2010-09-16ѕ3: remove smb_msleep prototype from hereBjörn Jacke1-1/+0
2010-09-15s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce1-2/+6
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
2010-09-15s3-rpc_client: Added a tstream based transport.Simo Sorce1-0/+7
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make process_incoming_data() public.Simo Sorce1-0/+2
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make pipe destructor public.Simo Sorce1-0/+1
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.Simo Sorce1-0/+1
2010-09-14Allows changing the maximum number of simultaneous clients in winbindd ↵Pierre Carrier1-0/+1
through an smb.conf option. Signed-off-by: Jeremy Allison <jra@samba.org>
2010-09-14s3/profiling: don't use CLOCK_PROCESS_CPUTIME_IDBjörn Jacke1-1/+0
that clock is a CPU burnometer but we need a chronometer for profiling.
2010-09-11s3-util_sid Tidy up global struct security_tokenAndrew Bartlett1-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>
2010-09-11s3-privs Add constAndrew Bartlett1-3/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Remove unused functionAndrew Bartlett1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Overhaul PRIVILEGE_SET handling, avoid dealing with the bitmapAndrew Bartlett1-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>
2010-09-11s3-privs Hide the bitmap-based grant_privilege and revoke_privilegeAndrew Bartlett1-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>
2010-09-11s3-privs Make privilege_enum_sids() take an LUID, not a bitmapAndrew Bartlett1-1/+1
This moves one more privileges call away from direct bitmap manipuation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Rework access_check_object() to take two privilegesAndrew Bartlett1-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>
2010-09-11s3-privs Remove a pointer from grant_privilege()Andrew Bartlett1-1/+1
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Remove a pointer indirection from revoke_privilege()Andrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Move manual prototypes to common privileges.hAndrew Bartlett1-20/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3:auth Remove NT_USER_TOKENAndrew Bartlett1-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>
2010-09-11s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett1-10/+10
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-auth Change type of num_sids to uint32_tAndrew Bartlett1-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>
2010-09-11s3-privs Further changes to remove SE_PRIVAndrew Bartlett1-19/+19
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-10s3-spoolss: Don't leak memory on the session counter list.Andreas Schneider1-0/+1
Thanks Günther, please check.
2010-09-09s3-msdfs: Make auth_serversupplied_info const.Andreas Schneider1-1/+1
2010-09-09s3-rpcint: Make auth_serversupplied_info const.Andreas Schneider1-2/+2
2010-09-09s3-auth: Added get_server_info_system function.Andreas Schneider1-0/+1
2010-09-04s3:rpc_server: make it possible to use rpcint_binding_handle() directlyStefan Metzmacher1-0/+6
metze
2010-09-02s3-param: added lp_set_cmdline() and --option= parameterAndrew Tridgell1-0/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-31s3-auth: remove global include of krb5pac.h.Günther Deschner1-1/+1
Guenther
2010-08-30s3-auth: add helper to get server_info out of kerberos infoSimo Sorce1-0/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30s3-auth: Add helper function to retrieve the unix user from a kerberos ticketSimo Sorce1-1/+14
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-29s3: Remove smbd_server_fd()Volker Lendecke1-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.
2010-08-29s3: Set the client_id in substitute.c onceVolker Lendecke1-0/+2
This never changes during a client connection's life, so we can set it once.
2010-08-28s3: Lift smbd_server_fd() from pass_check()Volker Lendecke1-1/+4
2010-08-28s3: Fix smb_pam_passcheckVolker Lendecke1-2/+2
2010-08-27s3: Lift smbd_server_fd() from smb_pam_passcheckVolker Lendecke1-1/+2
2010-08-27s3: Pass rhost through to smb_pam_passchangeVolker Lendecke1-1/+2
2010-08-26s3-proto: remove obsolete prototypes.Günther Deschner1-14/+0
Guenther