summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | r22220: merge from samba4:Stefan Metzmacher2007-04-1511-15/+1426
| | | | | | | | | | | | - libreplace unsetenv() and strptime() replacements metze
* | r22219: merge from samba3/4:Stefan Metzmacher2007-04-153-1/+17
| | | | | | | | | | | | merge stdint.h stdbool.h replacement fix to 3.0.25 branch metze
* | r22181: Fix for EISCON in open_any_socket_out from William JojoJeremy Allison2007-04-121-0/+3
| | | | | | | | | | for bug #3632. Jeremy.
* | r22150: remove netgr functions from libreplace they're not usedStefan Metzmacher2007-04-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-04-061-0/+7
| | | | | | | | | | From Steven Danneman <steven.danneman@isilon.com>. Jeremy.
* | r22107: Fix typo.James Peach2007-04-061-1/+1
| |
* | r22096: become_root_uid_only() is unneeded - it's only used inJeremy Allison2007-04-052-25/+8
| | | | | | | | | | | | 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-04-031-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-04-022-16/+12
| | | | | | | | | | redundent. Remove it. Jeremy.
* | r22042: Try and clean up my own mess using the API VolkerJeremy Allison2007-04-021-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.
* | 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.
* | 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.
* | r21946: Missed the m4 change.Jeremy Allison2007-03-231-1/+2
| | | | | | | | Jeremy.
* | r21936: Keeping up with Metze :-).Jeremy Allison2007-03-221-0/+4
| | | | | | | | 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.
* | 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.
* | r21452: Revert to tdb group_mapping implementation for 3.0.25 release.Gerald Carter2007-02-19131-38859/+0
| | | | | | | | No other changes here.
* | r21420: Looks big, but isn't really. Move internal namesJeremy Allison2007-02-185-47/+45
| | | | | | | | | | | | | | | | | | of SEC_DESC over from grp_owner -> group_owner, ace -> aces and info.mask -> mask. Makes it *much* easier to move code within branches as they're now referring to the same names for the same things (which is what the NDR code also uses). Jeremy.
* | r21322: No feedback means consent :-)Volker Lendecke2007-02-137-78/+528
| | | | | | | | | | | | | | | | | | | | | | It does not matter if I screw up 3.0.25 or 3.0.26 with this, so do it rather sooner than later. Add the notify support that already exists in 3_0 to 3_0_25. If you want to see this patch dissected into digestable parts, look at 3_0, revisions at about 20800 and following. Volker
* | r21313: Janitor for metze :-)Volker Lendecke2007-02-131-1/+1
| |
* | 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.
* | r21197: const changesGerald Carter2007-02-061-2/+3
| |
* | r21186: * Merge nss_info and idmap interface changes to current Gerald Carter2007-02-061-25/+50
| | | | | | | | | | | | stable branch * Also include pam_winbind changes for multiple groups in the require-membership-of parameter
* | r21177: Merge from SAMBA_3_0.Jeremy Allison2007-02-062-8/+15
| | | | | | | | | | merged va_end() changes from Samba4 Jeremy.
* | r21060: Start refactoring out the non-return case statementsJeremy Allison2007-01-301-8/+8
| | | | | | | | | | into functions. Jeremy.
* | r21005: Add a debug message for EAGAIN error of setresuid.Volker Lendecke2007-01-241-1/+7
| | | | | | | | Volker
* | r20916: Add in the delete on close final fix - but only enabledJeremy Allison2007-01-191-0/+4
| | | | | | | | | | with -DDEVELOPER. Jeremy.
* | r20912: Ensure the list always remains sorted even whenJeremy Allison2007-01-191-16/+33
| | | | | | | | | | moving events around. Jeremy.
* | r20873: Some correctness fixes w.r.t. Samba4 torture BASE-DELETE.Jeremy Allison2007-01-181-0/+16
| | | | | | | | | | | | | | | | Allow us to correctly refuse to set delete on close on a non-empty directory. There are still some delete-on-close wrinkles to be fixed, but I understand how to do that better now. I'll fix this tomorrow. Jeremy.
* | r20838: Small fix from Jiri.Sasek@Sun.COM to fix nullJeremy Allison2007-01-161-2/+3
| | | | | | | | | | pointer deref. Jeremy
* | r20821: merge from samba4:Stefan Metzmacher2007-01-152-2/+3
| | | | | | | | | | | | | | | | - include system/aio.h - use full prototype for main - use ifdef instead if metze
* | r20818: sync lib/replace with samba4Stefan Metzmacher2007-01-1512-40/+151
| | | | | | | | metze
* | r20790: merge from samba4:Stefan Metzmacher2007-01-152-12/+0
| | | | | | | | | | | | - remove the epoll configure checks from libreplace metze
* | r20695: Remove duplication of constants.Jeremy Allison2007-01-121-11/+2
| | | | | | | | Jeremy.