summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged Andrew's wfw fix (2).Jeremy Allison2001-04-171-2/+5
| | | | Jeremy.
* AIX ACLs donated by IBM.Jeremy Allison2001-04-172-4/+988
| | | | | Merge Andrew's fnmatch fix for WfW. Jeremy.
* Added Darwin guess.Jeremy Allison2001-04-151-88/+93
| | | | | | lib/util_str.c: Excellent patch from Kenichi Okuyama <okuyamak@dd.iij4u.or.jp> to speed up trim_string handling ! Jeremy.
* Removed one samba-bugs ref. from source.Jeremy Allison2001-04-141-1/+1
| | | | Jeremy.
* Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison2001-04-141-0/+9
| | | | | | a bit to use AC_TRY_LINK to ensure functions are available for link instead of AC_TRY_COMPILE. Jeremy.
* Michael Davidson <md@sco.COM> pointed out that acl_get_qualifier can potentiallyJeremy Allison2001-04-131-0/+28
| | | | | | 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.
* Added fix from "Eric Boehm" <boehm@nortelnetworks.com> to try and set hardJeremy Allison2001-04-131-0/+24
| | | | | limit before setting soft limit. Jeremy.
* Merge of Andrew's changes in 2.2.Jeremy Allison2001-04-132-7/+5
| | | | Jeremy.
* As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison2001-04-133-77/+96
| | | | | be read. Jeremy.
* Can't use space in random string used for exec.Jeremy Allison2001-04-121-1/+1
| | | | Jeremy.
* Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn'tJeremy Allison2001-04-121-0/+24
| | | | | | | 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.
* Merged John's changes.Jeremy Allison2001-04-121-3/+3
| | | | Jeremy.
* To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-113-2/+15
| | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy.
* Changed the order of -kPIC and -kpic.Jeremy Allison2001-04-111-4/+6
| | | | | Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy.
* Fixed --with-automount compile error.Jeremy Allison2001-04-101-2/+2
| | | | Jeremy.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-086-7/+7
| | | | Jeremy.
* If we can't open the username map file, at least print the strerror.Jeremy Allison2001-04-061-1/+1
| | | | Jeremy.
* Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.Jeremy Allison2001-04-052-560/+52
| | | | Jeremy.
* Tidy up tmp file handling.Jeremy Allison2001-04-051-7/+2
| | | | Jeremy.
* Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison2001-04-031-0/+214
| | | | Jeremy.
* IRIX ACLs from Herb.Jeremy Allison2001-04-021-0/+244
| | | | Jeremy.
* include/ntdomain.h:Jeremy Allison2001-04-021-2/+2
| | | | | | | | | rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe that opened the handle may have been closed. We were dereferencing into something that had been closed. rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2. lib/replace.c: Don't do proto on setlinebuf as it differs between systems. Jeremy.
* configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison2001-03-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | replacement for setlinebuf which apparantly doesn't exist on HPUX 11. include/byteorder.h: rpc_parse/parse_prs.c: Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deleted 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. Extra. 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.
* Patch from David Gibson <dgibson@linuxcare.com> to reduce "silent abort"Jeremy Allison2001-03-271-51/+83
| | | | | | problems with smbd failing to create a log file. If we can't create a log file keep using the old file. Jeremy.
* merge from 2.2Gerald Carter2001-03-271-8/+71
|
* Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison2001-03-261-0/+16
| | | | | | | smb.conf file in utf8. Jeremy.
* Patch to make automount lookup fallback to get home directory from getpwnam.Jeremy Allison2001-03-262-28/+40
| | | | | From Robert Montjoy <Rob_Montjoy@ECECS.UC.EDU>. Jeremy.
* Added Gerald's fixes.Jeremy Allison2001-03-231-1/+0
| | | | Jeremy.
* a much simpler talloc() implementation. This version has the followingAndrew Tridgell2001-03-231-29/+36
| | | | | | | | | | | | | advantages: - memory is trackable by insure - a very simple talloc_realloc() is possible (I've added it) It is slower than the previous talloc code, but I don't think that is going to be a problem. If it is a problem then there are some ways we can make it faster but I'd like to leave those until we have tested this a bit and can see what performance problems might show up in profiling
* Sync up with 2.2 ACL code.Jeremy Allison2001-03-231-4/+0
| | | | Jeremy.
* New POSIX ACL mapping code. Works with UNIX permissions, now for testingJeremy Allison2001-03-221-0/+20
| | | | | with real ACLs... Jeremy.
* Added sys_dlopen/sys_dlsym/sys_dlclose.Jeremy Allison2001-03-191-0/+31
| | | | Jeremy.
* fixed rpcclient readline codeAndrew Tridgell2001-03-191-1/+1
|
* added basic command completion supportAndrew Tridgell2001-03-191-1/+6
|
* much simpler readline codeAndrew Tridgell2001-03-181-73/+44
| | | | should work with readline 2.x
* much better readline support from Simo Sorce, with some mods from meAndrew Tridgell2001-03-181-0/+126
| | | | to make it a bit simpler
* removed useless debug msgAndrew Tridgell2001-03-171-3/+0
|
* lib/system.c (Finally) fixed all insure errors in password caching code. We ↵Jeremy Allison2001-03-171-56/+53
| | | | | | | | | | | | | can't stop libc routines from calling getpwXXX functions, so caching a pointer to them is impossible. This new code now makes two copies of the returned struct passwd struct - one used as a cache, one returned to allow the caller to modify. When doing a lookup we compare against the cached copy. Code is now easier to understand also. smbd/posix_acls.c: If we move the head of the linked list, remember to pass a reference to that pointer..... Jeremy.
* AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison2001-03-151-69/+1
| | | | Jeremy.
* Fixed reading of strings from big-endian RPC clients.Jeremy Allison2001-03-131-0/+68
| | | | Jeremy.
* Dead code removal. Not used anywhere.Jeremy Allison2001-03-112-730/+0
| | | | Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-117-15/+24
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* started support for unicode on the wire in smbd. Using a very similarAndrew Tridgell2001-03-101-0/+9
| | | | | | | | | method to what was used in the client I now have session setup and tconx working. Currently this is enabled with SMBD_USE_UNICODE environment variable. Once the code is complete this will become a smb.conf option.
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-091-1/+1
| | | | | | | | | 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.
* Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison2001-03-071-8/+3
| | | | | authenticate against them. Big/little endian issues fixed. Jeremy.
* Fixed a couple of getpwXX calls that were not going through the sys_getpwXXJeremy Allison2001-03-011-2/+2
| | | | | cache. Jeremy.
* Move to talloc control of SPOOL_XXX structs. Move to talloc control ofJeremy Allison2001-02-282-10/+18
| | | | | security descriptors and pointers. Syncup with 2.2 tree. Jeremy.
* Added total memory allocated counter to talloc, so we can tell if a tallocJeremy Allison2001-02-271-0/+22
| | | | | | | pool is getting bloated. Also added a talloc_zero function to return zeroed memory. Added debug in rpc_server/srv_pipe_hnd.c so we know when a talloc pool is being freed. Syncup with srv_pipe_hnd.c from 2.2 so we are freeing memory at the same time. Jeremy.
* rpc_client/cli_netlogon.c: Fixed incorrect printf.Jeremy Allison2001-02-251-0/+536
| | | | | Added Solaris ACL support. Jeremy.
* - fixed the sort_acl bug, sorting now works rightAndrew Tridgell2001-02-231-9/+20
| | | | | - don't allow setting of duplicate ACEs - fixed a ACE delete bug