Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r23268: Rename some variables in the svcctl.idl to prevent | Gerald Carter | 2007-10-10 | 1 | -6/+6 | |
| | | | | | redeclaration compile failures in the generated client code. | |||||
* | r23263: Remove an unused variable -- Fix Coverity ID 358 | Volker Lendecke | 2007-10-10 | 1 | -4/+0 | |
| | ||||||
* | r23253: Add some debugging output. | Michael Adam | 2007-10-10 | 1 | -1/+6 | |
| | ||||||
* | r23252: Complete the reworking of the ads lookup_groupmem function | Michael Adam | 2007-10-10 | 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-10-10 | 2 | -2/+9 | |
| | ||||||
* | r23249: another sync from 3.0.26 for the echo work to rpcclient | Gerald Carter | 2007-10-10 | 1 | -11/+26 | |
| | ||||||
* | r23248: Merge echo pipe implementation chanegs from SAMBA_3_0_26 | Gerald Carter | 2007-10-10 | 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-10-10 | 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-10-10 | 1 | -1/+2 | |
| | ||||||
* | r23241: In preparation for the cluster messaging import the parent smbd needs to | Volker Lendecke | 2007-10-10 | 1 | -5/+19 | |
| | | | | respond to events.c style events. | |||||
* | r23236: Another bad merge: Correctly free and unlock the session record in | Volker Lendecke | 2007-10-10 | 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-10-10 | 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-10-10 | 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-10-10 | 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-10-10 | 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-10-10 | 1 | -12/+13 | |
| | ||||||
* | r23222: share_mode_forall() is only for counting and status display stuff, so | Volker Lendecke | 2007-10-10 | 1 | -1/+1 | |
| | | | | traverse_read is enough here | |||||
* | r23221: Fix a bad merge, avoid a memory leak and tdb lock problem | Volker Lendecke | 2007-10-10 | 1 | -0/+1 | |
| | ||||||
* | r23220: Add traverse_read to dbwrap | Volker Lendecke | 2007-10-10 | 4 | -1/+47 | |
| | ||||||
* | r23219: Two warnings | Volker Lendecke | 2007-10-10 | 2 | -2/+3 | |
| | ||||||
* | r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but ↵ | Günther Deschner | 2007-10-10 | 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-10-10 | 1 | -0/+1 | |
| | ||||||
* | r23206: remove unreachable code | Gerald Carter | 2007-10-10 | 1 | -3/+0 | |
| | ||||||
* | r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzr | Volker Lendecke | 2007-10-10 | 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. | |||||
* | r23195: Add void *private_data to brl_forall | Volker Lendecke | 2007-10-10 | 5 | -30/+39 | |
| | ||||||
* | r23194: cherry pick two fixes from SAMBA_3_0_26 | Gerald Carter | 2007-10-10 | 2 | -6/+10 | |
| | | | | | * strptime() failure check * make legcacy sid/uid/gid calls static | |||||
* | r23192: Remove fallback to looking up group mappings by the | Gerald Carter | 2007-10-10 | 1 | -17/+1 | |
| | | | | Unix name after discussion with Simo. | |||||
* | r23186: Checkin on behalf of Tridge: | Volker Lendecke | 2007-10-10 | 1 | -57/+57 | |
| | | | | Change notify.tdb to use dbwrap | |||||
* | r23185: Try to fix the IRIX build, also add the forgotten file_id.c in .26 | Volker Lendecke | 2007-10-10 | 2 | -3/+4 | |
| | ||||||
* | r23184: Checkin for Tridge: Add a speed test to tdbtool | Volker Lendecke | 2007-10-10 | 1 | -2/+52 | |
| | ||||||
* | r23183: Check in a change made by Tridge: | Volker Lendecke | 2007-10-10 | 23 | -313/+365 | |
| | | | | | | | | | | | | | This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker | |||||
* | r23173: Convert sessionid.tdb to ctdb. The 3.0.26 patch is a bit larger because | Volker Lendecke | 2007-10-10 | 1 | -53/+118 | |
| | | | | it brings across the tdb-based list_sessions | |||||
* | r23172: Change shutdown_other_smbds to use connections_traverse instead of | Volker Lendecke | 2007-10-10 | 2 | -11/+13 | |
| | | | | session_traverse. | |||||
* | r23171: Convert connections.tdb to dbwrap | Volker Lendecke | 2007-10-10 | 8 | -163/+162 | |
| | ||||||
* | r23170: Add map_nt_error_from_tdb() | Volker Lendecke | 2007-10-10 | 2 | -2/+45 | |
| | ||||||
* | r23169: Merge 535 of Tridge's bzr tree: | Volker Lendecke | 2007-10-10 | 1 | -2/+5 | |
| | | | | | store the right data after cleaning lock records. This fixes RAW-BENCH-LOCK after a recovery on a cluster | |||||
* | r23168: Move the lp_max_connections() into service.c. | Volker Lendecke | 2007-10-10 | 5 | -27/+26 | |
| | ||||||
* | r23167: Remove an unused parameter | Volker Lendecke | 2007-10-10 | 5 | -5/+6 | |
| | ||||||
* | r23166: Bring samba.org's iniparser copy in sync with the upstream version 2.17. | Lars Müller | 2007-10-10 | 19 | -588/+652 | |
| | ||||||
* | r23165: Convert brlock.tdb to dbwrap | Volker Lendecke | 2007-10-10 | 2 | -38/+52 | |
| | ||||||
* | r23164: Minor cosmetic checkin | Volker Lendecke | 2007-10-10 | 1 | -2/+2 | |
| | ||||||
* | r23163: Convert locking.tdb to dbwrap | Volker Lendecke | 2007-10-10 | 2 | -91/+110 | |
| | ||||||
* | r23162: Make use of messaging_send_buf | Volker Lendecke | 2007-10-10 | 1 | -4/+2 | |
| | ||||||
* | r23161: Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record | Volker Lendecke | 2007-10-10 | 2 | -0/+5 | |
| | | | | optimization. | |||||
* | r23156: Install the smb_share_modes.h header file. | Lars Müller | 2007-10-10 | 1 | -0/+1 | |
| | ||||||
* | r23155: Rename INSTALLPERMS to INSTALLPERMS_BIN to differenciate clearer from | Lars Müller | 2007-10-10 | 1 | -32/+32 | |
| | | | | INSTALLPERMS_DATA. | |||||
* | r23154: Add INSTALLPERMS_DATA set to 0644 to install the header files with this | Lars Müller | 2007-10-10 | 1 | -3/+4 | |
| | | | | permission set instead of 0755. | |||||
* | r23151: Re-arrange the logic so it looks identical to the | Jeremy Allison | 2007-10-10 | 1 | -8/+14 | |
| | | | | | | | "file existed" case above. This has no functional change but is easier to see that it's doing the same thing. Jeremy. | |||||
* | r23150: Fix Samba3 in the build farm again. In the case where the | Jeremy Allison | 2007-10-10 | 1 | -0/+17 | |
| | | | | | | | | | | file was being created and we go into the race condition check, we were testing for compatible open modes, but were not breaking oplocks in the same way as if the file existed. This meant that we weren't going into the code path that sets fsp->oplock = FAKE_LEVEL_II_OPLOCK if the client didn't ask for an oplock on file create. We need to do this as internally it's what Windows does. Jeremy. | |||||
* | r23148: Fix old old bug in cli_smbwrite() (not incrementing | Jeremy Allison | 2007-10-10 | 1 | -1/+1 | |
| | | | | | data being sent). Patch from mnix@wanm.com.au. Jeremy. |