summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-rpc_server: Added helper functions to read data from a ncacn socket.Simo Sorce2010-09-152-0/+84
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_client: Added a tstream based transport.Simo Sorce2010-09-153-0/+369
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Addded function to create custom pipes_struct.Simo Sorce2010-09-151-0/+99
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Add generic listener callback.Simo Sorce2010-09-151-4/+47
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Added initial generic RPC server infrastructure.Simo Sorce2010-09-153-2/+94
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Added debug to see how much data has been read out.Simo Sorce2010-09-151-0/+4
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Make process_incoming_data() public.Simo Sorce2010-09-152-1/+3
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Make pipe destructor public.Simo Sorce2010-09-152-3/+2
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-rpc_server: Fixed unhandled error condition.Simo Sorce2010-09-151-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.Simo Sorce2010-09-152-0/+15
|
* s3-printing: Document the printer list functions.Andreas Schneider2010-09-151-0/+64
|
* s3-printing: Add method to skip refresh if just happned.Simo Sorce2010-09-153-0/+34
| | | | | | | This way if multiple process try to refresh at the same time we don't do it over and over again. Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-printing: Use printer list tdb in pcap.Simo Sorce2010-09-151-21/+35
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-printing: Added a printer list database.Simo Sorce2010-09-153-1/+433
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* s3-nltest: add dsgetdc command.Günther Deschner2010-09-151-3/+181
| | | | Guenther
* s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().Günther Deschner2010-09-151-0/+13
| | | | Guenther
* s3-libnetapi: add DS request flags to public header.Günther Deschner2010-09-151-0/+21
| | | | Guenther
* s3-libnetapi: add DS_X_FLAGs to public header.Günther Deschner2010-09-151-0/+16
| | | | Guenther
* libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.Günther Deschner2010-09-151-1/+19
| | | | Guenther
* s3-nltest: convert server input argument into --server.Günther Deschner2010-09-151-24/+19
| | | | Guenther
* s3-nltest: rename print_result to print_netlogon_info_result.Günther Deschner2010-09-151-4/+17
| | | | Guenther
* s3-build: only link in prs parser where needed.Günther Deschner2010-09-151-2/+2
| | | | Guenther
* s3-waf: only link in prs parser where needed.Günther Deschner2010-09-151-2/+2
| | | | Guenther
* Allows changing the maximum number of simultaneous clients in winbindd ↵Pierre Carrier2010-09-144-9/+16
| | | | | | through an smb.conf option. Signed-off-by: Jeremy Allison <jra@samba.org>
* Ensure incoming timespec values correctly wrap at nsecs.Jeremy Allison2010-09-141-0/+4
| | | | Jeremy.
* s3-torture Add tests to show that the dom_sid parsing was faulty.Andrew Bartlett2010-09-141-0/+98
| | | | Andrew Bartlett
* s3-util_sid Use the NDR parser to parse struct dom_sidAndrew Bartlett2010-09-141-14/+8
| | | | | | | The manual parser failed to constrain the maximum number of sub-authorities to 15, allowing an overflow of the array. Andrew Bartlett
* libcli/security Merge source3/ string_to_sid() to common codeAndrew Bartlett2010-09-141-106/+0
| | | | | | | | The source3 code repsects the limit of a maximum of 15 subauths, while the source4 code does not, creating a security issue as we parse string-form SIDs from clients. Andrew Bartlett
* s3-util_sid use ARRAY_SIZE() to ensure we never overflow the dom_sidAndrew Bartlett2010-09-141-1/+1
| | | | | | | This ensures that this, unlike the MAXSUBAUTHS macro, can't get out of sync with the structure. Andrew Bartlett
* s3-util_sid Accept S-1-5 as a SIDAndrew Bartlett2010-09-141-2/+10
|
* s3-dom_sid Use C99 types in dom_sid handlingAndrew Bartlett2010-09-141-7/+7
| | | | Andrew Bartlett
* s3/profile: remove the magical clock initialization from the profile codeBjörn Jacke2010-09-142-64/+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.
* s3/profiling: don't use CLOCK_PROCESS_CPUTIME_IDBjörn Jacke2010-09-143-36/+0
| | | | that clock is a CPU burnometer but we need a chronometer for profiling.
* s3-waf: fix the build after privilege code changes.Günther Deschner2010-09-141-1/+1
| | | | Guenther
* s3: Remove some unnecessary if-statementsVolker Lendecke2010-09-131-10/+5
|
* Fix bug 7409 - Thousands of reduce_name: couldn't get realpath.Jeremy Allison2010-09-131-1/+1
| | | | | | | Don't log this at level 1 - every EACCES will generate one. Thanks to muehlfeld@medizinische-genetik.de for pointing this out. Jeremy.
* ntlm_auth: Fix a valgrind errorVolker Lendecke2010-09-131-1/+1
|
* s3: Fix a typoVolker Lendecke2010-09-131-1/+1
|
* s3: Fix a typo (authentictaion->authentication)Volker Lendecke2010-09-131-1/+3
|
* s3: Remove a nesting level in winbindd_dual_pam_chauthtokVolker Lendecke2010-09-121-18/+19
|
* s3-auth Fix typo in commentAndrew Bartlett2010-09-111-1/+1
|
* s3-krb5 Fix Kerberos on FreeBSD with Samba4 DCsAndrew Bartlett2010-09-111-3/+1
| | | | | | | | | | | | | The idea of this patch is: Don't support a mix of different kerberos features. Either we should prepare a GSSAPI (8003) checksum and mark the request as such, or we should use the old behaviour (a normal kerberos checksum of 0 data). Sending the GSSAPI checksum data, but without marking it as GSSAPI broke Samba4, and seems well outside the expected behaviour, even if Windows accepts it. Andrew Bartlett
* libcli/security Move 'private' privileges functions to another headerAndrew Bartlett2010-09-111-0/+1
| | | | | | | | | These functions work on the bitmap, and are only exposed because the source3/ privileges storage uses the bitmap in account_policy.tdb Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-samr Explian better the use of two privileges in this callAndrew Bartlett2010-09-111-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/security Remove 'always true' return from se_priv_put_all_privilegesAndrew Bartlett2010-09-111-3/+1
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-util_sid Tidy up global struct security_tokenAndrew Bartlett2010-09-114-16/+8
| | | | | | | | | 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-112-6/+6
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Remove extra pointer on privilege maskAndrew Bartlett2010-09-111-4/+4
| | | | | | Now that this is a scalar, this isn't required. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privileges: add handling of both old and new formats in databaseAndrew Tridgell2010-09-111-28/+48
| | | | | | | | | | We update privileges on a per-record basis instead of all at once, as this maintains maximum compatibility is someone uses old tools with a new version of Samba. The also auto-detects the byte order of the old entries in the database, and copes with either native or reversed byte order. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-privs Remove unused functionAndrew Bartlett2010-09-112-31/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>