summaryrefslogtreecommitdiff
path: root/source/script
Commit message (Collapse)AuthorAgeFilesLines
...
* 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 -)-----
* Makefile:Luke Leighton1998-05-181-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added nisppass.c and NISPLUS_FLAGS includes.h: - renamed USE_LDAP to USE_LDAP_DB. renamed NISPLUS to USE_NISPLUS_DB. added default define of USE_SMBPASS_DB. - removed ldap headers: they are local only to ldap.c ldap.c : - made all ldap-specific functions static. - added dummy sam21 functions loadparm.c : - renamed NISPLUS to NISPLUS_HOME mkproto.awk - commented out ldap-specific #ifdef generation code: it's not needed now that ldap-specific functions in ldap.c are static nisppass.c : - first attempt at an add function from
* adding copyright messages for Benny HolmgrenLuke Leighton1998-05-152-0/+4
|
* two scripts from benny holmgren which a) create NIS+ table b) populate itLuke Leighton1998-05-152-0/+69
| | | | from private/smbpasswd.
* ldap back-end database developmentLuke Leighton1998-05-111-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile: created PASSBD_OBJ group includes.h: added #ifdef USE_LDAP to #include <ldap> headers ldap.c: - renamed "_machine" to "_trust" everywhere. - added sam_passwd support routines - removed get_ldappwd_entry function: replaced with get_sampwd_entry - removed getldappwnam/uid: replaced with getsampwnam/uid - other messing about bits which are probably going to annoy the hell out of jean-francois (sorry!) mkproto.awk: - added stuff to wrap ldap.c protos with #ifdef USE_LDAP - added uid_t and gid_t return results to the prototype generation passdb.c: - created getsam21pwent, add_sam21pwd_entry, mod_sam21pwd_entry. - modified getsampwnam/uid and created getsam21pwnam/rid functions to replace the local get_smbpwd_entry() and get_ldappwd_entry() functions, which jeremy didn't like anyway because they were dual-purpose. - added utility routines which are or may be useful to all the password database routines. password.c: - renamed "machine_" to "trust_" everywhere. smbpass.c: - removed get_smbpwd_entry function: replaced it with get_sampwd_entry functions in passdb.c - moved code that decoded acct_ctrl into passdb.c - moved encode_acct_ctrl into passdb.c - removed getsmbpwnam/uid: replaced with getsampwnam/uid - renamed "machine_" to "trust_" everywhere. smbpasswd.c: - renamed "machine_" to "trust_" everywhere. util.c: - moved gethexpwd function into passdb.c lib/rpc/server/srv_util.c: - moved user_rid_to_uid, group_rid_to_rid etc etc into passdb.c
* Removed unneeded proto symbol.Jeremy Allison1998-04-091-1/+1
| | | | Jeremy.
* install jpeg filesAndrew Tridgell1998-03-151-0/+7
|
* fixed instructions in installswat.sh (thanks to Herb again!)Andrew Tridgell1998-03-141-1/+1
|
* added an install target for SWATAndrew Tridgell1998-03-121-0/+41
|
* "For I have laboured mightily on Luke's code, and hath brokenJeremy Allison1998-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | all I saw" - the book of Jeremy, chapter 1 :-). So here is the mega-merge of the NTDOM branch server code. It doesn't include the new client side pieces, we'll look at that later. This should give the same functionality, server wise, as the NTDOM branch does, only merged into the main branch. Any fixes to domain controler functionality should be added to the main branch, not the NTDOM branch. This code compiles without warnings on gcc2.8, but will need further testing before we are sure all the working functionality of the NTDOM server branch has been correctly carried over. I hereby declare the server side of the NTDOM branch dead (and all who sail in her :-). Jeremy.
* remove stutter from closing instructionsHerb Lewis1997-12-011-2/+2
|
* JHT ==> Fixing blocksize argument. Patch by: Llyod WhitemanJohn Terpstra1997-10-071-1/+1
| | | | <lwhitman@stm2.nrl.navy.mil>
* Makefile: Changed proto: target to not include c files not used currently.Jeremy Allison1997-09-191-1/+1
| | | | | | | | | | | Caused proto.h to be from a sorted list of C files. arcfour.h: Added prototypes. client.c: Added username%password in environment patch from John Blair <jdblair@frodo.tucc.uab.edu> loadparm.c: Added username manipulation code from Peter McCool [SMTP:peter@qimr.edu.au] username.c: Added username manipulation code from Peter McCool [SMTP:peter@qimr.edu.au] mkproto.awk: Added arc4_key type. proto.h: Updated & sorted. Jeremy (jallison@whistle.com)
* Fixed up determination of client type for PROTOCOL_NT1. Uses clientJeremy Allison1997-09-041-1/+1
| | | | | | capabilities bits in session_setup_and_X to decide. Made remote_arch an enum as well as a string, for easier use. Jeremy (jallison@whistle.com)
* Adding codepage definition files and codepage file compiler/decompiler.Jeremy Allison1997-08-302-0/+69
| | | | | | Adding install/uninstall scripts for compiled codepage files. Preparing for dynamic codepage loading. Jeremy (jallison@whistle.com)
* added a new type to mkproto.awk so it can handle shmem.cAndrew Tridgell1997-08-281-1/+1
| | | | | in general if you add a new type that is returned by a non-static function then just add it to the list of known types in mkproto.awk
* - added support for Amiga-unix (based on BSD I think)Andrew Tridgell1996-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - changed the order of PROGS and SPROGS in Makefile (SPROGS first) - another 64 bit cleanup (for INADDR_NONE) - added paranoia code in DirCacheAdd() to detect looping - fixed important DirCache flush bug - rewrote the NetServerEnum code after I found it could return servers from multiple workgroups at once, and this could cause browsing havoc. Now a null workgroup query is equivalent to a query for the servers primary workgroup - got rid of my_workgroup() - got rid of "workgroup = *" comment in Makefile. We no longer support a workgroup of *, users must set the workgroup explicitly - the wins.dat file was being stored in a different format to what it was being loaded in - this could cause havoc. fixed. - uppercase our netbios name and the workgroup name at startup - if accept fails in main loop when running as a daemon then continue, don't just exit! - don't use ./ on smbclient in smbtar - better code to detect if a process exists
* fixed installscripts.sh so it no longer creates ] and [ directoriesAndrew Tridgell1996-08-161-1/+1
| | | | every time its run!
* - added FAST_SHARE_MODES codeAndrew Tridgell1996-08-151-1/+1
| | | | - added some named pipe code from Jim
* Added uninstallation from Makefile, either in parts or total uninstallSamba Release Account1996-07-053-0/+111
| | | | Dan
* Changed install scripts so they don't have hardcoded valuesSamba Release Account1996-07-053-26/+48
| | | | Dan
* luke's first attempt at using cvsSamba Release Account1996-06-291-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | accidentally updated the Makefile updated the name database structure (again!). this time, there is one name database per local interface. there is also a pseudo-interface on ip 255.255.255.255. its purpose is to store WINS name entries. all the local interface name databases store SELF names only. the WINS name database stores non-special browser names. added wins.dat file: records WINS entries in ascii format. this is reloaded when nmbd restarts. added repeating code for response packets. timer is in seconds only at the moment. updated the response queue code to deal with samba registering with a WINS server a bit better (added more cases when a response isn't received). tidied up the response packet processing code and expire_response_queue() code. added cross references between response received and await-response expired code. added over-zealous code that checks all machines that register with samba as a WINS server (every 10 minutes i think): to see whether they are still alive or not (see rfc1001.txt) bug reported by terry@ren.pc.athabascau.ca: DNSFAILed names _stay_ as DNSFAIL, even though the machine may come back up and REGISTER. removed update_from_reg() function. it's not necessary, and it does too much. added code that announces on each local interface samba's ttl as zero and servertype as zero when nmbd is kill -TERMed first attempt at putting the first functionality of samba browsing back in (remote subnets should have samba appear in a workgroup specified through the lmhosts file) lots of other miscellaneous tidying up / chopping about.
* - deleted reduntant blank line at end of file (JHT)Samba Release Account1996-06-191-1/+0
|
* Added source filename to give crude indexSamba Release Account1996-06-171-0/+9
| | | | Dan 17 June 1996