summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* r22181: Fix for EISCON in open_any_socket_out from William JojoJeremy Allison2007-10-101-0/+3
| | | | | for bug #3632. Jeremy.
* r22151: remove netgr functions from libreplace they're not usedStefan Metzmacher2007-10-104-39/+2
| | | | | | | | in samba4 currently and samba3 has explicit configure checks for them. should fix bug #4496 metze
* r22113: Fix core dump when configfile in same directory.Jeremy Allison2007-10-101-0/+7
| | | | | From Steven Danneman <steven.danneman@isilon.com>. Jeremy.
* r22107: Fix typo.James Peach2007-10-101-1/+1
|
* r22096: become_root_uid_only() is unneeded - it's only used inJeremy Allison2007-10-103-27/+10
| | | | | | messages.c. Refactor to use become_root() instead and make it local to messages.c Jeremy.
* r22050: Fix a couple of off-by-one errors in the rapJeremy Allison2007-10-101-4/+14
| | | | | | | call patch. Jerry, this works now for displaying shares on Win9x (and hopefully everything else as well :-). Jeremy.
* r22045: As Volker noticed, skip_string's last argument isJeremy Allison2007-10-102-16/+12
| | | | | redundent. Remove it. Jeremy.
* r22042: Try and clean up my own mess using the API VolkerJeremy Allison2007-10-101-6/+56
| | | | | | | | | | | | | | suggested. I now use : BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) Volker, please criticize and comment. Thanks, Jeremy.
* r22026: Missed in my last commit, another case where we need to copy, not ↵Andrew Bartlett2007-10-101-1/+1
| | | | | | reference. Andrew Bartlett
* r22024: Don't leak, actually use the provided memory context...Andrew Bartlett2007-10-101-1/+1
|
* r22023: I don't like this cache, but I think Jeremy is right, the consequencesAndrew Bartlett2007-10-101-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-10-101-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-10-101-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-10-102-4/+55
| | | | | but I've no option. Jeremy.
* r22011: As Metze suggested, use 0xFF 'E' <enc ctx> insteadJeremy Allison2007-10-101-1/+1
| | | | | of 0xFF 'S' <enc ctx>. Jeremy.
* r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2007-10-106-29/+29
| | | | | | and fix all compiler warnings in the users metze
* r22007: make string_tdb_data(NULL) possible...Stefan Metzmacher2007-10-101-2/+2
| | | | metze
* r22006: use string_term_tdb_data()...Stefan Metzmacher2007-10-101-2/+1
| | | | metze
* r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher2007-10-101-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-10-101-0/+13
| | | | | contexts.... Jeremy.
* r21990: Stop messing with the signing engine just becauseJeremy Allison2007-10-101-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-10-101-2/+2
| | | | | | TDB_DATA key metze
* r21976: make use of tdb_*_bystring() and string_term_tdb_data() in lib/Stefan Metzmacher2007-10-102-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-10-101-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-10-101-13/+0
|
* r21953: One format fix, clarify a condition that the IBMJeremy Allison2007-10-101-1/+1
| | | | | checker was worried about. Jeremy.
* r21944: move acl header checks to the correct place onlyStefan Metzmacher2007-10-101-1/+2
| | | | | | jeremy: please merge this to 3.0.25:-) metze
* r21934: fix the build sorryStefan Metzmacher2007-10-101-1/+1
| | | | metze
* r21931: include acl/libacl.h is presentStefan Metzmacher2007-10-101-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-10-101-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-10-101-0/+5
| | | | | for testing. Jeremy.
* r21882: The server part of the code has to use an AUTH_NTLMSSP struct,Jeremy Allison2007-10-101-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-10-101-2/+2
| | | | | depending on encryption context pointer. Jeremy.
* r21876: Start adding in the seal implementation - prototype codeJeremy Allison2007-10-101-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-10-101-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-10-101-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-10-102-0/+13
| | | | Guenther
* r21825: add debug prefix timestamp to allow "short timestamps" to beHerb Lewis2007-10-101-2/+8
| | | | added to debug messages
* r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison2007-10-101-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-10-101-1/+1
| | | | Volker
* r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-10-102-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-10-101-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-10-102-22/+22
| | | | | breaking the build on *BSD's. Tested by Herb. Jeremy.
* r21723: Make use of the per-hashchain "freelists"Volker Lendecke2007-10-101-0/+3
|
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-10-101-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-10-101-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-10-102-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-10-101-3/+6
| | | | Guenther
* r21526: Fix stray character in sys_memalign() that is onlyGerald Carter2007-10-101-1/+1
| | | | is the case where we don't have memalign() or posix_memalign().
* r21525: Go ahead and checkin the mlock() & memalign() fixes soGerald Carter2007-10-102-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.