summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3:torture/scanner: use trans2_bytes_push_str() in scan_nttrans()Stefan Metzmacher2011-07-071-14/+52
| | | | metze
* s3:torture/scanner: use trans2_bytes_push_str() in scan_trans2()Stefan Metzmacher2011-07-071-14/+52
| | | | metze
* s3:libsmb: use trans2_bytes_push_str() in cli_tcon_andx_create() for the ↵Stefan Metzmacher2011-07-071-12/+11
| | | | | | | | plaintext password This makes sure we push the string always in DOS charset. metze
* s3:libsmb: use trans2_bytes_push_str() in cli_set_ea_path()Stefan Metzmacher2011-07-071-8/+9
| | | | metze
* s3:libsmb: use trans2_bytes_push_str() in cli_dfs_get_referral()Stefan Metzmacher2011-07-071-6/+10
| | | | metze
* s3:libsmb: use a talloc_stackframe in cli_dfs_get_referral()Stefan Metzmacher2011-07-071-4/+3
| | | | metze
* s3:libsmb: use trans2_bytes_push_str/bytes() in cli_list_trans_*()Stefan Metzmacher2011-07-071-20/+26
| | | | metze
* s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()Stefan Metzmacher2011-07-074-10/+19
| | | | metze
* s3:libsmb: interpret_long_filename() short_name is always UNICODEStefan Metzmacher2011-07-071-8/+3
| | | | metze
* s3:libsmb: add trans2_bytes_push_bytes()Stefan Metzmacher2011-07-072-0/+21
| | | | metze
* s3:libsmb: make trans2_bytes_push_str() non-staticStefan Metzmacher2011-07-072-3/+6
| | | | | | We should use this and get rid of clistr_push(). metze
* s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the statusStefan Metzmacher2011-07-071-2/+2
| | | | metze
* s3-printing: remove tdb migration invalid printer name checksDavid Disseldorp2011-07-071-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
* s3-printing: make sure to first migrate the printers then the security ↵Günther Deschner2011-07-072-4/+28
| | | | | | | | descriptor. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: fill info2_mask in printer migrationDavid Disseldorp2011-07-071-4/+7
| | | | | Also fix possibly uninitialised status return from printing_tdb_migrate_printer().
* s3-printing: remove spoolss pipe from migration library, only using winreg ↵Günther Deschner2011-07-074-46/+5
| | | | | | | | finally. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: use winreg interface for migration, instead of spoolss.Günther Deschner2011-07-071-181/+38
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: safe a ton of roundtrips by reusing existing winreg ↵Günther Deschner2011-07-073-156/+229
| | | | | | | | binding_handles. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: use winreg_internal functions.Günther Deschner2011-07-073-87/+87
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: add winreg_internal functions.Günther Deschner2011-07-074-1/+541
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: add winreg_printer_binding_handle and remove most of ↵Günther Deschner2011-07-072-4772/+12
| | | | | | | | srv_spoolss_util.c. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: add rpc_client/cli_winreg_spoolss.cGünther Deschner2011-07-074-6/+4668
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-waf: make LIBCLI_SPOOLSS a shared libraryGünther Deschner2011-07-071-3/+4
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner2011-07-074-179/+182
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner2011-07-075-93/+92
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: move os2 related functions to printing/nt_printing_os2.c.Günther Deschner2011-07-077-145/+191
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3: Remove a use of cli_errstrVolker Lendecke2011-07-071-2/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 18:04:26 CEST 2011 on sn-devel-104
* s3-waf: Fix linking bugs causing segfaults.Andreas Schneider2011-07-072-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
* s3:testparm: avoid spurious warnings about dos mode mapping and create mask ↵Gregor Beck2011-07-071-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
* s4 provision: Add some of the AD-specific DNS records to the directoryKai Blin2011-07-073-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
* s4 provision: split up DNS provisioning into generic and samba-specific ldifsKai Blin2011-07-073-21/+31
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4:torture/smb2: s/smb2cli_unlock/test_smb2_unlockStefan Metzmacher2011-07-061-3/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 19:07:42 CEST 2011 on sn-devel-104
* s4:torture/smb2: s/smb2cli_lock/test_smb2_lockStefan Metzmacher2011-07-061-19/+19
| | | | metze
* s3:libsmb: use clistr_pull_talloc() in cli_qfilename()Stefan Metzmacher2011-07-063-9/+30
| | | | metze
* s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher2011-07-064-6/+16
| | | | metze
* s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()Stefan Metzmacher2011-07-063-10/+32
| | | | metze
* s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytesStefan Metzmacher2011-07-061-1/+1
| | | | metze
* s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral()Stefan Metzmacher2011-07-061-5/+7
| | | | | | | The rdata buffer returned by cli_trans() doesn't belong to cli->inbuf, so don't use it. metze
* s3:libsmb: fix error handling in cli_dfs_get_referral()Stefan Metzmacher2011-07-061-3/+11
| | | | | | We should not return NT_STATUS_OK on error. metze
* s3:sharesec: return an error if get_share_security() returns NULLStefan Metzmacher2011-07-061-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
* s3:test: catch more errors in test_access_check() in the smbclient_s3 testMichael Adam2011-07-061-0/+16
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jul 6 14:07:13 CEST 2011 on sn-devel-104
* s3:registry: update copyright for the registry db implementationMichael Adam2011-07-061-1/+2
|
* examples/VFS: try to fix the build on openbsd, adding alternative spellings ↵Michael Adam2011-07-061-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.
* s3:sharesec: also initialize pgranted if get_share_security() returns NULLStefan Metzmacher2011-07-061-0/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 12:54:30 CEST 2011 on sn-devel-104
* s3: Follow the TALLOC_FREE convention in source3Volker Lendecke2011-07-061-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 11:01:05 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2586 -- NO_EFFECTVolker Lendecke2011-07-061-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
* s3: Remove cli_errstr from cmd_posix_openVolker Lendecke2011-07-061-5/+12
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 09:45:11 CEST 2011 on sn-devel-104
* s3: Fix error logic in posix_openVolker Lendecke2011-07-061-2/+2
|
* s3: Remove a few uses of cli_errstrVolker Lendecke2011-07-061-26/+27
|
* s3: make cli_resolve_path return NTSTATUSVolker Lendecke2011-07-068-136/+230
| | | | This looks larger than it is. No parameters needed changing.