summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2002-01-03Fixed nasty cast of tdb_delete in traversals.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a0cdec3acc82d1ce0292fadd4b8dac23638450f3)
2002-01-03Don't use static memory, malloc it...Jeremy Allison1-2/+12
Jeremy. (This used to be commit 8aee8211cddb6705c9aa545fc57ece2c721ef448)
2002-01-03Fix the fix.... (sigh).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 73cf9d04f6a35aa3b6bdb4e921de34e0021b5a2c)
2002-01-03Fixed embarressing 16k strack trashing bug :-(.Jeremy Allison1-8/+9
Jeremy. (This used to be commit b52c3219d6f46df6e98742447d65ecda2ecbac65)
2002-01-03Make talloctort call talloc_describe_all before exitingMartin Pool1-0/+2
(This used to be commit 4877501da92762d233e5e4f24d1cb2bdd1eab8ae)
2002-01-03Cope nicely with pools with no name.Martin Pool1-1/+10
(This used to be commit 86abefc17260387b6b68c71ad5587ef0212162c0)
2002-01-03talloc accounting now includes number of chunks and bytes allocated.Martin Pool1-9/+42
(This used to be commit cd25d01e42e7874bc93f6ca336c5b2cde453bb52)
2002-01-03Send back talloc allocation information when POOL_USAGE is received.Martin Pool1-2/+8
(This used to be commit 7cb8e95f9332d4c278d2aac5416f963639609d5a)
2002-01-03Add talloc_asprintf_append, which grows an existing string buffer toMartin Pool1-4/+76
contain new print-formatted information. (Also talloc_vasprintf_append.) Idea borrowed from glib. (This used to be commit 53723e874885936dd67483ebf46601fc73489d17)
2002-01-03smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool1-1/+5
boring so far. (This used to be commit 9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3)
2002-01-03smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool1-0/+45
be information about memory usage, but this is not done yet. (This used to be commit 830a126a442bdde28fc42e23e7260c344b6534b9)
2002-01-03If we receive a message that is not handled then emit a gentle warningMartin Pool1-0/+8
to the log. (This used to be commit 53dd8b45397f5de7660594b9287341f8f4c91c43)
2002-01-03debug output on receipt of message.Martin Pool1-0/+2
(This used to be commit 6bd5b7ce8ec54faefcf129fcc98cc4440bb355d6)
2001-12-31const religionSimo Sorce1-3/+3
(This used to be commit c0904d96170a9166b8cd405b75ce4a9bbc32ad1b)
2001-12-31more irix -64 portability fixesAndrew Tridgell2-11/+0
(This used to be commit 65e857b36e170e3ecd78bf6695ae73342e9c04cd)
2001-12-31- portablitity fixes for cc -64 on irixAndrew Tridgell1-2/+2
- fixed gid* bug in rpc_server (This used to be commit 48aa90c48c5f0e3054c4acdc49668e222e7c0d36)
2001-12-30freeing the wrong pointer, sorry my mistake.Simo Sorce1-5/+5
(This used to be commit ce7e89949ae1755f9faa008784a5b1a9b137945e)
2001-12-30util_sid.c - respect a const variabile (addedd strdup)Simo Sorce1-4/+12
cli_reg.c - indentation pdb_ldap.c - some checks on init fns parameters pdb_tdb.c - some checks on init fns parameters + make sure we close the db on failure (This used to be commit 49f5cb7a3df6d673f86e6769319aa657e30d8380)
2001-12-21fixed a typo in vsyslog()Andrew Tridgell1-1/+1
(This used to be commit da353bc539db6e2f8d834275abdd9b5fb47b9db8)
2001-12-21Add an output parameter to message_send_all that says how manyMartin Pool1-12/+33
messages were sent, so you know how many replies to expect. Const and doc religion. (This used to be commit 22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)
2001-12-20fixed warnings on irix and crash bug on big endian machinesAndrew Tridgell4-8/+12
(This used to be commit cc6c263993eaf0715f231fc80ca7e6e65694548b)
2001-12-20much better auto-init of valid_table[]. This should just about removeAndrew Tridgell3-9/+62
the need for valid.dat (This used to be commit 0cfd0a5e543181b1384f7afee93fbaf3ccb2b999)
2001-12-20mark '.' as a valid characterAndrew Tridgell1-1/+1
(This used to be commit 85f04fa61dffb15bc034dd756ee75b997a36d892)
2001-12-20Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool1-1/+7
It's not as strong as Insure, but it's free, reasonably efficient and works on every platform. (This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906)
2001-12-19Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison1-0/+14
nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy. (This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-19fixed sid_compare_domain()Andrew Tridgell1-3/+29
(This used to be commit c11c27b2812ceb06a52afbb7662f82a8676b1707)
2001-12-19Use less memory, but scribble all over it, just in case there'sMartin Pool1-4/+6
something wrong with the way it's allocated. (This used to be commit a7b052d991bf39b6f3391f78b95b18ebb8ef596c)
2001-12-19Doc how to reply to messages.Martin Pool1-1/+8
(This used to be commit e2b080587c4d6e147cf7274fa7e09e89ae2083c3)
2001-12-19Make TALLOC_CTX and talloc_chunk private to talloc.c.Martin Pool2-7/+82
Add a global singly-linked list of all active talloc pools, so that we can eventually show how much memory is used for different purposes. This also gives a check that pools are not being doubly freed. talloc_init_named now handle a NULL name properly (ie does nothing) Add accessor talloc_pool_name(). (This used to be commit 4c6c03c8c7c18762dd9ef1a1bd88350b8960542f)
2001-12-19DocMartin Pool1-8/+12
(This used to be commit 7da982e9268be7eb93fe7d6ad7da5b33ce44181c)
2001-12-19DocMartin Pool1-1/+7
(This used to be commit 5dc2827b6eaca8f7b833fdf9977528084e3a3ff0)
2001-12-19Put PRINTF_ATTRIBUTE on talloc_init_named, talloc_asprintf,Martin Pool1-3/+3
talloc_vasprintf. (This used to be commit e6be48671d520f952be0b6dc0848569d0d834179)
2001-12-19Doc.Martin Pool1-0/+6
(This used to be commit 5b6c22a209a26cb9adbf6d7733d396038c729633)
2001-12-19Start adding some debugging features to talloc based on Samba'sMartin Pool1-7/+38
ancient mem_man.c: Each TALLOC_CTX now has a field to store its purpose, to aid in tracking down memory bloat. A new call talloc_init_named() should be used instead of talloc_init() so that this is set. Added talloc_vasprintf to be called by varargs functions. (This used to be commit 25b97a743573b8c5e0ac886e4bfab581c11b3714)
2001-12-19Add a very trivial talloc torture program, bin/talloctort. Not builtMartin Pool1-0/+56
by default. (This used to be commit e3390669958f01672f5638ebf975e8bd4fd67665)
2001-12-18Fixup JF's weird SID return :-).Jeremy Allison1-2/+4
Jeremy (This used to be commit 7b8fb8d85c406b8755f60cf14dc2377bc59eda53)
2001-12-18A fix to override the location of a user's home directory if it isTim Potter1-0/+16
specified in the [homes] section of the smb.conf file. Jeremy, can you take a look at this? This is in response to someone on the samba mailing list worrying about it. Tim. From: Phil Thompson <philnanne@mediaone.net> To: samba@lists.samba.org Subject: Different [homes] behavior in 2.2.2 X-Original-Date: Mon, 17 Dec 2001 23:09:28 -0500 Is it possible to configure samba to disregard the home directory in the passwd file when using [homes]? Even though an alternate "path" is set in [homes], the service fails since the unix home directory is invalid (nonexistent) on the server. [...] This behavior of validating the user's home dir as set in the passwd files appears to be new in 2.2.2 and the latest CVS. Anyway to work around this? (This used to be commit c15dec74a360c6b20f536708e00e61d1d27dcbfc)
2001-12-17tidy up debugJean-François Micouleau1-1/+1
J.F. (This used to be commit c44f4e9e3368320b7559059dc214fa6c003d1187)
2001-12-17obey "use mmap" on case tablesAndrew Tridgell1-11/+13
(This used to be commit 505a1bdd15313698a6024a847f3771ea30a51f89)
2001-12-15Added HPUX ACL code.Jeremy Allison1-0/+957
Jeremy. (This used to be commit 6d03184f8c039ad81de47b5f3bde7dac5b2815ad)
2001-12-14Added the group enum code from 2.2Jeremy Allison2-13/+96
Jeremy. (This used to be commit 59e01a22c5cb1046758c8cd6b09333c19d6cd26e)
2001-12-14I see no reasons why we should limit username lenght while checkingSimo Sorce1-4/+0
see bug 22130 jeremy, probably this should be fixed also in 2_2 (This used to be commit d0614b2e660122c57a660977f554799d08b35ab6)
2001-12-10Explain why snprintf has to be overridden in this way.Martin Pool1-1/+8
(This used to be commit a4cc69d9459879c3fa5e782efd643d4e8cd334ba)
2001-12-10Typo spotting.Tim Potter1-2/+2
(This used to be commit 62dfda654ba9a80aa4875ff73fd9170199c745ea)
2001-12-10make sid_binstring available without HAVE_ADSAndrew Tridgell2-0/+40
(This used to be commit 4a6d29768665f71b72cf48ee34ee9a9c451232f6)
2001-12-09add smb_xvasprintf() panic wrapper around vasprintfAndrew Tridgell1-3/+13
(This used to be commit fa1e7a62acdbcc550e6b29dc69454dcf7472210d)
2001-12-06again an intrusive patch:Jean-François Micouleau1-11/+9
- removed the ugly as hell sam_logon_in_ssb variable, I changed a bit the definition of standard_sub_basic() to cope with that. - removed the smb.conf: 'domain admin group' and 'domain guest group' parameters ! We're not playing anymore with the user's group RIDs ! - in get_domain_user_groups(), if the user's gid is a group, put it first in the group RID list. I just have to write an HOWTO now ;-) J.F. (This used to be commit fef52c4b96c987115fb1818c00c2352c67790e50)
2001-12-05fixed an off by 1 bug in talloc_asprintf()Andrew Tridgell1-1/+1
(This used to be commit 2b2155beaef17a13c0e867c3dcfe8c323e84a9a3)
2001-12-04added a boolean to the group mapping functions to specify if we need orJean-François Micouleau1-1/+48
not the privileges. Usually we don't need them, so the memory is free early. lib/util_sid.c: added some helper functions to check an SID. passdb/passdb.c: renamed local_lookup_rid() to local_lookup_sid() and pass an RID all the way. If the group doesn't exist on the domain SID, don't return a faked one as it can collide with a builtin one. Some rpc structures have been badly designed, they return only rids and force the client to do subsequent lsa_lookup_sid() on the domain sid and the builtin sid ! rpc_server/srv_util.c: wrote a new version of get_domain_user_groups(). Only the samr code uses it atm. It uses the group mapping code instead of a bloody hard coded crap. The netlogon code will use it too, but I have to do some test first. J.F. (This used to be commit 6c87e96149101995b7d049657d5c26eefef37d8c)
2001-12-04moved init_account_policy() to the right placeAndrew Tridgell1-1/+5
(This used to be commit e908f304a26b9f1100e301610151a9334bf117b0)