summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-05fix link errorAndrew Tridgell1-0/+2
(This used to be commit 58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5)
2001-12-05handle ldap server down betterAndrew Tridgell1-1/+3
(This used to be commit 0d85815c992c6ca77ba64dfb2d7538be4684654d)
2001-12-05added a REALLY gross hack into kerberos_kinit_password so thatAndrew Tridgell8-5/+34
winbindd can do a kinit this will be removed once we have code that gets a tgt and puts it in a place where cyrus-sasl can see it (This used to be commit 7d94f1b7365215a020d3678d03d820a7d086174f)
2001-12-05auto-init secrets.tdbAndrew Tridgell1-0/+5
(This used to be commit aff916e543f1c70aa5fe0fc07dda21e772625097)
2001-12-05added timeouts and retries to ldap operationsAndrew Tridgell2-9/+60
(This used to be commit 4f004eb54d66b6f811cb2f4791da6c70d77f87c2)
2001-12-05moved the sequence number fetch into the backend, and fetch theAndrew Tridgell7-81/+78
sequence number via ldap when using ads (This used to be commit 9a084f0bb91883224ad44e2b76417d10c15cce42)
2001-12-05don't double free ldap message listsAndrew Tridgell1-3/+0
(This used to be commit f64612b89bae1148d73555cac00f6019a01f9304)
2001-12-05paranoia fixes in based ldap routines for potential memory leaksAndrew Tridgell1-10/+16
(This used to be commit 13b933104e1389608e4831ca47dd8106ea0c60a5)
2001-12-05fixed another leak - memory usage now seems to be quite smallAndrew Tridgell1-0/+2
(This used to be commit a45e3968590a021c1b464db5265a09ba48cb5797)
2001-12-05added very basic ads connection cacheingAndrew Tridgell2-84/+46
(This used to be commit 7de670cd15c1a87dd01ab22d74a7e6cbf5ae6673)
2001-12-05more memory leak fixesAndrew Tridgell2-4/+12
(This used to be commit eb6f0e91ddd2a97a907a569bc60beca99b494884)
2001-12-05plugged most of the memory leaksAndrew Tridgell1-74/+120
(This used to be commit 60b5d4432abd905ee61fe381487ed87139134685)
2001-12-05added the last winbindd/ads backend functionAndrew Tridgell1-1/+66
winbindd is now fully functional with a native mode w2k server now for the memory leaks and speed ... (This used to be commit fad564c177049eb47e5bf48c98b62281c6348ffc)
2001-12-05finally worked out how to do ldap lookups by binary blobs, so I canAndrew Tridgell7-170/+250
now do searches on SID. This allows me to do a true ldap sid_to_name() function one one function to go! (This used to be commit 7d44aa3915bc88fd2b2f8454f190b11677cbb848)
2001-12-05added functions that convert a ads binary blob to a string (forAndrew Tridgell1-0/+39
searching on SID) (This used to be commit 31d6d049b30e364e062f108d6f9221bbdc2ebec5)
2001-12-05fixed an off by 1 bug in talloc_asprintf()Andrew Tridgell1-1/+1
(This used to be commit 2b2155beaef17a13c0e867c3dcfe8c323e84a9a3)
2001-12-05Fixed parse_domain_user to be bool.Jeremy Allison8-80/+57
Jeremy. (This used to be commit 9563de2ef8c1197f4941671d2fdade7d933c32d0)
2001-12-05Add a new flag for anonymous connectionsAndrew Bartlett1-0/+3
(This used to be commit 5a96391c75fd13b2fc385aa571244b82bc4736d0)
2001-12-05Make it easier to construct anonymous connections with a new flag and helperAndrew Bartlett1-2/+28
function. (This used to be commit 61b0f5f4f9788784b0806a9a15cbc6bf1005aa68)
2001-12-05Split out the name resolution code into a seperate functionAndrew Bartlett1-27/+38
(This used to be commit b2443f6fca5840584926b7481acf1975507c445e)
2001-12-05Use print_queue_length() by preference if we don't need a queueJeremy Allison2-21/+4
as it doesn't do a traversal. Jeremy. (This used to be commit 4bf4ee3f14a690592fa2e1b800fc0344522e6b30)
2001-12-05Follow herb's suggestion and don't strdup a string to itselfAndrew Bartlett1-3/+6
(This used to be commit d00f461f43558c8ef942df305bcc2c89060b4800)
2001-12-05Follow herb's suggestion and don't strdup a string to itself.Andrew Bartlett1-3/+5
(This used to be commit ea76a687fc2614912fd6b0458622495f9920749e)
2001-12-05merge from 2.2 branchHerb Lewis2-26/+61
(This used to be commit 692c23fe86391204161adeb6cf9b8061d0121175)
2001-12-05Improved efficiency of enumerating print queue's under a particularJeremy Allison2-18/+20
extreme condition... Jeremy. (This used to be commit 425bb0f40526b4eb17a3033892ca907b1d5293a4)
2001-12-05Add a mechinism to allow for sane porting of rpcclient components into the newAndrew Bartlett1-0/+166
'net' command. This also gets us 'net rpc user add'. Andrew Bartlett (This used to be commit 1197689bc56f4b2ca6ffea3b2601b8f6f9f52207)
2001-12-05Ditto on the const religion.Andrew Bartlett1-2/+2
(This used to be commit e1b940c91b748230664544fd9191123247dd1f24)
2001-12-05Const religion for some of the RPC code.Andrew Bartlett2-3/+3
(This used to be commit 64bf8f81c49744fc0653db655e457981f3bcbac2)
2001-12-04Merge from 2.2Herb Lewis1-0/+6
If you do not have one more expect than issue when talking to the passwd program you will not send the last issue. (This used to be commit 8aafec95cba0e8a002d20c4c0055a01690879f7a)
2001-12-04move proto.h and build_env.h from $(srcdir)/include to $(builddir)/includeJean-François Micouleau1-2/+3
tridge, martin, if you think it's wrong , you can revert it. J.F. (This used to be commit f057d62aae620b042903dae61a19628cb57aba39)
2001-12-04added a boolean to the group mapping functions to specify if we need orJean-François Micouleau13-159/+278
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-04Correct message on wbinfo fail to open config file.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 9b7182a9da24b53f3501f6562dc66bed67fb9133)
2001-12-04Tidup.Jeremy Allison1-43/+80
Jeremy. (This used to be commit 837f2b961b1e7dcd6998f36d58d2059290e89e18)
2001-12-04Put back changes to set errno, which seem to do no harm.Martin Pool2-13/+55
(This used to be commit 3dbb5dfcfb29671f136d1ed6c865362eaf027446)
2001-12-04Fix headers. This I know is correct.Martin Pool1-0/+1
(This used to be commit 58cfea3c2aba5a8309e4084ec8df0cfcb48a4075)
2001-12-04Fix headers. This I know is correct.Martin Pool1-0/+1
(This used to be commit 0c22a10d738041b3dc0c92d8ea060a86de769563)
2001-12-04added lookup_groups() to the ads backendAndrew Tridgell4-8/+69
winbindd/ADS can now do initgroups() (This used to be commit 43edeaca9f3a42699131939ed0d917111f57b678)
2001-12-04added ads_search_dn() and ads_pull_sids()Andrew Tridgell1-1/+42
(This used to be commit bc83d55f4400cdcdfed44622954f11580b6d2f87)
2001-12-04undoMartin Pool7-184/+83
(This used to be commit fc176f15f27686049453552219b56b9de33ceffa)
2001-12-04Implement suggestion from tridge to leave the old tdb_open interfaceMartin Pool5-13/+22
as it was, and add tdb_open_ex() which takes a log callback. I guess this makes more sense since it's a public interface. (This used to be commit 391a65395e6cdc0300f81eb1072a3366cacd1203)
2001-12-04Better error handling:Martin Pool6-77/+139
- tdb_open api changed so that you now pass an error handling callback when opening the file, so that errors detected during opening have somewhere to go. (All calls from the body of Samba to this function go through a wrapper in tdbutil, which has been updated.) - Clean up logic for deciding how to open tdb. Emit log messages if something goes wrong (e.g. bad magic.) - tdbtool now logs errors to stderr. (This used to be commit 0aa800618eab1043d802c04fb1d125cd07936769)
2001-12-04allow for passwords other than "samba2"Andrew Tridgell1-1/+1
:) (This used to be commit cee58f10974b55ead68362166d12285568feeb23)
2001-12-04moved lookup_usergroups() into the backend structureAndrew Tridgell6-72/+83
(This used to be commit 689f45d2079d06b09947b2cdd314867df98c938d)
2001-12-04moved init_account_policy() to the right placeAndrew Tridgell2-3/+5
(This used to be commit e908f304a26b9f1100e301610151a9334bf117b0)
2001-12-04added a query_user backendAndrew Tridgell7-97/+169
fixed a winbindd crash when the group membership can't be looked up (This used to be commit 088f4cc5be4a1a38781e4d019146d53993ed8c6f)
2001-12-04typo fixAndrew Tridgell1-1/+1
(This used to be commit 660238adcad8abb3f9a1e67eb81419618db77f3d)
2001-12-04const religion in talloc callsAndrew Tridgell1-2/+2
(This used to be commit ea5d2857217b860da7e53bc6e8ccfe48a2b3620e)
2001-12-04smbpasswd is *ugly*!Andrew Bartlett1-0/+2
However this looks like the best spot to init the account policy db... (fix segfaults on all local smbpasswd ops) Andrew Bartlett (This used to be commit 3f3bb62ba63373c3cdf2495f97c7461ed5b373ef)
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-04Add 'net rpc join' to match the ADS equiv.Andrew Bartlett6-308/+327
This kills off the offending code in smbpasswd -j -Uab%c In the process we have changed from unsing compelatly random passwords to random, 15 char ascii strings. While this does produce a decrese in entropy, it is still vastly greater than we need, considering the application. In the meantime this allows us to actually *type* the machine account password duruign debugging. This code also adds a 'check' step to the join, confirming that the stored password does indeed do somthing of value :-) Andrew Bartlett (This used to be commit c0b7ee6ee547dc7ff798eaf8cb63fbe344073029)