summaryrefslogtreecommitdiffstats
path: root/source/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* updating whatsnew and merging from SAMBA_2_2Gerald Carter2002-10-151-1/+1
|
* sync with SAMBA_2_2 for 2.2.6rc1Gerald Carter2002-10-091-19/+53
|
* syncing up for 2.2.6pre2Gerald Carter2002-08-271-554/+4
|
* merging for 2.2.6pre1Gerald Carter2002-07-271-1/+557
|
* more syncs with SAMBA_2_2Gerald Carter2002-06-181-0/+1
|
* beginning to sync up for 2.2.5 release....Gerald Carter2002-06-171-12/+29
|
* Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-301-440/+661
| | | | Jeremy.
* Move over to RELEASE branch.Jeremy Allison2002-02-011-1049/+1179
| | | | Jeremy.
* nsswitch/winbindd_group.c: Memory leak fixes.Jeremy Allison2001-10-121-3/+3
| | | | | | Changed "nt acl support" to a per-share parameter, fixed profile problem with w2ksp2. Jeremy
* Sync-up with SAMBA_2_2 branch.Jeremy Allison2001-10-111-189/+290
| | | | Jeremy.
* Fix proto.Jeremy Allison2001-07-071-548/+548
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-152/+327
| | | | Jeremy.
* Added other_safe_chars to alpha_strcpy(). Better fix for problem.Jeremy Allison2001-06-231-451/+472
| | | | Jeremy.
* put in place an approximate wildcard fn for lanman1 and below.Andrew Tridgell2001-04-161-1/+0
|
* configure:Jeremy Allison2001-04-131-1/+5
| | | | | | | | | | | | | | | | | | | configure.in: include/config.h.in: include/profile.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway). smbd/dosmode.c: smbd/files.c: printing/printfsp.c: smbd/close.c: smbd/open.c: Fixed "dos filemode" correctly so there are no race conditions. Forces test of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls standard close function that preserves POSIX locks due to POSIX-me-harder braindamage. :-). Andrew please review this code. Jeremy.
* Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentiallyJeremy Allison2001-04-131-0/+5
| | | | | | return a malloced area so added sys_acl_free_qualifier() calls to all supported ACL interfaces to code with this (only Linux needs actual free call). Jeremy.
* portability fixed for sco1.samba.orgAndrew Tridgell2001-04-131-0/+2
|
* - remove template from smbrun(). Now uses /tmp and mkstempAndrew Tridgell2001-04-131-2/+1
| | | | | | | - fixed some uninitialised variable warnings - removed smbrun utility (never used) - removed some incorrect varargs usage - removed smbrun smb.conf option
* As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison2001-04-121-1/+3
| | | | | be read. Jeremy.
* Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn'tJeremy Allison2001-04-121-0/+1
| | | | | | | exist for printer. Rather than using pid for suffix, use a 16 byte random string. Created generate_random_str() function in genrand.c. Still needs more testing but this is the way to go. Jeremy.
* To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-111-0/+1
| | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy.
* Fix for core dump in security = share code with new share security db.Jeremy Allison2001-04-111-3/+2
| | | | Jeremy.
* Fixed --with-automount compile error.Jeremy Allison2001-04-101-0/+7
| | | | Jeremy.
* make protoGerald Carter2001-04-091-112/+1
|
* Added get/set SD's on shares. Check on tcon.Jeremy Allison2001-04-091-1/+1
| | | | Jeremy.
* Added share security tdb. Tidied up many slprintf's (should be -1 to length).Jeremy Allison2001-04-081-0/+2
| | | | Jeremy.
* Added 3 params to manipulate shares. "add share command/change share command/Jeremy Allison2001-04-071-0/+4
| | | | | | delete share command". Implemented "delete" - more work to come on add and change. Jeremy.
* Implemented stub function for NET_SHARE_DELETE. Now to implement the realJeremy Allison2001-04-061-0/+3
| | | | | internals to support server manager. Jeremy
* Added stub function for NET_SHARE_ADD. Once this is implemented to call a hookJeremy Allison2001-04-061-0/+3
| | | | | | | | function (same for NET_SHARE_DELETE and NET_SHARE_SET) we will be able to manage the shares section in smb.conf via NT server manager........ This should enhance the friendliness of Samba in NT-only shops by an order of magnitude. Jeremy.
* We can now use server manager to look at Samba shares. NT still expects a ":"Jeremy Allison2001-04-061-20/+1
| | | | | in the path though.... I'm looking into it. Jeremy.
* I know we're supposed to be feature frozen, but I couldn't resist this... :-).Jeremy Allison2001-04-041-0/+10
| | | | | | | | I worked out and added the per-share get/set RPCs for security descriptors. Currently this code returns Everyone, full access on get and permission denied on set, but backending this with a tdb and checking it on tconX (to give full NT semantics for security on shares) is now an excersise for the reader... :-). Jeremy.
* Fix from Jim Vopni <jimv@metrics.com> for NT forms problem. People using theJeremy Allison2001-04-031-0/+22
| | | | | | new printing functionality please test this. I've tested it here and it seems fine, but more testing is always welcome. Jeremy.
* include/ntdomain.h:Jeremy Allison2001-04-021-1/+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-311-0/+1
| | | | | | | | | | 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-311-1/+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-311-0/+21
| | | | | | | | | | | 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.
* This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison2001-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-2/+2
| | | | | | | smb.conf file in utf8. 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.
* 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 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-191-0/+3
| | | | | | 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
|