summaryrefslogtreecommitdiffstats
path: root/source/script
Commit message (Collapse)AuthorAgeFilesLines
* preparation for doing a spoolss enum jobs command. had to rewriteLuke Leighton1999-11-081-0/+4
| | | | spoolss_enumjobs parsing code to do read / writes not just writes.
* added rpcclient spoolenum command. enumerates printers.Luke Leighton1999-11-061-0/+4
| | | | | | spoolss_r_io_enumprinters doesn't decode strings correctly as printer_info_1/2 code has only been written to write structures, not read them.
* three types of array-creation / array-deletion functions:Luke Leighton1999-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | char* UNISTR2* SID* decided to create a higher-order function set, add_item_to_array() free_item_array(). higher-order support routines needed to add a new type: type* item_dup(const type*) void item_free(type*) of course, strdup() and free() are perfect, pre-existing examples of such functions, used in the implementation of add_chars_to_array() and free_char_array(). sid_dup() and free() work for the add_sids_to_array() and free_sid_array() implementations. use unistr2_dup() and created unistr2_free() because the functionality behind these may change into something horrible, like [horror] dynamic memory allocation of the UNISTR2 character array. argh!!!! jean-francois, this function set implements what we talked about over... a year ago, now :-)
* Modified to cope with functions that return a const something.Tim Potter1999-06-131-1/+1
|
* Use ${1+"$@"} instead of $*Alexandre Oliva1999-06-101-1/+1
| | | | Reported by SATOH Fumiyasu <fumiya@cij.co.jp>
* Benjamin Kuit's latest mysql mods. issue with "make proto" needs to beLuke Leighton1999-03-031-4/+73
| | | | resolved.
* Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton1999-03-011-0/+364
| | | | Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999.
* added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton1999-02-231-1/+1
|
* A while back, Andrew and I talked about making the debug parsing code aChristopher R. Hertel1998-12-161-1/+1
| | | | | | | | | | | | | | better "fit" with other Samba code. This is a small first step toward doing what (I think) we agreed to do. I've moved the key function from ubiqx/debugparse.c into lib/debug.c. I have also moved the enum from ubiqx/debugparse.h into the debug section in smb.h. The next thing to do is to get debug2html added into the Makefile.in so that it is always produced when compiling the suite. Chris -)-----
* Now uninstalls man pages from correct source location.Tim Potter1998-11-271-1/+1
| | | | Fix by Andrej Borsenkow <borsenkow.msk@sni.de>
* install all html docs in yodl help directoryAndrew Tridgell1998-11-271-0/+7
|
* unix instance of group database APILuke Leighton1998-11-231-1/+1
|
* Added changes to smbtar submitted by Sandy WhiteselRichard Sharpe1998-11-211-1/+7
| | | | | | | | Added some extra documentation for smbclient Grr, Jeremy beat me to a bug fix in client.c Will have to get Jeremy to tell me how to check out SAMBA_2_0 :-)
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-171-1/+1
| | | | | | | | | | Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy.
* Makefile.in: Re-added quotes round ROFF call for DGUX.Jeremy Allison1998-11-161-1/+1
| | | | | | script/installman.sh: Make installman ignore ROFF argument if it is "". smbd/oplock.c: Move location of oplock test file to lockdir. Jeremy.
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-131-3/+21
| | | | | | | | | | | | | | UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER.
* LOCAL_GRP and DOMAIN_GRP are return typesLuke Leighton1998-11-131-0/+4
|
* we don't have any jpeg images any moreAndrew Tridgell1998-11-121-7/+0
|
* rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.Jeremy Allison1998-11-111-1/+9
| | | | | | script/makeyodldocs.sh: Added code to make text docs for non-man page YODL docs. web/cgi.c web/swat.c: SGI compiler warnings fixed. Jeremy.
* makeyodldocs.sh now works with the bash shellJean-François Micouleau1998-11-111-3/+3
|
* Added code to copy smb.conf.5.html to the swat help directory.Jeremy Allison1998-11-111-0/+8
| | | | Jeremy.
* Makefile.in: Added target for makeyodldocs - not used by default.Jeremy Allison1998-11-111-0/+3
| | | | | | | rpc_client/cli_reg.c: The perils of cut-n-paste coding include using variables before they are initialised :-). script/makeyodldocs.sh: Remove the intermediate files. Jeremy.
* Adding YODL docs maintainer script.Jeremy Allison1998-11-111-0/+75
| | | | Jeremy.
* Added manpages/ to source path.Jeremy Allison1998-11-111-1/+1
| | | | Jeremy.
* Useful script to extract all parameters out of the loadparm.c fileJeremy Allison1998-11-051-0/+2
| | | | | | and sort them into global (G) and service (S) parameters. Useful for keeping the smb.conf docs up to date. Jeremy.
* Realise this needs to be without the '.sh' ending as we will beJeremy Allison1998-11-051-0/+0
| | | | | installing it in the BIN directory. Jeremy.
* Very simple awk script to convert a 1.9.18 password file into Samba 2.0Jeremy Allison1998-11-051-0/+17
| | | | | password file format. Jeremy.
* support a few more function types (like ino_t and off_t)Andrew Tridgell1998-10-041-1/+1
|
* get away with dummy and .dummy filesAlexandre Oliva1998-09-291-1/+0
|
* Changes to test in configure if capabilities are enabled on a system.Jeremy Allison1998-09-281-2/+20
| | | | | | | | | | Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy.
* automated generation of .dummy files for each subdirectory;Alexandre Oliva1998-09-281-1/+0
| | | | | dummy.in files are no longer needed, and new directories will be taken care of automatically, at configure (or config.status --recheck) time
* Makefile.in: Fixed bug with continuation line causing proto to fail.Jeremy Allison1998-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added $(PROGS) $(SPROGS) as targets for make clean. acconfig.h: Added HAVE_IRIX_SPECIFIC_CAPABILITIES. configure.in: Added sys/capability.h header check. Added function checks for srandom random srand rand. Added HAVE_IRIX_SPECIFIC_CAPABILITIES test. includes.h: Added #include <sys/capability.h>. ntdomain.h: Moved struct acct_info into here from smb.h smb.h: Added KERNEL_OPLOCK_CAPABILITY define. Moved enum action_type into rpcclient.h Moved struct cli_state into client.h Moved struct nt_client_info, struct tar_client_info, struct client_info into rpcclient.h lib/genrand.c: Changed to use sys_random() & friends. lib/smbrun.c: Lose capabilities after fork. lib/system.c: Added set_process_capability(), set_inherited_process_capability() sys_random(), sys_srandom(). lib/util.c: Added Ander's EFBIG lock check to fcntl_lock for 64 bit access to an 32 bit mounted NFS filesystem. nmbd/nmbd.c: Changed to use sys_random() & friends. nmbd/nmbd_browsesync.c: Changed to use sys_random() & friends. passdb/ldap.c: Missed one pdb_encode_acct_ctrl call. passdb/passdb.c: Changed to Ander's code for ' ' characters. passdb/smbpass.c: Added Ander's code to reset ACB_PWNOTREQ. script/mkproto.awk: Added 'long' to prototypes. smbd/chgpasswd.c: Lose capabilities after fork. smbd/open.c: Do the mmap *after* the kernel oplock. smbd/oplock.c: Removed stub code from kernel oplock path. Added set_process_capability(), set_inherited_process_capability() calls. smbd/reply.c: Initialize count = 0, offset = 0. smbd/server.c: Added set_process_capability(), set_inherited_process_capability() calls. tests/summary.c: Ensure we have RANDOM or RAND. utils/smbpasswd.c: Added Ander's code to reset ACB_PWNOTREQ. utils/torture.c: Changed to use sys_random() & friends. Jeremy.
* Updates to the scripts for the new 14-char space format of accountJeremy Allison1998-09-242-2/+2
| | | | | attributes. Jeremy.
* Integration of Anders Blomdell <anders.blomdell@control.lth.se>'sJeremy Allison1998-09-242-4/+4
| | | | | | smbpasswd changes. Not exactly the same as his code - several changes. Jeremy.
* major autoconf clean-upAlexandre Oliva1998-09-212-4/+7
| | | | fix problems in builds with srcdir!=builddir
* nmbd/nmbd_winsserver.c: Fixed printf style warning.Jeremy Allison1998-09-181-1/+1
| | | | | script/mkproto.awk: Added SMB_BIG_UINT. Jeremy.
* Added ssize_t to configure code.Jeremy Allison1998-09-111-1/+1
| | | | | | | | | | | Got 'religion' about using size_t and ssize_t for read/write stuff as part of the code to expose 64 bits to the client. This checkin does all the 'easy' stuff - such as all the read/write/lock calls - but now comes the harder parts (open & friends) and all the file enquiry functions..... Jeremy.
* Ok - this is the 64 bit widening check in. It changes the configureJeremy Allison1998-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | to check for stat64 and friends, and then changes much of Samba to use the data type SMB_OFF_T for file size information. stat/fstat/lstat/lseek/ftruncate have now become sys_stat etc. to hide the 64 bit calls if needed. Note that this still does not expose 64 bit functionality to the client, as the changes to the reply_xxx smb's are not yet done. This code change should make these changes possible. Still to do before full 64 bit-ness to the client: fcntl lock code. statfs code widening of dev_t and ino_t (now possible due to SMB_DEV_T and SMB_OFF_T types being in place). Let me know if wierd things happen after this check-in and I'll fix them :-). Jeremy.
* need to istall new filesAndrew Tridgell1998-09-011-1/+8
|
* Submitting the smbtar changes to the main branch as well.Richard Sharpe1998-08-211-1/+6
| | | | | Regards Richard Sharpe
* moved connection_struct handling code into smbd/conn.c and changed itAndrew Tridgell1998-08-171-1/+1
| | | | to a linked list with bitmap format.
* some cleanups from the conversion of Pipes[] to a linked list. I alsoAndrew Tridgell1998-08-171-1/+1
| | | | | | | | removed most cases where a pnum is used and substituted a pipes_struct*. in files.c I added a offset of 0x1000 to all file handles on the wire. This makes it much less likely that bad parsing will give us the wrong field.
* this checkin gets rid of the global Files[] array and makes it localAndrew Tridgell1998-08-151-1/+1
| | | | | | | in files.c it should now be faily easy to expand the default MAX_OPEN_FILES to many thousands.
* this is the bug change to using connection_struct* instead of cnum.Andrew Tridgell1998-08-141-1/+1
| | | | | | | | Connections[] is now a local array in server.c I might have broken something with this change. In particular the oplock code is suspect and some .dll files aren't being oplocked when I expected them to be. I'll look at it after I've got some sleep.
* fixed the installation scripts for the new layoutAndrew Tridgell1998-08-108-35/+40
|
* added ignore rules for the dummy filesAndrew Tridgell1998-08-091-0/+1
|
* these dummy files are needed for autoconf processingAndrew Tridgell1998-08-091-0/+0
|
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-292-2/+4
|
* Digital UNIX does not seem to set OPTIND if there are noRichard Sharpe1998-07-061-0/+10
| | | | | | | | | | command line parameters. Added simple code to smbtar to check for paramters and pump out a usage message if there are none. Regards Richard
* Added code to generateChristopher R. Hertel1998-06-081-0/+6
| | | | | | | | | | | | | | #ifndef _PROTO_H_ #define _PROTO_H_ : : #endif /* _PROTO_H_ */ in the appropriate places. This required that I add an END rule. I generated a new proto.h and diff'ed it against the previous. There were no differences except for the added lines. Chris -)-----