Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-08 | libndr: moved the NDR_* flags to have less overlap | Andrew Tridgell | 1 | -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> | |||||
2011-09-08 | lib: added base64_decode_data_blob_talloc() | Andrew Tridgell | 2 | -2/+19 | |
its nice to be able to allocate on other than NULL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-09-08 | s4-dsdb: fixed compiler warning | Andrew Tridgell | 1 | -1/+1 | |
sid can be const Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-09-08 | Tidy up previous patch for bug #8442 - NFSv4 DENY ACLs always include ↵ | Jeremy Allison | 1 | -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 | |||||
2011-09-08 | s4-provision: Fill msDS-NC-Replica-Locations attribute in DNS provisioning | Amitay Isaacs | 2 | -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 | |||||
2011-09-08 | s4-provision: Make DNS entries consistent with dns_update script | Amitay Isaacs | 1 | -4/+4 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-09-08 | s4-provision: Reworked DNS provisioning to support AD DNS schema | Amitay Isaacs | 1 | -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> | |||||
2011-09-08 | s4-provision: LDIF files to set up AD DNS schema | Amitay Isaacs | 5 | -3/+129 | |
This files set up DomainDnsZones and ForestDnsZones partitions and other configuration parameters for replication. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-09-08 | s4-provision: Add DNS backend option to provision | Amitay Isaacs | 2 | -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> | |||||
2011-09-08 | s4-provision: exit is not imported directed, use sys.exit | Amitay Isaacs | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-09-08 | s4-provision: Extract dns account creation as separate ldif | Amitay Isaacs | 2 | -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> | |||||
2011-09-08 | samba-tool: Avoid use of "except .. as" construction introduced in python2.6. | Jelmer Vernooij | 1 | -2/+3 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Sep 8 00:34:22 CEST 2011 on sn-devel-104 | |||||
2011-09-07 | Fix bug #8442 - NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking ↵ | Ira Cooper | 1 | -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 | |||||
2011-09-07 | s3:winbind: put winbindd_cache into the state dir, not the cache dir | Michael Adam | 1 | -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 | |||||
2011-09-07 | s3:dbwrap_ctdb: improve error message in transaction destructor | Gregor Beck | 1 | -1/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-09-07 | s3: let g_lock_unlock() return more specific status codes on failure | Gregor Beck | 1 | -2/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-09-07 | s3: Fix Coverity ID 2611, UNINIT | Volker Lendecke | 1 | -0/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 7 19:47:49 CEST 2011 on sn-devel-104 | |||||
2011-09-07 | s3: Fix Coverity ID 2612, UNINIT | Volker Lendecke | 1 | -0/+1 | |
2011-09-07 | s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid values | Stefan Metzmacher | 1 | -3/+3 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 18:19:43 CEST 2011 on sn-devel-104 | |||||
2011-09-07 | s3:smb2cli: pass the uid to the SMB2_SESSION_SETUP to support multi-leg-auth | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-09-07 | talloc: Remove an unused variable | Volker Lendecke | 1 | -1/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 7 16:47:26 CEST 2011 on sn-devel-104 | |||||
2011-09-07 | s3:idmap/autorid add a small alloc pool to autorid | Christian Ambach | 1 | -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 | |||||
2011-09-07 | s4-s3-upgrade: convert password age policies to the negative NTTIME format | Andrew Bartlett | 1 | -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 | |||||
2011-09-07 | lib/addns: Remove unused TALLOC_ macros | Andrew Bartlett | 1 | -42/+0 | |
2011-09-07 | build: Replace mkbuildoptions-waf awk script with waf target | Amitay Isaacs | 3 | -277/+175 | |
2011-09-07 | samba-tool: Add --filter option to ldapcmp to ignore specified attributes | Amitay Isaacs | 1 | -9/+20 | |
2011-09-07 | s4-kcc: Fix the list of NCs for DRS replica information | Amitay Isaacs | 1 | -3/+21 | |
AD DNS partitions (DomainDnsZones and ForestDnsZones) are listed under msDs-hasMasterNCs attribute for post-2003 windows servers. | |||||
2011-09-07 | s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in ↵ | Stefan Metzmacher | 1 | -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 | |||||
2011-09-07 | s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in ↵ | Stefan Metzmacher | 1 | -0/+8 | |
SMB2_CREATE metze | |||||
2011-09-07 | s3:smb2_server: return BAD_NETWORK_NAME if the path is terminated in SMB2_TCON | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_write.c | Stefan Metzmacher | 1 | -12/+6 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_setinfo.c | Stefan Metzmacher | 1 | -13/+5 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_read.c | Stefan Metzmacher | 1 | -11/+5 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_notify.c | Stefan Metzmacher | 1 | -12/+4 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_lock.c | Stefan Metzmacher | 1 | -11/+5 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_keepalive.c | Stefan Metzmacher | 1 | -13/+4 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_ioctl.c | Stefan Metzmacher | 1 | -13/+5 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_getinfo.c | Stefan Metzmacher | 1 | -13/+5 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_flush.c | Stefan Metzmacher | 1 | -12/+4 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_find.c | Stefan Metzmacher | 1 | -13/+5 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_create.c | Stefan Metzmacher | 1 | -11/+4 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_close.c | Stefan Metzmacher | 1 | -12/+3 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_break.c | Stefan Metzmacher | 1 | -12/+4 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_tcon.c | Stefan Metzmacher | 1 | -24/+8 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_sesssetup.c | Stefan Metzmacher | 1 | -26/+9 | |
metze | |||||
2011-09-07 | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_negprot.c | Stefan Metzmacher | 1 | -10/+4 | |
metze | |||||
2011-09-07 | s3:smb2_server: add smbd_smb2_request_verify_sizes() | Stefan Metzmacher | 2 | -0/+45 | |
metze | |||||
2011-09-07 | s3:torture: relax TRANS2 midmight time checking | Stefan Metzmacher | 1 | -2/+4 | |
It's possible that the test runs on a full hour, e.g. Tue Sep 6 03:00:00 2011. So better check that the a_time is different from the current time. metze | |||||
2011-09-07 | s4:torture/basic: relax base.trans2 midmight time checking | Stefan Metzmacher | 1 | -2/+4 | |
It's possible that the test runs on a full hour, e.g. Tue Sep 6 03:00:00 2011. So better check that the a_time is different from the current time. metze | |||||
2011-09-07 | s3:smb2cli: fix marshalling of smb2_create_blobs in smb2cli_create() | Stefan Metzmacher | 1 | -3/+5 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 10:21:55 CEST 2011 on sn-devel-104 |