Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed a minor password memory leak | Andrew Tridgell | 2001-12-05 | 1 | -0/+1 |
| | |||||
* | fixed a memory leak | Andrew Tridgell | 2001-12-05 | 1 | -1/+4 |
| | |||||
* | fix link error | Andrew Tridgell | 2001-12-05 | 1 | -0/+2 |
| | |||||
* | handle ldap server down better | Andrew Tridgell | 2001-12-05 | 1 | -1/+3 |
| | |||||
* | added a REALLY gross hack into kerberos_kinit_password so that | Andrew Tridgell | 2001-12-05 | 8 | -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 | ||||
* | auto-init secrets.tdb | Andrew Tridgell | 2001-12-05 | 1 | -0/+5 |
| | |||||
* | added timeouts and retries to ldap operations | Andrew Tridgell | 2001-12-05 | 2 | -9/+60 |
| | |||||
* | moved the sequence number fetch into the backend, and fetch the | Andrew Tridgell | 2001-12-05 | 7 | -81/+78 |
| | | | | sequence number via ldap when using ads | ||||
* | don't double free ldap message lists | Andrew Tridgell | 2001-12-05 | 1 | -3/+0 |
| | |||||
* | paranoia fixes in based ldap routines for potential memory leaks | Andrew Tridgell | 2001-12-05 | 1 | -10/+16 |
| | |||||
* | fixed another leak - memory usage now seems to be quite small | Andrew Tridgell | 2001-12-05 | 1 | -0/+2 |
| | |||||
* | added very basic ads connection cacheing | Andrew Tridgell | 2001-12-05 | 2 | -84/+46 |
| | |||||
* | more memory leak fixes | Andrew Tridgell | 2001-12-05 | 2 | -4/+12 |
| | |||||
* | plugged most of the memory leaks | Andrew Tridgell | 2001-12-05 | 1 | -74/+120 |
| | |||||
* | added the last winbindd/ads backend function | Andrew Tridgell | 2001-12-05 | 1 | -1/+66 |
| | | | | | | winbindd is now fully functional with a native mode w2k server now for the memory leaks and speed ... | ||||
* | finally worked out how to do ldap lookups by binary blobs, so I can | Andrew Tridgell | 2001-12-05 | 7 | -170/+250 |
| | | | | | | | now do searches on SID. This allows me to do a true ldap sid_to_name() function one one function to go! | ||||
* | added functions that convert a ads binary blob to a string (for | Andrew Tridgell | 2001-12-05 | 1 | -0/+39 |
| | | | | searching on SID) | ||||
* | fixed an off by 1 bug in talloc_asprintf() | Andrew Tridgell | 2001-12-05 | 1 | -1/+1 |
| | |||||
* | Fixed parse_domain_user to be bool. | Jeremy Allison | 2001-12-05 | 8 | -80/+57 |
| | | | | Jeremy. | ||||
* | Add a new flag for anonymous connections | Andrew Bartlett | 2001-12-05 | 1 | -0/+3 |
| | |||||
* | Make it easier to construct anonymous connections with a new flag and helper | Andrew Bartlett | 2001-12-05 | 1 | -2/+28 |
| | | | | function. | ||||
* | Split out the name resolution code into a seperate function | Andrew Bartlett | 2001-12-05 | 1 | -27/+38 |
| | |||||
* | Use print_queue_length() by preference if we don't need a queue | Jeremy Allison | 2001-12-05 | 2 | -21/+4 |
| | | | | | as it doesn't do a traversal. Jeremy. | ||||
* | Follow herb's suggestion and don't strdup a string to itself | Andrew Bartlett | 2001-12-05 | 1 | -3/+6 |
| | |||||
* | Follow herb's suggestion and don't strdup a string to itself. | Andrew Bartlett | 2001-12-05 | 1 | -3/+5 |
| | |||||
* | merge from 2.2 branch | Herb Lewis | 2001-12-05 | 2 | -26/+61 |
| | |||||
* | Improved efficiency of enumerating print queue's under a particular | Jeremy Allison | 2001-12-05 | 2 | -18/+20 |
| | | | | | extreme condition... Jeremy. | ||||
* | Add a mechinism to allow for sane porting of rpcclient components into the new | Andrew Bartlett | 2001-12-05 | 1 | -0/+166 |
| | | | | | | | | 'net' command. This also gets us 'net rpc user add'. Andrew Bartlett | ||||
* | Ditto on the const religion. | Andrew Bartlett | 2001-12-05 | 1 | -2/+2 |
| | |||||
* | Const religion for some of the RPC code. | Andrew Bartlett | 2001-12-05 | 2 | -3/+3 |
| | |||||
* | Merge from 2.2 | Herb Lewis | 2001-12-04 | 1 | -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. | ||||
* | move proto.h and build_env.h from $(srcdir)/include to $(builddir)/include | Jean-François Micouleau | 2001-12-04 | 1 | -2/+3 |
| | | | | | | tridge, martin, if you think it's wrong , you can revert it. J.F. | ||||
* | added a boolean to the group mapping functions to specify if we need or | Jean-François Micouleau | 2001-12-04 | 13 | -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. | ||||
* | Correct message on wbinfo fail to open config file. | Jeremy Allison | 2001-12-04 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | Tidup. | Jeremy Allison | 2001-12-04 | 1 | -43/+80 |
| | | | | Jeremy. | ||||
* | Put back changes to set errno, which seem to do no harm. | Martin Pool | 2001-12-04 | 2 | -13/+55 |
| | |||||
* | Fix headers. This I know is correct. | Martin Pool | 2001-12-04 | 1 | -0/+1 |
| | |||||
* | Fix headers. This I know is correct. | Martin Pool | 2001-12-04 | 1 | -0/+1 |
| | |||||
* | added lookup_groups() to the ads backend | Andrew Tridgell | 2001-12-04 | 4 | -8/+69 |
| | | | | winbindd/ADS can now do initgroups() | ||||
* | added ads_search_dn() and ads_pull_sids() | Andrew Tridgell | 2001-12-04 | 1 | -1/+42 |
| | |||||
* | undo | Martin Pool | 2001-12-04 | 7 | -184/+83 |
| | |||||
* | Implement suggestion from tridge to leave the old tdb_open interface | Martin Pool | 2001-12-04 | 5 | -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. | ||||
* | Better error handling: | Martin Pool | 2001-12-04 | 6 | -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. | ||||
* | allow for passwords other than "samba2" | Andrew Tridgell | 2001-12-04 | 1 | -1/+1 |
| | | | | :) | ||||
* | moved lookup_usergroups() into the backend structure | Andrew Tridgell | 2001-12-04 | 6 | -72/+83 |
| | |||||
* | moved init_account_policy() to the right place | Andrew Tridgell | 2001-12-04 | 2 | -3/+5 |
| | |||||
* | added a query_user backend | Andrew Tridgell | 2001-12-04 | 7 | -97/+169 |
| | | | | fixed a winbindd crash when the group membership can't be looked up | ||||
* | typo fix | Andrew Tridgell | 2001-12-04 | 1 | -1/+1 |
| | |||||
* | const religion in talloc calls | Andrew Tridgell | 2001-12-04 | 1 | -2/+2 |
| | |||||
* | smbpasswd is *ugly*! | Andrew Bartlett | 2001-12-04 | 1 | -0/+2 |
| | | | | | | | | However this looks like the best spot to init the account policy db... (fix segfaults on all local smbpasswd ops) Andrew Bartlett |