summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed "object picker can't determine if object in domain" bug seen from W2KJeremy Allison2001-01-252-424/+442
| | | | | | | | | | | | | | clients. Did this by importing Samba-TNG code that correctly handles LSA lookups. *MANY* thanks to Luke, Sander, Elrond and the rest of the TNG gang ! Jeremy
| * smbd/process.c: & type with 0xff for paranioa sake...Jeremy Allison2001-01-241-0/+1
| | | | | | | | | | | | smbd/reply.c smbd/service.c: cause all "add home service" calls to go through a winbindd aware function. Jeremy.
| * Changes from APPLIANCE_HEAD:David O'Neill2001-01-232-415/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source/rpc_server/srv_spoolss_nt.c - add an access check to _spoolss_deleteprinter() to stop random users and passers by from deleting printers. source/lib/messages.c - converted global msg_all struct to a local in message_send_all() function. source/include/smb.h - added a success error code to the spoolss return codes. source/include/proto.h source/param/loadparm.c source/printing/printing.c - Added new parameter "total print jobs" to limit the total number of print jobs across all queues. Currently individual queues are limited by "max print jobs".
| * include/vfs.h:Jeremy Allison2001-01-232-415/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Changes from APPLIANCE_HEAD:David O'Neill2001-01-191-0/+2
| | | | | | | | | | | | | | | | source/include/proto.h - make proto source/rpc_server/srv_spoolss_nt.c - clean up incorrect debug statement
| * Changes from APPLIANCE_HEAD:David O'Neill2001-01-172-417/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * New proto and some small changes to rpc_samr.hTim Potter2001-01-152-17/+113
| |
| * Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,Richard Sharpe2001-01-121-0/+12
| | | | | | | | | | | | both tested ... More later.
| * Many bug fixes to the libsmbclient.c code plusRichard Sharpe2001-01-121-2/+9
| | | | | | | | | | | | | | - 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
| * Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.Jeremy Allison2001-01-112-2/+3
| | | | | | | | | | Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy
| * New makefile and proto for rpcclient.Tim Potter2001-01-111-123/+39
| |
| * make protoTim Potter2001-01-111-53/+51
| |
| * Merge of various fixes from the tng headers.Tim Potter2001-01-114-143/+22
| |
| * First compiling version of code that sets NT ACLs as POSIX ACLs.Jeremy Allison2001-01-111-0/+16
| | | | | | | | | | Now the debugging starts.... :-). Jeremy.
| * rpc_server/srv_samr.c:Jeremy Allison2001-01-111-413/+421
| | | | | | | | | | | | | | | | | | | | | | | | smbd/reply.c: Added fix needed for appliances. When using winbindd - a new user may exist (from winbind) but have no home directory. Extend add user script so it is called with a %H substitution when a user exists but their home directory does not. Thanks to Alex Win at VA Linux for finding this one and testing the fix. libsmb/clidgram.c: Fixed missing return statements. smbd/uid.c: Fixed typo in debug. Jeremy.
| * Changes from APPLIANCE_HEAD:David O'Neill2001-01-101-0/+1
| | | | | | | | | | | | | | | | source/include/proto.h source/param/loadparm.c source/passdb/passdb.c source/rpc_server/srv_samr.c - add support for "hide local users" option to HEAD.
| * Fix from "B.V.Dean" <B.V.Dean@ukc.ac.uk> to add "dos filemode" parameterJeremy Allison2001-01-091-0/+1
| | | | | | | | | | | | to allow a chmod to be done if the user has write access to a file, just like Windows allows. Off by default (compare with "dos filetimes" parameter). Jeremy.
| * More fixes and implementation bits and pieces for libsmbclientRichard Sharpe2001-01-071-0/+4
| |
| * Fix proto.h ...Richard Sharpe2001-01-061-3/+4
| |
| * Fix a small type in libsmbclient.h ...Richard Sharpe2001-01-051-1/+1
| |
| * Arrgh, forgot to update proto.h with all the changes I have been making.Richard Sharpe2001-01-051-12/+6
| | | | | | | | Here is an updated one.
| * The latest changes to libsmbclient ...Richard Sharpe2001-01-051-2/+23
| | | | | | | | | | | | | | | | It can now do a directory listing for workgroups, servers, and shares, and, with a bit more effort, it will be able to list directories and files. I also does not request a username and password for the IPC$ share, but it should if the first attempt to connect fails.
| * Changes from APPLIANCE_HEAD:David O'Neill2001-01-043-412/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source/Makefile.in - changes to ctags and etags rules that somehow got lost along the way. source/include/proto.h - make proto source/smbd/sec_ctx.c source/smbd/password.c - merge debugs for debugging user groups and NT token stuff. source/lib/util_str.c - capitalise domain name returned from parse_domain_user() source/nsswitch/wb_client.c - fix broken conditional in debug statement. source/include/rpc_secdes.h source/include/rpc_spoolss.h source/printing/nt_printing.c source/lib/util_seaccess.c - fix printer permission bugs related to ACE masks for printers. This adds mapping of generic access rights to object specific rights for NT printers. Still need to work out whether or not to ignore ACEs with certain flags set, though. See comments in util_seaccess.c:check_ace() for details. source/printing/nt_printing.c source/printing/printing.c - use PRINTER_ACCESS_ADMINISTER instead of JOB_ACCESS_ADMINISTER until we sort out printer/printjob permission stuff.
| * First pass at the libsmbclient code ...Richard Sharpe2000-12-261-0/+154
| | | | | | | | | | | | | | | | | | | | | | | | This code handles the basic stuff and compiles and links under Linux, but I do not know about any other operating systems. Now onto directory listing routines, including those that list workgroups, servers, etc. Nothing is built automatically yet, you have to make client/testsmbc to build the library and test program. Also, no make install targets are defined for libsmbclient.so as yet, either. Would be good if people test on operating systems other than Linux.
| * make protoTim Potter2000-12-211-0/+1
| |
| * implemented a much nicer name_status() interface. It now returns aAndrew Tridgell2000-12-202-2/+13
| | | | | | | | | | | | | | list of structures rather than the dodgy parsing code we had before this also gets smbw working correctly with no initial workgroup (using name_status_find on __MSBROWSE__ returns)
| * Fixed bug found by Gerald. If a Samba server joins a domain and is setJeremy Allison2000-12-191-1/+1
| | | | | | | | | | | | | | | | to search for a DC to authenticate to using the "*" syntax than ensure that for the first hour after the password change is searches for the PDC using the 1B name not the 1C name as domain replication may not have occured. Jeremy.
| * Split the one sys_acl_free call into sys_acl_free_TYPE calls, to allowJeremy Allison2000-12-191-5/+7
| | | | | | | | | | easier wrapping of non-POSIX ACL interfaces. Jeremy.
| * Added lock backouts on fail.Jeremy Allison2000-12-151-3/+0
| | | | | | | | | | | | | | | | | | | | When chaining together long lines of bloody "if" statements, which should logically be separated, and one of them allocates memory, remember to *free* it *WHETHER OR NOT THE IF STATEMENTS SUCCEEDED* !!!! Yes I do consider this a bug in the coding style of Tridge, Rusty, Tim et al. :-). I'm just pissed 'cos this took 4 hours to track down even with an insure error report stating me in the face and also Ben Woodward looking over the code with me :-). Jeremy.
| * lib/util_unistr.c:Jean-François Micouleau2000-12-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewrote unistr2_to_ascii() to correct a bug seen on SGI boxes. rpc_parse/parse_misc.c: rpc_parse/parse_prs.c: rewrote of BUFFER5 handling to NOT byteswap when it was already in network byte order. rpc_parse/parse_samr.c: cleanup of samr_io_q_lookup_domain(), remove the over-parsing by 2 bytes. rpc_server/srv_lsa.c: UNISTR2 strings need to be NULL terminated to pleased W2K. rpc_server/srv_spoolss_nt.c: use snprintf instead of safe_strcpy as we want the string truncated at 32 chars. That should fix SUN and SGI box not able to act as printserver and the problem with joining from a W2K wks. J.F.
* | merge from HEAD for new cli_*() interface for client sideGerald Carter2001-03-193-290/+119
| | | | | | | | RPCs
* | Ok - I'm happy with the mapping for ACLs on NT "getACL" - now to examine forJeremy Allison2001-03-171-0/+15
| | | | | | | | | | setACL. Jeremy.
* | CUPS patches from Michael Sweet to enable CUPS systems to be queried directlyJeremy Allison2001-03-161-2/+3
| | | | | | | | | | from smbd rather than going through an lpq parse. Jeremy.
* | Preparing for CUPS patch - code moved by Michael Sweet.Jeremy Allison2001-03-151-0/+69
| | | | | | | | Jeremy.
* | AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison2001-03-151-7/+7
| | | | | | | | Jeremy.
* | Removed rpc_unistrXX calls as the fix in include/byteorder.h now meansJeremy Allison2001-03-142-18/+6
| | | | | | | | | | | | | | | | | | | | that unistrs are correctly converted from bigendian->littlendian on unmarshalling from a bigendian client. Many thanks to Herb for tracking this one down. nmbd/nmbd_processlogon.c: Fix from Herb to return netlogon reply to the correct NBT logon name (AS/U showed this was needed - NT4 does the same). Jeremy.
* | Move to a handle database that is shared between instances of the sameJeremy Allison2001-03-132-4/+5
| | | | | | | | | | pipe. Reference count so we destroy on shutdown of the last open pipe. Jeremy.
* | We were not byte swaaping the unicode strings on reading them from a packetJeremy Allison2001-03-131-0/+2
| | | | | | | | | | | | when talking to a big-endian RPC client (AS/U on Solaris). Added rpc_unistrnXX functions to do this. Jeremy.
* | Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison2001-03-114-94/+29
| | | | | | | | | | | | | | | | | | 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.
* | Sync up include files between 2.2 and HEAD except for the account info.Jeremy Allison2001-03-111-0/+10
| | | | | | | | Jeremy.
* | Changing user passwords from a Win2k client now works to a Samba PDC. Thanks ↵Jeremy Allison2001-03-101-0/+1
| | | | | | | | | | | | Jim ! Jeremy.
* | Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-092-2/+14
| | | | | | | | | | | | | | | | | | 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.
* | Final (hopefully) compiler warning fixes.Jeremy Allison2001-03-091-0/+1
| | | | | | | | Jeremy.
* | Preparing for alpha3. Fixes for SGI compiler warnings.Jeremy Allison2001-03-091-1/+1
| | | | | | | | Jeremy.
* | Fixed extra 2 byte incorrect parse in SETUSERINFO_24 that was preventingJeremy Allison2001-03-081-2/+0
| | | | | | | | | | | | | | W2K clients from joining a Samba domain the "old" way (editing /etc/passwd and adding the machine manually in smbpasswd). Vectored the ms_fnmatch function - preparing to make this DOS client specific. Jeremy.
* | added 'lanman auth' & 'min protocol' code. See smb.conf(5)Gerald Carter2001-03-081-0/+2
| | | | | | | | for details
* | added info level 100 to srv get info call.Jean-François Micouleau2001-03-082-0/+12
| | | | | | | | | | | | | | | | | | passdb/passdb.c: small band aid to reply correctly to domain group RID (dom adm, dom users, ...). that's an interim fix for usrmgr. J.F. I'm gonna miss my plane !
* | Fairly big (but needed) change. Move to per-pipe POLICY handles.Jeremy Allison2001-03-082-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All policy handles will be destroyed on pipe close. No bitmap used, and all handles allocated/deleted in the same way. The ugly, handle specific code in srv_lsa_hnd.c has been removed, now each handle type can store a private data field along with a function that will free the private data on handle close. This means the linked list of printer handles has been removed, as all the info has been added into the pipes_struct. The only issue was enumerating all printers across all open pipes on a change message receipt. This was acheived by adding an enumerate pipes function. This will be a little difficult to move to HEAD due to the samr changes, and probably needs a little more testing with insure. However, even if it turns out that handles are persistent between NT pipes in the same smbd I can fix this by transferring the handle linked list to another pipe of the same type on handle close if this turns out to be the case. Jeremy.
* | Missed creation of lsa handles. Made all handle creation use common code.Jeremy Allison2001-03-071-0/+1
| | | | | | | | Jeremy.
* | Correctly marshall "POLICY_HND" structs accross all uses.Jeremy Allison2001-03-072-7/+5
| | | | | | | | Jeremy.