summaryrefslogtreecommitdiffstats
path: root/source4/libcli/raw
Commit message (Collapse)AuthorAgeFilesLines
* s4:libcli:raw: fix a comment typo in smb_setfileinfo()Michael Adam2012-05-081-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 8 20:45:16 CEST 2012 on sn-devel-104
* libcli/smb: move SMB2_IOCTL_FLAG_IS_FSCTL to smb2_constants.hStefan Metzmacher2012-04-271-3/+0
| | | | metze
* Add smb_raw_setfsinfo() - currently only available level is ↵Jeremy Allison2012-04-183-0/+94
| | | | SMB_SET_CIFS_UNIX_INFO.
* smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam2012-03-031-1/+2
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structureMichael Adam2012-03-031-0/+13
|
* s4:libcli/raw: mark a request as error if we can't ship itStefan Metzmacher2011-12-091-0/+2
| | | | metze
* s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-3011-1744/+915
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
* s4:libcli: do the nbss session request within smbcli_sock_connect_*()Stefan Metzmacher2011-11-301-58/+75
| | | | metze
* s4:libcli/raw: remove unused functionsStefan Metzmacher2011-11-302-76/+0
| | | | metze
* s4:libcli: convert smbcli_transport_connect_* to tevent_reqStefan Metzmacher2011-11-301-77/+203
| | | | metze
* s4:libcli/raw: copy smbcli_transport_connect_* to clisocket.cStefan Metzmacher2011-11-292-124/+123
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 29 17:34:52 CET 2011 on sn-devel-104
* s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctxStefan Metzmacher2011-11-293-1/+4
| | | | | | | We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze
* s4:libcli/raw: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* s4:libcli/raw: remove unused SMB_SIGNING_AUTO handlingStefan Metzmacher2011-11-031-1/+0
| | | | 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/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
* 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.
* 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
* 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
* 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/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>
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-112-5/+1
| | | | | | | | | | | | 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
* 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
* 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:libcli/raw: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+1
| | | | metze
* RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data ↵Jeremy Allison2011-08-271-0/+1
| | | | | | | out on the network. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 27 07:48:30 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-181-0/+10
|
* libcliraw: Install more header files.Jelmer Vernooij2011-08-183-3/+3
|
* smb_common: Install some more headers.Jelmer Vernooij2011-08-181-1/+1
|
* s4:libcli: use tevent_ fn names instead of legacy event_ onesSimo Sorce2011-08-132-8/+8
|
* s4:libcli/raw: s/SMBchkpth/SMBcheckpathStefan Metzmacher2011-07-122-2/+2
| | | | metze
* s4:libcli/raw: remove SMBkeepaliveStefan Metzmacher2011-07-121-1/+0
| | | | metze
* libcli/smb move FILE_TYPE constants in commonAndrew Bartlett2011-07-061-8/+0
| | | | | | This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
* libcli/smb move enum protocol_types to a common headerAndrew Bartlett2011-07-061-0/+1
|
* s4:libcli/raw/raw*.c - add unhandled enum valuesMatthias Dieter Wallnöfer2011-06-112-2/+3
| | | | | | | Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Jun 11 18:46:13 CEST 2011 on sn-devel-104
* lib/util/time.c: timeval_current_ofs_usecRusty Russell2011-06-011-1/+1
| | | | | | | | | | | | | | | Several places want "microseconds from current time", and several were simply handing "usecs" values which could be over a million. Using a helper to do this is safer and more readable. I didn't replace any obviously correct callers (ie. constants). I also renamed wait_nsec in source3/lib/util_sock.c; it's actually microseconds not nanoseconds (introduced with this code in Volker's 19b783cc Async wrapper for open_socket_out_send/recv). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-062-159/+2
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* Fix many const compiler warnings.Jeremy Allison2011-05-051-1/+1
|
* libcli/raw: use a different ifdef than s3 smb.hAndrew Tridgell2011-05-031-3/+3
| | | | | | this allows both headers to be included in 1 C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett2011-05-031-1/+1
| | | | | | | This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
* libcli/smb Move attrib_string in commonAndrew Bartlett2011-04-291-46/+0
|
* libcli/smb Move FILE_ATTRIBUTE defines to the top levelAndrew Bartlett2011-04-291-18/+0
|
* s4/libcli: do not announce NT error code support when it is disabledChristian Ambach2011-04-141-1/+4
| | | | | | | | when the support of NT error codes has been disabled in the options of a CLI connection, support for them should not be announced during protocol negotiation Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-291-1/+3
| | | | | | | Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104