summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2001-12-04const religion in talloc callsAndrew Tridgell1-2/+2
(This used to be commit ea5d2857217b860da7e53bc6e8ccfe48a2b3620e)
2001-12-04winbindd friendly user_in_list code. Tested on a 65k user domain.Jeremy Allison1-7/+15
Jeremy. (This used to be commit 5215bcca15f2cfbe438ac62cbaf94afae63ce993)
2001-12-04Moved name_is_local to the correct place. Ooops.Jeremy Allison1-0/+10
Jeremy. (This used to be commit 708c0a8d16ca86439e451def5f8d37f600ff15f1)
2001-12-04Tidyup of lib/username. Add name_is_local fn to determine if name isJeremy Allison1-171/+173
winbindd. Getting ready for efficiency fix in group lookups. Jeremy. (This used to be commit 8d41dfd149625e8ac53ab5e90a96e9a2daf9a629)
2001-12-03added a tdb to store the account policy informations.Jean-François Micouleau2-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. (This used to be commit bc28a8eebd9245ce3004ae4b1a359db51f77bf21)
2001-12-03put sid_to_name behind the winbindd backend interfaceAndrew Tridgell1-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 (This used to be commit 789833b44e342c0b5de463ed8f9b5f7474a99f27)
2001-12-03added a basic ADS backend to winbind. More work needed, but atAndrew Tridgell1-1/+17
least basic operations work (This used to be commit 88241cab983b2c7db7d477c6c4654694a7a56cd3)
2001-12-03re-enabled insure backtrace, calling /usr/bin/backtraceAndrew Tridgell1-2/+4
(This used to be commit 21a366afbe9dc5f4878f97bb03525452bbbc4e41)
2001-12-01The beginnings of alternative backends for winbinddAndrew Tridgell1-0/+17
This just splits off the dispinfo call behind a methods structure. I'll split off a few more functions soon, then we will be ready for LDAP replacement methods (This used to be commit 0216b0fca115c903ec31ed21427a83c62077dc95)
2001-11-30Renamed sid field in SEC_ACE to trustee to be more in line with MS'sTim Potter1-4/+4
definitions. (This used to be commit 9712d3f15a47155f558d0034ef71fd06afb11301)
2001-11-30Ensured the %G substitution exactly matches what the man page states.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 518084a70d0b20347411535f1dcf7453981499cf)
2001-11-29fixed typoAndrew Tridgell1-1/+1
(This used to be commit 624cb28271289aa697f23c32f7b5159f6fcbb51d)
2001-11-29fixed toupper_w() and friends on big-endianAndrew Tridgell1-6/+6
this fixes the core dumps on sparc (This used to be commit e6004062a508b1fe6dd7f93d8a933da9916598f8)
2001-11-292nd attempt at fixing lame char tables on big endian machinesAndrew Tridgell1-6/+6
(This used to be commit 80841f5763b3ab03a82ab0a18a9126d89ffed2d5)
2001-11-29fixed lame char tables on big endian machinesAndrew Tridgell1-5/+5
(This used to be commit 568425709d11b2eed86643d18973542d0504d5ca)
2001-11-28fixed some krb5 ifdefsAndrew Tridgell1-2/+2
(This used to be commit 23ef22f11700bbaa5778a9678a990a2b041fcefe)
2001-11-28merge from APPLIANCE_HEADGerald Carter2-2/+41
(This used to be commit c60aa6c06f376684b6d6d9a2c14305ca9f4657ef)
2001-11-28turn off the insure xterm hack for nowAndrew Tridgell1-1/+1
(This used to be commit 8698f7ef3ee9b83370e895607297245b6df74934)
2001-11-27allow printing of NULL pointers with internal snprintfAndrew Tridgell1-0/+1
(This used to be commit 91bc14f430f798c6be3cb21cb5199ec56308d4f2)
2001-11-27reverted incorrect patchAndrew Tridgell1-2/+4
(This used to be commit 96224fe2d40d0ce79d1215bb6f0d17291cace7b9)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter3-9/+21
and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)