summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* smbXcli: rework smb2cli_req to smbXcli_conn/smbXcli_reqStefan Metzmacher2011-11-242-172/+167
| | | | metze
* libcli/smb: copy smb2cli_req_* code to smbXcli_base.cStefan Metzmacher2011-11-242-0/+620
| | | | metze
* smbXcli: rework smbXcli_base.c to use smbXcli_conn/smbXcli_reqStefan Metzmacher2011-11-242-323/+871
| | | | | | | This splits the low level smb code from 'struct cli_state' and makes it much more generic and useful for testing. metze
* smbXcli: cp source3/libsmb/async_smb.c libcli/smb/smbXcli_base.cStefan Metzmacher2011-11-241-0/+1118
| | | | metze
* security: add local authority well-known SIDsChristian Ambach2011-11-243-0/+9
| | | | | | | add the S-1-2 well-known SID family Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Nov 24 19:01:08 CET 2011 on sn-devel-104
* s3:smb2 report access_based_dir_enum in tcon replyChristian Ambach2011-11-241-0/+5
| | | | | let the client know when hide unreadable or hide unwriteable files is set for a share
* s3:smb2 do not set allow_namespace_caching flag for a shareChristian Ambach2011-11-241-1/+1
| | | | | this matches Win7/2002R2 behavior and clients also must ignore this flag when set (MS-SMB 2.2.10), so we should not set it at all
* s3:vfs:gpfs remove non-working codeChristian Ambach2011-11-241-65/+0
| | | | | | | | | | | | | | | when development of vfs_gpfs was started a long time ago it was considered a good idea to have it compileable even if GPFS is not around and then the module would complain in the logs that libgpfs is not there Nowadays this does not work any more as the code contains GPFS specific types that need the GPFS header files. Instead of making it compile again by adding GPFS typedefs, this removes the whole approach. Other VFS modules also do not even compile when necessary headers are not around, so do the same for the GPFS module code.
* s3:vfs:gpfs fix some compiler warningsChristian Ambach2011-11-241-3/+3
|
* s3:vfs:gpfs convert syncio parameterChristian Ambach2011-11-241-2/+11
| | | | | convert syncio parameter to be stored in the VFS handle data this removes the need to go through lp_parm_bool() on each open
* s4 dns: Test QCLASS_NONE queryKai Blin2011-11-241-0/+14
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 24 14:10:45 CET 2011 on sn-devel-104
* s4 dns: Test QTYPE_ALL queryKai Blin2011-11-241-0/+25
|
* s4 dns: Check more of the returned values for the A queryKai Blin2011-11-241-0/+3
|
* s4 dns: Move dns_transaction_udp to other helper functionsKai Blin2011-11-241-13/+14
|
* pidl:Samba4/NDR/Parser: don't generate code for [ignore] pointersStefan Metzmacher2011-11-241-2/+35
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 24 12:31:04 CET 2011 on sn-devel-104
* Remove unused variable.Jeremy Allison2011-11-241-1/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 24 00:17:41 CET 2011 on sn-devel-104
* Fix uninitialized variable frees on error paths.Jeremy Allison2011-11-231-11/+11
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 23 22:38:13 CET 2011 on sn-devel-104
* s3: Fix a valgrind errorVolker Lendecke2011-11-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 19:17:20 CET 2011 on sn-devel-104
* s3: Move server_info_struct to nmbdVolker Lendecke2011-11-232-9/+9
| | | | That's the only place where it's used.
* s3: Replace delete_token_list by an arrayVolker Lendecke2011-11-232-53/+69
| | | | | | | | This will make it easier to convert locking.tdb to IDL, and I don't think there will be enough entries to justify a linked list over an array. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
* Ensure we don't free uninitialized variables.Jeremy Allison2011-11-231-2/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 23 02:27:53 CET 2011 on sn-devel-104
* Remove the setting of the inherited ACL on new files/directories. This isJeremy Allison2011-11-223-224/+0
| | | | | now done correctly in the main codepath. The vfs_acl_XXXX modules are now thin shims that simply store/retrieve ACLs as they should be.
* Move setting the inherited ACL into the main open code path. Next willJeremy Allison2011-11-221-1/+110
| | | | remove it from the ACL modules.
* Move the "set SD" code into provided SD and "inherit acls" branches.Jeremy Allison2011-11-221-29/+32
|
* Only add the SD if it's not a new stream file.Jeremy Allison2011-11-221-1/+1
|
* Move the add security descriptor code to *after* all the other meta-data isJeremy Allison2011-11-221-35/+35
| | | | updated. We may be adding an SD that restricts our own access.
* s3: Fix wb_next_pwent_fill_doneVolker Lendecke2011-11-221-1/+0
| | | | | | | Within a callback routine it is not possible to call tevent_req_post Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 22 19:17:30 CET 2011 on sn-devel-104
* s3 libaddns: Prevent a crash when dns_create_update failsKai Blin2011-11-221-1/+1
| | | | | | | | | | | | When dns_create_update() fails, it does not initialize *req, and then TALLOC_FREE(req) in the error handling crashes if we're lucky. Instead of going into the generic error handling, treat the failure in dns_create_update() like dns_create_update_request() and just pass on the error. Thanks to Harry Mason for reporting this issue. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Nov 22 14:29:07 CET 2011 on sn-devel-104
* s4-dns: added --no-credentials option to samba_dnsupdateAndrew Tridgell2011-11-221-3/+10
| | | | | | | | this is for a user who is doing DNS updates via key files rather than GSSAPI. This allows the update to go through without a kerberos error Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 22 06:34:59 CET 2011 on sn-devel-104
* Fix a bunch of "warning: variable ‘XXXX’ set but not used ↵Jeremy Allison2011-11-2113-49/+32
| | | | | | | [-Wunused-but-set-variable]" warnings from the new gcc. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 21 23:39:08 CET 2011 on sn-devel-104
* s3:winbindd_cm: close sockfd on error in cm_prepare_connection()Stefan Metzmacher2011-11-211-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 21 19:58:58 CET 2011 on sn-devel-104
* s3:libsmb: close fd on error in cli_connect_nb()Stefan Metzmacher2011-11-211-0/+2
| | | | metze
* librpc: install drsuapi and drsblobs headers.Günther Deschner2011-11-211-2/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 21 17:24:28 CET 2011 on sn-devel-104
* s3-waf: remove version from libpdb.so for now.Günther Deschner2011-11-211-2/+0
| | | | Guenther
* s4-smbtorture: add ndr test for nbt_netlogon_packet to avoid future regressions.Günther Deschner2011-11-201-0/+36
| | | | | | | | | | Guys, we really should make sure to always add ndr tests like this whenever we change some sensitive libndr or handmarshalling bits. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Sun Nov 20 23:10:39 CET 2011 on sn-devel-104
* s3:smb2_negprot: add support for SMB2_22Stefan Metzmacher2011-11-201-0/+15
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 20 16:46:45 CET 2011 on sn-devel-104
* lib/param: add "SMB2_22" to enum_protocolStefan Metzmacher2011-11-201-0/+1
| | | | metze
* s4-dsdb: Modify the repl_meta_data behavior to allow Metadata change on ↵Matthieu Patou2011-11-191-2/+8
| | | | | | | attribute interSiteTopologyGenerator even if the value didn't change Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 19 16:47:53 CET 2011 on sn-devel-104
* socket_wrapper/py_socket_wrapper.c - include Python 2.4 compatiblity codeMatthias Dieter Wallnöfer2011-11-191-0/+7
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 19 14:53:43 CET 2011 on sn-devel-104
* Remove rawmemchr calls - found by Ira Cooper. These are glibc-specific ↵Jeremy Allison2011-11-181-3/+4
| | | | | | | calls, makes us completely non-portable. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 18 23:50:50 CET 2011 on sn-devel-104
* s3/packaging: Fix rpm build issues on RHEL4.Karolin Seeger2011-11-181-1/+13
| | | | | | | | | | Second part of a fix for bug #7705 (RHEL samba.spec broken - and fix). Based on patches of Jason Haar and Daniël van Eeden. Thanks a lot! Karolin Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Fri Nov 18 22:13:06 CET 2011 on sn-devel-104
* s3:libsmb: verify num_setup for SMBnttrans in cli_pull_trans()Stefan Metzmacher2011-11-181-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 18 15:13:52 CET 2011 on sn-devel-104
* s3:libsmb: fix compiler warning in cli_pull_trans()Stefan Metzmacher2011-11-181-1/+3
| | | | metze
* s3:libsmb: only align unicode pipe_name (bug #8586)Stefan Metzmacher2011-11-181-7/+11
| | | | metze
* s3: Fix bug 8371Volker Lendecke2011-11-181-0/+2
| | | | | | | | | ndr_set_flag or's in the given flag (ALIGN4). At this point, ndr->flags contains NOALIGN, which will persist. In ndr_push_DATA_BLOB NOALIGN overrides everything else, so that the ALIGN4 is not respected. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 18 09:33:37 CET 2011 on sn-devel-104
* s3-py-passdb: Fix handling of uninitialized gid valuesAmitay Isaacs2011-11-183-3/+3
| | | | | | | | Uninitialized gid value is set to -1 and return as such from python passdb api. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
* dsdb: Fix the password expiry calculationAmitay Isaacs2011-11-181-1/+1
| | | | | | | | As per Section 3.1.1.4.5.26 [MS-ADTS.pdf], password is expired if pwdLastSet = null, or pwdLastSet = 0, or (maxPwdAge != 0x8000000000000000 and (ST - pwdLastSet) > maxPwdAge)
* s3-passdb_test: Policy values are converted to signed integerAmitay Isaacs2011-11-181-1/+1
| | | | No need to check value for 0xffffffff (4294967295).
* s4-s3-upgrade: Add --verbose option to print extra detailsAmitay Isaacs2011-11-182-3/+6
|
* s4-auth log details about any token we fail to convert to a unix tokenAndrew Bartlett2011-11-181-0/+17
| | | | | | | Now that entries are being added into the idmap DB from Samba3, and may be UID or GID but not BOTH, failures are more likely. Andrew Bartlett