summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* talloc accounting now includes number of chunks and bytes allocated.Martin Pool2002-01-031-9/+42
|
* Send back talloc allocation information when POOL_USAGE is received.Martin Pool2002-01-031-2/+8
|
* Add talloc_asprintf_append, which grows an existing string buffer toMartin Pool2002-01-031-4/+76
| | | | | contain new print-formatted information. (Also talloc_vasprintf_append.) Idea borrowed from glib.
* smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool2002-01-031-1/+5
| | | | boring so far.
* smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool2002-01-031-0/+45
| | | | be information about memory usage, but this is not done yet.
* If we receive a message that is not handled then emit a gentle warningMartin Pool2002-01-031-0/+8
| | | | to the log.
* debug output on receipt of message.Martin Pool2002-01-031-0/+2
|
* const religionSimo Sorce2001-12-311-3/+3
|
* more irix -64 portability fixesAndrew Tridgell2001-12-312-11/+0
|
* - portablitity fixes for cc -64 on irixAndrew Tridgell2001-12-311-2/+2
| | | | - fixed gid* bug in rpc_server
* freeing the wrong pointer, sorry my mistake.Simo Sorce2001-12-301-5/+5
|
* util_sid.c - respect a const variabile (addedd strdup)Simo Sorce2001-12-301-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
* fixed a typo in vsyslog()Andrew Tridgell2001-12-211-1/+1
|
* Add an output parameter to message_send_all that says how manyMartin Pool2001-12-211-12/+33
| | | | | | messages were sent, so you know how many replies to expect. Const and doc religion.
* fixed warnings on irix and crash bug on big endian machinesAndrew Tridgell2001-12-204-8/+12
|
* much better auto-init of valid_table[]. This should just about removeAndrew Tridgell2001-12-203-9/+62
| | | | the need for valid.dat
* mark '.' as a valid characterAndrew Tridgell2001-12-201-1/+1
|
* Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool2001-12-201-1/+7
| | | | | It's not as strong as Insure, but it's free, reasonably efficient and works on every platform.
* Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison2001-12-191-0/+14
| | | | | | nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy.
* fixed sid_compare_domain()Andrew Tridgell2001-12-191-3/+29
|
* Use less memory, but scribble all over it, just in case there'sMartin Pool2001-12-191-4/+6
| | | | something wrong with the way it's allocated.
* Doc how to reply to messages.Martin Pool2001-12-191-1/+8
|
* Make TALLOC_CTX and talloc_chunk private to talloc.c.Martin Pool2001-12-192-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().
* DocMartin Pool2001-12-191-8/+12
|
* DocMartin Pool2001-12-191-1/+7
|
* Put PRINTF_ATTRIBUTE on talloc_init_named, talloc_asprintf,Martin Pool2001-12-191-3/+3
| | | | talloc_vasprintf.
* Doc.Martin Pool2001-12-191-0/+6
|
* Start adding some debugging features to talloc based on Samba'sMartin Pool2001-12-191-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.
* Add a very trivial talloc torture program, bin/talloctort. Not builtMartin Pool2001-12-191-0/+56
| | | | by default.
* Fixup JF's weird SID return :-).Jeremy Allison2001-12-181-2/+4
| | | | Jeremy
* A fix to override the location of a user's home directory if it isTim Potter2001-12-181-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?
* tidy up debugJean-François Micouleau2001-12-171-1/+1
| | | | J.F.
* obey "use mmap" on case tablesAndrew Tridgell2001-12-171-11/+13
|
* Added HPUX ACL code.Jeremy Allison2001-12-151-0/+957
| | | | Jeremy.
* Added the group enum code from 2.2Jeremy Allison2001-12-142-13/+96
| | | | Jeremy.
* I see no reasons why we should limit username lenght while checkingSimo Sorce2001-12-141-4/+0
| | | | | | see bug 22130 jeremy, probably this should be fixed also in 2_2
* Explain why snprintf has to be overridden in this way.Martin Pool2001-12-101-1/+8
|
* Typo spotting.Tim Potter2001-12-101-2/+2
|
* make sid_binstring available without HAVE_ADSAndrew Tridgell2001-12-102-0/+40
|
* add smb_xvasprintf() panic wrapper around vasprintfAndrew Tridgell2001-12-091-3/+13
|
* again an intrusive patch:Jean-François Micouleau2001-12-061-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.
* fixed an off by 1 bug in talloc_asprintf()Andrew Tridgell2001-12-051-1/+1
|
* added a boolean to the group mapping functions to specify if we need orJean-François Micouleau2001-12-041-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.
* moved init_account_policy() to the right placeAndrew Tridgell2001-12-041-1/+5
|
* const religion in talloc callsAndrew Tridgell2001-12-041-2/+2
|
* winbindd friendly user_in_list code. Tested on a 65k user domain.Jeremy Allison2001-12-041-7/+15
| | | | Jeremy.
* Moved name_is_local to the correct place. Ooops.Jeremy Allison2001-12-041-0/+10
| | | | Jeremy.
* Tidyup of lib/username. Add name_is_local fn to determine if name isJeremy Allison2001-12-041-171/+173
| | | | | winbindd. Getting ready for efficiency fix in group lookups. Jeremy.
* added a tdb to store the account policy informations.Jean-François Micouleau2001-12-032-0/+220
| | | | | | | | | | | | | | You can change them with either usermanager->policies->account or from a command prompt on NT/W2K: net accounts /domain we can add a rpc accounts to the net command. As the net_rpc.c is still empty, I did not start. How should I add command to it ? Should I take the rpcclient/cmd_xxx functions and call them from there ? alse changed the SAM_UNK_INFO_3 parser, it's an NTTIME. This one is more for jeremy ;-) J.F.
* put sid_to_name behind the winbindd backend interfaceAndrew Tridgell2001-12-031-12/+26
| | | | | | | I spent quite a while trying to work out how to make this call via ldap and failed. I then found that MS servers seem use rpc for sid_to_name, and it works even when in native mode, I ended up just implementing it via rpc