summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* allow a MAX_DEBUG_LEVEL setting in local.h (or the Makefile)Andrew Tridgell2001-12-062-6/+21
| | | | | | | This allows embedded systems to compile out the higher debug levels. It should gain speed as well as reducing the code size. Setting it to 1 saves about 300k of code on my system. (This used to be commit f34cac3b312f273a2363919655ddd1e25cb91305)
* added a propoer kerberos_kinit_password callAndrew Tridgell2001-12-062-12/+66
| | | | | | | contribution from remus@snapserver.com thanks! (This used to be commit 3ace8f1fcc27492d26f5ad0c3cdfc63235ca0609)
* Fixed typo in fix for typo in debug. (-:Tim Potter2001-12-061-1/+1
| | | | (This used to be commit 7c64e5f1481e832767ae07e63d7d9d116131b331)
* fix up packaging stuffHerb Lewis2001-12-052-6/+16
| | | | (This used to be commit 8f3093fbd092c0ddf38b49c0735308f4f5ba4492)
* merge from 2.2Herb Lewis2001-12-053-17/+17
| | | | | don't set WINBIND variables unless configure was run --with-winbind (This used to be commit 83ec4c0f4dbfa43c893f18af1c6bb58c55043c9b)
* dont add -I./popt to CFLAGS it really belongs in FLAGS1 with other includeHerb Lewis2001-12-053-651/+652
| | | | | paths. This make it hard to use a script that overrides CFLAGS options. (This used to be commit 646b5ae752f7cd00e057d0d7cc6001161125fd3f)
* Added fetch_domain_sid. Not used in current code, but a nice exampleJeremy Allison2001-12-051-0/+96
| | | | | | of how to use this interface. Jeremy. (This used to be commit 291985123515f99bb3fd86605d5b8a08301070a2)
* changed the DEBUG level of tdb_pack and tdb_unpack. Instead of 8, it's nowJean-François Micouleau2001-12-051-2/+2
| | | | | | | | | | | 18. when you're looking at a level 10, and it's all clutered with tdb_pack/unpack, it's getting .... And anyway most of our code using tdb_pack/unpack have DEBUG around the call if there is a problem. J.F. (This used to be commit 7e20fad5ed00be4594bfc45603db89d600f46c55)
* added samr_queryuseralias(). instead of returning BUILTIN_ALIAS_RID_USERS,Jean-François Micouleau2001-12-052-16/+228
| | | | | | | | | now return the alias correctly. time to look at the netlogon case. J.F. (This used to be commit 72ee1791084d09e73d8057e37ced4a79cecffb35)
* preparing for release of 3.0alpha1Samba Release Account2001-12-051-1/+12
| | | | (This used to be commit b56e8e72d6ae5602be0e3ec36643263f64b6178a)
* fixed a return valueAndrew Tridgell2001-12-051-0/+1
| | | | (This used to be commit 56bdb152d8617c0a36c0bc25c677a2d98bcb1328)
* OK. Smbpasswd -j is DEAD.Andrew Bartlett2001-12-0514-400/+383
| | | | | | | | | | | | | | | | | | | | This moves the rest of the functionality into the 'net rpc join' code. Futhermore, this moves that entire area over to the libsmb codebase, rather than the crufty old rpc_client stuff. I have also fixed up the smbpasswd -a -m bug in the process. We also have a new 'net rpc changetrustpw' that can be called from a cron-job to regularly change the trust account password, for sites that run winbind but not smbd. With a little more work, we can kill rpc_client from smbd entirly! (It is mostly the domain auth stuff - which I can rework - and the spoolss stuff that sombody else will need to look over). Andrew Bartlett (This used to be commit 575897e879fc175ba702adf245384033342c903d)
* Add a couple of extra debugs for the secrets.tdb stuffAndrew Bartlett2001-12-051-2/+8
| | | | (This used to be commit c76c1f6904510d6ecca3453f91433420f22b7bd6)
* Ensure we fill in the %U for NTLMSSP connectionsAndrew Bartlett2001-12-051-1/+3
| | | | (This used to be commit d15ea4fa8e23469f104405c197206e2779461323)
* fixed a minor password memory leakAndrew Tridgell2001-12-051-0/+1
| | | | (This used to be commit 5985d7e6eec1eb80d8d7470ee2ceda8981c7410c)
* fixed a memory leakAndrew Tridgell2001-12-051-1/+4
| | | | (This used to be commit 45c328800e42ba01c8d6113c0691546804137677)
* fix link errorAndrew Tridgell2001-12-051-0/+2
| | | | (This used to be commit 58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5)
* handle ldap server down betterAndrew Tridgell2001-12-051-1/+3
| | | | (This used to be commit 0d85815c992c6ca77ba64dfb2d7538be4684654d)
* added a REALLY gross hack into kerberos_kinit_password so thatAndrew Tridgell2001-12-058-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)
* auto-init secrets.tdbAndrew Tridgell2001-12-051-0/+5
| | | | (This used to be commit aff916e543f1c70aa5fe0fc07dda21e772625097)
* added timeouts and retries to ldap operationsAndrew Tridgell2001-12-052-9/+60
| | | | (This used to be commit 4f004eb54d66b6f811cb2f4791da6c70d77f87c2)
* moved the sequence number fetch into the backend, and fetch theAndrew Tridgell2001-12-057-81/+78
| | | | | sequence number via ldap when using ads (This used to be commit 9a084f0bb91883224ad44e2b76417d10c15cce42)
* don't double free ldap message listsAndrew Tridgell2001-12-051-3/+0
| | | | (This used to be commit f64612b89bae1148d73555cac00f6019a01f9304)
* paranoia fixes in based ldap routines for potential memory leaksAndrew Tridgell2001-12-051-10/+16
| | | | (This used to be commit 13b933104e1389608e4831ca47dd8106ea0c60a5)
* fixed another leak - memory usage now seems to be quite smallAndrew Tridgell2001-12-051-0/+2
| | | | (This used to be commit a45e3968590a021c1b464db5265a09ba48cb5797)
* added very basic ads connection cacheingAndrew Tridgell2001-12-052-84/+46
| | | | (This used to be commit 7de670cd15c1a87dd01ab22d74a7e6cbf5ae6673)
* more memory leak fixesAndrew Tridgell2001-12-052-4/+12
| | | | (This used to be commit eb6f0e91ddd2a97a907a569bc60beca99b494884)
* plugged most of the memory leaksAndrew Tridgell2001-12-051-74/+120
| | | | (This used to be commit 60b5d4432abd905ee61fe381487ed87139134685)
* added the last winbindd/ads backend functionAndrew Tridgell2001-12-051-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)
* finally worked out how to do ldap lookups by binary blobs, so I canAndrew Tridgell2001-12-057-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)
* added functions that convert a ads binary blob to a string (forAndrew Tridgell2001-12-051-0/+39
| | | | | searching on SID) (This used to be commit 31d6d049b30e364e062f108d6f9221bbdc2ebec5)
* fixed an off by 1 bug in talloc_asprintf()Andrew Tridgell2001-12-051-1/+1
| | | | (This used to be commit 2b2155beaef17a13c0e867c3dcfe8c323e84a9a3)
* Fixed parse_domain_user to be bool.Jeremy Allison2001-12-058-80/+57
| | | | | Jeremy. (This used to be commit 9563de2ef8c1197f4941671d2fdade7d933c32d0)
* Add a new flag for anonymous connectionsAndrew Bartlett2001-12-051-0/+3
| | | | (This used to be commit 5a96391c75fd13b2fc385aa571244b82bc4736d0)
* Make it easier to construct anonymous connections with a new flag and helperAndrew Bartlett2001-12-051-2/+28
| | | | | function. (This used to be commit 61b0f5f4f9788784b0806a9a15cbc6bf1005aa68)
* Split out the name resolution code into a seperate functionAndrew Bartlett2001-12-051-27/+38
| | | | (This used to be commit b2443f6fca5840584926b7481acf1975507c445e)
* Use print_queue_length() by preference if we don't need a queueJeremy Allison2001-12-052-21/+4
| | | | | | as it doesn't do a traversal. Jeremy. (This used to be commit 4bf4ee3f14a690592fa2e1b800fc0344522e6b30)
* Follow herb's suggestion and don't strdup a string to itselfAndrew Bartlett2001-12-051-3/+6
| | | | (This used to be commit d00f461f43558c8ef942df305bcc2c89060b4800)
* Follow herb's suggestion and don't strdup a string to itself.Andrew Bartlett2001-12-051-3/+5
| | | | (This used to be commit ea76a687fc2614912fd6b0458622495f9920749e)
* merge from 2.2 branchHerb Lewis2001-12-052-26/+61
| | | | (This used to be commit 692c23fe86391204161adeb6cf9b8061d0121175)
* Improved efficiency of enumerating print queue's under a particularJeremy Allison2001-12-052-18/+20
| | | | | | extreme condition... Jeremy. (This used to be commit 425bb0f40526b4eb17a3033892ca907b1d5293a4)
* Add a mechinism to allow for sane porting of rpcclient components into the newAndrew Bartlett2001-12-051-0/+166
| | | | | | | | | 'net' command. This also gets us 'net rpc user add'. Andrew Bartlett (This used to be commit 1197689bc56f4b2ca6ffea3b2601b8f6f9f52207)
* Ditto on the const religion.Andrew Bartlett2001-12-051-2/+2
| | | | (This used to be commit e1b940c91b748230664544fd9191123247dd1f24)
* Const religion for some of the RPC code.Andrew Bartlett2001-12-052-3/+3
| | | | (This used to be commit 64bf8f81c49744fc0653db655e457981f3bcbac2)
* Merge from 2.2Herb Lewis2001-12-041-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)
* move proto.h and build_env.h from $(srcdir)/include to $(builddir)/includeJean-François Micouleau2001-12-041-2/+3
| | | | | | | tridge, martin, if you think it's wrong , you can revert it. J.F. (This used to be commit f057d62aae620b042903dae61a19628cb57aba39)
* added a boolean to the group mapping functions to specify if we need orJean-François Micouleau2001-12-0413-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)
* Correct message on wbinfo fail to open config file.Jeremy Allison2001-12-041-1/+2
| | | | | Jeremy. (This used to be commit 9b7182a9da24b53f3501f6562dc66bed67fb9133)
* Tidup.Jeremy Allison2001-12-041-43/+80
| | | | | Jeremy. (This used to be commit 837f2b961b1e7dcd6998f36d58d2059290e89e18)
* Put back changes to set errno, which seem to do no harm.Martin Pool2001-12-042-13/+55
| | | | (This used to be commit 3dbb5dfcfb29671f136d1ed6c865362eaf027446)