summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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. (This used to be commit 415f9d92bc0a37d38b81a653a4b4c5f0fefa2fe8)
* fixed the handling of STR_TERMINATEAndrew Tridgell2002-04-162-3/+33
| | | | (This used to be commit dbc6b137a83cf9fe0558625dd32f92f15296fba6)
* i forgot to commit these parts of the string handling patch earlier. Sorry.Andrew Tridgell2002-04-161-5/+5
| | | | (This used to be commit bac0093a9713416b1679d1bc167b70f02b06ef78)
* Fixed incorrect debug.Tim Potter2002-04-151-1/+1
| | | | (This used to be commit 3b6df44ddc80d728c01511529ccb05c1ba3d414b)
* 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 (This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
* 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 (This used to be commit 5275c94cdf0c64f347d4282f47088d084b1a7ea5)
* added strndup() for systems that don't have itAndrew Tridgell2002-04-111-0/+19
| | | | (This used to be commit 7e92fb7453e4dbf1fe0c32c3dcc1e994cb95b5ea)
* 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. (This used to be commit bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)
* Also look for libinsure.so where the full version installs it.Tim Potter2002-04-041-0/+5
| | | | (This used to be commit 2bf6595a2a5527ff64f9083f2434aa344c9637d9)
* cope with a missing PAM defineAndrew Tridgell2002-04-011-3/+6
| | | | (This used to be commit e5c3648fe721d659c8b90a6987998ada4790592b)
* 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. (This used to be commit 74eac41c681f92a6da0ae2167f031e021862e0d8)
* 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 (This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
* Allow hosts allow/deny to use xx.xx.xx.xx/yy syntax.Jeremy Allison2002-03-271-2/+10
| | | | | Jeremy. (This used to be commit ea60c50109462b35825be1dd3cc6b28f739a1b59)
* In msleep - never sleep for more than 1 second. Cope with time changes.Jeremy Allison2002-03-271-16/+27
| | | | | Jeremy. (This used to be commit 9fb6a475264f465e30a23c34b5c9266921d135d1)
* Moved debug messages for grabbing/releasing mutex.Jeremy Allison2002-03-271-0/+4
| | | | | Jeremy. (This used to be commit e144c174eafc18f236c848b8f3a2c6382796f5a9)
* Don't hold the mutex for more than 20 seconds.Jeremy Allison2002-03-262-5/+33
| | | | | Jeremy. (This used to be commit 1b9f1a368f2f37700cef357ab4bbc0389ec06378)
* OpenPrinter() merge from 2.2Gerald Carter2002-03-261-0/+32
| | | | (This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)
* add {push,pull}_ucs2{allocate,talloc}() functions.Andrew Bartlett2002-03-251-0/+58
| | | | | Andrew Bartlett (This used to be commit ce7990b4a4f251536dd26be5a62c12711df57787)
* Spelling fixes.Tim Potter2002-03-241-1/+1
| | | | (This used to be commit a5ac2ac4ada48ee3be061a32ba40bd8c4b3b3865)
* 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 (This used to be commit 41dd5a4d292bb08fa313f6220014cd9b4490237b)
* Update some of the DEBUG()s in Get_Pwnam_internal()Andrew Bartlett2002-03-231-8/+11
| | | | | Andrew Bartlett (This used to be commit 20f6f9e3a221da60aae0de166f17085053e27286)
* 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 (This used to be commit 9ab144810efeb0b086257143b01ca47ee5718861)
* 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. (This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
* Stomped on some header file version numbers that have crept back in.Tim Potter2002-03-221-2/+1
| | | | (This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
* 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. (This used to be commit 6fa09ee88143882abcc51de05002261db767d775)
* 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 (This used to be commit 098905bea29c7d5b886809d431294ddf2fc1e152)
* Sync up vfs changes from 2.2.x.Jeremy Allison2002-03-191-0/+15
| | | | | Jeremy. (This used to be commit ad1e858d8e72adf924ff435eab8da3e60842e2e6)
* 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. (This used to be commit 9836af7cd623357feaec07bc49cfb78f0aa01fc3)
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-171-1/+1
| | | | (This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
* lower the debug level of failing to map a fileAndrew Tridgell2002-03-151-1/+1
| | | | (This used to be commit ad9965414d4d1fd8a031e3169b8f19d66cdad8be)
* 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 (This used to be commit 5760315c1de4033fdc22684c940f18010010924f)
* getpid() -> sys_getpid()Tim Potter2002-03-143-4/+4
| | | | (This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
* Add "Creator Group" - was in 2.2.x and I'm syncing up the two.Jeremy Allison2002-03-131-0/+2
| | | | | Jeremy. (This used to be commit bcf38961a7786c5cf1eb7568b87c19712c3ea9cc)
* Fix typo.Martin Pool2002-03-101-1/+1
| | | | (This used to be commit 58c1b11439ef58313895a23a2e9a0ec735903eb6)
* add a note about the meaning of global_sam_sidAndrew Tridgell2002-03-101-0/+3
| | | | (This used to be commit 3db97530b62ac12d334d0244ea52db8750cebf2e)
* Doc.Tim Potter2002-03-091-9/+14
| | | | (This used to be commit b9ab79f30a931c694b1c181b1c2abd38186692ae)
* fixed the upper/lower case table generation on big-endian machinesHerb Lewis2002-03-061-9/+26
| | | | | (tridge, using Herbs console) (This used to be commit e5d80779a384c9a806fc545032330f760d8c11cb)
* dos2unix not used in HEAD anymore.Jeremy Allison2002-03-041-2/+2
| | | | | Jeremy. (This used to be commit d2af6382b4de232299529c30f2a7a39ea9b38507)
* 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 used to be commit ba2570f518e07c95b952fb824a2d0b040b912bcc)
* This should kill off the 'cannot convert' error messages on non-iconv hosts.Andrew Bartlett2002-03-011-1/+1
| | | | (This used to be commit 2a30960276ae65b60d01caf9464808d75a812e40)
* Make this function staticAndrew Bartlett2002-02-271-1/+1
| | | | (This used to be commit 85974e6c43b796649f04544eeffeba837cae963b)
* 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. (This used to be commit 330b0df960329bcf4696b8fa4a7357e6c456f74e)
* Only set smb_read_error if not already set.Jeremy Allison2002-02-231-6/+20
| | | | | Jeremy. (This used to be commit 8220135fd16b4a1778e49f8315f64754924af0d8)
* Thanks to David Edward Shapiro <David.Edward.Shapiro@btitele.com> for spottingAndrew Bartlett2002-02-201-1/+1
| | | | | | | | | this! (groupname and domain name paramaters swapped, giving 'interesting' results...) Andrew Bartlett (This used to be commit 5aed3759d8edbe59df8c1ea70827c4b931393134)
* Patch from Hasch@t-online.de (Juergen Hasch) to add UTF-8 as an explictAndrew Bartlett2002-02-191-1/+67
| | | | | | | | character set for conversion. To be used in Winbind and the 'net ads' commands. Andrew Bartlett (This used to be commit fa9d3060ff7510e176d7608b49075379500f55c4)
* serialise all domain auth requestsAndrew Tridgell2002-02-181-0/+30
| | | | | | | | | | this is needed because W2K will send a TCP reset to any open connections that have not done a negprot when a second connection is made. This meant that under heavy netlogon load a Samba domain member would fail authentications. Jeremy, you may wish to port this to 2.2.x (This used to be commit eb196070e62b45b113e5712f27198c50c5c95657)
* reverted tims patch that broke configureAndrew Tridgell2002-02-181-13/+0
| | | | | why does anything but smbd care about sec_init() anyway?? (This used to be commit 569505b77140c2688aeab4df058b864464f23c1d)
* Whoops, typo.Tim Potter2002-02-171-4/+4
| | | | (This used to be commit e7abb79fb304b34aeb369dc6deafa96dfd1e02f3)
* Do a smb_panic() if sec_initial_[ug]id() or non_root_mode() is calledTim Potter2002-02-171-0/+13
| | | | | | without before sec_init(). This should avoid the formation of another magic function club. (-: (This used to be commit 1b941e2c637e41049932945607149094342359c5)
* int -> uint32Tim Potter2002-02-171-2/+1
| | | | (This used to be commit 5efe39af0c89e549bb8211a39a949f80f6d1bf78)