Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | removed the start_ndx parameter from group enumeration | Andrew Tridgell | 2001-12-11 | 5 | -87/+80 | |
| | | | | | | I tried testing this by lowering the buffer size in cli_samr_enum_dom_groups() but that didn't work - I think this needs more looking into | |||||
* | got rid of start_ndx from query_user_list() | Andrew Tridgell | 2001-12-11 | 6 | -128/+120 | |
| | ||||||
* | robustness fixes and moved ccache location into winbindd_ads code | Andrew Tridgell | 2001-12-10 | 2 | -0/+20 | |
| | ||||||
* | Make proto | Martin Pool | 2001-12-10 | 1 | -1/+0 | |
| | ||||||
* | use objectCategory instead of objectClass for faster searching | Andrew Tridgell | 2001-12-10 | 1 | -3/+3 | |
| | ||||||
* | Merge of memory leak fixes from APPLIANCE_TNG. | Tim Potter | 2001-12-10 | 1 | -0/+7 | |
| | ||||||
* | winbindd backends can now be marked "consistent" or "inconsistent" | Andrew Tridgell | 2001-12-10 | 4 | -33/+93 | |
| | | | | | | | consistent backends (like ADS) always give correct primary group info, so we can play cache tricks to speed things up a lot inconsistent backends (like MSRPC) need to fetch stuff more often | |||||
* | shrank the winbindd_cache.tdb somewhat | Andrew Tridgell | 2001-12-10 | 1 | -27/+63 | |
| | | | | on my system it now uses 132k for 308 users | |||||
* | added some comments | Andrew Tridgell | 2001-12-10 | 1 | -0/+2 | |
| | ||||||
* | moved the domain sid lookup and enumeration of trusted domains into | Andrew Tridgell | 2001-12-10 | 5 | -109/+143 | |
| | | | | | | | | the backends at startup, loop until we get the domain sid for our primary domain, trying every 10 seconds. This makes winbindd handle a room-wide power failure better | |||||
* | added some comments | Andrew Tridgell | 2001-12-10 | 2 | -4/+2 | |
| | ||||||
* | make sid_binstring available without HAVE_ADS | Andrew Tridgell | 2001-12-10 | 3 | -52/+8 | |
| | ||||||
* | explicitly encode NULL strings in the cache | Andrew Tridgell | 2001-12-10 | 1 | -1/+15 | |
| | ||||||
* | removed a debug line | Andrew Tridgell | 2001-12-10 | 1 | -2/+0 | |
| | ||||||
* | completely new winbindd cache infrastructure | Andrew Tridgell | 2001-12-09 | 9 | -756/+591 | |
| | | | | | | | | | | | | | | | | | | | this one looks like just another winbind backend, and has the following properties: - does -ve and +ve cacheing of all queries - can be disabled with -n switch to winbindd - stores all records packed, so even huge domains are not a problem for a complete cache - handles the server being down - uses sequence numbers for all entries This fixes a lot of problems with winbindd. Serving from cache is now *very* fast. | |||||
* | - use accountype not accountcontrol | Andrew Tridgell | 2001-12-09 | 1 | -8/+26 | |
| | | | | - better debug code | |||||
* | fixed type passed to ads_search | Andrew Tridgell | 2001-12-09 | 1 | -2/+1 | |
| | ||||||
* | added internal sasl/gssapi code. This means we are no longer dependent on ↵ | Andrew Tridgell | 2001-12-08 | 2 | -11/+78 | |
| | | | | cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm | |||||
* | Fixed typo in fix for typo in debug. (-: | Tim Potter | 2001-12-06 | 1 | -1/+1 | |
| | ||||||
* | fixed a memory leak | Andrew Tridgell | 2001-12-05 | 1 | -1/+4 | |
| | ||||||
* | added a REALLY gross hack into kerberos_kinit_password so that | Andrew Tridgell | 2001-12-05 | 1 | -1/+1 | |
| | | | | | | 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 | |||||
* | moved the sequence number fetch into the backend, and fetch the | Andrew Tridgell | 2001-12-05 | 6 | -80/+77 | |
| | | | | sequence number via ldap when using ads | |||||
* | don't double free ldap message lists | Andrew Tridgell | 2001-12-05 | 1 | -3/+0 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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! | |||||
* | Fixed parse_domain_user to be bool. | Jeremy Allison | 2001-12-05 | 8 | -80/+57 | |
| | | | | Jeremy. | |||||
* | Correct message on wbinfo fail to open config file. | Jeremy Allison | 2001-12-04 | 1 | -1/+2 | |
| | | | | Jeremy. | |||||
* | added lookup_groups() to the ads backend | Andrew Tridgell | 2001-12-04 | 4 | -8/+69 | |
| | | | | winbindd/ADS can now do initgroups() | |||||
* | moved lookup_usergroups() into the backend structure | Andrew Tridgell | 2001-12-04 | 6 | -72/+83 | |
| | ||||||
* | 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 | |||||
* | changed query_dispinfo to query_user_list | Andrew Tridgell | 2001-12-03 | 4 | -23/+23 | |
| | ||||||
* | put sid_to_name behind the winbindd backend interface | Andrew Tridgell | 2001-12-03 | 5 | -30/+57 | |
| | | | | | | | 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 | |||||
* | added name_to_sid to the backend | Andrew Tridgell | 2001-12-03 | 10 | -111/+186 | |
| | ||||||
* | added a basic ADS backend to winbind. More work needed, but at | Andrew Tridgell | 2001-12-03 | 3 | -12/+233 | |
| | | | | least basic operations work | |||||
* | fixed the nsswitch initgroups code | Andrew Tridgell | 2001-12-03 | 1 | -8/+10 | |
| | | | | | added a nsstest test program that directly tests all the nss interfaces using dlopen() | |||||
* | split winbindd_enum_dom_groups into the new backend structure | Andrew Tridgell | 2001-12-03 | 5 | -94/+142 | |
| | | | | | | also created winbindd_rpc.c which contains the functions that have been converted to the new structure. There will soon be a winbindd_ads.c for the ldap backend | |||||
* | The beginnings of alternative backends for winbindd | Andrew Tridgell | 2001-12-01 | 5 | -66/+94 | |
| | | | | | | 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 | |||||
* | I think the lookup_pdc_name() should be called lookup_dc_name() and the | Tim Potter | 2001-11-29 | 1 | -4/+13 | |
| | | | | | | | | name_status_find() call here should look up a #1c name instead of #1d. This fixes some bugs currently with BDC authentication in winbindd and in smbd as you can't query the #1d name with the ip address of a BDC. Who is Uncle Tom Cobbley anyway? | |||||
* | Some reformatting. | Tim Potter | 2001-11-27 | 1 | -223/+229 | |
| | | | | M-x tabify | |||||
* | Added negative caching to group lookups. | Jeremy Allison | 2001-11-27 | 2 | -48/+87 | |
| | | | | Jeremy. | |||||
* | Added negative caching to the user pw lookup by name and by uid. | Jeremy Allison | 2001-11-27 | 2 | -136/+159 | |
| | | | | Jeremy. | |||||
* | nsswitch/winbindd_group.c nsswitch/winbindd_user.c: formatting fixups. | Jeremy Allison | 2001-11-27 | 2 | -28/+29 | |
| | | | | | smbd/open.c: Fix "delete on close" for directories. Jeremy. | |||||
* | don't die with a FPE if there are no DCs | Andrew Tridgell | 2001-11-26 | 1 | -0/+2 | |
| | ||||||
* | Another merge from appliance-head: in [ug]id_to_sid don't call the | Tim Potter | 2001-11-26 | 1 | -47/+7 | |
| | | | | | winbind function if the id is obviously going to be local. Cleanup of winbind [ug]id parameter handling. | |||||
* | Got medieval on another pointless extern. Removed extern struct ipzero | Tim Potter | 2001-11-26 | 1 | -2/+2 | |
| | | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); | |||||
* | Removed bogus SAFE_FREE() call of talloced return data from | Tim Potter | 2001-11-26 | 3 | -19/+19 | |
| | | | | winbindd_lookup_usergroups() | |||||
* | Fixed some indentation. | Tim Potter | 2001-11-26 | 1 | -2/+2 | |
| |