summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-2412-867/+426
| | | | metze
* s4:finddcs_cldap: debug the correct server address instead of NULLStefan Metzmacher2011-11-101-1/+2
| | | | metze
* s4-resolver: fix bug with DNS servers returning AAAA records when asked for ↵Matthieu Patou2011-11-061-2/+4
| | | | | | | A records Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 6 03:18:00 CET 2011 on sn-devel-104
* waf: convert NDR_NBT into shared library.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* librpc: only let NDR_NBT depend on NDR_NBT_BUF.Günther Deschner2011-11-031-1/+1
| | | | Guenther
* s4:libcli/smb2: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/Stefan Metzmacher2011-11-031-2/+2
| | | | metze
* s4:libcli/raw: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* s4:libcli/smb2: remove unused SMB_SIGNING_AUTO handlingStefan Metzmacher2011-11-031-2/+0
| | | | metze
* s4:libcli/raw: remove unused SMB_SIGNING_AUTO handlingStefan Metzmacher2011-11-031-1/+0
| | | | metze
* s4:libcli/smb2: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the ↵Stefan Metzmacher2011-11-031-0/+2
| | | | | | client for now metze
* s4:libcli/raw: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the ↵Stefan Metzmacher2011-11-031-0/+1
| | | | | | client for now metze
* s4:libcli/smb2: let SMB_SIGNING_AUTO behave like SMB_SIGNING_SUPPORTEDStefan Metzmacher2011-11-031-7/+1
| | | | | | This matches the smb1 behavior. metze
* s4:libcli/raw: only use smb signing if requiredStefan Metzmacher2011-11-031-2/+2
| | | | | | | | This matches the source3 code, I want to have the behavior in common before I put the config options in common. Later we may change this consitently in all code. metze
* s4-resolver: make it work back with ipv4 only DNS recordsMatthieu Patou2011-11-021-16/+25
| | | | | | | | It turns out that if there is no AAAA record the dns server (bind and MS windows at least) do not return the A record when just asked for AAAA. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Nov 2 11:15:34 CET 2011 on sn-devel-104
* s4:libcli: in smb2_create_recv, map SMB2_CREATE_DURABLE_HANDLE_RESPONSE ↵Michael Adam2011-10-301-0/+7
| | | | buffer smb2_create.out.durable_open
* source4/libcli: add bool durable_open to smb2_create.out.Michael Adam2011-10-301-0/+1
| | | | | The server gives indication whether the open was durable we should record this.
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-271-2/+1
|
* libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.hStefan Metzmacher2011-10-261-6/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
* s4:libcli: rename smb_signing.h to smb_raw_signing.h in the install directoryStefan Metzmacher2011-10-251-1/+1
| | | | metze
* libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher2011-10-241-34/+0
| | | | | | | 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-241-106/+0
| | | | metze
* libcli/smb: move CAP_* defines to smb_constants.hStefan Metzmacher2011-10-241-18/+0
| | | | metze
* 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
* 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
* s4-resolv: fix resolution of SRV records pointing to A and AAAA recordsMatthieu Patou2011-10-211-161/+238
|
* libcli/smb: move some common defines to smb_constants.hStefan Metzmacher2011-10-211-28/+0
| | | | metze
* s4:libcli/raw: remove unused smb_len(), _smb_setlen() and _smb2_setlen() macrosStefan Metzmacher2011-10-191-6/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 17:15:23 CEST 2011 on sn-devel-104
* s4:libcli/smb2: make use of _smb_setlen_tcp()Stefan Metzmacher2011-10-191-2/+2
| | | | metze
* s4:libcli/raw: make use of _smb_setlen_nbt()Stefan Metzmacher2011-10-192-2/+2
| | | | metze
* s3: remove duplicate fsctl fn definitionsDavid Disseldorp2011-10-191-11/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2011-10-192-60/+1
| | | | | | | Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2011-10-183-4/+7
| | | | | | | | | | | | This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-113-6/+2
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2011-10-101-3/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
* libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher2011-10-101-1/+2
| | | | metze
* s4-ldap: added DSDB_CONTROL_NO_GLOBAL_CATALOG to ldap encoding listAndrew Tridgell2011-10-041-18/+7
| | | | | | also remove all the duplicated comments Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: add SMB2_FSCTL opcodesDavid Disseldorp2011-09-291-0/+14
| | | | | | | | Also, skip samba4.smb2.ioctl for now. Snapshots are not supported by default. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Sep 29 14:47:05 CEST 2011 on sn-devel-104
* s4:libcli/smb2: ignore SMB2_OP_CANCEL responsesStefan Metzmacher2011-09-281-0/+10
| | | | | | | | | | | | If there're a problem with signing or the session doesn't exists any more the server responses with a failure, instead of not sending a response. For now we ignore the reponse, as there's not much we could do with it and it's not likely that we generate bad requests, which trigger that behavior, except for testing. metze
* s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a ↵Stefan Metzmacher2011-09-281-0/+1
| | | | | | session metze
* s4:libcli/smb2: don't try to check the signing if we got ↵Stefan Metzmacher2011-09-281-1/+2
| | | | | | NT_STATUS_USER_SESSION_DELETED metze
* libcli: Install libcli.h.Jelmer Vernooij2011-09-282-4/+289
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Sep 28 14:19:20 CEST 2011 on sn-devel-104
* s4:libcli/resolve: only try broadcast messages to ipv4 addressesStefan Metzmacher2011-09-281-2/+12
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 05:10:53 CEST 2011 on sn-devel-104
* libcliraw: Make smb_raw_write_recv public and include it in a public header.Jelmer Vernooij2011-09-252-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Sep 25 17:12:05 CEST 2011 on sn-devel-104
* s4:auth - remove unused variablesMatthias Dieter Wallnöfer2011-09-191-1/+0
| | | | Reviewed-by: Jelmer
* s4:libcli/wrepl: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher2011-09-141-3/+3
| | | | | | We should return the same in all places. metze
* build: make LIBWBCLIENT_OLD and auth_unix_token librariesAndrew Bartlett2011-09-081-4/+5
| | | | | | This assists with avoiding duplicate symbols. Andrew Bartlett
* s4:libcli/raw: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+1
| | | | metze