summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * r22026: Missed in my last commit, another case where we need to copy, not ↵Andrew Bartlett2007-04-021-1/+1
| | | | | | | | | | | | reference. Andrew Bartlett
| * r22024: Don't leak, actually use the provided memory context...Andrew Bartlett2007-04-021-1/+1
| |
| * r22023: I don't like this cache, but I think Jeremy is right, the consequencesAndrew Bartlett2007-04-021-2/+2
| | | | | | | | | | | | | | | | | | of the talloc heirarchy created are too subtle, particularly with callers picking out individual members. This might fix the faults on the build farm. Andrew Bartlett
| * r22020: Make it more clear that both the vuser struct and it's contents areAndrew Bartlett2007-04-021-6/+6
| | | | | | | | | | | | | | | | | | talloc_free()'ed at the end of a session. Rework the passwd cache code to use talloc_unlink and talloc_reference, to more carefully manage the cache. Andrew Bartlett
| * r22019: Jeremy, this hopefully fixes the build farm currently. But I think ↵Volker Lendecke2007-04-011-2/+2
| | | | | | | | | | | | | | | | we need another get_safe_offset call that also includes the required buffer size. Volker
| * r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,Jeremy Allison2007-03-302-4/+55
| | | | | | | | | | but I've no option. Jeremy.
| * r22011: As Metze suggested, use 0xFF 'E' <enc ctx> insteadJeremy Allison2007-03-291-1/+1
| | | | | | | | | | of 0xFF 'S' <enc ctx>. Jeremy.
| * r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2007-03-296-29/+29
| | | | | | | | | | | | and fix all compiler warnings in the users metze
| * r22007: make string_tdb_data(NULL) possible...Stefan Metzmacher2007-03-291-2/+2
| | | | | | | | metze
| * r22006: use string_term_tdb_data()...Stefan Metzmacher2007-03-291-2/+1
| | | | | | | | metze
| * r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher2007-03-281-4/+3
| | | | | | | | | | | | | | | | which matches what samba4 has. also fix all the callers to prevent compiler warnings metze
| * r21991: I hate Steve French :-). Add support for encryptionJeremy Allison2007-03-271-0/+13
| | | | | | | | | | contexts.... Jeremy.
| * r21990: Stop messing with the signing engine just becauseJeremy Allison2007-03-271-11/+11
| | | | | | | | | | | | we're encrypted. This will make further changes and spec much more clear. Jeremy.
| * r21987: split tdb_prs_*() functions in version which take a keystr and a ↵Stefan Metzmacher2007-03-271-2/+2
| | | | | | | | | | | | TDB_DATA key metze
| * r21976: make use of tdb_*_bystring() and string_term_tdb_data() in lib/Stefan Metzmacher2007-03-272-25/+13
| | | | | | | | | | | | to avoid creating the TDB_DATA struct from strings "by hand" metze
| * r21972: - add string_term_tdb_data() it creates a null-terminates tdb key ↵Stefan Metzmacher2007-03-271-23/+32
| | | | | | | | | | | | | | | | | | from a string (the current string_tdb_data() creates a non-terminates tdb key from a string!) - pass TDB_DATA instead of const char *, size_t len to some functions metze
| * r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)Volker Lendecke2007-03-241-13/+0
| |
| * r21953: One format fix, clarify a condition that the IBMJeremy Allison2007-03-231-1/+1
| | | | | | | | | | checker was worried about. Jeremy.
| * r21944: move acl header checks to the correct place onlyStefan Metzmacher2007-03-231-1/+2
| | | | | | | | | | | | jeremy: please merge this to 3.0.25:-) metze
| * r21934: fix the build sorryStefan Metzmacher2007-03-221-1/+1
| | | | | | | | metze
| * r21931: include acl/libacl.h is presentStefan Metzmacher2007-03-221-0/+4
| | | | | | | | | | | | | | I'm not sure if this should go into 3.0.25... it fixes a compiler warning about a missing acl_get_perm() prototype metze
| * r21922: Fixed the build by rather horrid means. I really needJeremy Allison2007-03-211-28/+29
| | | | | | | | | | | | | | to restructure libsmb/smb_signing.c so it isn't in the base libs path but lives in libsmb instead (like smb_seal.c does). Jeremy.
| * r21897: Add in a basic raw NTLM encrypt request. NowJeremy Allison2007-03-211-0/+5
| | | | | | | | | | for testing. Jeremy.
| * r21882: The server part of the code has to use an AUTH_NTLMSSP struct,Jeremy Allison2007-03-201-0/+15
| | | | | | | | | | | | | | | | not just an NTLMSSP - grr. This complicates the re-use of common client and server code but I think I've got it right. Not turned on of valgrinded yet, but you can see it start to take shape ! Jeremy.
| * r21880: Make client and server calls into encryption code symetrical,Jeremy Allison2007-03-191-2/+2
| | | | | | | | | | depending on encryption context pointer. Jeremy.
| * r21876: Start adding in the seal implementation - prototype codeJeremy Allison2007-03-191-3/+6
| | | | | | | | | | | | | | | | for the server side enc. (doesn't break anything). I'll keep updating this until I've got NTLM seal working on both client and server, then add in the gss level seal. Jeremy.
| * r21868: Remove check_log_size from the central smbd processing loop. This ↵Volker Lendecke2007-03-181-8/+5
| | | | | | | | | | | | can be done with a become_root/unbecome_root in debug.c.
| * r21865: Add in the stubs for SMB transport encryption. Will fleshJeremy Allison2007-03-171-1/+22
| | | | | | | | | | | | | | these out as I implement. Don't add to SAMBA_3_0_25, this is experimental code. NFSv4 you're now officially on notice... :-). Jeremy.
| * r21854: Add gfree_interfaces() to gfree_all().Günther Deschner2007-03-162-0/+13
| | | | | | | | Guenther
| * r21825: add debug prefix timestamp to allow "short timestamps" to beHerb Lewis2007-03-131-2/+8
| | | | | | | | added to debug messages
| * r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison2007-03-121-0/+3
| | | | | | | | | | | | | | | | works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy.
| * r21785: Avoid an unnecessary gettimeofday() callVolker Lendecke2007-03-111-1/+1
| | | | | | | | Volker
| * r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-03-112-98/+34
| | | | | | | | | | | | | | | | winbind who did not run the idle events to drop ldap connections. Volker
| * r21768: Fix the client dfs code such that smbclient canJeremy Allison2007-03-081-1/+14
| | | | | | | | | | | | | | | | | | process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy.
| * r21725: Fix for memalign used without test guards. WasJeremy Allison2007-03-062-22/+22
| | | | | | | | | | breaking the build on *BSD's. Tested by Herb. Jeremy.
| * r21723: Make use of the per-hashchain "freelists"Volker Lendecke2007-03-061-0/+3
| |
| * r21714: Change the VFS interface to use struct timespecJeremy Allison2007-03-051-31/+113
| | | | | | | | | | | | | | | | | | | | 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.
| * 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.
| * r21606: Implement escaping function for ldap RDN valuesSimo Sorce2007-03-012-5/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * r21560: Convert name_to_fqdn to BOOL.Günther Deschner2007-02-271-3/+6
| | | | | | | | Guenther
| * r21526: Fix stray character in sys_memalign() that is only Gerald Carter2007-02-241-1/+1
| | | | | | | | is the case where we don't have memalign() or posix_memalign().
| * r21525: Go ahead and checkin the mlock() & memalign() fixes so Gerald Carter2007-02-242-0/+49
| | | | | | | | | | | | | | | | others don't get stuck with the winbindd hang. Still waiting on additional confirmation from Guenther that this fixes thes issues he was observing as well. But it's been running in my local tree for a day without problems.
| * r21388: Merge support for providing replacement system headers.Jelmer Vernooij2007-02-163-1/+17
| |
| * r21312: merge from SAMBA_4_0:Stefan Metzmacher2007-02-131-1/+1
| | | | | | | | | | | | fix memory hierachy, and access to already freed memory metze
| * r21264: LDAP_OPT_ERROR_NUMBER seems more portable than LDAP_OPT_RESULT_CODEVolker Lendecke2007-02-091-5/+5
| |
| * r21263: getpeername() returning -1 is not a reliable indication if a TCP ↵Volker Lendecke2007-02-091-15/+70
| | | | | | | | | | | | | | | | | | | | connection is dead. Might be my code, this rings a very distant bell... Attempt to fix bug # 4372. Volker
| * r21262: Final part of BUG 4093: fix %a with Windows XP 64bitGerald Carter2007-02-091-1/+4
| |
| * r21257: Better fix for bug #4188 :Jeremy Allison2007-02-091-13/+4
| | | | | | | | | | | | Windows Vista RC1 and RC2 can't delete directory on Samba share based on work by Joe Meadows <jmeadows@webopolis.com>. Jeremy.
| * r21250: Partial fix for BUG 4093: Make %a expand to "Vista"Gerald Carter2007-02-081-0/+3
| | | | | | | | | | | | | | | | | | | | based on the flags2 values in the negprot request. This also includes some code for testing the dialect strings for "SMB 2.001" but this is unreliable as Vista only sends that in the 1st negprot and caches the fact that we don't support it. Restartnig the WOrkstation service on the client clears the cache.
| * r21176: merged va_end() changes from Samba4Andrew Tridgell2007-02-062-8/+15
| |