summaryrefslogtreecommitdiff
path: root/source3/nsswitch
AgeCommit message (Collapse)AuthorFilesLines
2002-06-13Latest patch from metze <metze@metzemix.de> to move most of samba acrossAndrew Bartlett3-7/+9
to using SIDs instead of RIDs. The new funciton sid_peek_check_rid() takes an 'expected domain sid' argument. The idea here is to prevent mistakes where the SID is implict, but isn't the same one that we have in the struct. Andrew Bartlett (This used to be commit 04f9a8ff4c7982f6597c0f6748f85d66d4784901)
2002-06-12Ignore winbindd_proto.hTim Potter1-0/+1
(This used to be commit 8e51081333ae0b81a2aa2c609aa7a3ff8bf7f4ec)
2002-06-10Remove "sids.h" as it really wasn't being used anywhere, and was exportingAndrew Bartlett3-2/+1
the (now static) global_sam_sid. The only place it was being used was to return global_sid_NULL to some uid->sid functions - and I'm not convinced this is correct in any case. Andrew Bartlett (This used to be commit e2a76a7fc94dd59c09bba3cda91446fad9f8c0e0)
2002-06-10With this file being automaticly regenerated, and cleaned up with 'make clean'Andrew Bartlett1-142/+0
I think it should be removed from CVS. This matches the other proto files. Andrew Bartlett (This used to be commit 5a8d573f1784b037fd848d85a96dabfebfad63fd)
2002-06-07Merge pidfile fix.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 2c1e78702423ba17993975eb7f158058cc7f229f)
2002-06-05Store cache entry keys that have RID values in decimal to beTim Potter1-6/+6
consistent with other keys. (This used to be commit 1e5bdf974fb1e64b5f5b82e0e24eb97aeb229584)
2002-06-05Fix for Linux kernel bug where signal mask set within a signal handlerJeremy Allison1-1/+15
is being ignored on sighandler exit. This means we have to have a small array of fd's, not a single one. Jeremy. (This used to be commit b06862e2de8d3bafbc10a9807501ef5bf148a61c)
2002-06-04Store the key for a name to sid cache entry in upper case rather thanTim Potter1-4/+12
whatever case the request was made in. This gets rid of duplicate cache entries. Also when doing a sid to name, prime the cache with the name to sid mapping result. We can't do the reverse as we don't know the correct case of the name to store in the cache. (This used to be commit f268b0d5fb811b364578b11a66ca69973717eea8)
2002-06-04Fixed some formatting.Tim Potter1-3/+4
(This used to be commit 25554b46ded273e8f4070f14661b691ccc9ddd17)
2002-06-03fixed some debug messagesAndrew Tridgell1-2/+2
(This used to be commit 8b5ac00ac60135f83145c65425d7b33a751a15b4)
2002-06-02The last element of the definitions of enums can't have a trailingTim Potter1-1/+1
comma. Only initialisers can have this in ANSI C. (This used to be commit b6119f583552425c2be30662e9325270a5dbf096)
2002-05-29merge from 2.2Gerald Carter1-1/+1
(This used to be commit 612584f7d5383db28960e1ae9aaeaa9b8b47486c)
2002-05-28Updates to better report some NTSTATUS errors into PAM, and update to PAMAndrew Bartlett1-0/+9
to correctly allow password changes on expired passwords. (No security implications, as its just a 'will I let you talk to the server' check). pam_winbind checks the password prior to changing it, so that users don't have to make up and type their new password when they havn't even got the old one right. This also helps with stacking etc. Andrew Bartlett (This used to be commit 2b78d493002a3ba13533429c6a14f5c0a92f43d1)
2002-05-24Fixed incorrect comment.Tim Potter1-2/+2
(This used to be commit 2f74fb6e9893d306598ebedd54658f2dd56e988e)
2002-05-24Remove the password length paramater from cli_full_connection - it reallyAndrew Bartlett1-1/+1
didn't make any sense, and its was always just strlen(password) anyway. This fixes it to be strlen(password)+1 Andrew Bartlett (This used to be commit c205b18bd6b9b69200ff3db55f2c641631d4ab40)
2002-05-21debug classizedSimo Sorce3-0/+9
(This used to be commit ae5d24873ad0fb3df970cc9912e18e6a5067ae2d)
2002-05-19A small change to print out the error message only if we could not check theRichard Sharpe1-4/+5
secrets ... (This used to be commit 56eea2623a8a8f2a5a0311cda6d0282d0037a3cc)
2002-05-18As per rsharpe's request, require only a Masters in Astrophysics toAndrew Bartlett2-16/+18
correctly configure winbind. (Next job: Fill in the 'error_msg' field with somthing useful) (This used to be commit 49ee2a25c131641887cbc438a6336652f042cfb0)
2002-05-17A few more trusted domains updates from mimir.Andrew Bartlett1-2/+3
I think we may still need to look at our server enumeration code, but other than that, its much better in the tree than out. Andrew Bartlett (This used to be commit d57a1b4629d12a0374cc6d74dfc6f5d4793fcef8)
2002-05-17Changes to allow head to translate NMB flags ...Richard Sharpe2-8/+8
(This used to be commit c986a19cde0dfa96b512eb24d873203981e68c48)
2002-05-13Don't store domain with username in secrets.tdbTim Potter1-1/+1
(This used to be commit 5c58b4290dbc364f3b2d6593fd0425fd50160993)
2002-05-13Merge of --set-auth-user updates from 2.2Tim Potter1-3/+4
(This used to be commit 0420ae846cc93d4598b16dd21a4b8f61ae270fa2)
2002-05-13Merge of secrets_init() paranoia fix from 2.2Tim Potter1-1/+6
(This used to be commit 1c3c0d7cb64caa6be7ee6d786fe400a1d6944a72)
2002-05-10Fix for Solaris nscd issue pointed out by Mike GerdtsTim Potter1-0/+11
<Michael.Gerdts@alcatel.com>. The struct passwd in Solaris contains some extra fields which must be initialised otherwise nscd crashes. (This used to be commit a67323d07177ebc8e46dc14476efaf7e95944504)
2002-05-09merge freom SAMBA_2_2Gerald Carter1-1/+5
(This used to be commit 833fea47106444a4bcc0547c8bbb7d6d148fa1e7)
2002-05-09HP-UX 10.20 compiles fixes from SAMBA_2_2Gerald Carter2-1/+5
(This used to be commit ddc0f556305fc12fc27ce89e01e00f98feb7d6c8)
2002-05-08Merge in Jerry's called name fix.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 6d957924579d64407bdd94d7e78088fb1ea5c9ce)
2002-04-27Merge Herb's idmap endian fix.Jeremy Allison1-12/+9
Jeremy. (This used to be commit 7ddad4061a1b7ed25e4d6471c7a1f8f97a98ed37)
2002-04-27Another attempt at fixing the endian problem when upgrading from 2.2.3a.Jeremy Allison1-8/+12
Herb please check. Jeremy. (This used to be commit a312b5b2de117797ddfdc79316378aac93034718)
2002-04-26Attempt to fix big-endian upgrade problem (Herb, Jerry, please check).Jeremy Allison1-6/+12
Jeremy. (This used to be commit 54261460b35cc531e033a99596d5596e94bebe24)
2002-04-25Fix from Herb for upgrading from big-endian earlier databases.Jeremy Allison1-4/+4
Jeremy. (This used to be commit e65563fc9eb454988c11c12e3e979dd07e3032a3)
2002-04-24damn! I forgot to commit winbindd_dual.cAndrew Tridgell1-0/+205
(This used to be commit f3764ab2c602d6af9dce15f0d525a9f11c1723f1)
2002-04-24main() needs to be indented to make sure it doesn't generate aAndrew Tridgell1-1/+1
prototype (This used to be commit fdfde9b84cf825d84316344fea5af43a9b8ebcc9)
2002-04-24a new "dual daemon" operating mode for winbinddAndrew Tridgell3-49/+112
this mode improves the response time of winbindd by having a background process update the cache while the forground process responds to queries from cache. You can enable this mode using the -B command line option. It is quite experimental, which is why it is not the default. (This used to be commit c0feff97eefdf5a70e5973e247b395dbdf5d2ef2)
2002-04-19fixed trust relationships in ADS winbindd after breaking them with my BDC ↵Andrew Tridgell1-1/+1
changes ... (This used to be commit 8096032663690eafb6bb8b4f405d6231389d4f80)
2002-04-18fixed the fallback to a BDC for ADS connectionsAndrew Tridgell1-1/+3
(This used to be commit 3e58a1ee83ea0b4347ce24e566445cc6cb67bb3a)
2002-04-14The cli_lsa_lookup_{names,sids} functions were returning uselessTim Potter1-6/+4
information when one or more of the names/sids being queried were not resolvable. We now return a list the same length as the parameters passed instead of an array of just the resolvable names/sids. (This used to be commit 245468dbabb7c849ce423cc3cb586fa913d0adfe)
2002-04-14pull_username() is a local functionAndrew Tridgell1-1/+1
(This used to be commit fbf154bcfb68b90eb43ada9de317c93f43711608)
2002-04-14hanle the case where the win2000 username is completely different fromAndrew Tridgell1-8/+3
the pre-win2000 username (This used to be commit aa139ba507e4b898377fdfc9b27f7febf029d5a4)
2002-04-14modified the ADS backend to accept either the long or short versionsAndrew Tridgell1-11/+44
of long usernames (win2000 usernames can be longer than 20 characters) (This used to be commit 0719e756f60950b9ec04450fda5cc3776752e9a9)
2002-04-13Tidy up winbindd debug. Added Bill Moran's hide unreadable fix.Jeremy Allison1-4/+3
Jeremy. (This used to be commit a9895fcb30cdcb572cd254b0d370d79f95c7214d)
2002-04-11possibly fix the 15000 user problemAndrew Tridgell2-8/+8
I think its caused by a rpc operation failing and us giving invalid data back to the cache layer. Using talloc_zero() should solve this. (This used to be commit dfa990170bb9a665ba48443258e2a87f50baa75c)
2002-04-10Moved definition of winbind username/password secrets into secrets.hTim Potter1-6/+0
(This used to be commit b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5)
2002-04-07Spelling.Tim Potter1-1/+1
(This used to be commit 423985ed569ac9692f3cb5872a15c74f983121b6)
2002-04-04Spelling.Tim Potter1-1/+1
(This used to be commit b43256df5367fd16a0f6dcdf94fdbe8932cb77c9)
2002-04-04Call poptFreeContext() as appropriate.Tim Potter1-23/+30
Clean up exit path code. (This used to be commit 41157400e3f55879fd2f20d22beeed07f1c817f5)
2002-04-04Fix up conversion code from old winbindd versions (some testing needed).Jeremy Allison4-67/+179
Added time based cache size check (#ifdef'ed out by default, just didn't want to lose the code). Jeremy. (This used to be commit b2350ed36c42827c417ea4a3dd0668a4a631a090)
2002-04-04Fixed the handle leak in the connection management code (this code is crapJeremy Allison2-2/+24
and should be rewritten, just not now... :-). Jeremy. (This used to be commit 5de792e7e9c2ad1422ac146caba632baa3f4e5c5)
2002-04-03More winbind for HPUX updates from Don Mccall. I think JRA has alreadyAndrew Bartlett2-4/+27
applied these to 2.2. Andrew Bartlett (This used to be commit 51fe3324dda6b1f9a9a45deda7a76b1fff35399a)
2002-03-29merge winbindd WINS changes from 2.2Herb Lewis6-47/+150
(This used to be commit 205399dc17e464360b0152538329b9e111b0e7f4)