summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* pidl: adjust expected output for new flag checkingAndrew Tridgell2011-09-081-2/+4
|
* s4-dsdb: prevent crash on bad DN in construct_parent_guid()Andrew Tridgell2011-09-081-0/+3
| | | | this was found by a flakey test in autobuild
* torture-drs: fixed NDR tests for DRS blobsAndrew Tridgell2011-09-081-2/+40
| | | | | | this also adds new tests for trustAuthInOutBlob blobs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NTLMSSP blobsAndrew Tridgell2011-09-081-4/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NBT blobsAndrew Tridgell2011-09-081-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for DFS blobsAndrew Tridgell2011-09-081-3/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: added support for testing push functionsAndrew Tridgell2011-09-082-25/+52
| | | | | | | this allows us to check the symmetry of pull/push functions in NDR tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pidl: added checking of NDR flags in generated codeAndrew Tridgell2011-09-081-0/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libndr: add checking to all pull/push functions of base typesAndrew Tridgell2011-09-081-0/+34
| | | | | | this checks that the passed in ndr_flags are valid Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libndr: moved the NDR_* flags to have less overlapAndrew Tridgell2011-09-081-8/+36
| | | | | | | | | | | | | | | | | | | | We have 3 different types of flags values in our NDR layer. We've recently found bugs where these types of flags have been mixed up, especially by people adding hand written ndr code for tricky structures. We previously got away with this because (for example) NDR_SCALARS and NDR_IN had the same value, so mixing up the two concepts sometimes worked. Unfortunately it also led to bugs where we didn't do what was expected, such as in our smbtorture ndr test suite, where passing a ndr_flags value of zero led to only checking that two empty structures were equal. This changes the values of the NDR_IN|NDR_OUT and NDR_SCALARS|NDR_BUFFERS values to be in different bit ranges, and adds macros for checking the validity of passed in flags. A followup patch modifies the ndr calls to use these macros, and pidl to generate them. This should catch misuse of the APIs. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib: added base64_decode_data_blob_talloc()Andrew Tridgell2011-09-082-2/+19
| | | | | | its nice to be able to allocate on other than NULL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed compiler warningAndrew Tridgell2011-09-081-1/+1
| | | | | | sid can be const Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Tidy up previous patch for bug #8442 - NFSv4 DENY ACLs always include ↵Jeremy Allison2011-09-081-5/+4
| | | | | | | | | SYNCHRONIZE flag - blocking renames. aceType is an enum field, not a bitmask. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 8 03:34:39 CEST 2011 on sn-devel-104
* s4-provision: Fill msDS-NC-Replica-Locations attribute in DNS provisioningAmitay Isaacs2011-09-082-0/+4
| | | | | | | | | | This attribute is required by the hosting requirement. [MS_ADTS].pdf 7.1.2.3.1 DC and Application NC Replica Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 02:04:51 CEST 2011 on sn-devel-104
* s4-provision: Make DNS entries consistent with dns_update scriptAmitay Isaacs2011-09-081-4/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Reworked DNS provisioning to support AD DNS schemaAmitay Isaacs2011-09-081-114/+435
| | | | | | | | | | | | This changes configure DNS partitions used by AD DNS and populate with relevant entries. This has an advantage that Windows can replicate these partitions and set up dns server using them. In addition, these partitions are used by bind9_dlz module to query zone information directly and do not need to create text database for dynamic zones. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: LDIF files to set up AD DNS schemaAmitay Isaacs2011-09-085-3/+129
| | | | | | | This files set up DomainDnsZones and ForestDnsZones partitions and other configuration parameters for replication. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Add DNS backend option to provisionAmitay Isaacs2011-09-082-4/+10
| | | | | | | This option is introduced temporarily to test bind9 backend with and without dlz_dlopen module. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: exit is not imported directed, use sys.exitAmitay Isaacs2011-09-081-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Extract dns account creation as separate ldifAmitay Isaacs2011-09-082-92/+12
| | | | | | | MicrosoftDNS container and LDAP entries for root servers will be added by sambadns.py directly. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Avoid use of "except .. as" construction introduced in python2.6.Jelmer Vernooij2011-09-081-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Sep 8 00:34:22 CEST 2011 on sn-devel-104
* Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking ↵Ira Cooper2011-09-071-1/+7
| | | | | | | | | renames. Thanks to Youzhong Yang for discovering this issue. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 7 22:56:06 CEST 2011 on sn-devel-104
* s3:winbind: put winbindd_cache into the state dir, not the cache dirMichael Adam2011-09-071-1/+1
| | | | | | | | Despite the name, in winbind offline logon mode, this is a database that contains valuable information and should not be cleared. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Sep 7 21:17:37 CEST 2011 on sn-devel-104
* s3:dbwrap_ctdb: improve error message in transaction destructorGregor Beck2011-09-071-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: let g_lock_unlock() return more specific status codes on failureGregor Beck2011-09-071-2/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Fix Coverity ID 2611, UNINITVolker Lendecke2011-09-071-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 7 19:47:49 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2612, UNINITVolker Lendecke2011-09-071-0/+1
|
* s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid valuesStefan Metzmacher2011-09-071-3/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 18:19:43 CEST 2011 on sn-devel-104
* s3:smb2cli: pass the uid to the SMB2_SESSION_SETUP to support multi-leg-authStefan Metzmacher2011-09-071-1/+2
| | | | metze
* talloc: Remove an unused variableVolker Lendecke2011-09-071-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 7 16:47:26 CEST 2011 on sn-devel-104
* s3:idmap/autorid add a small alloc pool to autoridChristian Ambach2011-09-071-0/+52
| | | | | | | | | | | | this is needed to allocate gids for BUILTIN\Users and BUILTIN\Administrators gids are stored at the start of the first domain as RIDs start with values over 500, we have some room there so we do not need to allocate a range Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Sep 7 15:15:09 CEST 2011 on sn-devel-104
* s4-s3-upgrade: convert password age policies to the negative NTTIME formatAndrew Bartlett2011-09-071-8/+21
| | | | | | | | | This previously caused all accounts to be locked out. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 7 13:44:44 CEST 2011 on sn-devel-104
* lib/addns: Remove unused TALLOC_ macrosAndrew Bartlett2011-09-071-42/+0
|
* build: Replace mkbuildoptions-waf awk script with waf targetAmitay Isaacs2011-09-073-277/+175
|
* samba-tool: Add --filter option to ldapcmp to ignore specified attributesAmitay Isaacs2011-09-071-9/+20
|
* s4-kcc: Fix the list of NCs for DRS replica informationAmitay Isaacs2011-09-071-3/+21
| | | | | AD DNS partitions (DomainDnsZones and ForestDnsZones) are listed under msDs-hasMasterNCs attribute for post-2003 windows servers.
* s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in ↵Stefan Metzmacher2011-09-071-0/+8
| | | | | | | | | SMB2_FIND/QUERY_DIRECTORY metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 12:15:51 CEST 2011 on sn-devel-104
* s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in ↵Stefan Metzmacher2011-09-071-0/+8
| | | | | | SMB2_CREATE metze
* s3:smb2_server: return BAD_NETWORK_NAME if the path is terminated in SMB2_TCONStefan Metzmacher2011-09-071-0/+8
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_write.cStefan Metzmacher2011-09-071-12/+6
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_setinfo.cStefan Metzmacher2011-09-071-13/+5
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_read.cStefan Metzmacher2011-09-071-11/+5
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_notify.cStefan Metzmacher2011-09-071-12/+4
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_lock.cStefan Metzmacher2011-09-071-11/+5
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_keepalive.cStefan Metzmacher2011-09-071-13/+4
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_ioctl.cStefan Metzmacher2011-09-071-13/+5
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_getinfo.cStefan Metzmacher2011-09-071-13/+5
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_flush.cStefan Metzmacher2011-09-071-12/+4
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_find.cStefan Metzmacher2011-09-071-13/+5
| | | | metze
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_create.cStefan Metzmacher2011-09-071-11/+4
| | | | metze