summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
Commit message (Collapse)AuthorAgeFilesLines
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-207-18/+38
| | | | | named. Ensure we can query them. Jeremy.
* merge of get_dc_name()-like code from APP_HEAD; better support password ↵Gerald Carter2002-12-121-49/+1
| | | | server = DC1 *
* Remove extra headers, and ensure that we correctly bail out of winbindd if weAndrew Bartlett2002-12-012-2/+7
| | | | | | can't create the socket. Andrew Bartlett
* After consultation with tpot, remove the 'winbind_domain' environmentAndrew Bartlett2002-11-265-47/+3
| | | | | | | | | | variable hack, the feild on the pipe, and the server-side. It only controlled some enum operations in any case. This is to try and have less 'magic' environment variables. Andrew Bartlett
* Having waited for *way* too long, this is mimir's namecache and trusted domainAndrew Bartlett2002-11-262-6/+12
| | | | | | | | | | | | cache code. This uses gencache, mimir's new caching code that stores at text-based cache of various data. Mimir has done a *lot* of work on this patch, and it is finally time to get it in CVS. Andrew Bartlett
* [merge from APP_HEAD]Gerald Carter2002-11-231-3/+4
| | | | | | | | | | | | | 90% fix for CR 1076. The password server parameter will no take things like password server = DC1 * which means to contact DC1 first and the go to auto lookup if it fails. jerry
* Bug fix from appliance - we must initialise the winbindd server stateTim Potter2002-11-181-2/+2
| | | | before reading smb.conf parameters, not after.
* enable enumeration of domain local groups using LDAP (and in a native mode ↵Gerald Carter2002-11-151-5/+30
| | | | domain)
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-126-52/+31
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* remove accidental debug code..Gerald Carter2002-11-091-4/+0
|
* defunct winbindd fix from APP_HEADGerald Carter2002-11-081-2/+7
|
* Compleatly remove support for logfile truncation. All logs are opened forAndrew Bartlett2002-11-081-6/+0
| | | | | | | | append writes. (blessed by jra) Andrew Bartlett
* Remove lp_security() checks for winbindd as this is how we act as a PDC.Tim Potter2002-11-071-6/+0
| | | | Keep the rest of the cleanups though.
* Call winbindd_param_init() earlier on in the piece so we don't get stuck inTim Potter2002-11-072-15/+22
| | | | | | the holding pattern when started up when security = user or security = ads. Clean up return value of winbindd_common_init() - what a mess!
* Merge of get_dc_list() api change. This was slightly more intrusiveTim Potter2002-11-061-4/+16
| | | | than the version in APPLIANCE so watch out for boogs.
* Merge of lp_talloc_free() call in init_domain_list() from APPLIANCE.Tim Potter2002-11-051-0/+7
|
* Fix --set-auth-user command to delete entries from the secrets file when anTim Potter2002-11-021-12/+68
| | | | | | | | empty username/password is passed on the command line. Previously we were leaving the domain name set and the password set to a NULL character. Added a --get-auth-user command to display the restrict anonymous username information. Can only be run successfully by root.
* Some winbindd cleanups I made trying to fix cr1020:Tim Potter2002-11-022-38/+108
| | | | | | | | | | | | - move winbindd client handling into accessor functions in winbindd_util.c - move some winbindd socket routines into accessor functions in winbindd_utils.c (The deadlock situation mentioned in the appliance branch is probably not applicable since we don't clear the connection cache on SIGHUP. Perhaps we should?)
* Handle the case where the password used in RPC connections (for restrictTim Potter2002-11-021-3/+8
| | | | anonymous support) is blank.
* Updates to winbind's PAM client and server - make the debug logsAndrew Bartlett2002-10-262-19/+44
| | | | | | work a bit better for password changing. Andrew Bartlett
* much simpler code to choose a DC to contact in winbindd. We now alwaysAndrew Tridgell2002-10-231-55/+6
| | | | | choose the server that has the most bits in common in its IP with one of our interfaces.
* if trusted domains are disabled then we should not try to connect toAndrew Tridgell2002-10-231-1/+6
| | | | them in winbindd
* must add one to the extra_data size to transfer the 0 string terminator.Herb Lewis2002-10-181-1/+2
| | | | | This was causing "wbinfo --sequence" to access past the end of malloced memory.
* NULL enum_local_groups for ads winbindd (temporary workaround).Gerald Carter2002-10-182-1/+2
|
* Added new error codes. Fix up connection code to retry in the same wayJeremy Allison2002-10-171-4/+18
| | | | | that app-head does. Jeremy.
* - we need to rescan the trusted domain list regularly to cope withAndrew Tridgell2002-10-152-1/+5
| | | | | | transitive trusts, and trusts that are added while winbindd is running - removed an unnecessary call to time()
* Fix spelling of background_process.Jeremy Allison2002-10-152-6/+6
| | | | Jeremy.
* Change to use sys_read/sys_write.Jeremy Allison2002-10-151-10/+4
| | | | Jeremy.
* merge from APP_HEADGerald Carter2002-10-086-13/+200
| | | | | | | | | * s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2
* Don't use usage function, but use popt for usage and help infoJelmer Vernooij2002-10-051-38/+37
|
* fix typoGerald Carter2002-10-041-1/+1
|
* merge native_mode flag in winbindd_domain struct from app-headGerald Carter2002-10-043-5/+61
|
* merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter2002-10-041-1/+1
| | | | from APP_HEAD
* Doh ! Lookup name before checking negative cache (the way Tim originallyJeremy Allison2002-10-011-10/+10
| | | | | had it...). Jeremy.
* Fix memory leak in getting DC list. Remember to exclude failed lookups.Jeremy Allison2002-09-301-5/+21
| | | | Jeremy.
* Move a number of ADS related functions out into utility libs, so that thingsAndrew Bartlett2002-09-271-186/+11
| | | | | | | | like metze's sam_ads can also use them. Also add error checking etc to a few more functions. Andrew Bartlett
* fix getpass replacement check (i thought I fixed this a few daysGerald Carter2002-09-251-0/+2
| | | | ago....)
* Moved -ve cache check to correct place.Jeremy Allison2002-09-241-10/+10
| | | | Jeremy.
* Reverted my earlier change. It was incorrect. We must be protected byJeremy Allison2002-09-171-5/+4
| | | | | pidfile before doing secrets_init(). Jeremy.
* Only create the pidfile once we're ready to receive requests.Jeremy Allison2002-09-171-3/+5
| | | | | This allows external programs to correctly synchronise with us. Jeremy.
* Add clock skew handling to our kerberos code. This allows us to cope withAndrew Tridgell2002-09-171-1/+1
| | | | the DC being out of sync with the local machine.
* Put unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOSJelmer Vernooij2002-09-151-0/+4
| | | | (Double checked)
* Merge undone cleanups.Tim Potter2002-09-123-26/+27
|
* Merge of winbind auth cleanups from appliance.Tim Potter2002-09-123-30/+34
|
* Merge of cut&paste fix from appliance.Tim Potter2002-09-121-1/+1
|
* Spelling fix.Tim Potter2002-09-121-2/+2
|
* Put pid number in invalid request size debug.Tim Potter2002-09-111-2/+2
|
* Bugfix merge:Tim Potter2002-09-111-0/+1
| | | | | | >Initialise user_rid value in WINBIND_USERINFO structure returned by >the rpc version of query_user(). This fixes a caching bug found by >Gavrie Philipson from disksite.
* This is the 'main' inclue for for winbind clients - all clients should includeAndrew Bartlett2002-09-071-0/+16
| | | | | | | only this file, and not any others. It includes the function prototypes. (Forgot to commit with earlier patch) Andrew Bartlett
* Don't leak file desciptors in this (impossible?) error case.Andrew Bartlett2002-09-071-0/+1
|