| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
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 ...
|
| |
| |
| |
| |
| |
| |
| | |
srv_samr.c: duplicate gid fix.
srv_spoolss_nt.c: Merge of JF's work.
uid.c: Fix for returning names when a PDC.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
small modifications, this code may also work on Solaris, as they are derived
from the same SVR4 codebase.
When the Samba Solaris box is up and running again I will test this.
Jeremy.
|
| |
| |
| |
| |
| | |
with a PDC that has international netbios name and domain name. There's
still quite a bit of i18n stuff to fix though...
|
| |
| |
| |
| |
| | |
updated the POSIX_ACL code to be in sync.
Jeremy.
|
| |
| |
| |
| | |
problem in libsmbclient.c where we no longer pass the workgroup.
|
| | |
|
| |
| |
| |
| | |
of last two print routines ...
|
| | |
|
| |
| |
| |
| | |
Caldera test suite and start to add the printing routines.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/rpc_server/srv_spoolss_nt.c
source/rpc_server/srv_spoolss.c
source/include/proto.h
- correct checking of access_required in openprinterex as talked
with John R. and Jerry.
You can only do server stuff (adding printers, changing forms,
..) if you're root or if user is in printer admin list.
Printers options are grayed if you don't have the
PRINTER_ADMINISTER flag in the secdesc.
|
| |
| |
| |
| |
| |
| | |
srv_samr.c: Fix for pw caching.
smbd/nttrans.c: Fix to allow trans create to set ACL on open.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/include/proto.h
- make proto
source/printing/nt_printing.c
source/rpc_server/srv_spoolss_nt.c
- Fix for the overwriting of printerdata entries when WinNT and
Win2k are modifying printer parameters on PCL printers. Turns out
that Win2k creates a printer with a NULL devmode entry and then
expects to set it on *OPEN* (yes this is insane). So we cannot
return a "default" devmode for a printer - and we must allow an
open to set it.
source/tdb/tdb.c
- Show freelist in an easier format. Show total free.
- When storing a new record, allocate memory for the key + data
before the tdb_allocate() as if the malloc fails a (sparse) hole
is left in the tdb.
source/tdb/tdbtool.c
- Show freelist in an easier format. Show total free.
source/tdb/Makefile
- cleaned up Makefile dependancies
source/smbd/lanman.c
- Fix for Win9x corrupting it's own parameter string.
source/printing/printfsp.c
source/printing/printing.c
source/rpc_server/srv_spoolss_nt.c
source/smbd/close.c
- Added normal close parameter into print_fsp_end() which treats an
abnormal close as error condition and deletes the spool file.
|