Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | r23283: Use a temporary talloc context in ads:lookup_groupmem. | Michael Adam | 2007-05-31 | 1 | -13/+17 | |
| | | | | | | | | | | | | | | | | And clean up unused stuff at the end. Daringly, I use talloc_steal at some point, where it appears natural to me. Michael | |||||
| * | r23279: Replace occurrence of sid_binstring inside lookup_groupmem | Michael Adam | 2007-05-31 | 1 | -11/+4 | |
| | | | | | | | | by sid_string_static. | |||||
| * | r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init ↵ | Gerald Carter | 2007-05-31 | 9 | -96/+171 | |
| | | | | | | | | call renames for svcctl in the previous commit | |||||
| * | r23272: Fix main event loop - reviewed by Volker. | Jeremy Allison | 2007-05-31 | 1 | -2/+4 | |
| | | | | | | | | Jeremy. | |||||
| * | r23271: merge service control pidl change for CloseServiceHandle() from ↵ | Gerald Carter | 2007-05-31 | 9 | -111/+305 | |
| | | | | | | | | SAMBA_3_0_26 | |||||
| * | r23269: Regenerate svcctl files after IDL fixes | Gerald Carter | 2007-05-31 | 5 | -120/+120 | |
| | | ||||||
| * | r23268: Rename some variables in the svcctl.idl to prevent | Gerald Carter | 2007-05-31 | 1 | -6/+6 | |
| | | | | | | | | | | redeclaration compile failures in the generated client code. | |||||
| * | r23263: Remove an unused variable -- Fix Coverity ID 358 | Volker Lendecke | 2007-05-31 | 1 | -4/+0 | |
| | | ||||||
| * | r23253: Add some debugging output. | Michael Adam | 2007-05-30 | 1 | -1/+6 | |
| | | ||||||
| * | r23252: Complete the reworking of the ads lookup_groupmem function | Michael Adam | 2007-05-30 | 1 | -58/+109 | |
| | | | | | | | | | | | | | | | | | | | | | | | | started in r23070, r23072, r23073, r23078, r23081 and r23082: After retrieving the list of sids with the extended dn ldap query, instead of passing all sids to the lsa_lookup_sids call, now while extracting the sids from the extended dn member entries, we first try to lookup the sid from cache and only pass the sids that were not in cache to the lsa_lookup_sids call. Michael | |||||
| * | r23251: whoops! Fix compile error | Gerald Carter | 2007-05-30 | 2 | -2/+9 | |
| | | ||||||
| * | r23249: another sync from 3.0.26 for the echo work to rpcclient | Gerald Carter | 2007-05-30 | 1 | -11/+26 | |
| | | ||||||
| * | r23248: Merge echo pipe implementation chanegs from SAMBA_3_0_26 | Gerald Carter | 2007-05-30 | 1 | -9/+28 | |
| | | | | | | | | | | just to stay in sink. This was more or less just for me to play with. | |||||
| * | r23244: Fix loop with nscd and NSS recusive calls. | Gerald Carter | 2007-05-30 | 13 | -28/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Here's the problem I hit: > > getgrnam("foo") -> nscd -> NSS -> winbindd -> > winbindd_passdb.c:nam_to_sid() -> lookup_global_sam_name() -> > getgrnam("foo") -> nscd -> .... > > This is in the SAMBA_3_0 specifically but in theory could happen > SAMBA_3_0_25 (or 26) for an unknown group. > > The attached patch passes down enough state for the > name_to_sid() call to be able to determine the originating > winbindd cmd that came into the parent. So we can avoid > making more NSS calls if the original call came in trough NSS > so we don't deadlock ? But you should still service > lookupname() calls which are needed for example when > doing the token access checks for a "valid groups" from > smb.conf. > > I've got this in testing now. The problem has shown up with the > DsProvider on OS X and with nscd on SOlaris and Linux. | |||||
| * | r23242: BUG 4671: Fix Makefile syntax error when SMBMOUNT_PROGS is not defined | Gerald Carter | 2007-05-30 | 1 | -1/+2 | |
| | | ||||||
| * | r23241: In preparation for the cluster messaging import the parent smbd needs to | Volker Lendecke | 2007-05-30 | 1 | -5/+19 | |
| | | | | | | | | respond to events.c style events. | |||||
| * | r23236: Another bad merge: Correctly free and unlock the session record in | Volker Lendecke | 2007-05-30 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | session_claim. Jerry, this fixes the hanging smbstatus. Sorry for that, Volker | |||||
| * | r23228: Merge cleanup to the gpfs module from Tridge. Also potentially disable | Volker Lendecke | 2007-05-29 | 1 | -33/+28 | |
| | | | | | | | | | | gpfs share modes in special situations. This might be split up in several modules later. | |||||
| * | r23226: Make the "debug prefix timestamp" output a bit more readable by making | Volker Lendecke | 2007-05-29 | 1 | -1/+1 | |
| | | | | | | | | the debug level alway at least 2 digits | |||||
| * | r23225: Attached find a patch that makes use of NetSamLogonEx in | Volker Lendecke | 2007-05-29 | 3 | -2/+71 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | winbind. With this and W2k3 DCs around it is possible to use more than one winbind on the same machine account, because NetSamLogonEx does not use the credentials chain. I added the flag domain->can_do_samlogon_ex because this only works against W2k3 and with schannel. The theory is to try if we're AD and have schannel, and fall back to NetSamLogon if this fails. can_do_samlogon_ex is thus a protection against multiple failures. Only checking into 3_0, this needs more review before going into a production release. Feel free to comment :-) | |||||
| * | r23224: Move map_nt_error_from_unix to lib/errmap_unix.c. This function is | Volker Lendecke | 2007-05-29 | 3 | -64/+93 | |
| | | | | | | | | useful even in binaries that don't link in libsmb | |||||
| * | r23223: Convert a leftover direct tdb access to sessionid.tdb | Volker Lendecke | 2007-05-29 | 1 | -12/+13 | |
| | | ||||||
| * | r23222: share_mode_forall() is only for counting and status display stuff, so | Volker Lendecke | 2007-05-29 | 1 | -1/+1 | |
| | | | | | | | | traverse_read is enough here | |||||
| * | r23221: Fix a bad merge, avoid a memory leak and tdb lock problem | Volker Lendecke | 2007-05-29 | 1 | -0/+1 | |
| | | ||||||
| * | r23220: Add traverse_read to dbwrap | Volker Lendecke | 2007-05-29 | 4 | -1/+47 | |
| | | ||||||
| * | r23219: Two warnings | Volker Lendecke | 2007-05-29 | 2 | -2/+3 | |
| | | ||||||
| * | r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but ↵ | Günther Deschner | 2007-05-29 | 6 | -89/+89 | |
| | | | | | | | | | | | | | | | | | | | | were using netr_GetDcAnyName all the time (which is the correct thing to do). Fix the naming and opcode mixup in all branches. Guenther | |||||
| * | r23207: merge net help test fix from SAMBA_3_0_26 | Gerald Carter | 2007-05-29 | 1 | -0/+1 | |
| | | ||||||
| * | r23206: remove unreachable code | Gerald Carter | 2007-05-29 | 1 | -3/+0 | |
| | | ||||||
| * | r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzr | Volker Lendecke | 2007-05-29 | 5 | -1/+144 | |
| | | | | | | | | | | | | | | | | | | | | branch, please check if it fulfils your needs. Two changes: The validation is not done inside the brlock.c traverse_fn, it's done as a separate routine. Secondly, this patch does not call the checker routines in smbcontrol directly but depends on a running smbd. | |||||
* | | r23316: Ouch... This would not have run in production without cluster code | Volker Lendecke | 2007-06-03 | 1 | -2/+2 | |
| | | | | | | | | anyway. | |||||
* | | r23313: Janitor for tridge: | Volker Lendecke | 2007-06-03 | 1 | -24/+13 | |
| | | | | | | | | | | | | we need to use tdb_wrap_open in both these backends to allow for multiple opens. This is done for notify.tdb. Otherwise we die when a 2nd share with notify is setup | |||||
* | | r23312: As per Volker, rename the "windbind:ads" parameter "winbind:rpc only". | James Peach | 2007-06-02 | 1 | -4/+3 | |
| | | ||||||
* | | r23310: sync lib/replace with SAMBA_4_0 | Stefan Metzmacher | 2007-06-02 | 27 | -224/+361 | |
| | | | | | | | | metze | |||||
* | | r23308: merge from SAMBA_3_0: | Stefan Metzmacher | 2007-06-02 | 2 | -0/+5 | |
| | | | | | | | | | | | | fix build on hosts with missing readahead prototype metze | |||||
* | | r23304: merge from samba4: | Stefan Metzmacher | 2007-06-02 | 1 | -3/+3 | |
| | | | | | | | | | | | | fix large file support on HP-UX 11.00 and 11.11 metze | |||||
* | | r23300: AFAICT these are not needed. Jerry, can you please review and revert | James Peach | 2007-06-01 | 1 | -1/+0 | |
| | | | | | | | | if this is not correct. | |||||
* | | r23299: Fix the build for !WITH_SENDFILE. | James Peach | 2007-06-01 | 1 | -5/+4 | |
| | | ||||||
* | | r23298: Fix bad merge. | James Peach | 2007-06-01 | 1 | -1/+1 | |
| | | ||||||
* | | r23297: This introduces the winbind:ads parameter which defaults to True. ↵ | Volker Lendecke | 2007-06-01 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | Setting it to False makes winbind use RPC and not LDAP methods to connect to the DCs, even when it figured out they are AD. | |||||
* | | r23295: Apply proto_exists and bin/.dummy dependencies consistently for all | James Peach | 2007-06-01 | 1 | -127/+129 | |
| | | | | | | | | binaries. Fix vfs_zfsacl build rule in SAMBA_3_0. | |||||
* | | r23291: Undo the somewhat naive change of r23279: | Michael Adam | 2007-06-01 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | The clear text presentaion of the sid in the ldap expression does work with w2k3 but not with w2k.... Thanks to Guenther for advising me of this issue. Michael | |||||
* | | r23290: Fix another small and stupid but severe typo. | Michael Adam | 2007-06-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | Hopfully, I have finally got this right... :-) Michael | |||||
* | | r23287: Use talloc_move instead of talloc_steal as this is what I really | Michael Adam | 2007-06-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | wanted to do. Michael | |||||
* | | r23285: r23283 and r23284 also for SAMBA_3_0_26. | Michael Adam | 2007-06-01 | 1 | -15/+19 | |
| | | | | | | | | | | Use a temporary talloc context in ads:lookup_groupmem and clean up at the end. And fix one nasty typo. | |||||
* | | r23280: Replace the NetFileClose() call with the pidl generated code. | Gerald Carter | 2007-05-31 | 11 | -137/+356 | |
| | | | | | | | | No risk since we don't support the call functionally anyways. | |||||
* | | r23279: Replace occurrence of sid_binstring inside lookup_groupmem | Michael Adam | 2007-05-31 | 1 | -11/+4 | |
| | | | | | | | | by sid_string_static. | |||||
* | | r23278: remove vestiges of rpccli_reg_close() | Gerald Carter | 2007-05-31 | 5 | -107/+7 | |
| | | ||||||
* | | r23277: This might break the shutdown script functionality. | Gerald Carter | 2007-05-31 | 14 | -541/+374 | |
| | | | | | | | | | | | | | | | | I think it is safe for now. * Merge the initshutdown code from SAMBA_3_0 * Replace _reg_close() with the pidl generate winreg_CloseKey() client and server code | |||||
* | | r23276: File renames to reduce the diff between the 3.0 and 3.0.26 tree. | Gerald Carter | 2007-05-31 | 3 | -1/+1 | |
| | |