summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | Added XFS ACL code on Linux from John Trostel <jtrostel@connex.com>.Jeremy Allison2001-04-033-0/+50
| | | | | | | | Jeremy.
* | include/ntdomain.h:Jeremy Allison2001-04-022-2/+0
| | | | | | | | | | | | | | | | rpc_server/srv_lsa_hnd.c: Remove the back pointer to pipes that may go away before the handle does. include/proto.h: lib/replace.c: Don't protoise setlinebuf as it differs amongst systems. Jeremy.
* | configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison2001-03-312-0/+4
| | | | | | | | | | | | | | | | | | | | replacement for setlinebuf which apparantly doesn't exist on HPUX 11. rpc_parse/parse_prs.c: Fixed bug spotted by the sharp eyes of JF - big endian unicode packet would cause a early truncate of string parsing as we were checking for a char * 0, not a uint16 * 0. Jeremy.
* | Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deletedJeremy Allison2001-03-312-92/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all the *HORRIBLE* DBG_RW_XXX and RW_XXX macros from include/byteorder.h. They were macros that included macros that had conditional macros included. No one understood them (they were the cause of most of the bigendian issue bugs). Finally, I went into parse_prs.c and inlined all of that stuff with regular function calls. They're understandable, they're easy to edit and they don't include macros ! JF - please look at the one comment I added (JF PLEASE CHECK). I have tested this partly with IRIX (a bigendian system) running with AS/U on a Solaris box in SGI's lab, and I've also confirmed these new changes work with W2K (vmware) but there may be the odd bug lurking. Herb, if you could re-checkout and test again with this code that would help. I'm not going to sync these changes with HEAD until I know they're completely correct (which I believe they are). Jeremy
* | The changes to the SMBMACROs were causing big endian machines to incorrectlyJeremy Allison2001-03-312-8/+28
| | | | | | | | | | | | | | | | | | | | | | byte-swap uint32 arrays (SIDS). Restored them to the original values - this wouuld have caused the AS/U work that Herb and I did to break. So I expanded (BY HAND !!! GRRR!!!!) the *stupid* DBG_RW_XXX macros for unicode strings, and made sure that all places marshalling uint16 arrays as unicode strings (spoolss) called the new function which (hopefully) correctly handles byte swapping for big-endian RPC machines. I'm now off to the SGI lab (this is no way to spend a friday night :-) to check with Herb if this works. Jeremy.
* | start adding IRIX ACL supportHerb Lewis2001-03-302-1/+6
| |
* | This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison2001-03-302-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when copying to a full disk problem, I discovered that we were not allowing the delete on close flag to be set properly, this led to other things, and after investigation of the proper delete on close semantics and their relationship to the file_share_delete flag I discovered there were some cases where we weren't doing the deny modes properly. And this after only 5 years working on them..... :-) :-). So here's the latest attempt. I realised the delete on close flag needs to be set across all smbds with a dev/ino pair open - in addition, the delete on close flag, allow share delete and delete access requested all need to be stored in the share mode tdb. The "delete_on_close" entry in the fsp struct is now redundant and should really be removed. This may also mean we can get rid of the "iterate_fsp" calls that I didn't like adding in the first place. Whilst doing this patch, I also discovered we needed to do the se_map_generic() call for file opens and POSIX ACL mapping, so I added that also. This code, although ugly, now passes the deny mode torture tests plus the delete on close tests I added. I do need to add one more multiple connection delete on close test to make sure I got the semantics exactly right, plus we should also (as Andrew suggested) move to random testing here. The good news is that NT should now correctly delete the file on disk full error when copying to a disk :-). Jeremy.
* | Added cli_nt_delete_on_close() call to allow flag to be set for torture tests.Jeremy Allison2001-03-291-10/+5
| | | | | | | | Jeremy.
* | Added cli_nt_create_full() as a way to get at all the ntcreate parameters.Jeremy Allison2001-03-291-4/+12
| | | | | | | | | | Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full(). Jeremy.
* | Things are making more sense every day :-)Gerald Carter2001-03-281-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two things in the commit... o rename of new_smb_io_* to smb_io_* for consistency sake. The latter was the way in whic the majority of related fnuctions were named o added 'setdriver <printer> <driver>' to rpcclient. This means an admin can install the printer driver once and loop over /etc/printcap to set the driver for all printers :-) Yeah! Caveats...I know know how to remove the various memory leaks I have introduced into rpcclient. These will be fixed after I update the documentation.
* | make protoGerald Carter2001-03-271-7/+7
| |
* | Patch from David Gibson <dgibson@linuxcare.com> to reduce "silent abort"Jeremy Allison2001-03-271-1/+3
| | | | | | | | | | | | problems with smbd failing to create a log file. If we can't create a log file keep using the old file. Jeremy.
* | Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison2001-03-262-2/+4
| | | | | | | | | | | | | | smb.conf file in utf8. Jeremy.
* | Readline needs termcap on some systems. Already in HEAD.Jeremy Allison2001-03-261-0/+3
| | | | | | | | Jeremy.
* | make protoGerald Carter2001-03-261-3/+0
| |
* | added readline to smbclient and rpcclient from HEAD. Also added aGerald Carter2001-03-231-0/+6
| | | | | | | | completion function to rpcclient
* | Fix insure-found parameter size missmatch.Jeremy Allison2001-03-231-1/+1
| | | | | | | | Jeremy.
* | start adding defines for IRIX ACLSHerb Lewis2001-03-231-0/+26
| |
* | Two OS/2 printer fixes from Jim McDonough @ IBM.Jeremy Allison2001-03-231-0/+1
| | | | | | | | | | | | | | First one adds a new info level into the lanman printing and an ioctl to the trans2 code. Andrew - this uses ASCII only. It looks ok to me but please check ! Second one adds a parameter "os2 driver map" that allows OS/2 driver names to be mapped. Jeremy.
* | Fix memory leak when doing DLIST_REMOVE(list,list).Jeremy Allison2001-03-211-1/+1
| | | | | | | | Jeremy.
* | When calling DLIST_REMOVE(x,x) then we need to check before setting prevJeremy Allison2001-03-201-1/+1
| | | | | | | | | | and next to NULL. Jeremy.
* | Fix for coredump when using username map file. lookup_name must haveJeremy Allison2001-03-201-3/+3
| | | | | | | | | | | | const fist args as it is called with quoted strings and can call functions that modify the name. Jeremy.
* | include/dlinklist.h: Allow link to end of list.Jeremy Allison2001-03-193-6/+28
| | | | | | | | | | | | rpcclient/rpcclient.c: Tidyup compile error. Added sys_dlXXX functions from HEAD. Jeremy.
* | reverted rename of new_spoolss_io_r_enumprinterdriversGerald Carter2001-03-191-1/+1
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2001-03-191-0/+787
|\|
| * reverted the rename of new_spoolss_io_r_enumprinterdrivers()Gerald Carter2001-03-191-1/+1
| |
| * Added sys_dlopen/sys_dlsym/sys_dlclose.Jeremy Allison2001-03-192-0/+16
| | | | | | | | Jeremy.
| * added basic command completion supportAndrew Tridgell2001-03-191-1/+2
| |
| * much simpler readline codeAndrew Tridgell2001-03-183-52/+1
| | | | | | | | should work with readline 2.x
| * much better readline support from Simo Sorce, with some mods from meAndrew Tridgell2001-03-184-20/+62
| | | | | | | | to make it a bit simpler
| * I'm happy with the mapping for NT getACL, now for NT setACL.Jeremy Allison2001-03-171-0/+15
| | | | | | | | Jeremy.
| * enable unicode on the wire by default in smbdAndrew Tridgell2001-03-161-0/+1
| | | | | | | | | | the unicode support isn't complete, but it is good enough to be usable for a test server.
| * Added files for CUP printing patch split.Jeremy Allison2001-03-161-0/+69
| | | | | | | | Jeremy.
| * make protoGerald Carter2001-03-151-12/+34
| |
| * make protoGerald Carter2001-03-151-0/+6
| |
| * added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter2001-03-151-5/+1
| |
| * make protoGerald Carter2001-03-151-1/+15
| |
| * make protoGerald Carter2001-03-151-1/+1
| |
| * AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison2001-03-152-19/+7
| | | | | | | | Jeremy.
| * last make proto got messed up it seemsGerald Carter2001-03-141-8/+3
| |
| * make protoGerald Carter2001-03-141-424/+432
| |
| * set of changes in the beginning of bringing rpcclient changesGerald Carter2001-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * don't need srvstr_push_size or srvstr_pull_sizeAndrew Tridgell2001-03-141-3/+0
| |
| * simpler clistr interface which handles individual packets havingAndrew Tridgell2001-03-141-3/+1
| | | | | | | | unicode bit set differently to capabilities
| * simpler and more correct srvstr_push()Andrew Tridgell2001-03-131-426/+426
| | | | | | | | | | | | 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
| * Move to a handle database per pipe name, not per pipe.Jeremy Allison2001-03-132-4/+5
| | | | | | | | Jeremy.
| * Fixed reading of strings from big-endian RPC clients.Jeremy Allison2001-03-131-0/+2
| | | | | | | | Jeremy.
| * this patch does a number of things:Andrew Tridgell2001-03-131-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| * 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 include files between 2.2 and HEAD except for acoount info.Jeremy Allison2001-03-111-4/+4
| | | | | | | | Jeremy.