| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
smbd/vfs-wrap.c:
smbd/vfs.c: Added fchmod_acl and chmod_acl.
lib/substitute.c:
smbd/lanman.c:
smbd/open.c:
smbd/process.c:
smbd/reply.c:
smbd/service.c: Removed sessetup_user variable. Added current_user_info struct
which conatins domain info etc. Added '%D' for client domain parameter.
Jeremy.
|
| |
| |
| |
| |
| | |
source/printing/printing.c
- remove unused variable
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/smbd/lanman.c
- cleanup and bug fix for win9x print queue purge.
source/printing/printing.c
- cleanup and bug fix for win9x print queue purge.
- print_job_end() changed to cleanup spool file in the event of a
failure returned from the print_run_command()
|
| |
| |
| |
| |
| |
| | |
docs/yodldocs/smb.conf.5.yo
- add comment about ability to include environment variables in
smb.conf. Added just to mention it, probably needs improvement.
|
| |
| |
| |
| |
| | |
-FN_GLOBAL_INTEGER(lp_min_wins_ttl, &Globals.max_wins_ttl)
+FN_GLOBAL_INTEGER(lp_min_wins_ttl, &Globals.min_wins_ttl)
|
| |
| |
| |
| |
| |
| |
| |
| | |
source/include/proto.h
- make proto
source/rpc_server/srv_spoolss_nt.c
- clean up incorrect debug statement
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/printing/nt_printing.c
- use se_create_child_secdesc() to create appropriate security
descriptor when performing print job admin security checks.
source/printing/printing.c
- Use JOB_ACCESS_ADMINISTER instead of PRINTER_ACCESS_ADMINISTER in
print_job_{delete,pause,resume}()
- If stat'ing the job file fails, delete the job from printing.tdb
- In print_job_end() check lpq cache time and do a
print_queue_update() This prevents printing.tdb from growing when
using NT/2K clients, and there isn't someone pressing F5 in a
port monitor window.
- In print_queue_resume() check lpq cache time and do a
print_queue_update() Probably should do it for print_job_resume()
too.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/lib/util_seaccess.c
- added se_create_child_secdesc() function which takes a parent
(container) security descriptor and creates a security descriptor
which has the inheritance flags for each ACE applied. In NT a
print job is a child object of a printer so deleting and
pausing/resuming jobs requires a check against the child security
descriptor, not the parent. The values seen in NT printer
security descriptors now all fit together in a natural and
elegant way which is always nice.
- Removed #ifdef'ed out portion of check_ace() when the
INHERIT_ONLY flag is set as the se_create_child_secdesc()
function now creates a security descriptor which can be used
without this hack.
|
| |
| |
| |
| |
| |
| | |
source/rpc_server/srv_spoolss_nt.c
- Fixed dereference of NULL pointer in security descriptor
notification used by Win2K printers.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
THIS NEEDS TO BE ADDED TO APPLIANCE-HEAD.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/include/proto.h
source/include/rpc_spoolss.h
source/rpc_parse/parse_spoolss.c
source/rpc_server/srv_spoolss.c
source/rpc_server/srv_spoolss_nt.c
- speedups in printer queue enumeration - still room for
improvement. The construct_dev_mode() still creates and destroys
a printer info_2 structure every time it is called.
- fixed job->devmode memory leak
- converted printer job notification routines to use tallocated
memory rather than a fixed 2K buffer. This reduces the memory
requirements of a 4500 job queue enumeration from 90MB to about
16MB.
|
| |
| |
| |
| | |
codepath.
|
| |
| |
| |
| |
| | |
source/smbd/lanman.c
- Change fill_printq_info() to fix corrupted 9X/ME printer comment
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/rpc_server/srv_spoolss_nt.c
- Unrolled construct_notify_jobs_info() loop to only fetch
printer info_2 structure once rather than num_print_jobs times.
- convert command to unix codepage.
- remove lp_remove_service() call as it prevents lp_killservice()
from working.
- Modified some DEBUG and DEBUGADD statements.
source/param/loadparm.c
source/param/params.c
- change printer, preload, auto services to FLAG_DOS_STRING,
reverted earlier changes to szPrintername et al, add comments.
source/printing/load.c
- fix bug with lp_auto_services() and strtok()
source/printing/nt_printing.c
source/printing/printing.c
- remove redundant test that used SERVICE(snum)
source/printing/pcap.c
- add unix_to_dos() calls, add notes wrt FIXMEs for
xxx_printer_fn() functions.
source/web/swat.c
- added FIXME comment.
source/smbd/service.c
- added comment re: dos codepage
|
| | |
|
| |
| |
| |
| |
| |
| | |
source/param/loadparm.c
- changed lp_add_printer() to convert szPrintername and comment
from unix to DOS codepage.
|
| | |
|
| |
| |
| |
| | |
with the new samr code and have prototypes working and smbd linking.
|
| | |
|
| |
| |
| |
| |
| | |
now pass through insure except for some of the dodgy spoolss prs
weirdness.
|
| |
| |
| |
| | |
Added #define/#undef NEW_NTDOMAIN symbols.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
source/rpc_parse/parse_lsa.c
- off by one unistr length bug in init_lsa_trans_name()
source/lib/util_sid.c
- resolve more BUILTIN sid values to names.
source/nsswitch/wb_client.c
- fix typo in debug message
- set errno on error so we don't get bogus value from last failure.
source/rpc_server/srv_spoolss_nt.c
- add debug to track number of open printer handles for ease of
tracking handle leaks in the future.
source/rpc_server/srv_lsa.c
- fix off-by-one string bug. This was preventing NT from
displaying names for well-know SIDs in printer permissions
dialog.
|
| | |
|
| |
| |
| |
| | |
it slows us down and doesn't gain anything
|
| |
| |
| |
| | |
strings can be handled correctly.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
both tested ...
More later.
|
| |
| |
| |
| |
| |
| |
| | |
- an implementation of smbc_readdir
- extensions to tree.c to show files in a second window
- changes to auth_fn to provide buffers for username, password, etc
from caller rather than callee
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
source/tests/crypttest.c
- another one missed from a while ago: Add back tests/crypttest.c
so that we can check for truncated crypt on those systems that it
is relevant for and we avoid setting if for those systems that it
is not true for. (Originally from SAMBA_2_2, Nov 13th 2000)
|
| | |
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
J.F.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mach_acct where mixed, the machine account wasn't correctly converted to
lower case.
srv_samr.c: added checks around Unix password changing. If it's a trust
account, don't change the unix password. That's the reason why people
having unix password sync=yes coudn't join a samba domain for a W2K box.
changed also the string_sub function in create_unix_account() to NOT strip
the ending $ on trust account.
For the security picky people, Jeremy is already aware :-)
J.F.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
J.F.
|
| |
| |
| |
| |
| |
| | |
srv_samr.c: Fix for pw caching.
smbd/nttrans2.c: Allow create call to set ACLs.
Jeremy.
|
| | |
|
| | |
|