summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2011-11-29s4:libcli/raw: copy smbcli_transport_connect_* to clisocket.cStefan Metzmacher2-124/+123
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 29 17:34:52 CET 2011 on sn-devel-104
2011-11-29s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctxStefan Metzmacher8-6/+9
We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze
2011-11-29s4:libcli/smb2: make sure only one idle event runs at a timeStefan Metzmacher2-9/+17
metze
2011-11-26s4:libcli/finddcs_cldap.c - let "finddcs_cldap" work either with the IP ↵Matthias Dieter Wallnöfer1-14/+27
address or the domain name This will be useful for a new "samba-tool domain info" command. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s4:libcli/smb2: use talloc_zero() in smb2_request_init()Stefan Metzmacher1-16/+3
metze
2011-11-24s4:libcli/smb2: fix compiler warning in smb2_push_o16s16_string()Stefan Metzmacher1-1/+3
metze
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher12-867/+426
metze
2011-11-10s4:finddcs_cldap: debug the correct server address instead of NULLStefan Metzmacher1-1/+2
metze
2011-11-06s4-resolver: fix bug with DNS servers returning AAAA records when asked for ↵Matthieu Patou1-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
2011-11-03waf: convert NDR_NBT into shared library.Günther Deschner1-1/+1
Guenther
2011-11-03librpc: only let NDR_NBT depend on NDR_NBT_BUF.Günther Deschner1-1/+1
Guenther
2011-11-03s4:libcli/smb2: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/Stefan Metzmacher1-2/+2
metze
2011-11-03s4:libcli/raw: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/Stefan Metzmacher1-1/+1
metze
2011-11-03s4:libcli/smb2: remove unused SMB_SIGNING_AUTO handlingStefan Metzmacher1-2/+0
metze
2011-11-03s4:libcli/raw: remove unused SMB_SIGNING_AUTO handlingStefan Metzmacher1-1/+0
metze
2011-11-03s4:libcli/smb2: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the ↵Stefan Metzmacher1-0/+2
client for now metze
2011-11-03s4:libcli/raw: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the ↵Stefan Metzmacher1-0/+1
client for now metze
2011-11-03s4:libcli/smb2: let SMB_SIGNING_AUTO behave like SMB_SIGNING_SUPPORTEDStefan Metzmacher1-7/+1
This matches the smb1 behavior. metze
2011-11-03s4:libcli/raw: only use smb signing if requiredStefan Metzmacher1-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
2011-11-02s4-resolver: make it work back with ipv4 only DNS recordsMatthieu Patou1-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
2011-10-30s4:libcli: in smb2_create_recv, map SMB2_CREATE_DURABLE_HANDLE_RESPONSE ↵Michael Adam1-0/+7
buffer smb2_create.out.durable_open
2011-10-30source4/libcli: add bool durable_open to smb2_create.out.Michael Adam1-0/+1
The server gives indication whether the open was durable we should record this.
2011-10-27replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider1-2/+1
2011-10-26libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.hStefan Metzmacher1-6/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
2011-10-25s4:libcli: rename smb_signing.h to smb_raw_signing.h in the install directoryStefan Metzmacher1-1/+1
metze
2011-10-24libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher1-34/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104
2011-10-24s4:libcli/raw: remove unuded CMD_REPLY defineStefan Metzmacher1-2/+0
metze
2011-10-24libcli/smb: move more defines to smb_constants.hStefan Metzmacher1-106/+0
metze
2011-10-24libcli/smb: move CAP_* defines to smb_constants.hStefan Metzmacher1-18/+0
metze
2011-10-22s4:finddcs_cldap: talloc free old memory before allocating a new netlogon structStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 22 04:55:54 CEST 2011 on sn-devel-104
2011-10-22s4:finddcs_cldap: close the socket when it's not used anymoreStefan Metzmacher1-1/+2
The amount of possible fd's might be restricted, so close them early. metze
2011-10-22s4:finddcs_cldap: finddcs_cldap_recv() returns NTSTATUSStefan Metzmacher1-1/+6
We need to convert the errno based error to NTSTATUS before calling tevent_req_error (via tevent_req_nterror). metze
2011-10-22s4-cldap: fix cldap_socket_init to always specify the dest if local is NULLMatthieu Patou1-17/+18
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 22 00:02:00 CEST 2011 on sn-devel-104
2011-10-21s4-resolv: fix resolution of SRV records pointing to A and AAAA recordsMatthieu Patou1-161/+238
2011-10-21libcli/smb: move some common defines to smb_constants.hStefan Metzmacher1-28/+0
metze
2011-10-19s4:libcli/raw: remove unused smb_len(), _smb_setlen() and _smb2_setlen() macrosStefan Metzmacher1-6/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 17:15:23 CEST 2011 on sn-devel-104
2011-10-19s4:libcli/smb2: make use of _smb_setlen_tcp()Stefan Metzmacher1-2/+2
metze
2011-10-19s4:libcli/raw: make use of _smb_setlen_nbt()Stefan Metzmacher2-2/+2
metze
2011-10-19s3: remove duplicate fsctl fn definitionsDavid Disseldorp1-11/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-19libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2-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>
2011-10-18gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett3-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>
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett3-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
2011-10-10libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher1-3/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher1-1/+2
metze
2011-10-04s4-ldap: added DSDB_CONTROL_NO_GLOBAL_CATALOG to ldap encoding listAndrew Tridgell1-18/+7
also remove all the duplicated comments Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-29s4: add SMB2_FSCTL opcodesDavid Disseldorp1-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
2011-09-28s4:libcli/smb2: ignore SMB2_OP_CANCEL responsesStefan Metzmacher1-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
2011-09-28s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a ↵Stefan Metzmacher1-0/+1
session metze
2011-09-28s4:libcli/smb2: don't try to check the signing if we got ↵Stefan Metzmacher1-1/+2
NT_STATUS_USER_SESSION_DELETED metze
2011-09-28libcli: Install libcli.h.Jelmer Vernooij2-4/+289
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Sep 28 14:19:20 CEST 2011 on sn-devel-104