Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-11 | s3:smb2_tcon: return the correct maximal_access on the share | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-07-11 | s3:smbd: return the real share access mask in the SMBtconX response | Stefan Metzmacher | 1 | -3/+1 | |
metze | |||||
2011-07-11 | s3:smbd: use smbd_calculate_access_mask() also for fake_files | Stefan Metzmacher | 1 | -0/+13 | |
metze | |||||
2011-07-11 | s3:smbd: check the share level access mask in smbd_calculate_access_mask() | Stefan Metzmacher | 1 | -0/+17 | |
I think we should reject invalid access early, before we might create new files. Also smbd_check_open_rights() is only called if the file existed. metze | |||||
2011-07-11 | s3:smbd: make smbd_calculate_access_mask() non-static | Stefan Metzmacher | 2 | -14/+20 | |
metze | |||||
2011-07-11 | s3:smbd/msdfs: let create_conn_struct() check the share security descriptor | Stefan Metzmacher | 1 | -0/+30 | |
metze | |||||
2011-07-11 | s3:winbindd_cm: make use of cli->src_ss instead of calling getsockname() | Stefan Metzmacher | 1 | -2/+8 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 19:31:14 CEST 2011 on sn-devel-104 | |||||
2011-07-11 | s3:winbindd_cm: make use of cli->dest_ss instead calling getpeername() | Stefan Metzmacher | 1 | -1/+7 | |
metze | |||||
2011-07-11 | s3:winbindd_cm: make use of cli_state_disconnect() | Stefan Metzmacher | 1 | -4/+2 | |
metze | |||||
2011-07-11 | s3:winbindd_cm: make use of cli_state_is_connected() | Stefan Metzmacher | 1 | -9/+6 | |
metze | |||||
2011-07-11 | s3:auth_server: use cli_echo() to check if the server is alive | Stefan Metzmacher | 1 | -5/+10 | |
This works over port 139 and also 445. send_keepalive() would only work on port 139. metze | |||||
2011-07-11 | s3:auth_server: make use of cli_state_is_connected() | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-07-11 | s3:client: simplify readline_callback() to only use cli_echo() | Stefan Metzmacher | 1 | -54/+9 | |
cli_echo() already swallows NBT keepalive messages, so there's no need to filter them in the 'smbclient' layer. metze | |||||
2011-07-11 | s3:libsmbclient: use cli_state_is_connected() in SMBC_check_server() | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-07-11 | s3:libsmbclient: don't log the lowlevel fd in smbc_free_context() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-07-11 | s3:libsmb: add cli_state_disconnect() | Stefan Metzmacher | 2 | -0/+8 | |
metze | |||||
2011-07-11 | s3:libsmb: make use of cli_state_is_connected() | Stefan Metzmacher | 1 | -13/+9 | |
metze | |||||
2011-07-11 | s3:libsmb: remove unused cli_set_port() | Stefan Metzmacher | 4 | -13/+0 | |
metze | |||||
2011-07-11 | s3:libsmb: also remember the local socket address after connect | Stefan Metzmacher | 2 | -0/+9 | |
metze | |||||
2011-07-11 | s3:smb2cli_base: add my copyright | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-07-11 | s3-torture: run_locktest2(): replace check_error() with check_both_error() | Björn Baumbach | 1 | -10/+14 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: run_locktest2(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -20/+35 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: run_locktest1(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -17/+25 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: locktest2: replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -1/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: let wait_lock() use cli_lock32() instead of cli_lock() | Björn Baumbach | 1 | -3/+13 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-libsmb: let cli_lock64 return NTSTATUS instead of bool | Björn Baumbach | 3 | -16/+15 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104 | |||||
2011-07-11 | s3-libsmb: introduce cli_lock32() | Björn Baumbach | 2 | -0/+18 | |
Same like cli_lock() but return NTSTATUS instead of bool Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | dbcheck: use get_lDAPDisplayName_by_attid() | Andrew Tridgell | 1 | -11/+3 | |
this is better than doing a schema search inside the dbcheck code Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Jul 11 07:43:18 CEST 2011 on sn-devel-104 | |||||
2011-07-11 | dsdb: added get_lDAPDisplayName_by_attid | Andrew Tridgell | 2 | -0/+37 | |
this allows conversion from a DRS attribute ID to a LDAP display name Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-07-11 | dbcheck: improved error checking in fixup of missing metdata | Andrew Tridgell | 1 | -26/+24 | |
when fixing missing attributes in replPropertyMetaData, allow user to confirm changes, and check for exceptions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-11 | s4-provision: use samba.unix2nttime() instead of hard coding NTTIME offsets | Andrew Tridgell | 1 | -2/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-11 | s4-drs: do not return links pointed to unexistant objects | Matthieu Patou | 1 | -0/+24 | |
When an object is deleted, link pointed to it are marked as inactive. When the same object is purged we do not remmove the link pointed to it (we can't know them) so they stay in the database, it turns to be a problem for Windows 2008. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-dirsync: do not return linked attribute if the target object is no more | Matthieu Patou | 1 | -0/+29 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-dsdb: allow objectsid to be specified in a modification operation | Matthieu Patou | 1 | -3/+5 | |
if we have the provision control, it's used by dbcheck Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-samba-tool: dbcheck, check and fix broken metadata | Matthieu Patou | 1 | -0/+77 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-python: Add functions to get linkid and systemflags of an attribute | Matthieu Patou | 2 | -0/+76 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-dsdb: if the provision control is specified, update replication metadata ↵ | Matthieu Patou | 1 | -1/+7 | |
even if the data hasn't change Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | upgradeprovision: reduce the number of attribute that we skip | Matthieu Patou | 1 | -2/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-provision: fix the value of creation timestamp to be a MS timestamp | Matthieu Patou | 1 | -2/+2 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-dsdb: when replacing linked attribute take always the new dn as the old ↵ | Matthieu Patou | 1 | -1/+1 | |
dn might be broken The usual use case is that you have a not complete linked attribute (ie. without the SID) if we keep using the old dn, then the SID will never be added. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | s4-dsdb: check for single valued attribute in repl_meta_data module | Matthieu Patou | 1 | -0/+11 | |
This is needed because we can have more than 1 value in a single valued attribute as we store also deleted values. So we do the check in repl_meta_data and then indicate LDB to do the check. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-11 | dbcheck: check all objects, including deleted objects | Andrew Tridgell | 2 | -17/+18 | |
this makes dbcheck search over all objects, deleted or not. This matters because when another DC replicates from this DC it replicates the deleted objects as well, so invalid attributes in deleted objects can cause problems on the new DC (for example, windows can get stuck or even crash during the replication) Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-11 | s4-dsdb: deleted objects are expected to be missing mandatory attributes | Andrew Tridgell | 1 | -1/+2 | |
the objectclass_attrs validation that an object contains all mandatory attributes is incorrect for deleted objects, as they get stripped of some mandatory attributes when deleted (for example, objectCategory gets stripped) Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-11 | s4-dsdb: fixed crash bug in extended_dn_in | Andrew Tridgell | 1 | -2/+4 | |
when extended_dn_in fails to resolve a GUID extended DN component, the debug code assumed that it was a search operation, and accessed ac->req->op.search.base, which is not valid for non-search DN expansions. Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-11 | dbcheck: added confirm_all support for remaining checks | Andrew Tridgell | 1 | -5/+10 | |
this allows the user to choose all/none for all the remaining database checks Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-11 | dbcheck: use specified DB schema for non-LDAP URLs | Andrew Tridgell | 1 | -2/+9 | |
when connecting to a local database with -H we can use that databases schema Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-07-10 | socket_wrapper: make sure interfaces are in the valid range on bind() | Stefan Metzmacher | 1 | -0/+5 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jul 10 18:24:14 CEST 2011 on sn-devel-104 | |||||
2011-07-10 | s4:lib/socket: iface_list_wildcard() should only return "::" if we have ipv6 ↵ | Stefan Metzmacher | 1 | -1/+13 | |
interfaces If glibc has IPv6 support, but it's not enabled in the running kernel we should not try to listen on "::". metze | |||||
2011-07-10 | s3:smb2cli_tcon: use tevent_req_oom() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-07-10 | s3: Fix Coverity ID 2587,2588: CHECKED_RETURN | Volker Lendecke | 2 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 10 10:36:11 CEST 2011 on sn-devel-104 |