summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* vfs catia: Fix a NULL dereference when CATIA is loaded with no mappings ↵Aravind Srinivasan2009-09-241-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>
* vfs catia: Fix the double translation that was happening with createfile and ↵Aravind Srinivasan2009-09-246-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>
* vfs catia: Fix a possible NULL dereferenceAravind Srinivasan2009-09-241-2/+9
| | | | | | Also free some unfreed memory. Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4-drs: el may not be a talloc pointerAndrew Tridgell2009-09-241-1/+1
| | | | Use msg->elements for the new element values
* s4-drs: regenerate IDL after ndr size changeAndrew Tridgell2009-09-242-3/+3
|
* s4-drs: add defines for replication flags on attributesAndrew Tridgell2009-09-242-5/+5
|
* s4-ldb: sort replPropertyMetaData by attidAndrew Tridgell2009-09-241-1/+16
| | | | We need to sort on both module add and modify
* s4-ldb: add instanceType in repl_meta_data moduleAndrew Tridgell2009-09-241-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
* s4-drs: fixed the size of DN binary blobs on the wireAndrew Tridgell2009-09-241-1/+1
| | | | | | | | Comparison with w2k8 traces shows the size field of drsuapi_DsReplicaObjectIdentifier3Binary is taken from drsuapi_DsReplicaObjectIdentifier3 Thanks to metze for spotting this
* s4-drs: include deleted objects in getncchanges replyAndrew Tridgell2009-09-241-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
* s4-drs: add SHOW_DELETED control on dsdb utility callsAndrew Tridgell2009-09-241-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.
* s4-libnet: allow the functional level of becomeDC to be specifiedAndrew Tridgell2009-09-241-1/+2
| | | | | | | | Use ads:functional level = 4 for DS_DC_FUNCTION_2008_R2 See libds/common/flags.h
* s4-libnet: avoid a steal with references errorAndrew Tridgell2009-09-241-1/+2
|
* Add init file for DCE/RPC tests.Jelmer Vernooij2009-09-241-0/+20
|
* PEP8Jelmer Vernooij2009-09-246-3/+6
|
* Revert "s4:python fixed subunit tests of dcerpc"Jelmer Vernooij2009-09-247-6/+6
| | | | This reverts commit ffd48a79ee34dc90c0f6f16564c3a0de8b53d3d2.
* s3: Forgot to check in one build failure for vfs_gpfs.cVolker Lendecke2009-09-241-1/+1
|
* s3: Remove an unused variableVolker Lendecke2009-09-241-1/+0
|
* s3: Make the vfs_gpfs compile at leastVolker Lendecke2009-09-241-19/+23
| | | | Not sure whether it works in this state :-)
* Revert "s3:winbindd: use a tcp connection for lsa in case ↵Stefan Metzmacher2009-09-241-9/+0
| | | | | | | | | | lookup_names/lookup_sids doesn't work over ncacn_np" This reverts commit f23691cffd39e5df81b7b075e61ed1def6cce9f6. This should not have been commited... metze
* s3:rpc_server: we need to make a copy of my_name in serverinfo_to_SamInfo_base()Stefan Metzmacher2009-09-241-1/+1
| | | | | | This is important for the case the server_info already contains a logon_server. metze
* s3:winbindd: use a tcp connection for lsa in case lookup_names/lookup_sids ↵Günther Deschner2009-09-241-0/+9
| | | | | | doesn't work over ncacn_np metze
* s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_SPECIAL_SECRET_PROCESSING in ↵Anatoliy Atanasov2009-09-233-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
* s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_ASYNC_REP in getncchangesAnatoliy Atanasov2009-09-231-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.
* s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_FULL_SYNC_PACKET in getncchangesAnatoliy Atanasov2009-09-231-0/+6
| | | | | When this flag is specified in the request we shouldn't use the uptodateness vector in the request.
* idl: regenerate idlAnatoliy Atanasov2009-09-232-3/+11
|
* s4: Handle DRSUAPI_DS_REPLICA_NEIGHBOUR_CRITICAL_ONLY req in getncchangesAnatoliy Atanasov2009-09-234-12/+21
|
* Revert "r20074: this values seem to be typos in drsuapi"Stefan Metzmacher2009-09-231-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>
* s4:ldif_handlers Fix memory leak in objectCategory LDIF handlerAndrew Bartlett2009-09-231-0/+1
|
* s4-drs: fill in more guids and SIDs, plus filter rDNAndrew Tridgell2009-09-231-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
* s4-dsdb: cope with windows sending extra pad bytesAndrew Tridgell2009-09-231-4/+4
|
* s4-dsdb: added dsdb_find_sid_by_dn()Andrew Tridgell2009-09-231-0/+30
|
* s4-drsserver: fixed addition of sort controlAndrew Tridgell2009-09-231-5/+7
|
* fixed spellingAndrew Tridgell2009-09-231-1/+1
|
* s4-drs: ignore zero value elements in DRS add operationsAndrew Tridgell2009-09-231-0/+13
| | | | | w2k8 sometimes sends us a new object via DRS with an attribute with no values
* s4-netlogon: always set the dNSHostName in GetDomainInfoAndrew Tridgell2009-09-231-3/+7
| | | | This seems to be what w2k8 does
* regenerate IDLAndrew Tridgell2009-09-234-60/+62
|
* s4-netlogon: make GetDomainInfo response match w2k8Andrew Tridgell2009-09-231-13/+21
|
* s4-cldap: return domainFunctionality from SAMAndrew Tridgell2009-09-231-0/+5
|
* idl: fixed string termination for netlogon GetDomainInfoAndrew Tridgell2009-09-231-10/+10
|
* s4-nbt: added NBT_SERVER_DNS_FORESTAndrew Tridgell2009-09-231-1/+2
|
* s3:gencache: Make gencache_del() return success for expired entriesVolker Lendecke2009-09-231-4/+13
| | | | This fixes nasty error messages from "net cache flush"
* s3:gencache: Remove some over-paranoid lockingVolker Lendecke2009-09-231-6/+0
|
* s3:gencache: Add a "was_expired" argument to gencache_get_data_blobVolker Lendecke2009-09-234-14/+23
| | | | | This is set to true if the routine returns failure due to an existing but expired entry.
* Check for PyString_FromString being NULL.Jelmer Vernooij2009-09-231-4/+10
|
* provision: Avoid linking in multiple copies of security python module.Jelmer Vernooij2009-09-234-37/+30
|
* s3:winbind: Fix an uninitialized variableVolker Lendecke2009-09-231-1/+1
|
* s4-drsserver: sort by DN to give tree orderAndrew Tridgell2009-09-223-8/+29
| | | | | This might help the windows client with ordered requests. Later we need to support the "ancestors" mode flag.
* s4-ldb: server side sort args are const char *Andrew Tridgell2009-09-221-2/+2
|
* s4-ldb: fixed call argument order for ldb_dn_from_ldb_valAndrew Tridgell2009-09-221-3/+3
| | | | This caused _lots_ of problems, especially in server side sort