summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch
Commit message (Collapse)AuthorAgeFilesLines
* [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 (This used to be commit 016ef8b36b30846311a5321803298f8e28719244)
* merged the %U changes to 3.0Andrew Tridgell2002-11-201-0/+1
| | | | (This used to be commit 58fa6bfee8ba35cc182c18c980e0a4040ddd7d09)
* Bug fix from appliance - we must initialise the winbindd server stateTim Potter2002-11-181-2/+2
| | | | | before reading smb.conf parameters, not after. (This used to be commit 7bdaa03f2fc7ea6ef0f56f7c73b951c177d64a2e)
* Merge from HEAD:Tim Potter2002-11-181-1/+2
| | | | | | | >must add one to the extra_data size to transfer the 0 string terminator. >This was causing "wbinfo --sequence" to access past the end of malloced >memory. (This used to be commit a3c4f013d679c97dd56779c927884deae0c1027a)
* enable enumeration of domain local groups using LDAP (and in a native mode ↵Gerald Carter2002-11-151-5/+30
| | | | | | domain) (This used to be commit ff4b2411d146b72f5f578b2e78701f125fec8f08)
* 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. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* Last sync with HEADJelmer Vernooij2002-11-091-6/+0
| | | | (This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
* remove accidental debug code.Gerald Carter2002-11-091-4/+0
| | | | (This used to be commit 9bba2199e3127c8a7bcb3143d962a6660c125d88)
* fix for defunct winbindd from APP_HEADGerald Carter2002-11-081-2/+7
| | | | (This used to be commit 856678d69fac9849c689c485fc727fca300eb152)
* Perform my janitorial duties.Tim Potter2002-11-071-6/+0
| | | | (This used to be commit 3810f13682617d043d3cffaafe8a7cb7125c4ecd)
* Keep branches in sync.....Jeremy Allison2002-11-072-15/+26
| | | | | Jeremy. (This used to be commit faf92207e71980aaaad8b5487f5c2d6a60f7ddd1)
* Merge of get_dc_list() api change from HEAD.Tim Potter2002-11-061-54/+17
| | | | (This used to be commit 6ba7847ce2756fde94e530fd0bf2a055f3e27373)
* Merge things that bloody tpot should be doing :-).Jeremy Allison2002-11-061-2/+14
| | | | | Jeremy. (This used to be commit 77d534f7fd9ad74ca6d5e74860b29bb8ad54268f)
* 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. (This used to be commit dcaf21efc5b48ddb0cbe70ce17e45c035ef525ad)
* 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?) (This used to be commit ee0e3d31a1d1bef70810aadcdafdf9678d21ea8f)
* Handle the case where the password used in RPC connections (for restrictTim Potter2002-11-021-3/+8
| | | | | anonymous support) is blank. (This used to be commit b376b7dad003593d26c867ffe8f906084e42160e)
* Sync with HEADJelmer Vernooij2002-10-291-38/+37
| | | | (This used to be commit 658f3e92dd4b291b40ead3ef59eb19daf7f49076)
* Try to catch up on the code I've put into HEAD that should be in 3.0:Andrew Bartlett2002-10-262-19/+44
| | | | | | | | | | - vorlan's hosts allow with DNS names patch - use x_fileno() in debug.c, not the struct directly. - check for server timeout on password change (was reporting success) - better error/status loggin in both the pam_winbind client and winbindd_pam server code. - (pdb_ldap) don't set the ldap version twice - we do it on every bind anyway. (This used to be commit 9fa1863d8e7788eda83911ca2610754486b33069)
* NULL enum_local_groups for ads winbindd (temporary workaround).Gerald Carter2002-10-182-1/+2
| | | | (This used to be commit 5a2f1edb5848dc054cfaa71b0fb3b473ad930b7d)
* Added new error codes. Fix up connection code to retry in the same wayJeremy Allison2002-10-171-4/+18
| | | | | | that app-head does. Jeremy. (This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
* Fix spelling of background_process.Jeremy Allison2002-10-152-6/+6
| | | | | Jeremy. (This used to be commit 2006e36c18bb2d5e44179829c66934efad38b0c7)
* Change to use sys_read/sys_write.Jeremy Allison2002-10-151-10/+4
| | | | | Jeremy. (This used to be commit 7d0dc36df0e3ca451c1ab660aa08e0d021ca89f0)
* merge from APP_HEAD of winbindd's domain local group fixGerald Carter2002-10-086-13/+200
| | | | (This used to be commit 09c6f6329d6ae9327b7ef06de0ea78d24d805456)
* fix typoGerald Carter2002-10-041-1/+1
| | | | (This used to be commit 324da9fdb93cdc5ed240a3291020858765e70acc)
* * merge native_mode flag in winbindd_domain struct from app-headGerald Carter2002-10-043-5/+61
| | | | | * add some files missing from a previous commit (This used to be commit 29159c97371c75327e377f9d13406dad46095568)
* merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter2002-10-041-1/+1
| | | | | from APP_HEAD (This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
* Doh ! Lookup name before checking negative cache (the way Tim originallyJeremy Allison2002-10-011-10/+10
| | | | | | had it...). Jeremy. (This used to be commit 151f0c1c526a04ea14ae054e977c76c8617bb113)
* syncing up with HEAD. Seems to be a lot of differences creeping inGerald Carter2002-10-011-186/+11
| | | | | | (i ignored the new SAMBA stuff, but the rest of this looks like it should have been merged already). (This used to be commit 3de09e5cf1f667e410ee8b9516a956860ce7290f)
* Fix memory leak in getting DC list. Remember to exclude failed lookups.Jeremy Allison2002-09-301-5/+21
| | | | | Jeremy. (This used to be commit 80ee515d7a45965271be0274b0b3815032f27aa1)
* remove files not in HEADGerald Carter2002-09-261-143/+0
| | | | (This used to be commit 9d9f7bbf87bf9a0e003e6da482615fe040d00852)
* merge from HEADGerald Carter2002-09-252-0/+3
| | | | (This used to be commit da44b196a977b6edf7cdf27e344295ed15d198f7)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-2513-130/+183
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2002-09-251-0/+16
|\ | | | | | | used to be commit 9a5541595f78f2cbba16030552c6e780f6fddcf6)
| * Moved -ve cache check to correct place.Jeremy Allison2002-09-241-10/+10
| | | | | | | | | | Jeremy. (This used to be commit 38c67632ade40413c0cc2b91e04105e4065a18b7)
| * Reverted my earlier change. It was incorrect. We must be protected byJeremy Allison2002-09-171-5/+4
| | | | | | | | | | | | pidfile before doing secrets_init(). Jeremy. (This used to be commit f8a0e6ad8b25d405ff2bcb492974d2f0bef81036)
| * 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. (This used to be commit ffb7632d05191342ecfc5f78fbfd7beacfe257ad)
| * 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. (This used to be commit 0d28d769472ea3b98ae4c8757093dfd4499f6dd1)
| * Put unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOSJelmer Vernooij2002-09-151-0/+4
| | | | | | | | | | (Double checked) (This used to be commit dc3c14fc2b661a62a1876149e96af6de07a2c4a6)
| * Merge undone cleanups.Tim Potter2002-09-123-26/+27
| | | | | | | | (This used to be commit d87c1f507d38444e627bce59b6c765d9c9479ac6)
| * Merge of winbind auth cleanups from appliance.Tim Potter2002-09-123-30/+34
| | | | | | | | (This used to be commit 26d486aa740e283f546efc1f2ca40af3452a4f52)
| * Merge of cut&paste fix from appliance.Tim Potter2002-09-121-1/+1
| | | | | | | | (This used to be commit f75d61b03a3377f3a791b56fc307dc7e56e4707a)
| * Spelling fix.Tim Potter2002-09-121-2/+2
| | | | | | | | (This used to be commit d9fa865e5ce8ba0b7539f9a218fc7dd132eb3d38)
| * Put pid number in invalid request size debug.Tim Potter2002-09-111-2/+2
| | | | | | | | (This used to be commit e63afabf98350353fac79ffc2ae2ddf88d61260f)
| * 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 used to be commit 77bde1fa33cc387accda8f38bf654377310f5dbe)
| * 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 (This used to be commit 3ec3861445e7da1347c3b5ba180b33441f59640c)
| * Don't leak file desciptors in this (impossible?) error case.Andrew Bartlett2002-09-071-0/+1
| | | | | | | | (This used to be commit b440418f13b840860be42690bf475c1ee3cb3647)
| * Winbind client-side cleanups.Andrew Bartlett2002-09-076-37/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The global winbind file descriptor can cause havoc in some situations - particulary when it becomes 0, 1 or 2. This patch (based on some very nice work by Hannes Schmidt <mail@schmidt-net.via.t-online.de>) starts to recitfy the problem by ensuring that the close-on-exec flag is set, and that we move above 3 in the file descriptor table. I've also decided that the PAM module can close it's pipe handle on every request - this isn't performance-critical code. The next step is to do the same for nss_winbind. (But things like getent() might get in our way there). This also cleans up some function prototypes, puts them in just one place. Andrew Bartlett (This used to be commit 442eb39657b98f67cd229ed3110b63aae8bf4e3c)
| * Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett2002-09-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to extend the ADS_STATUS system to include NTSTATUS, and to provide a better general infrustructure for his sam_ads work. I've also added some extra failure mode DEBUG()s to parts of the code. NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without the final set of brakets, the test is essentially inverted - causing some intersting 'error = success' messages... Andrew Bartlett (This used to be commit 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
| * Quietened some debugs.Tim Potter2002-09-041-2/+2
| | | | | | | | (This used to be commit ea26b3e8efcb83e16f7eb5add031a8df99046a69)
| * added cli_net_auth_3 client code.Jean-François Micouleau2002-08-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | changed cli_nt_setup_creds() to call cli_net_auth_2 or cli_net_auth_3 based on a switch. pass also the negociation flags all the way. all the places calling cli_nt_setup_creds() are still using cli_net_aut2(), it's just for future use and for rpcclient. in the future we will be able to call auth_2 or auth_3 as we want. J.F. (This used to be commit 4d38caca40f98d0584fefb9d66424a3db5b5789e)