Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-21 | s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdesc | Michael Adam | 1 | -1/+2 | |
2010-09-20 | s3-lib/util Remove unused smb_uuid_unpack() | Andrew Bartlett | 1 | -4/+0 | |
Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-20 | s3-uuid Remove unused smb_uuid_pack() | Andrew Bartlett | 1 | -1/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-20 | s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives | Andrew Bartlett | 1 | -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-20 | s3-build: try to fix the non-ldap build. | Günther Deschner | 1 | -4/+0 | |
ldapsam_search_suffix_by_name is already prototyped in smbldap.h. Guenther | |||||
2010-09-20 | s3-nmbd: move SYNC_DNS to nmbd.h | Günther Deschner | 1 | -4/+0 | |
Guenther | |||||
2010-09-20 | s3-util: use shared dom_sid_dup. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-09-20 | s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. | Günther Deschner | 1 | -3/+0 | |
Guenther | |||||
2010-09-20 | s3-build: only include smbldap.h where needed. | Günther Deschner | 3 | -41/+41 | |
Guenther | |||||
2010-09-20 | s3-build: only include ctdbd_conn.h where needed. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-09-20 | s3-build: only include async headers where needed. | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2010-09-20 | s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and ↵ | Michael Adam | 1 | -7/+0 | |
comment them out | |||||
2010-09-20 | s3:registry: move higher level function reg_open_path to new module reg_api_util | Michael Adam | 1 | -3/+0 | |
The reg_api.c code should just export functions that direclty relate to winreg api calls. | |||||
2010-09-20 | s3-registry: move regf based reg_api calls into own file. | Günther Deschner | 1 | -2/+5 | |
Guenther | |||||
2010-09-18 | s3: Add a missing prototype | Volker Lendecke | 1 | -0/+1 | |
2010-09-16 | ѕ3: remove smb_msleep prototype from here | Björn Jacke | 1 | -1/+0 | |
2010-09-16 | s3: remove TvalDiff macro, we can use the shared usec_time_diff function | Björn Jacke | 1 | -9/+0 | |
2010-09-16 | s3: remove TspecDiff macro, we can use the shared nsec_time_diff function | Björn Jacke | 1 | -9/+0 | |
2010-09-15 | s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface. | Simo Sorce | 1 | -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-15 | s3-rpc_client: Added a tstream based transport. | Simo Sorce | 1 | -0/+7 | |
Signed-off-by: Andreas Schneider <asn@cynapses.org> | |||||
2010-09-15 | s3-rpc_server: Make process_incoming_data() public. | Simo Sorce | 1 | -0/+2 | |
Signed-off-by: Andreas Schneider <asn@cynapses.org> | |||||
2010-09-15 | s3-rpc_server: Make pipe destructor public. | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cynapses.org> | |||||
2010-09-15 | s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4. | Simo Sorce | 1 | -0/+1 | |
2010-09-14 | Allows changing the maximum number of simultaneous clients in winbindd ↵ | Pierre Carrier | 2 | -3/+1 | |
through an smb.conf option. Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-09-14 | s3/profile: remove the magical clock initialization from the profile code | Björn Jacke | 1 | -8/+3 | |
there's no point in not profiling times if no monotonic clock is found - monotonic and realtime clock are equally fast. Just use clock_gettime_mono instead. | |||||
2010-09-14 | s3/profiling: don't use CLOCK_PROCESS_CPUTIME_ID | Björn Jacke | 1 | -1/+0 | |
that clock is a CPU burnometer but we need a chronometer for profiling. | |||||
2010-09-11 | s3-auth Fix typo in comment | Andrew Bartlett | 1 | -1/+1 | |
2010-09-11 | s3-util_sid Tidy up global struct security_token | Andrew Bartlett | 1 | -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-11 | s3-privs Add const | Andrew Bartlett | 1 | -3/+3 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Remove unused function | Andrew Bartlett | 1 | -1/+0 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Overhaul PRIVILEGE_SET handling, avoid dealing with the bitmap | Andrew Bartlett | 1 | -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-11 | s3-privs Hide the bitmap-based grant_privilege and revoke_privilege | Andrew Bartlett | 1 | -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-11 | s3-privs Make privilege_enum_sids() take an LUID, not a bitmap | Andrew Bartlett | 1 | -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-11 | s3-privs Rework access_check_object() to take two privileges | Andrew Bartlett | 1 | -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-11 | s3-privs Remove a pointer from grant_privilege() | Andrew Bartlett | 1 | -1/+1 | |
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Remove a pointer indirection from revoke_privilege() | Andrew Bartlett | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Move manual prototypes to common privileges.h | Andrew Bartlett | 1 | -20/+0 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Move source3/ privileges implmentation into common | Andrew Bartlett | 2 | -75/+1 | |
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Rename structure elements for greater clarity | Andrew Bartlett | 1 | -2/+2 | |
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 | s3:auth Remove NT_USER_TOKEN | Andrew Bartlett | 4 | -27/+25 | |
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 | s3-auth Change struct nt_user_token -> struct security_token | Andrew Bartlett | 3 | -20/+17 | |
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-auth Change type of num_sids to uint32_t | Andrew Bartlett | 2 | -4/+4 | |
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 | s3-privs Only store low bits of luid in privileges table | Andrew Bartlett | 1 | -1/+1 | |
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 | privs Add my Copyright | Andrew Bartlett | 1 | -0/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3-privs Further changes to remove SE_PRIV | Andrew Bartlett | 3 | -33/+31 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | privs Move privilege bitmasks to security.idl | Andrew Bartlett | 1 | -19/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-11 | s3:privileges Change SE_PRIV to be just a uint64_t | Andrew Bartlett | 1 | -22/+17 | |
We don't need 128 possible privileges here, as we only use 12. This reverts some of 46e5effea948931509283cb84b27007d34b521c8 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-10 | s3-spoolss: Don't leak memory on the session counter list. | Andreas Schneider | 1 | -0/+1 | |
Thanks Günther, please check. | |||||
2010-09-10 | s3-spoolss: Move Printer_entry to srv_spoolss_nt.c | Simo Sorce | 1 | -40/+0 | |
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-09 | s3-printing: Make auth_serversupplied_info const. | Andreas Schneider | 2 | -15/+15 | |