summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* If a debug class was explicitly set to zero the debug system would notTim Potter2001-06-011-14/+36
| | | | | | | | | | | | | | | | recognise it as there was no distinction made between zeroing a debug class and just not setting it to anything. I've added a debuglevel_isset array in parallel with the debuglevel_class array to fix this. Added a couple of new debug classes which I might start filling out to get smb, rpc header and rpc marshall/unmarshalling debugs tidied up. Fixed a bunch of cut&paste bugs in include/debug.h Modified smbcontrol and the messaging system debug handler to like the debuglevel_isset stuff.
* Rename bzero -> memset.Jeremy Allison2001-05-311-55/+81
| | | | | Check returns from *all* mallocs (including strdups). Jeremy.
* Fixed compiler warning.Tim Potter2001-05-291-2/+2
|
* 4 new functions to retrieve single linked list of group and passwd entriesSimo Sorce2001-05-291-0/+185
| | | | | + a fix to an infinite loop in srv_samr_nt.c caused by misuse of setgrent/getgrent/endgrent solved by these new functions
* Fixup the large_writex problem (a large_writex can send a full 64k of data,Jeremy Allison2001-05-241-24/+27
| | | | | we already have space for this we just need to understand the length correctly). Jeremy.
* Fix for random stream generator.Jeremy Allison2001-05-241-168/+186
| | | | Jeremy.
* Check sizes of data entries in connections.tdb before deciding they're crecs...Jeremy Allison2001-05-151-1/+5
| | | | | We will need this when we use finer grained locking for max connections. Jeremy.
* string_hash() should be static. hash_clear() should be void.Jeremy Allison2001-05-121-6/+4
| | | | Jeremy.
* Added talloc_strdup() funcion.Tim Potter2001-05-111-0/+6
|
* Needs to be >=, not just >.Jeremy Allison2001-05-101-1/+1
| | | | Jeremy.
* Fix for problem with "" string in trim_string(). Pointed out by Ben Winslow ↵Jeremy Allison2001-05-101-3/+5
| | | | | | <rain@bluecherry.net>. Jeremy.
* Added sid_peek_rid() function to return the rid of a sid. Saves muckingTim Potter2001-05-101-0/+13
| | | | around with copying a sid to a temporary variable and using sid_split_rid().
* Bumped up debug level on set socket options from 3 to 5.Tim Potter2001-05-101-2/+2
|
* Hey what happened to my debug messages? Early exit from reopen_logs()Tim Potter2001-05-071-0/+11
| | | | if using stdout_logging.
* removed need for scandir in client.cAndrew Tridgell2001-05-071-1/+3
| | | | fixed possible bug with readdirname on systems with NAMELEN != strlen
* Preliminary merge of winbind into HEAD. Note that this compiles and linksTim Potter2001-05-071-21/+0
| | | | but I haven't actually run it yet so it probably doesn't work. (-:
* fix interfaces.c for aix 3.2.5Andrew Tridgell2001-05-071-2/+0
|
* Some versions of readline don't have rl_completion_func_t. )-:Tim Potter2001-05-071-2/+1
| | | | Spotted by http://build.samba.org/
* Fixed compiler warning.Tim Potter2001-05-071-1/+2
|
* replace modf so we don't need the math libraryAndrew Tridgell2001-05-061-4/+39
|
* Merging Gerald's PDC SAM name fix.Jeremy Allison2001-05-031-13/+76
| | | | Jeremy.
* Had to add a "pam password change" parameter (defaults to "off") and inlinedJeremy Allison2001-05-021-5/+5
| | | | | | | | | | | the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy.
* Fixed password entry caching bug pointed out by Elrond.Jeremy Allison2001-04-301-14/+25
| | | | Jeremy.
* don't need slprintf.c any moreAndrew Tridgell2001-04-281-24/+0
|
* - added test for vasprintfAndrew Tridgell2001-04-283-122/+17
| | | | | | | | - cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more
* got asprintf defn rightAndrew Tridgell2001-04-281-11/+12
|
* few cleanups to bring in line with 2.2Gerald Carter2001-04-281-1/+0
|
* More debug %d -> %u issues.Jeremy Allison2001-04-271-4/+4
| | | | Jeremy.
* More %d (uid_t) stuff...Jeremy Allison2001-04-271-3/+3
| | | | Jeremy.
* Don't use variables called "acl" as it's the name of a function in Solaris.Jeremy Allison2001-04-271-13/+13
| | | | Jeremy.
* added much better snprintf code, plus new function asprintfAndrew Tridgell2001-04-271-734/+714
|
* Fixed %U and %D substitutions. %U is lowercase user name, %D is uppercaseJeremy Allison2001-04-251-2/+12
| | | | | domain name. Jeremy.
* Fix proto's in old code.Jeremy Allison2001-04-211-21/+9
| | | | Jeremy.
* merge from 2.2Gerald Carter2001-04-201-1/+1
|
* merge from 2.2Gerald Carter2001-04-191-2/+2
|
* Removed mktemp from HEAD - same as done in 2.2.Jeremy Allison2001-04-181-39/+4
| | | | Jeremy.
* 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.