summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-07s3-waf: avoid exporting init symbols from statically linked modulesAlexander Bokovoy2-1/+334
WAF builds with and without AD DC affect list of statically linked modules that are added into libpdb. This makes impossible to have ABI for libpdb that does not depend on configured features. By making init functions from statically linked modules to have local scope in shared libraries, we avoid unwarranted ABI changes. Additionally, pdb_samba_dsdb imports IDMAP subsystem of source4/ as it is not a shared library. Making its symbols private as well. Finally, in order to have the filtering of symbols work, libpdb has to be public library.
2012-09-07s4-torture: dns torture test depends on AD DC buildAlexander Bokovoy1-8/+9
2012-09-07s3-passdb: convert pdb_ipa to use secrets wrappersAlexander Bokovoy1-4/+4
2012-09-07s3-passdb: convert pdb_ldap to use secrets wrappersAlexander Bokovoy1-2/+2
2012-09-07s3-passdb: wrap secrets.tdb accessors used by PDB modulesAlexander Bokovoy2-0/+45
PDB modules store domain sid and guid in secrets.tdb to cooperate with other parts of smbd. If PDB module is built outside Samba source code it has to be linked against internal libsecrets. Wrap required secrets_* calls to avoid direct linking. libpdb is linked against libsecrets by itself and this is enough.
2012-09-07wafsamba/samba_abi: allow negative matches in abi_matchAlexander Bokovoy1-3/+12
abi_match keyword for samba libraries allows to selectively apply ABI versions. samba_abi.py implied !sym to be used to say 'all symbols but this one' but the actual demotion of !sym to the local scope was not implemented. Now abi_match='!sym' properly moves symbol to a local scope.
2012-09-07gen_abi.sh: filter out symbols not needed for ABIAlexander Bokovoy1-1/+1
gdb does not allow to print definitions of certain section names and special symbols used for dynamic loading machinery: __bss_start _edata _init _fini _end Please note the space before the pattern, it is needed to avoid hungry matches of valid symbols with these as substrings (foo_init, for example). Without this patch gdb on Fedora 18 breaks when attempting to print function and struct signature.
2012-09-07wafsamba/samba_abi: fix signature parsing for structuresAlexander Bokovoy1-2/+3
Signature parsing for structure objects was broken. Existing regexp was greedingly cutting off additional curly brackets that belonged to the first and last structure member.
2012-09-07waf: Fix bug #8801 - build s3fs manpages.Andreas Schneider2-0/+91
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Sep 7 12:30:08 CEST 2012 on sn-devel-104
2012-09-07waf: Rename nmblookup manpage to nmblookup4.Andreas Schneider2-66/+66
2012-09-07docs: Remove old tdb manpages.Andreas Schneider3-440/+0
They are part of lib/tdb/manpages/ now.
2012-09-07docs: Remove old ldb manpages.Andreas Schneider7-1012/+0
The ldb manpages can be found in lib/ldb/man/.
2012-09-07waf: Create catalog file for manpage generation.Andreas Schneider2-1/+6
2012-09-07wafsamba: Add a CONFIGURE_FILE option.Andreas Schneider2-1/+52
2012-09-07wafsamba: Add support for manpages in SAMBA_MODULE.Andreas Schneider9-3/+5
2012-09-07selftest/knownfail: samba3.smb2.durable-open.alloc-size fails currentlyStefan Metzmacher1-0/+1
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 7 10:47:29 CEST 2012 on sn-devel-104
2012-09-07s4:torture:smb2: add a test for alloc size behaviour under durable reconnectMichael Adam1-0/+154
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-07param: remove unused define FN_LOCAL_PARM_CHAR()Michael Adam1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07Free protect_ids in secret_store_domain_guid() as the caller of ↵Michele Baldessari1-0/+2
fetch_secrets() must free the result in order to not leak memory. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Sep 7 04:11:43 CEST 2012 on sn-devel-104
2012-09-07selftest/knownfail: samba3.smb2.durable-v2-open.reopen{1,2} fails currentlyStefan Metzmacher1-0/+2
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 7 02:12:22 CEST 2012 on sn-devel-104
2012-09-07s4:torture/smb2: add smb2.durable-v2-open.reopen{1,2} testsStefan Metzmacher1-0/+184
They show that only the content of the DH2C request matches and all other values in the SMB2 Create request are ignored. metze
2012-09-07s4:torture/smb2: check that the server should ignore the fname in a DHnC requestStefan Metzmacher1-1/+2
metze
2012-09-07s4:torture/smb2: don't expect a DHnQ response in a DHnC requestStefan Metzmacher1-4/+0
This is fixed in Windows 2012 and matches the [MS-SMB2] documentation now. metze
2012-09-07s4 dns: Make debug output less noisyKai Blin4-16/+16
Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Fri Sep 7 00:31:56 CEST 2012 on sn-devel-104
2012-09-06s4 dns: Check if signing user is allowed to update recordsKai Blin1-16/+56
This should fix bug #9142
2012-09-06fileserver:sysquotas: remove wrong castBjörn Jacke1-1/+1
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Sep 6 17:16:30 CEST 2012 on sn-devel-104
2012-09-06s3:quota: don't force the block size to 512Björn Jacke1-3/+0
there is no point in forcing the block size to 512 when curblocks is 1. This will only lead to false quota reporting. See bug #3272
2012-09-06s3-smbd: Remove remaining references to removed OS support in old-style ↵Andrew Bartlett1-6/+6
quota code Signed-off-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Sep 6 10:47:18 CEST 2012 on sn-devel-104
2012-09-06s3-smbd: Remove IRIX support from old (pre-sysquotas) codeAndrew Bartlett1-129/+0
This should be essentially dead code, as while it is possible to disable sysquotas, the sysquotas has since 2003 supported the 4A varient used on IRIX. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
2012-09-06s3-smbd: Remove HPUX support from old (pre-sysquotas) codeAndrew Bartlett1-19/+0
This should be essentially dead code, as while it is possible to disable sysquotas, the sysquotas has since 2003 supported the 4A varient used on HPUX. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
2012-09-06s3-smbd: Remove BSD support from old (pre-sysquotas) codeAndrew Bartlett1-226/+3
This is essentially dead code, as while it is possible to disable sysquotas, the default for BSD is now to use sysquotas with the addition of 4B support via the recent Darwin patch by James Peach. NFS support has been in sysquotas for quite some time now. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
2012-09-06s3-smbd: Remove Linux support from old (pre-sysquotas) codeAndrew Bartlett1-438/+1
This is essentially dead code, as while it is possible to disable sysquotas, the default for Linux has been to use sysquotas for quite some time now. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
2012-09-06s3-configure: Only use sysquotas by defaultAndrew Bartlett1-98/+15
We now only use old quota code if --with-quotas=yes and there is no sysquotas support for this platform. This also removes --with-sys-quotas as an option, instead being the first choice if --with-quotas=yes or --with-quotas=auto sysquotas have been our preferred quota mechanism since 2003. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
2012-09-06build: Remove Unicos support (quota in particular)Andrew Bartlett3-132/+0
Unicos machines are long gone now (Cray now make Linux compute nodes), so remove the quota support. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
2012-09-06build: Do not compile lib/sysquotas*.c files as part of configureAndrew Bartlett1-65/+16
Instead, use the tests in tests/sysquotas.c. It is better that we see any compile failures, and then expand the tests than 'automatically' disable the support. Users can always use --without-quotas if the quotas code does not work on their system. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
2012-09-06s3: Fix 64-bit warnings in vfs_media_harmonyVolker Lendecke1-1/+1
2012-09-06sysquota: we need to list nfs4 as a separate fs name for the ↵Björn Jacke1-0/+1
sys_get_nfs_quota backend at least the Linux kernel up to 3.5.0 lists NFSv4 aѕ nfs4 and not as nfs
2012-09-06selftest: Test configure stage of dlz_bind9Andrew Bartlett1-0/+61
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Sep 6 09:07:11 CEST 2012 on sn-devel-104
2012-09-06selftest: Add tests for the dlz_bind9 moduleAndrew Bartlett5-0/+113
This will help ensure that we do not break the fundemental loading etc. From here, it should be easy to extend this to more comprehensive tests. Andrew Bartlett
2012-09-06join.py: Only replicate DNS zones if the source DC had DNS zonesAndrew Bartlett1-7/+18
This avoid folks needing to specify --dns-backend=NONE Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Sep 6 04:48:55 CEST 2012 on sn-devel-104
2012-09-06s3-printing: Restrict printing=cups to systems with cups development headers ↵Andrew Bartlett4-17/+9
at build time This means that instead of failing due to the default commandline values not being quite correct that we clearly fail at loadparm and testparm time when parsing the printing= line. Andrew Bartlett
2012-09-05Free protect_ids in secret_store_domain_sid() as the caller of ↵Michele Baldessari1-0/+2
fetch_secrets() must free the result in order to not leak memory. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 5 22:20:45 CEST 2012 on sn-devel-104
2012-09-05Add "backup_intent" bool to files_struct.Jeremy Allison1-0/+3
Not used right now but I need this in the VFS to implement open for backup/restore later and don't want to break the ABI once 4.0.0 ships.
2012-09-05Remove an unncessary FTRUNCATE call in the open path. We can rely on O_TRUC.Jeremy Allison1-29/+1
Suggested by Volker.
2012-09-05s4 dns: Allow configuring signed updatesKai Blin1-1/+6
Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed Sep 5 20:42:46 CEST 2012 on sn-devel-104
2012-09-05s4 dns: Make sure to remember incoming tkey nameKai Blin1-0/+4
2012-09-05s4 dns: Verify incoming TSIG signaturesKai Blin4-0/+189
2012-09-05s4 dns: Handle GSS-TSIG signature creationKai Blin3-0/+144
2012-09-05s4 dns: When we got a TKEY, we need to remember which key to use for signingKai Blin2-2/+17
2012-09-05s4 dns: TKEY record needs to remember incoming algorithmKai Blin2-1/+10
Samba3 (and older windows versions) use gss.microsoft.com, win7 (and the RFC) use gss-tsig