| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Jeremy.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
back to working order. The main change is that the cli_*() RPC
functions from libsmb/*.c now should accept a struct cli_state*.
The reason for this is that rpcclient should establish the
connection to the server at startup so that it is not necessary
to keep the clear test or password hash in memory for each command.
enumports and enumprinters now works as well. lsa* functions
have been tested. SAMR calls may or may not work (one of the core
dumps I know), but it compiles :-)
jerry
|
| |
|
|
|
|
| |
unicode bit set differently to capabilities
|
|
|
|
|
|
| |
it now uses outbuf not inbuf for the unicode flag, which
allows for some server fns to be ascii and means one less
parameter in push calls
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removes SMB_ALIGNMENT. That macro caused all sorts of problems with
getting unicode aligned right in sub-protocols (such as SMBtrans and
SMBtrans2). I believe the performance reasons for having
SMB_ALIGNMENT has gone away with the new variants of the SMB
protocol anyway, as newer commands tend to have their own internal
alignment.
- fix the locations where we set smb_flg2 to absolute values. We must
never do this if we want a hope of coping with unicode.
- add initial support for unicode on the wire in smbd. Currently
enabled using SMBD_USE_UNICODE environment variable.
|
|
|
|
|
|
|
|
|
| |
now in pipe struct (where used) rather than user_struct.
Secured machine account password changing in srv_netlog_nt.c - ensure
that only the given machine can change its own password. May need to
free this up later for NT admin tools, but this is a fail-safe secure
position for now.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
system header files...
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
|
|
|
|
| |
macros to STR_
|
| |
|
|
|
|
|
|
|
|
|
| |
We were reading the endainness in the RPC header and then never propagating
it to the internal parse_structs used to parse the data.
Also removed the "align" argument to prs_init as it was *always* set to
4, and if needed can be set differently on a case by case basis.
Now ready for AS/U testing when Herb gets it set up :-).
Jeremy.
|
| |
|
|
|
|
|
| |
authenticate against them. Big/little endian issues fixed.
Jeremy.
|
| |
|
|
|
|
| |
libsmbclient.c: fix problems with return codes on smbc_unlink_print_job
|
|
|
|
|
|
|
|
|
|
| |
I'm having problems with talloc_realloc in the 2.2 branch and I
want a stable reference.
The only problem is this breaks the clean auto-generated code
in *one* call in srv_spoolss.c (the rfnpcnex call).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
PRINT_XX struct alloc/free issues.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
code :-(.
Jeremy.
|
|
|
|
|
|
| |
Once complete then the PRINTER_XX functions and structures will be converted
to talloc control.
Jeremy.
|
|
|
|
|
| |
security descriptors and pointers. Syncup with 2.2 tree.
Jeremy.
|
|
|
|
|
|
|
| |
pool is getting bloated. Also added a talloc_zero function to return zeroed memory.
Added debug in rpc_server/srv_pipe_hnd.c so we know when a talloc pool is being
freed. Syncup with srv_pipe_hnd.c from 2.2 so we are freeing memory at the same time.
Jeremy.
|
|
|
|
|
|
| |
rpc_parse/parse_dfs.c: Had to add buffer overrun checking ! HOW DID THIS GET IN HERE !
rpc_parse/parse_prs.c: Ensure prs_alloc_mem does a memset of zero before returning.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
srv_samr have been).
Jeremy.
|
|
|
|
| |
it now handles -M LANMAN1 -f '.x' -m '?x' nicely
|
| |
|
|
|
|
|
| |
libsmb/namequery.c: Removed ununsed variables.
Jeremy.
|
|
|
|
|
| |
Added Solaris ACL support.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
happy :-).
Probably Veritas too... :-).
It allows Samba as a domain member to authenticate against an AS/U server such
as the older HP PDC product or PD Netlink. It does this by trying a netlogon
with info level 3 and then falling back to info level 2 if the PDC returns
invalid info level.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We
need these to be different as we're storing LPQ_xx enums in the tdb
already.
rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now
returning status codes.
smbd/lanman.c: Change the RAP status codes to have "RAP" in the name.
printing/printing.c: Keep track of the status of a job. Allow a job to be
deleted from one smbd when being submitted by another.
Made logic in mutex clearer.
Jeremy.
|
|
|
|
| |
the whole of libsmb should now do unicode where appropriate
|
|
|
|
|
|
| |
enabled by default
you can disable it by setting the environment variable CLI_FORCE_ASCII
|
|
|
|
| |
interface for ascii-only fields
|
|
|
|
| |
- converted cli_rename and cli_unlink
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've currently got this code disabled by default as it is
incomplete. You enable it by setting a USE_UNICODE environment
variable. Once the support is complete this check will be removed and
the CAP_UNICODE capability bit will be the sole determination of
whether the client library code uses unicode
right now I have converted session_setup and tconx. I will do more fns
over the next few days.
see clistr.c for the new client side string interface. Luckily it
tends to make the code smaller and neater while adding unicode
support.
|
|
|
|
| |
NetBIOS datagrams responses, either via TDB or direct receive ...
|