summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-07s3:libsmb: add trans2_bytes_push_bytes()Stefan Metzmacher2-0/+21
metze
2011-07-07s3:libsmb: make trans2_bytes_push_str() non-staticStefan Metzmacher2-3/+6
We should use this and get rid of clistr_push(). metze
2011-07-07s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the statusStefan Metzmacher1-2/+2
metze
2011-07-07s3-printing: remove tdb migration invalid printer name checksDavid Disseldorp1-9/+2
WERR_INVALID_PRINTER_NAME only needed to be handled when printing tdb migration used spoolss, with winreg such errors are no longer possible. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jul 7 19:15:34 CEST 2011 on sn-devel-104
2011-07-07s3-printing: make sure to first migrate the printers then the security ↵Günther Deschner2-4/+28
descriptor. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: fill info2_mask in printer migrationDavid Disseldorp1-4/+7
Also fix possibly uninitialised status return from printing_tdb_migrate_printer().
2011-07-07s3-printing: remove spoolss pipe from migration library, only using winreg ↵Günther Deschner4-46/+5
finally. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: use winreg interface for migration, instead of spoolss.Günther Deschner1-181/+38
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: safe a ton of roundtrips by reusing existing winreg ↵Günther Deschner3-156/+229
binding_handles. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: use winreg_internal functions.Günther Deschner3-87/+87
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: add winreg_internal functions.Günther Deschner4-1/+541
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: add winreg_printer_binding_handle and remove most of ↵Günther Deschner2-4772/+12
srv_spoolss_util.c. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: add rpc_client/cli_winreg_spoolss.cGünther Deschner4-6/+4668
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-waf: make LIBCLI_SPOOLSS a shared libraryGünther Deschner1-3/+4
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner4-179/+182
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner5-93/+92
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move os2 related functions to printing/nt_printing_os2.c.Günther Deschner7-145/+191
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3: Remove a use of cli_errstrVolker Lendecke1-2/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 18:04:26 CEST 2011 on sn-devel-104
2011-07-07s3-waf: Fix linking bugs causing segfaults.Andreas Schneider2-2/+2
As auth_util.c is linked several times the static variables have different address on different calls. This leads to segfaults. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 7 16:50:05 CEST 2011 on sn-devel-104
2011-07-07s3:testparm: avoid spurious warnings about dos mode mapping and create mask ↵Gregor Beck1-19/+27
if store dos attributes is set Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 12:49:01 CEST 2011 on sn-devel-104
2011-07-07s4 provision: Add some of the AD-specific DNS records to the directoryKai Blin3-9/+236
Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Jul 7 02:29:53 CEST 2011 on sn-devel-104
2011-07-07s4 provision: split up DNS provisioning into generic and samba-specific ldifsKai Blin3-21/+31
Signed-off-by: Kai Blin <kai@samba.org>
2011-07-06s4:torture/smb2: s/smb2cli_unlock/test_smb2_unlockStefan Metzmacher1-3/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 19:07:42 CEST 2011 on sn-devel-104
2011-07-06s4:torture/smb2: s/smb2cli_lock/test_smb2_lockStefan Metzmacher1-19/+19
metze
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_qfilename()Stefan Metzmacher3-9/+30
metze
2011-07-06s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher4-6/+16
metze
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()Stefan Metzmacher3-10/+32
metze
2011-07-06s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytesStefan Metzmacher1-1/+1
metze
2011-07-06s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral()Stefan Metzmacher1-5/+7
The rdata buffer returned by cli_trans() doesn't belong to cli->inbuf, so don't use it. metze
2011-07-06s3:libsmb: fix error handling in cli_dfs_get_referral()Stefan Metzmacher1-3/+11
We should not return NT_STATUS_OK on error. metze
2011-07-06s3:sharesec: return an error if get_share_security() returns NULLStefan Metzmacher1-1/+1
This indicates an error, as it uses get_share_security_default() if no security descriptor is configured. Jeremy, please check. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 15:40:23 CEST 2011 on sn-devel-104
2011-07-06s3:test: catch more errors in test_access_check() in the smbclient_s3 testMichael Adam1-0/+16
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jul 6 14:07:13 CEST 2011 on sn-devel-104
2011-07-06s3:registry: update copyright for the registry db implementationMichael Adam1-1/+2
2011-07-06examples/VFS: try to fix the build on openbsd, adding alternative spellings ↵Michael Adam1-2/+3
of autoconf/header The host "samba-amd64" on the build farm running openbsd 4.8 broke. Taking over the additional spellings of autoconf and autoheader from the source3/autogen.sh script should fix it.
2011-07-06s3:sharesec: also initialize pgranted if get_share_security() returns NULLStefan Metzmacher1-0/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 12:54:30 CEST 2011 on sn-devel-104
2011-07-06s3: Follow the TALLOC_FREE convention in source3Volker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 11:01:05 CEST 2011 on sn-devel-104
2011-07-06s3: Fix Coverity ID 2586 -- NO_EFFECTVolker Lendecke1-1/+1
tsocket_address_bsd_sockaddr returns ssize_t, and on some systems socklen_t is unsigned. So (len < 0) could never have turned true. Volker
2011-07-06s3: Remove cli_errstr from cmd_posix_openVolker Lendecke1-5/+12
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 09:45:11 CEST 2011 on sn-devel-104
2011-07-06s3: Fix error logic in posix_openVolker Lendecke1-2/+2
2011-07-06s3: Remove a few uses of cli_errstrVolker Lendecke1-26/+27
2011-07-06s3: make cli_resolve_path return NTSTATUSVolker Lendecke8-136/+230
This looks larger than it is. No parameters needed changing.
2011-07-06ccan/tally: don't use SIZE_MAX.Rusty Russell1-2/+2
Michael Adam points out this broke the build farm (ie. OSF1 axp V5.1 2650 alpha) so fixed in CCAN and imported from af7a902d74a7926693f55da9e21a67dde46931d4: Turns out it's not standard (thanks Samba build farm!) And the previous test had a hole in it anyway. This one is more conservative. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Jul 6 08:34:05 CEST 2011 on sn-devel-104
2011-07-06build: we no longer put #if _SAMBA_BUILD_ == 4 in public headersAndrew Bartlett1-3/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jul 6 06:46:50 CEST 2011 on sn-devel-104
2011-07-06s3-build We no longer require to redefine _SAMBA_BUILD_Andrew Bartlett1-5/+0
2011-07-06libcli/smb move FILE_TYPE constants in commonAndrew Bartlett4-19/+9
This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
2011-07-06libcli/smb move enum protocol_types to a common headerAndrew Bartlett5-27/+14
2011-07-06build: Remove _SAMBA_BUILD == 4 from libgpoAndrew Bartlett6-78/+0
This code has no hope of building against the samba4 libs (it has been disabled for a very long time, and files referenced don't exist etc), and with the common build there simply is no need. Andrew Bartlett
2011-07-06librpc/ndr remove _SAMBA_BUILD_ conditionalsAndrew Bartlett3-8/+0
2011-07-06build: Re-enable the -Wl,--as-needed flagAndrew Bartlett1-6/+2
2011-07-05s3:smbd fix a compile warning on AIX 5.3Christian Ambach1-1/+1
use the correct alias instead of FD directly Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue Jul 5 19:51:42 CEST 2011 on sn-devel-104