summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * r21724: Optimization pointed out by Volker. If we don'tJeremy Allison2007-03-062-0/+21
| | | | | | | | | | | | have any outstanding locks or blocking locks then we don't need to read the lock db. on close. Jeremy.
| * r21723: Make use of the per-hashchain "freelists"Volker Lendecke2007-03-063-0/+9
| |
| * r21722: Add the dead record functionality presented on ↵Volker Lendecke2007-03-064-6/+187
| | | | | | | | | | | | | | | | | | | | | | samba-technical@samba.org. If you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will only mark a record as dead and re-use it if a new record is created. The parameter n allows for at most n dead records per hash chain. If this number is exceeded, all dead records are put on the central freelist. Volker
| * r21717: Support the SMB_QUERY_POSIX_WHOAMI info level on QueryFsInfo.James Peach2007-03-062-1/+141
| |
| * r21715: Fix torture utime code.Jeremy Allison2007-03-061-4/+4
| | | | | | | | Jeremy.
| * r21714: Change the VFS interface to use struct timespecJeremy Allison2007-03-0525-171/+288
| | | | | | | | | | | | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
| * r21706: get_delete_on_close_flag() is the perfect candidate for ↵Volker Lendecke2007-03-051-7/+21
| | | | | | | | tdb_parse_record()
| * r21705: add modify rights definesHerb Lewis2007-03-051-1/+15
| |
| * r21704: open sockets immediately in process_loopHerb Lewis2007-03-051-8/+9
| |
| * r21703: fix build when O_SYNC not definedHerb Lewis2007-03-051-0/+2
| |
| * r21672: The cannonical file access pattern should look like this :Jeremy Allison2007-03-034-207/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | srvstr_get_path(inbuf, name, smb_buf(inbuf) + 1, sizeof(name), 0, STR_TERMINATE, &status); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } RESOLVE_DFSPATH(name, conn, inbuf, outbuf); status = unix_convert(conn, name, False, NULL, &sbuf); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } status = check_name(conn, name); if (!NT_STATUS_IS_OK(status)) { return ERROR_NT(status); } Make sure that every access pattern (including the wildcard generated paths from unlink, rename, and copy) do the same. Tidy things up a bit.... Jeremy.
| * r21667: posix_unlink should break existing oplocks.Jeremy Allison2007-03-021-1/+1
| | | | | | | | Jeremy.
| * r21666: (only in 3.0, not 3.0.25). Fix bad parameter to call.Jeremy Allison2007-03-021-1/+1
| | | | | | | | Jeremy.
| * r21665: Fix bug #4428 reported by Jason Mader <jason@ncac.gwu.edu>.Jeremy Allison2007-03-021-2/+1
| | | | | | | | Jeremy.
| * r21664: Fix #4425 - patch from Jason Mader <jason@ncac.gwu.edu>.Jeremy Allison2007-03-021-2/+3
| | | | | | | | Jeremy
| * r21663: Fix from the Wine guys: Robert Shearman <rob@codeweavers.com>Jeremy Allison2007-03-021-1/+2
| | | | | | | | | | | | | | | | The background behind this patch is that we're using ntlm_auth with Wine. Windows allows us to pass in a NULL domain and a username of the form of "user@domain" and this is converted into an NTLMSSP_AUTH packet with a NULL domain name and a username of the same form. Jeremy.
| * r21657: get rid of warning - not everyone understands %FHerb Lewis2007-03-021-3/+3
| |
| * r21655: Regenerate after pidl bugfix.Jelmer Vernooij2007-03-024-15/+15
| |
| * r21652: Fix samba3-specific initializationJelmer Vernooij2007-03-021-0/+9
| |
| * r21651: Add ndrdump to samba 3. This only works from external source at the Jelmer Vernooij2007-03-022-6/+32
| | | | | | | | | | | | | | | | | | | | moment. To use, use something like: ./bin/ndrdump -l bin/smbd winreg winreg_EnumValue in <filename> or to see what functions are available: ./bin/ndrdump -l bin/smbd winreg
| * r21647: Allow unit on for size parameters.James Peach2007-03-021-2/+4
| |
| * r21646: Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp>Jeremy Allison2007-03-011-5/+22
| | | | | | | | | | - add minsize parameter. Bug #4409. Jeremy.
| * r21645: Make posix_unlink work - on open files too !Jeremy Allison2007-03-011-1/+24
| | | | | | | | Jeremy.
| * r21644: Allow mkdir on platforms with no O_DIRECTORY.Jeremy Allison2007-03-012-9/+48
| | | | | | | | | | | | Add proper debug to all possible setfilepathinfo functions. Jeremy.
| * r21643: Put the correct bits on the wire for posix_mkdir.Jeremy Allison2007-03-011-1/+2
| | | | | | | | | | We're not yet deleting open files on unlink. Investigating... Jeremy.
| * r21642: Fix bug 4365. Please note that this was only tested with Vista so ↵Volker Lendecke2007-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | far, it needs testing with other clients as well. I'm afraid I'm visiting a conference tomorrow and saturday, so I'd be happy to get support in this. Thanks, Volker
| * r21641: Add test code for POSIX pathname calls into smbclient.Jeremy Allison2007-03-011-0/+147
| | | | | | | | Jeremy.
| * r21640: Fix the build for broken platoforms without O_DIRECT or O_DIRECTORY.Jeremy Allison2007-03-011-0/+9
| | | | | | | | Jeremy.
| * r21639: Add in implementations of POSIX open/mkdir/unlink/rmdir.Jeremy Allison2007-03-011-0/+176
| | | | | | | | Jeremy.
| * r21638: Change POSIX_UNLINK to allow clients to differentiateJeremy Allison2007-03-012-2/+22
| | | | | | | | | | between unlink/rmdir calls. Jeremy.
| * r21637: Get "password never expires" account policy working.Jim McDonough2007-03-011-3/+9
| | | | | | | | | | 0x8000000000000000LL is "infinity" to NT and should not be converted numerically to time_t.
| * r21636: Was almost right before. We have to specify the short domain name ↵Gerald Carter2007-03-011-1/+1
| | | | | | | | | | | | to get the Krb5 config stuff to work in the server affinity settings.
| * r21635: Don't free talloc()'d memory. I wish people would check the callersGerald Carter2007-03-011-1/+1
| | | | | | | | when changing how memory is allocated.
| * r21633: First real fix from me found during the bug hunt.Gerald Carter2007-03-011-0/+8
| | | | | | | | | | | | | | | | | | ads_cached_connection() does not call get_dc_name() before ads_connect() and therefore does not setup the environment to look at krb5.conf.DOMAIN file before sending the TGT request. The failure I'm seeing occurs ni a multi-DC domain where we get back preuath failed after we just joined the domain.
| * r21632: Remove ununsed variableGerald Carter2007-03-011-1/+0
| |
| * r21626: Fix memory leak on error path noticed by Gerald Carter2007-03-011-0/+1
| | | | | | | | SATOH Fumiyasu <fumiya@samba.gr.jp>
| * r21623: Fix copy/paste errorSimo Sorce2007-03-011-2/+2
| |
| * r21622: Fix bad merge caught by James.Gerald Carter2007-03-011-7/+0
| |
| * r21616: Delay initialization of idmap and nss_info backends until necessaryGerald Carter2007-03-016-33/+193
| | | | | | | | so they can honor the offline logon state.
| * r21615: don't wait until the last second to try to renew a Krb5 ticket as it ↵Gerald Carter2007-03-011-2/+4
| | | | | | | | is took late
| * r21614: The memset() called on aligned memory was causing crashesGerald Carter2007-03-011-0/+11
| | | | | | | | | | on x86_64 Linux boxes. Since it is not needed, just use malloc() on Linux.
| * r21613: perform variable subsitution on home directories and shells provided ↵Gerald Carter2007-03-011-12/+13
| | | | | | | | by the nss_info backend
| * r21612: Make pam_winbind do the same username fixup on AIX as the WINBINDD Gerald Carter2007-03-011-2/+32
| | | | | | | | | | | | LAM module does to work around a system that does not support >8 character usernames. Without the change, pam_winbind tries to authenticate _#uid in the domain.
| * r21611: I'm not entirely sure about this patch but it is working.Gerald Carter2007-03-011-13/+66
| | | | | | | | | | | | su - DOM\user was unable to set the process crendentials without listing the "id" and other attributes in the attrlist[]. More fixes to come, but I didn't want this to get lost.
| * r21610: put libraries preceeding the @SONAMEFLAG@ variable as on AIX this ↵Gerald Carter2007-03-011-2/+2
| | | | | | | | ends up commenting out the remainder of the line and we have missing libraries in the link
| * r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison2007-03-0111-7/+56
| | | | | | | | | | Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy.
| * r21608: Fix a couple of memleaks in error code paths beforeJeremy Allison2007-03-013-2/+13
| | | | | | | | | | Coverity finds them :-) Jeremy.
| * r21607: While committing I saw I had not newline terminated this string ...Simo Sorce2007-03-011-1/+1
| |
| * r21606: Implement escaping function for ldap RDN valuesSimo Sorce2007-03-019-30/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix escaping of DN components and filters around the code Add some notes to commandline help messages about how to pass DNs revert jra's "concistency" commit to nsswitch/winbindd_ads.c, as it was incorrect. The 2 functions use DNs in different ways. - lookup_usergroups_member() uses the DN in a search filter, and must use the filter escaping function to escape it Escaping filters that include escaped DNs ("\," becomes "\5c,") is the correct way to do it (tested against W2k3). - lookup_usergroups_memberof() instead uses the DN ultimately as a base dn. Both functions do NOT need any DN escaping function as DNs can't be reliably escaped when in a string form, intead each single RDN value must be escaped separately. DNs coming from other ldap calls (like ads_get_dn()), do not need escaping as they come already escaped on the wire and passed as is by the ldap libraries DN filtering has been tested. For example now it is possible to do something like: 'net ads add user joe#5' as now the '#' character is correctly escaped when building the DN, previously such a call failed with Invalid DN Syntax. Simo.
| * r21605: Fix small typo noticed by Raúl Sánchez Siles <rss@barracuda.es>.Jeremy Allison2007-03-011-1/+1
| | | | | | | | Jeremy.