summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-privs Remove comment already moved to security.idlAndrew Bartlett2010-09-111-41/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Use constants from security.idlAndrew Bartlett2010-09-111-9/+9
| | | | | | | | The values in security.idl have been updated to match these. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Further changes to remove SE_PRIVAndrew Bartlett2010-09-1110-110/+108
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* privs Move privilege bitmasks to security.idlAndrew Bartlett2010-09-111-19/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:privs Change to new host endian neutral privilages tdb formatAndrew Bartlett2010-09-111-3/+16
| | | | | | | | | | | | | These values are stored in account_policy.tdb, and the old format, using a 128 bit bitmap was not endian neutral. The previous endian-dependent format was introduced in 46e5effea948931509283cb84b27007d34b521c8 replacing a 32 bit number which was used at the time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:Change SE_PRIV to uint64_tAndrew Bartlett2010-09-111-20/+20
| | | | | | | | This removes the SE_PRIV typedef Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:privileges Change SE_PRIV to be just a uint64_tAndrew Bartlett2010-09-112-46/+22
| | | | | | | | | | | | 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>
* Add check missing from previous patch after talloc_strdup().Jeremy Allison2010-09-101-0/+3
| | | | Jeremy.
* Factor out the recent changes into a function - check_parent_exists().Jeremy Allison2010-09-101-77/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix this to ensure that if "start" is manipulated, then "dirpath" is changed also. Ensures that when the path: /a/long/file/name/path.txt is processed, we first stat: /a/long/file/name/path.txt and if this fails, we try to stat: /a/long/file/name if this path exists (the normal case when creating a new entry in a directory) then we no longer do the individual path name walk, but only do case insensitive lookup on the last component. If the stat fails we do the full pathname walk as normal in 3.5.x and below. Metze, examine this change for your back-port. Jeremy.
* s3: Simplify the logic in generate_krb5_ccacheVolker Lendecke2010-09-111-51/+28
| | | | gd, jra, others, please check!
* s3/winbind: use mono time for startup timeout checkBjörn Jacke2010-09-103-6/+6
|
* s3-selftest: add print_test_extended (as called from RPC-PRINTER) to ↵Günther Deschner2010-09-101-0/+1
| | | | | | knownfail list. Guenther
* s3-printing: fix non-ads build after prototype changes.Günther Deschner2010-09-101-1/+1
| | | | Guenther
* s3: Simplify generate_krb5_ccache slightlyVolker Lendecke2010-09-101-4/+0
| | | | strequal deals with a NULL string input just fine
* Check all SMB_MALLOC returns correctly. Found by Andreas Moroder ↵Jeremy Allison2010-09-102-3/+18
| | | | | | <andreas.moroder@gmx.net>. Jeremy
* s3:torture: fix printf output, lines can't start with lower case "test"Stefan Metzmacher2010-09-101-31/+30
| | | | metze
* s3:torture: fix run_uid_regression_testStefan Metzmacher2010-09-101-8/+20
| | | | metze
* s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETEDStefan Metzmacher2010-09-101-0/+2
| | | | metze
* s3-spoolss: Fix _spoolss_GetPrinter().Günther Deschner2010-09-101-1/+2
| | | | | | In the error case, we need to TALLOC_FREE(r->out.info), don't ask :-) Guenther
* s3-spoolss: Don't leak memory on the session counter list.Andreas Schneider2010-09-103-1/+21
| | | | Thanks Günther, please check.
* s3-spoolss: Allow multiple client backchannels.Simo Sorce2010-09-101-77/+116
| | | | | | When we run spoolssd we need to support multiple clients connecting. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Split function to send notification.Simo Sorce2010-09-101-127/+162
| | | | | | More digestible this way. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Use a single structure for all the back channel data.Simo Sorce2010-09-101-14/+18
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Rename Printer_entry to struct printer_handle.Simo Sorce2010-09-101-53/+53
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Move Printer_entry to srv_spoolss_nt.cSimo Sorce2010-09-102-40/+44
| | | | | | | 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>
* s3-spoolss: Allocate printer entries on the pipe struct.Simo Sorce2010-09-101-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Rename session counter structure and use talloc.Simo Sorce2010-09-101-8/+7
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-dsgetdcname: cleanup receive_getdc_response a little.Günther Deschner2010-09-101-14/+18
| | | | Guenther
* s3-build: use proper RPC_X_OBJ target names.Günther Deschner2010-09-102-32/+35
| | | | Guenther
* s3-waf: use proper RPC_X_SRC names.Günther Deschner2010-09-101-20/+15
| | | | | | | This allows to build using waf without --enable-developer and should also fix support for rpc server modules. Guenther
* s3-build: only link LIBNDR_XATTR_OBJ where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-waf: only link LIBNDR_XATTR_SRC where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-build: link ndr_notify only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-waf: link ndr_notify only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-build: link ndr_named_pipe_auth only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-waf: link ndr_named_pipe_auth only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-spoolss: allow a short printername w/o servername.Günther Deschner2010-09-101-6/+1
| | | | | | Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test. Guenther
* Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder ↵Jeremy Allison2010-09-095-3/+34
| | | | | | <andreas.moroder@gmx.net>". Jeremy.
* More paranoia to ensure SD's can't be set on read-only shares.Jeremy Allison2010-09-091-0/+4
| | | | Jeremy.
* s3-selftest: rename printer "print4" to "lp".Günther Deschner2010-09-101-1/+1
| | | | | | This should trigger a false error condition in our code. Guenther
* s3: Ensure NULL termination for "workstation" in auth_crapVolker Lendecke2010-09-091-0/+2
|
* s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.Günther Deschner2010-09-091-1/+1
| | | | Guenther
* s3: These assignments are overwritten immediatelyVolker Lendecke2010-09-091-4/+0
| | | | Dump them
* s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.Günther Deschner2010-09-091-301/+94
| | | | Guenther
* s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.Günther Deschner2010-09-091-109/+33
| | | | | | Couldn't find any reproducer for a short request, so removing it for now. Guenther
* s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.Günther Deschner2010-09-091-47/+29
| | | | Guenther
* s3-nmbd: handle source_name in one location in nmbd_process_logon().Günther Deschner2010-09-091-5/+4
| | | | Guenther
* s3-nmbd: use nbt_netlogon_packet in process_logon_packet().Günther Deschner2010-09-091-5/+24
| | | | Guenther
* s3-printing: Make missing auth_serversupplied_info const.Andreas Schneider2010-09-091-3/+3
|
* s3-spoolss: Use systerm server_info for winreg connection.Andreas Schneider2010-09-091-88/+162
| | | | This will ensure that we have the rights we need to access the regsitry.