summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch
Commit message (Collapse)AuthorAgeFilesLines
...
* merge of the netsamlogon caching code from APPLIANCE_HEADGerald Carter2003-06-218-143/+379
| | | | | | | | | | | | | | | | This replaces the universal group caching code (was originally based on that code). Only applies to the the RPC code. One comment: domain local groups don't show up in 'getent group' that's easy to fix. Code has been tested against 2k domain but doesn't change anything with respect to NT4 domains. netsamlogon caching works pretty much like the universal group caching code did but has had much more testing and puts winbind mostly back in sync between branches. (This used to be commit aac01dc7bc95c20ee21c93f3581e2375d9a894e1)
* Remove the -A option of wbinfo, leaving only the long version,Jim McDonough2003-06-181-1/+1
| | | | | | | | | | --set-auth-user. There was enough confusion, as in bug #158, when a user accidentally typed -A instead of -a, and would get themselves stuck with a non-working winbind. I've made the changes to docs/docbook/manpages/wbinfo.xml, but I'm not sure what to do beyond that. Is checking that in enough? (This used to be commit 70fe85e4698ce2c26372b050417986bf4a96680b)
* Squelch one small compiler warningRichard Sharpe2003-06-161-1/+2
| | | | (This used to be commit d9ac2540dd0d56d97625fa02e55a57a1f5ac4abf)
* Fix some compiler warnings.Tim Potter2003-06-161-2/+0
| | | | (This used to be commit eec1758e048f38e2ac48a7dda96b90a74ec95449)
* made a debug statement more usefulAndrew Tridgell2003-06-161-2/+3
| | | | (This used to be commit 3f7a24d183095a7e391fe35100a30fc572a8d769)
* Forward port the app-head changes for dc name cache into 3.0.Jeremy Allison2003-06-131-6/+1
| | | | | Jeremy. (This used to be commit 8bcc3116a22ce11b55a35f3363230f54bc5735fc)
* Add in rety loop for query_user_list (from APP_HEAD). Deals with a bugJeremy Allison2003-06-102-5/+56
| | | | | | using MSRPC backend and should be safe with ldap backend. Jeremy. (This used to be commit 67535329a2df8986c2d1d85e25cd5c558ee61405)
* - fixed the bug that forced us not to use the winbindd cache when weAndrew Tridgell2003-06-105-41/+46
| | | | | | | | | | have a primary ADS domain and a secondary (trusted) NT4 domain. This caused winbindd to be *really* slow for that setup. - fixed winbindd_getgrgid(), which was calling uid_to_sid instead of gid_to_sid(). When you make changes to winbind *PLEASE* test using nsstest. (This used to be commit cdd9b60a078b63e22f543d4c8d0956ff536f4d89)
* More instrumentation for winbindd.Jeremy Allison2003-06-101-0/+14
| | | | | Jeremy. (This used to be commit 4161a122b74b75b0ed1758e3491e69bb9f1e8390)
* Instrument cache with debug statements so I can have a clue as to whatJeremy Allison2003-06-101-56/+208
| | | | | | is going on in remote large sites. Jeremy. (This used to be commit 5987dad1f1049f08bf4a94929f70b5eac96c7007)
* compile errorGerald Carter2003-06-061-1/+1
| | | | (This used to be commit 8804b059a4f453b29c8b0da975f5d6d8501f4b11)
* merge from APP_HEAD. Push negative connection cacheGerald Carter2003-06-061-317/+4
| | | | | | into rpc_find_dc(). Should probably be extended some more in 3.0 but this is what we have for the moment. (This used to be commit 0e23abf95cf7ba2d0a314a34bddb4d46de2a3cd1)
* * set winbind cache time to 5 minutesGerald Carter2003-06-033-18/+95
| | | | | | | * quit obsessing over the sequence number so much * share the updated sequence number between parent and child winbindd processes in dual mode (This used to be commit 6f99cafa95b2a9dc98d8272fe6a54e9d37098340)
* Fix extra arg for cm_get_netlogon_cli()Tim Potter2003-05-271-1/+1
| | | | (This used to be commit a0c3f1d31c4888d33061bb011fcb8e701bba30bc)
* Whoops - tried to merge to wrong branch for bug #60 merge. This redosTim Potter2003-05-271-3/+0
| | | | | the original fix. (This used to be commit 711f65bee0e7955fdb415182abe4812eae8ec4c3)
* Formatting syncup.Tim Potter2003-05-261-3/+1
| | | | (This used to be commit f4b050932a44d836b11299c158666f6804cceda5)
* Merge of fix for bug #60.Tim Potter2003-05-261-0/+3
| | | | (This used to be commit 0583dc358e918cf8bfb4d17bae0f42c4b385d313)
* Bug 83: fixes for building when $srcdir != $builddir from David LeeTim Potter2003-05-231-1/+1
| | | | | <t.d.lee@durham.ac.uk> (This used to be commit e48a8b5e9c1a75c6e4bffe022d0e25edae89bc58)
* Updates for AIX winbind client from Stephen Roylance.Tim Potter2003-05-191-62/+58
| | | | (This used to be commit 3983f3a1f30deae8d66c1f4c099bb56eabe3586b)
* Fix for winbindd segfault (finally I think this is the correct one :-)Jeremy Allison2003-05-151-1/+1
| | | | | | from "Roylance, Stephen D." <SROYLANCE@PARTNERS.ORG>. Jeremy. (This used to be commit 459fb6519bc9bc9bbb151291ff795ecc0c014d63)
* Ok, try and fix this correctly... Simplify the nasty loop logic.Jeremy Allison2003-05-141-7/+7
| | | | | Jeremy. (This used to be commit c19599a5624ac7ea63b529bf7d36cdcd7c8ef89f)
* Fix winbindd coredump. Remember to set a ** pointer to null beforeJeremy Allison2003-05-141-0/+2
| | | | | | | searching and not finding otherwise we return a valid looking pointer that was whatever crap was on the stack. Jeremy. (This used to be commit 5d3ac0e39b2b3c60de7c1fe562e4da1f508a2884)
* And finally IDMAP in 3_0Simo Sorce2003-05-126-58/+35
| | | | | | | | | | | | | | | | | | | | | We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
| | | | (This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+2
| | | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
* This puts real netlogon connection caching to winbind. This becomesVolker Lendecke2003-05-083-81/+135
| | | | | | | | | | important once we start doing schannel, as there would be a lot more roundtrips for the second PIPE open and bind. With this patch logging in to a member server is a matter of two (three if you count the ack...) packets between us and the DC. Volker (This used to be commit 5b3cb7725a974629d0bd8b707bc2940c36b8745e)
* There appears to be no reason why we have to execute theTim Potter2003-05-062-60/+45
| | | | | | | | | | | initialisation code in winbindd_init_common() after the fork when running in dual daemon mode. The only tricky bit is we have to run a tdb_reopen_all() somewhere in the child to avoid tdb corruption. Fixed bug #60. (This used to be commit 25e55aca0fe315c2ccf4e34a94107b2321313714)
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2003-05-031-0/+360
|\ | | | | | | used to be commit f1e59906577a59269f1821d9e438fc56278b9dbe)
| * fixes to *_util.c filesSimo Sorce2003-05-032-1/+366
| | | | | | | | | | | | | | | | | | | | | | | | add winbindd_passdb backend this makes it possible to have nua accounts on security = user servers to show up in unic through nss_winbind.so the problem is that we do not have group support, so nss group support is not very good at this time (read: totally absent) we NEED group support in passdb (This used to be commit 921215cf4bfbd4d7457f81e181bb1a74a4531ca1)
| * proper wellknown sids initialization at startupSimo Sorce2003-05-011-0/+3
| | | | | | | | (This used to be commit 568feee8977ee1be210344c8ab1896512894cba2)
| * *id_to_*id call reshape to return NTSTATUS errorsSimo Sorce2003-05-013-48/+17
| | | | | | | | | | | | plus internal fixes 1st stage (This used to be commit 6d036761e565bc93964bb3c939d5b7d78d5778a3)
| * make winbind use idmap as well.Simo Sorce2003-04-277-1079/+54
| | | | | | | | | | | | | | | | | | | | change idmap_init call removed ldap backend for winbind idmap, seem it had problems anyway and it have to be reworked to work with idmap without calling winbind code. simo (This used to be commit 9d7d007443fc75264b2764b90f272ffc40c9be6c)
| * update copyright notice that is written to the logsGerald Carter2003-04-221-1/+1
| | | | | | | | (This used to be commit 5f1fe04a87a407297eb9d4ad0e5c6bb35b33c067)
| * Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett2003-04-164-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
| * Make this code actually compile (--with-ldapsam).Andrew Bartlett2003-04-161-4/+7
| | | | | | | | | | | | | | | | This might not actually be the 'right way' to do this, but it's better to have it compile... Andrew Bartlett (This used to be commit c7dc0b27aca8f7e4653b25dae37ea38d68fc045a)
| * Removed unused variable.Tim Potter2003-04-141-2/+0
| | | | | | | | (This used to be commit 117cc35dd0adc6fd5238a440e299d012bfd8e542)
| * Winbind client for AIX. Written by Steve Roylance.Tim Potter2003-04-091-0/+411
| | | | | | | | (This used to be commit e37d025e6724196925c43c8ce558064ed5c072c5)
* | remove convert_smbpasswd and addtosmbpass from tree; people can get them ↵Gerald Carter2003-04-293-2/+26
| | | | | | | | | | | | from 2.2. if they still need them (This used to be commit 237857a760974bb02000e5d3a776240ec73ca6b6)
* | Merge HEAD's winbind into 3.0.Andrew Bartlett2003-04-2310-760/+642
| | | | | | | | | | | | | | | | | | This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code, the winbind_idmap abstraction (not idmap proper, but the stuff that held up the winbind LDAP backend in HEAD). Andrew Bartlett (This used to be commit d4d5e6c2ee6383c6cceb5d449aa2ba6c83eb0666)
* | update copyright notice that is written to the logsGerald Carter2003-04-221-1/+1
| | | | | | | | (This used to be commit 6735a9889f6629f4f77006c59c011570031e044f)
* | Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett2003-04-214-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | This allows us to join as a BDC, without appearing on the network as one until we have the database replicated, and the admin changes the configuration. This also change the SID retreval order from secrets.tdb, so we no longer require a 'net rpc getsid' - the sid fetch during the domain join is sufficient. Also minor fixes to 'net'. Andrew Bartlett (This used to be commit 876e00fd112e4aaf7519eec27f382eb99ec7562a)
* | Merge:Tim Potter2003-04-141-91/+27
| | | | | | | | | | | | - Jelmer's latest popt changes - debugging tdb messages now initialised and handled in lib/messages.c (This used to be commit b11f35fddec8c3d3899a8bc78d093137f73b2dfb)
* | Syncup new HEAD version.Tim Potter2003-04-141-128/+169
| | | | | | | | (This used to be commit 396bcf0cf6dfc7a36be0c4e774386b266439c3af)
* | Syncup popt changes with HEAD.Tim Potter2003-04-141-2/+2
| | | | | | | | (This used to be commit 39c987c3c522b66146e99fcc528cd60e05ad14f7)
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2003-04-071-0/+459
|\| | | | | | | used to be commit 43f21c87e12fe88dab6ccba13c2e54161cf87093)
| * Create a pidfile, even when running in interactive mode.Tim Potter2003-04-071-3/+2
| | | | | | | | (This used to be commit 1d7400e679df136f03daf79788ea998c5a787f89)
| * privilaged -> privilegedTim Potter2003-04-075-10/+10
| | | | | | | | | | (This changes the location of the winbindd privileged pipe) (This used to be commit f111f10076c7797e5fd39edcc0aad7d860bb5ac5)
| * Remove duplicate "tallocdump" message from tdb messaging system. TheTim Potter2003-04-071-22/+1
| | | | | | | | | | | | | | same functionality exists as "pool-usage". Move initialisation of this and dmalloc messages inside message_init(). (This used to be commit af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
| * This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on theSimo Sorce2003-04-061-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first run if idmap.tdb is not found, and then eventually convert it to the new format. This is done to unify winbind and idmap databases and to make a backup of winbindd_idmap.tdb in case you want to downgrade (of course it will not be updated). This is needed because idmap.tdb contains also local mappings, not only foreign domains mappings. Added some other fixes/improvements Simo. (This used to be commit cf17261519fd8775500f9b9d6caa2bc462e04633)
| * Removed unused variables.Tim Potter2003-04-041-2/+0
| | | | | | | | (This used to be commit 32d1dd19bb0b6abc6508ce65d5129acea79225bf)