summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2001-11-24added "net join" commandAndrew Tridgell1-0/+31
this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
2001-11-23More better now.Martin Pool1-4/+4
(This used to be commit a875b3a6e7a9501a31fe15fb9b04394a95484e77)
2001-11-23Quieten gcc const warning.Martin Pool1-17/+21
doxyfy. (This used to be commit 6ddd8e7bf69d8aee4148cbcf72de55c903d5f0a1)
2001-11-23Don't initialise static pointers to NULL.Tim Potter1-1/+1
(This used to be commit 039ea0a0b94be2d70164616f448c0e29fed071cf)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-12/+26
in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
2001-11-20Merged in JohnR's ping messaging extension.Jeremy Allison1-27/+36
Jeremy. (This used to be commit 694372b2c4d7713fe228114730027175f7b4e9b6)
2001-11-20added strlcpy() and strlcat()Andrew Tridgell1-0/+36
(This used to be commit 233fe71fbbb98fe1563f69565e16da1856360a26)
2001-11-20We don't actually use the horror that was lib/util_array.c :-).Jeremy Allison1-187/+0
More deleted code - hurrah ! Jeremy. (This used to be commit 48a848f748fb0961c67f17401e294ebf18fdcf1b)
2001-11-20Rename xmalloc, xmemdup, xstrdup to smb_$1 to avoid conflicts with theMartin Pool1-14/+15
versions defined by libreadline on SCO (!). (This used to be commit 32480d7aff21ce1c14991e242aaf8a4e14ec6f2a)
2001-11-19Fix typo.Martin Pool1-1/+1
(This used to be commit 2c1e68d4ce45c7862fbc79a83eb36ee5b077251e)
2001-11-19Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the momentMartin Pool1-5/+10
this is only to get the cast right, but it might help with other parts of the API that changed later. (This used to be commit b792c9317ab62fe407de34ed811cc883a7652cc4)
2001-11-19Added comment about why not to cast the assignment ofTim Potter1-3/+6
rl_attempted_completion_function to rl_completion_function_t. (This used to be commit dfaafcd6221412613f9e4eccdaaa2e84253def81)
2001-11-19LIBDIR and LOCKDIR are dynamically configured too.Martin Pool1-4/+9
(This used to be commit 868999ad3c82ad72f11d5b3208b0e42b1ed95096)
2001-11-19Oops, Tim says rl_completion_func_t doesn't exist in all versions ofMartin Pool1-7/+5
readline. (This used to be commit c4b44cfc3f15f9e85a36981867e534792ccb724e)
2001-11-19Quieten compiler warnings about a callback function prototype that hasMartin Pool1-1/+7
changed in recent versions of Readline. (This used to be commit d0a0d27caa04029a814d942e35fb5382bb9a492c)
2001-11-18fixed some bugs.Simo Sorce2-18/+19
(This used to be commit 37edaeddce09193450b18b1b85aa41960cb39741)
2001-11-16Fixed detection of RedHat headers. Removed another file !Jeremy Allison1-212/+0
Jeremy. (This used to be commit d70674312d8b98367ccdbbc12fe880f9f539d258)
2001-11-16I *love* removing code :-). Removed 4 files that weren't being used.Jeremy Allison2-112/+1
All this stuff was being pulled in due to *one* unneeded call to fetch a domain SID which smbpasswd already puts in the database... Jeremy. (This used to be commit 6bf2505cce7db770fd4db5b19999a78588e96b58)
2001-11-15Tidyups in the merge process.Jeremy Allison1-32/+36
Jeremy. (This used to be commit a7b45bfb713adaaad0dca3dc13139ee5a909a383)
2001-11-15FALSE -> FalseTim Potter1-1/+1
(This used to be commit 7c6529c081abe051055be5fbf3016fbea2474752)
2001-11-14Removed unused variable.Tim Potter1-1/+0
(This used to be commit c8c7da237dc17d9b785bc15b9b569caeeb6d283e)