summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
Commit message (Collapse)AuthorAgeFilesLines
...
* removed the start_ndx parameter from group enumerationAndrew Tridgell2001-12-115-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 Tridgell2001-12-116-128/+120
|
* robustness fixes and moved ccache location into winbindd_ads codeAndrew Tridgell2001-12-102-0/+20
|
* Make protoMartin Pool2001-12-101-1/+0
|
* use objectCategory instead of objectClass for faster searchingAndrew Tridgell2001-12-101-3/+3
|
* Merge of memory leak fixes from APPLIANCE_TNG.Tim Potter2001-12-101-0/+7
|
* winbindd backends can now be marked "consistent" or "inconsistent"Andrew Tridgell2001-12-104-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 somewhatAndrew Tridgell2001-12-101-27/+63
| | | | on my system it now uses 132k for 308 users
* added some commentsAndrew Tridgell2001-12-101-0/+2
|
* moved the domain sid lookup and enumeration of trusted domains intoAndrew Tridgell2001-12-105-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 commentsAndrew Tridgell2001-12-102-4/+2
|
* make sid_binstring available without HAVE_ADSAndrew Tridgell2001-12-103-52/+8
|
* explicitly encode NULL strings in the cacheAndrew Tridgell2001-12-101-1/+15
|
* removed a debug lineAndrew Tridgell2001-12-101-2/+0
|
* completely new winbindd cache infrastructureAndrew Tridgell2001-12-099-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 accountcontrolAndrew Tridgell2001-12-091-8/+26
| | | | - better debug code
* fixed type passed to ads_searchAndrew Tridgell2001-12-091-2/+1
|
* added internal sasl/gssapi code. This means we are no longer dependent on ↵Andrew Tridgell2001-12-082-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 Potter2001-12-061-1/+1
|
* fixed a memory leakAndrew Tridgell2001-12-051-1/+4
|
* added a REALLY gross hack into kerberos_kinit_password so thatAndrew Tridgell2001-12-051-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 theAndrew Tridgell2001-12-056-80/+77
| | | | sequence number via ldap when using ads
* don't double free ldap message listsAndrew Tridgell2001-12-051-3/+0
|
* fixed another leak - memory usage now seems to be quite smallAndrew Tridgell2001-12-051-0/+2
|
* added very basic ads connection cacheingAndrew Tridgell2001-12-052-84/+46
|
* plugged most of the memory leaksAndrew Tridgell2001-12-051-74/+120
|
* 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 ...
* 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!
* Fixed parse_domain_user to be bool.Jeremy Allison2001-12-058-80/+57
| | | | Jeremy.
* Correct message on wbinfo fail to open config file.Jeremy Allison2001-12-041-1/+2
| | | | Jeremy.
* added lookup_groups() to the ads backendAndrew Tridgell2001-12-044-8/+69
| | | | winbindd/ADS can now do initgroups()
* moved lookup_usergroups() into the backend structureAndrew Tridgell2001-12-046-72/+83
|
* added a query_user backendAndrew Tridgell2001-12-047-97/+169
| | | | fixed a winbindd crash when the group membership can't be looked up
* changed query_dispinfo to query_user_listAndrew Tridgell2001-12-034-23/+23
|
* put sid_to_name behind the winbindd backend interfaceAndrew Tridgell2001-12-035-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 backendAndrew Tridgell2001-12-0310-111/+186
|
* added a basic ADS backend to winbind. More work needed, but atAndrew Tridgell2001-12-033-12/+233
| | | | least basic operations work
* fixed the nsswitch initgroups codeAndrew Tridgell2001-12-031-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 structureAndrew Tridgell2001-12-035-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 winbinddAndrew Tridgell2001-12-015-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 theTim Potter2001-11-291-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 Potter2001-11-271-223/+229
| | | | M-x tabify
* Added negative caching to group lookups.Jeremy Allison2001-11-272-48/+87
| | | | Jeremy.
* Added negative caching to the user pw lookup by name and by uid.Jeremy Allison2001-11-272-136/+159
| | | | Jeremy.
* nsswitch/winbindd_group.c nsswitch/winbindd_user.c: formatting fixups.Jeremy Allison2001-11-272-28/+29
| | | | | smbd/open.c: Fix "delete on close" for directories. Jeremy.
* don't die with a FPE if there are no DCsAndrew Tridgell2001-11-261-0/+2
|
* Another merge from appliance-head: in [ug]id_to_sid don't call theTim Potter2001-11-261-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 ipzeroTim Potter2001-11-261-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 fromTim Potter2001-11-263-19/+19
| | | | winbindd_lookup_usergroups()
* Fixed some indentation.Tim Potter2001-11-261-2/+2
|