summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:libsmb/smb_signing: make use of smb_len_nbt()Stefan Metzmacher2011-10-251-6/+6
| | | | metze
* s3:libsmb/smb_signing: avoid usage of smb_ss_fieldStefan Metzmacher2011-10-251-7/+7
| | | | metze
* s4:libcli: rename smb_signing.h to smb_raw_signing.h in the install directoryStefan Metzmacher2011-10-251-1/+1
| | | | metze
* libcli/smb: remove unused includes from read_smb.hStefan Metzmacher2011-10-251-2/+2
| | | | metze
* Try and fix bug #8384 - Windows XP clients seem to crash smbd process every ↵Jeremy Allison2011-10-241-6/+17
| | | | | | | | | | | once in a while. Remove the copy of the binding handle from struct notify_back_channel, use the direct pointer in struct rpc_pipe_client instead. Ensure we can't call the functions with a NULL binding handle. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 24 22:56:40 CEST 2011 on sn-devel-104
* s3-docs: Remove -Y option from winbind manpage.Günther Deschner2011-10-241-10/+0
| | | | | | | | | This option no longer exists. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 20:59:22 CEST 2011 on sn-devel-104
* idl: Improve MS-PAC IDLSimo Sorce2011-10-2412-56/+67
| | | | | | | | | | Change some misleading variable names to reflect the actual function. Add missing field name/types previously marked as unkown. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
* libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher2011-10-243-45/+38
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104
* s4:libcli/raw: remove unuded CMD_REPLY defineStefan Metzmacher2011-10-241-2/+0
| | | | metze
* libcli/smb: move more defines to smb_constants.hStefan Metzmacher2011-10-243-212/+105
| | | | metze
* libcli/smb: move CAP_* defines to smb_constants.hStefan Metzmacher2011-10-243-64/+46
| | | | metze
* auth/gensec: fix missleading commentStefan Metzmacher2011-10-241-1/+1
| | | | | | | | | We don't talloc_reference for tsocket_addresses. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 15:29:47 CEST 2011 on sn-devel-104
* libcli/smb Move smb_seal.h include to files that use it.Andrew Bartlett2011-10-242-1/+1
| | | | | | | | | | This is required because at the moment, smb_seal.h includes references to gssapi structures and this causes issues with header dependencies on subsystems that otherwise do not need a gssapi dependency. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/util/charset Remove unused header smb_common.hAndrew Bartlett2011-10-241-1/+0
| | | | | | | | This should fix a compile issue on hosts without gssapi/gssapi.h. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher2011-10-2410-10/+14
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
* s3:libsmb/read_smb: make use of smb_len_tcp()Stefan Metzmacher2011-10-241-1/+1
| | | | metze
* s3:libsmb: remove unused sync read_smb()Stefan Metzmacher2011-10-242-25/+0
| | | | metze
* s3:torture: avoid using read_smb()Stefan Metzmacher2011-10-241-1/+16
| | | | metze
* talloc: simplifiy the logic to build talloc_testsuite in the standalone buildStefan Metzmacher2011-10-221-8/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 22 13:15:52 CEST 2011 on sn-devel-104
* lib/util: remove the "includes.h" dependeny from xfile.cStefan Metzmacher2011-10-221-5/+2
| | | | metze
* lib/util: remove the "includes.h" dependeny from util_file.cStefan Metzmacher2011-10-221-5/+4
| | | | metze
* dynconfig: replace #if (_SAMBA_BUILD_ >= 4) by feature testsStefan Metzmacher2011-10-221-2/+10
| | | | metze
* talloc/testsuite: remove #if _SAMBA_BUILD_==3Stefan Metzmacher2011-10-221-9/+0
| | | | | | We don't include "includes.h" anymore... metze
* auth/gensec: replace #if _SAMBA_BUILD_ == 4 by a feature testStefan Metzmacher2011-10-221-1/+1
| | | | metze
* Third part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison2011-10-221-2/+1
| | | | | | | | | symlink target is outside of the share. Missed passing ucf_flags instead of hard coded flags in findfirst call. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 06:30:16 CEST 2011 on sn-devel-104
* Second part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison2011-10-223-2/+12
| | | | | | | symlink target is outside of the share. The statcache has to do lstat instead of stat when returning cached posix pathnames.
* s4:finddcs_cldap: talloc free old memory before allocating a new netlogon structStefan Metzmacher2011-10-221-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 22 04:55:54 CEST 2011 on sn-devel-104
* s4:finddcs_cldap: close the socket when it's not used anymoreStefan Metzmacher2011-10-221-1/+2
| | | | | | The amount of possible fd's might be restricted, so close them early. metze
* s4:finddcs_cldap: finddcs_cldap_recv() returns NTSTATUSStefan Metzmacher2011-10-221-1/+6
| | | | | | | We need to convert the errno based error to NTSTATUS before calling tevent_req_error (via tevent_req_nterror). metze
* Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵Jeremy Allison2011-10-224-11/+43
| | | | | | | | | | outside of the share. The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink, but disallow all other operations. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104
* s4-cldap: fix cldap_socket_init to always specify the dest if local is NULLMatthieu Patou2011-10-221-17/+18
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 22 00:02:00 CEST 2011 on sn-devel-104
* libcli-cldap: avoid the case local == remote == NULLMatthieu Patou2011-10-211-1/+5
|
* libcli/cldap: make sure the local and remote address family matchesStefan Metzmacher2011-10-211-5/+25
| | | | | | metze Signed-off-by: Matthieu Patou <mat@matws.net>
* s4-resolv: fix resolution of SRV records pointing to A and AAAA recordsMatthieu Patou2011-10-211-161/+238
|
* Deprecate "acl check permissions".Jeremy Allison2011-10-212-1/+4
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 21 21:51:18 CEST 2011 on sn-devel-104
* s3:idmap_autorid: document allocation poolChristian Ambach2011-10-211-1/+6
| | | | | | | | document the need that excessive use of local users/group might require increasing the rangesize Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Oct 21 18:04:50 CEST 2011 on sn-devel-104
* s3:idmap_autorid: add an allocation range to autoridChristian Ambach2011-10-211-1/+96
| | | | | | | | | | this is needed to allocate gids for BUILTIN\Users and BUILTIN\Administrators and for local users/group that admins might want to create autorid will now allocate one range for this purpose and can so give out as many uids and gids as the configured rangesize allows
* s3:idmap_autorid: move HWM initialization into a functionChristian Ambach2011-10-211-17/+27
| | | | | we will need some more HWM soon, so move out initialization and optimize the logic using the new interface of dbwrap_fetch_uint32
* s3:idmap_autorid: use strings as parameter for range allocatorChristian Ambach2011-10-211-14/+14
| | | | | this prepares for allocation of non-domain ranges that cannot be expressed by a SID (e.g. an allocation pool)
* s3:winbindd/idmap make idmap modules loadable againChristian Ambach2011-10-216-6/+6
| | | | | commit 355b5e3a831415d9bef97 changed the module system to expect 'samba_init_module' as fixed initializer function
* Revert "s3:idmap/autorid add a small alloc pool to autorid"Christian Ambach2011-10-211-61/+0
| | | | | | | | | | This reverts commit 0aa558718ad7427ee8b02046da73eea1838a5a32. just having 500 uid/gids values is not good enough for users using local users and groups in the order of thousands better solution which will use a complete range for allocated uids/gids will come next.
* libcli: remove unneeded com_err.h and fix the build here.Günther Deschner2011-10-211-4/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 21 15:52:36 CEST 2011 on sn-devel-104
* s3-waf: only compile common.c in netapi examples code once.Günther Deschner2011-10-211-2/+8
| | | | Guenther
* s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls.Günther Deschner2011-10-211-2/+30
| | | | Guenther
* s3-netapi: fix missing include in examples code.Günther Deschner2011-10-211-0/+2
| | | | Guenther
* libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher2011-10-2110-18/+20
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
* s3-ntlmssp Remove references to auth_ntlmssp_context from the rpc codeAndrew Bartlett2011-10-217-74/+75
| | | | | | | | | We always dereferenced auth_ntlmssp_state->gensec_security, so now we do not bother passing around the whole auth_ntlmssp_state. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-seal Remove struct smb_srv_trans_enc_ctxAndrew Bartlett2011-10-213-104/+54
| | | | | | | | | | | | | This structure added no value, particularly after the move to gensec. It was added at a time when auth_ntlmssp_state was not available in the client. This changed a while back (the wrapper was extended with client calls), and the move to gensec again reinforced that we do not need the extra complexity. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing codeAndrew Bartlett2011-10-214-46/+54
| | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-ntlmssp Remove auth_ntlmssp_session_key()Andrew Bartlett2011-10-214-17/+12
| | | | | | | | We now just call the gensec_session_key() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>