summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added sys_fcntl (not to be used everywhere). Added sys_read/sys_writeJeremy Allison2002-04-193-7/+20
| | | | | for transfer_file. Jeremy.
* Fixed sendto in oplock code.Jeremy Allison2002-04-191-0/+15
| | | | Jeremy.
* Fix send and recvfrom.Jeremy Allison2002-04-192-12/+27
| | | | Jeremy.
* First cut at fix for the EINTR problem... More needs to be done I think.Jeremy Allison2002-04-193-140/+180
| | | | Jeremy.
* nicer strndup() functionAndrew Tridgell2002-04-181-6/+6
|
* make suure we get the return value from the pull_*() functions rightAndrew Tridgell2002-04-172-7/+13
| | | | for both null terminated and buffer length terminated strings
* sync with 2.2Simo Sorce2002-04-161-4/+9
|
* stricter conditions on termination in stringsAndrew Tridgell2002-04-161-6/+6
| | | | | this was a very nasty bug with filename corruption and NT4 clients. The exact termination conditions are quite critical ...
* Fix incorrect zpadlen handling in fmtfp.Simo Sorce2002-04-161-14/+20
| | | | | | Thanks to Ollie Oldham <ollie.oldham@metro-optix.com> for spotting it. few mods to make it easier to compile the tests. addedd the "Ollie" test to the floating point ones.
* fixed the handling of STR_TERMINATEAndrew Tridgell2002-04-162-3/+33
|
* i forgot to commit these parts of the string handling patch earlier. Sorry.Andrew Tridgell2002-04-161-5/+5
|
* Fixed incorrect debug.Tim Potter2002-04-151-1/+1
|
* Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett2002-04-142-0/+50
| | | | | | | | | | | | | | <mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly enumerate its trusted domains - by exaimining the keys in the secrets.tdb file. This patch has been tested with both NT4 and rpcclient/wbinfo, and adds some extra functionality to talloc and rpc_parse to allow it to deal with already unicode strings. Finally, this cleans up some const warnings that were in net_rpc.c by pushing another dash of const into the rpc client code. Andrew Bartlett
* Better handling of uid/gid -> RID and RID -> uid/gid code.Andrew Bartlett2002-04-131-5/+12
| | | | | | | | | | | | | | | | | | | All uids and gids must create valid RIDs, becouse other code expects this, and can't handle the failure case. (ACL code in particular) Allow admins to adjust the base of the RID algorithm, so avoid clashes with users brought in from NT (for example). Put all the algorithm code back in one place, so that this change is global. Better coping with NULL sid pointers - but it still breaks a lot of stuff. BONUS: manpage entry for new paramater :-) counter based rids for normal users in tdbsam is disabled for the timebeing, idra and I will work out some things here soon I hope. Andrew Bartlett
* added strndup() for systems that don't have itAndrew Tridgell2002-04-111-0/+19
|
* this adds a completely new hash based mangling schemeAndrew Tridgell2002-04-111-0/+20
| | | | | | | | | | the hash for this scheme is *much* larger (approximately 31 bits) and the code is written to be very fast, correctly handling multibyte while not doing any actual multi-byte conversions in the vast majority of cases you can select this scheme using "mangling method = hash2", although I may make it the default if it works out well.
* Also look for libinsure.so where the full version installs it.Tim Potter2002-04-041-0/+5
|
* cope with a missing PAM defineAndrew Tridgell2002-04-011-3/+6
|
* Added sys_adminlog() system for info the appliance admins reallyJeremy Allison2002-03-271-0/+28
| | | | | need to know about. Different from the DEBUG system. Jeremy.
* Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison2002-03-271-4/+4
| | | | | | dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy
* Allow hosts allow/deny to use xx.xx.xx.xx/yy syntax.Jeremy Allison2002-03-271-2/+10
| | | | Jeremy.
* In msleep - never sleep for more than 1 second. Cope with time changes.Jeremy Allison2002-03-271-16/+27
| | | | Jeremy.
* Moved debug messages for grabbing/releasing mutex.Jeremy Allison2002-03-271-0/+4
| | | | Jeremy.
* Don't hold the mutex for more than 20 seconds.Jeremy Allison2002-03-262-5/+33
| | | | Jeremy.
* OpenPrinter() merge from 2.2Gerald Carter2002-03-261-0/+32
|
* add {push,pull}_ucs2{allocate,talloc}() functions.Andrew Bartlett2002-03-251-0/+58
| | | | Andrew Bartlett
* Spelling fixes.Tim Potter2002-03-241-1/+1
|
* Make a number of the lookup tables 'const'. I'm told this assists in sharingAndrew Bartlett2002-03-232-3/+3
| | | | | | memory between users of shared libs. Andrew Bartlett
* Update some of the DEBUG()s in Get_Pwnam_internal()Andrew Bartlett2002-03-231-8/+11
| | | | Andrew Bartlett
* Patch from Hasch@t-online.de (Juergen Hasch) to add allocate and tallocAndrew Bartlett2002-03-231-1/+86
| | | | | | push/pull utf8 functions. To be used for international ADS support. Andrew Bartlett
* Fix the mp3 rename bug - also tidy up our open code and remove the specialJeremy Allison2002-03-231-1/+1
| | | | | cases for rename and unlink. Had to add desired_access into the share mode record. Jeremy.
* Stomped on some header file version numbers that have crept back in.Tim Potter2002-03-221-2/+1
|
* must use native endian index when creating default valid.dat table so itHerb Lewis2002-03-211-2/+2
| | | | is the same on big and little endian systems.
* Add assertions that kill() is never accidentally passed a non-positiveMartin Pool2002-03-202-0/+10
| | | | | | | | | pid. This follows a bug in rsync where it would accidentally kill(-1), removing all the user's processes. I can't see any way this would directly happen in Samba, but having the assertions seems beneficial. http://cvs.samba.org/cgi-bin/cvsweb/rsync/util.c.diff?r1=1.108&r2=1.109&f=h
* Sync up vfs changes from 2.2.x.Jeremy Allison2002-03-191-0/+15
| | | | Jeremy.
* more verbose checking in talloc and util_pwSimo Sorce2002-03-182-40/+50
| | | | | fixed tdbsam memory corruption (and segfault) reducing calls to pdb_uid_to_user_rid and countrary to 0 to move to a non alghoritmic rid allocation with some passdb modules.
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-171-1/+1
|
* lower the debug level of failing to map a fileAndrew Tridgell2002-03-151-1/+1
|
* syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter2002-03-151-0/+25
| | | | | | | | | | | | | in the reverse). * add in new printer change notify code from SAMBA_2_2 * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex() * sync up the _print_queue_struct in smb.h (why did someone change the user/file names in fs_user/fs_file (or vice-versa) ? ) * sync up some cli_spoolss_XXX functions
* getpid() -> sys_getpid()Tim Potter2002-03-143-4/+4
|
* Add "Creator Group" - was in 2.2.x and I'm syncing up the two.Jeremy Allison2002-03-131-0/+2
| | | | Jeremy.
* Fix typo.Martin Pool2002-03-101-1/+1
|
* add a note about the meaning of global_sam_sidAndrew Tridgell2002-03-101-0/+3
|
* Doc.Tim Potter2002-03-091-9/+14
|
* fixed the upper/lower case table generation on big-endian machinesHerb Lewis2002-03-061-9/+26
| | | | (tridge, using Herbs console)
* dos2unix not used in HEAD anymore.Jeremy Allison2002-03-041-2/+2
| | | | Jeremy.
* Fix up the pull_utf8_fstring/pstring functions, and add their push eqivilants.Andrew Bartlett2002-03-011-4/+14
| | | | | | patch by Hasch@t-online.de (Juergen Hasch) Andrew Bartlett
* This should kill off the 'cannot convert' error messages on non-iconv hosts.Andrew Bartlett2002-03-011-1/+1
|
* Make this function staticAndrew Bartlett2002-02-271-1/+1
|
* bcopy must DIE ! Stop people creeping use of bcopy back into the codeJeremy Allison2002-02-261-6/+5
| | | | | (and yes I know who you are..... :-). Jeremy.