Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-24 | s3:util_str "str_list_make_v3" - introduce also here the "const" result | Matthias Dieter Wallnöfer | 2 | -10/+10 | |
I did this to match with the default util strlist library. | |||||
2009-09-24 | s3:vfs_default - correct function parameters | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2009-09-24 | s3-winbindd: no reason to call winbindd_can_contact_domain() three times in ↵ | Günther Deschner | 1 | -12/+0 | |
query_user(). Guenther | |||||
2009-09-24 | s3: remove unused printing macros. | Günther Deschner | 1 | -11/+0 | |
Guenther | |||||
2009-09-24 | s3 onefs: Fix 1 second share mode delay handling | Steven Danneman | 1 | -3/+33 | |
When racing to the open and loosing we may get a share_mode violation. In this case handle the 1-second delay via a defferred open properly. This requires us to retrieve the share_mode_lock before deferring open so we don't dereference a NULL pointer assuming we already had the lck because we were the first opener. | |||||
2009-09-24 | s3 onefs: Fix a race condition exists in onefs_open.c between multiple opens ↵ | Steven Danneman | 1 | -5/+19 | |
to the same file. Two openers can stat a file at the same time, see that it doesn't exist, and then both race to open it first. The loser will enter onefs_open_file_ntcreate believing that the file doesnt exist, and thus skip any current state lookups for that file. This includes setting the file_id, and having a valid stat buffer. Normally on first create the file_id will be set during the open, but the second opener in this scenario may fail the open (oplock/share mode) and file_id will not be set, nor will the stat buffer be valid. In the error paths of this patch, we now double check that the file_id and the stat buffer are valid before doing other operations. | |||||
2009-09-24 | s3 onefs: Add some debugging/asserts to give more info when there is bad ↵ | Zack Kirsch | 2 | -9/+26 | |
deferred open state. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | s4 torture: Fix RAW-STREAMS to request more specific permissions | Tim Prouty | 1 | -1/+2 | |
This allows RAW-STREAMS to pass when the user isn't root on some systems that don't give full access rights to non-root users. | |||||
2009-09-24 | s3: Add more helpful debugging to some of the streams code | Tim Prouty | 3 | -2/+25 | |
2009-09-24 | vfs catia: Fix a NULL dereference when CATIA is loaded with no mappings ↵ | Aravind Srinivasan | 1 | -1/+8 | |
specified. When we use the CATIA vfs module and don't have any mapping specified, we return NULL for the mapped_name, thereby resulting in segfaults. When we don't have catia mapping, we should just use the old name instead of returning NULL for the mapped_name. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | vfs catia: Fix the double translation that was happening with createfile and ↵ | Aravind Srinivasan | 6 | -101/+78 | |
open. Since the catia translation is implemented for open, it should not also be done in createfile. By removing createfile from catia, translation is now done correctly for the primary open path. In order to support systems that have custom createfile implementations that don't eventually call SMB_VFS_OPEN, SMB_VFS_TRANSLATE_NAME has been expanded to take an additional argument that specifies direction. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | vfs catia: Fix a possible NULL dereference | Aravind Srinivasan | 1 | -2/+9 | |
Also free some unfreed memory. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | s4-drs: el may not be a talloc pointer | Andrew Tridgell | 1 | -1/+1 | |
Use msg->elements for the new element values | |||||
2009-09-24 | s4-drs: regenerate IDL after ndr size change | Andrew Tridgell | 2 | -3/+3 | |
2009-09-24 | s4-drs: add defines for replication flags on attributes | Andrew Tridgell | 2 | -5/+5 | |
2009-09-24 | s4-ldb: sort replPropertyMetaData by attid | Andrew Tridgell | 1 | -1/+16 | |
We need to sort on both module add and modify | |||||
2009-09-24 | s4-ldb: add instanceType in repl_meta_data module | Andrew Tridgell | 1 | -0/+8 | |
We need to add instanceType on new records if not added by caller. This is needed in repl_meta_data to ensure we fill in the meta data for replication | |||||
2009-09-24 | s4-drs: fixed the size of DN binary blobs on the wire | Andrew Tridgell | 1 | -1/+1 | |
Comparison with w2k8 traces shows the size field of drsuapi_DsReplicaObjectIdentifier3Binary is taken from drsuapi_DsReplicaObjectIdentifier3 Thanks to metze for spotting this | |||||
2009-09-24 | s4-drs: include deleted objects in getncchanges reply | Andrew Tridgell | 1 | -1/+6 | |
Even though we don't create deleted objects ourselves yet, we need to pass along deleted objects we receive from other replication partners | |||||
2009-09-24 | s4-drs: add SHOW_DELETED control on dsdb utility calls | Andrew Tridgell | 1 | -2/+60 | |
The dsdb_find_dn_by_guid() and dsdb_find_sid_by_dn() are using by the DRS server call getncchanges on objects that may be deleted. | |||||
2009-09-24 | s4-libnet: allow the functional level of becomeDC to be specified | Andrew Tridgell | 1 | -1/+2 | |
Use ads:functional level = 4 for DS_DC_FUNCTION_2008_R2 See libds/common/flags.h | |||||
2009-09-24 | s4-libnet: avoid a steal with references error | Andrew Tridgell | 1 | -1/+2 | |
2009-09-24 | Add init file for DCE/RPC tests. | Jelmer Vernooij | 1 | -0/+20 | |
2009-09-24 | PEP8 | Jelmer Vernooij | 6 | -3/+6 | |
2009-09-24 | Revert "s4:python fixed subunit tests of dcerpc" | Jelmer Vernooij | 7 | -6/+6 | |
This reverts commit ffd48a79ee34dc90c0f6f16564c3a0de8b53d3d2. | |||||
2009-09-24 | s3: Forgot to check in one build failure for vfs_gpfs.c | Volker Lendecke | 1 | -1/+1 | |
2009-09-24 | s3: Remove an unused variable | Volker Lendecke | 1 | -1/+0 | |
2009-09-24 | s3: Make the vfs_gpfs compile at least | Volker Lendecke | 1 | -19/+23 | |
Not sure whether it works in this state :-) | |||||
2009-09-24 | Revert "s3:winbindd: use a tcp connection for lsa in case ↵ | Stefan Metzmacher | 1 | -9/+0 | |
lookup_names/lookup_sids doesn't work over ncacn_np" This reverts commit f23691cffd39e5df81b7b075e61ed1def6cce9f6. This should not have been commited... metze | |||||
2009-09-24 | s3:rpc_server: we need to make a copy of my_name in serverinfo_to_SamInfo_base() | Stefan Metzmacher | 1 | -1/+1 | |
This is important for the case the server_info already contains a logon_server. metze | |||||
2009-09-24 | s3:winbindd: use a tcp connection for lsa in case lookup_names/lookup_sids ↵ | Günther Deschner | 1 | -0/+9 | |
doesn't work over ncacn_np metze | |||||
2009-09-23 | s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_SPECIAL_SECRET_PROCESSING in ↵ | Anatoliy Atanasov | 3 | -4/+46 | |
getncchanges When this flag is specified in the request these attributes are treated as secret: currentValue, dBCSPwd, initialAuthIncoming, initialAuthOutgoing, lmPwdHistory, ntPwdHistory, priorValue, supplementalCredentials, trustAuthIncoming, trustAuthOutgoing, unicodePwd Their value is changed to NULL and the meta_data.originating_change_time to 0 | |||||
2009-09-23 | s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_ASYNC_REP in getncchanges | Anatoliy Atanasov | 1 | -1/+7 | |
When this flag is specified in the request we should return for ncRoot only and so scope of search is LDB_SCOPE_BASE. | |||||
2009-09-23 | s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_FULL_SYNC_PACKET in getncchanges | Anatoliy Atanasov | 1 | -0/+6 | |
When this flag is specified in the request we shouldn't use the uptodateness vector in the request. | |||||
2009-09-23 | idl: regenerate idl | Anatoliy Atanasov | 2 | -3/+11 | |
2009-09-23 | s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_CRITICAL_ONLY req in getncchanges | Anatoliy Atanasov | 4 | -12/+21 | |
2009-09-23 | Revert "r20074: this values seem to be typos in drsuapi" | Stefan Metzmacher | 1 | -2/+2 | |
This reverts commit 1dfd365d57dcd712d315a1a903c8d3d0a0f0fc12 This change was from and the flags I was seeing have another meaning. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2009-09-23 | s4:ldif_handlers Fix memory leak in objectCategory LDIF handler | Andrew Bartlett | 1 | -0/+1 | |
2009-09-23 | s4-drs: fill in more guids and SIDs, plus filter rDN | Andrew Tridgell | 1 | -3/+48 | |
In DsGetNCChanges we need to fill in the parentGUID and objectGUID of each object, plus we need to filter out the rDN from the meta data, and always send the instanceType | |||||
2009-09-23 | s4-dsdb: cope with windows sending extra pad bytes | Andrew Tridgell | 1 | -4/+4 | |
2009-09-23 | s4-dsdb: added dsdb_find_sid_by_dn() | Andrew Tridgell | 1 | -0/+30 | |
2009-09-23 | s4-drsserver: fixed addition of sort control | Andrew Tridgell | 1 | -5/+7 | |
2009-09-23 | fixed spelling | Andrew Tridgell | 1 | -1/+1 | |
2009-09-23 | s4-drs: ignore zero value elements in DRS add operations | Andrew Tridgell | 1 | -0/+13 | |
w2k8 sometimes sends us a new object via DRS with an attribute with no values | |||||
2009-09-23 | s4-netlogon: always set the dNSHostName in GetDomainInfo | Andrew Tridgell | 1 | -3/+7 | |
This seems to be what w2k8 does | |||||
2009-09-23 | regenerate IDL | Andrew Tridgell | 4 | -60/+62 | |
2009-09-23 | s4-netlogon: make GetDomainInfo response match w2k8 | Andrew Tridgell | 1 | -13/+21 | |
2009-09-23 | s4-cldap: return domainFunctionality from SAM | Andrew Tridgell | 1 | -0/+5 | |
2009-09-23 | idl: fixed string termination for netlogon GetDomainInfo | Andrew Tridgell | 1 | -10/+10 | |
2009-09-23 | s4-nbt: added NBT_SERVER_DNS_FOREST | Andrew Tridgell | 1 | -1/+2 | |