Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-30 | s3-util: add pull_reg_sz() and pull_reg_multi_sz() convenience functions. | Günther Deschner | 1 | -0/+35 | |
Guenther | |||||
2009-09-30 | s3-util: add push_reg_sz() and push_reg_multi_sz() convenience functions. | Günther Deschner | 1 | -0/+30 | |
Guenther | |||||
2009-09-28 | s3:gencache: Add my copyright | Volker Lendecke | 1 | -0/+1 | |
2009-09-24 | Revert 918b5a7e057bd91289ec06b3ef8d95da43a50ede. This code | Jeremy Allison | 1 | -6/+6 | |
should *not* return const. Jeremy. | |||||
2009-09-24 | s3:util_str "str_list_make_v3" - introduce also here the "const" result | Matthias Dieter Wallnöfer | 1 | -9/+9 | |
I did this to match with the default util strlist library. | |||||
2009-09-23 | s3:gencache: Make gencache_del() return success for expired entries | Volker Lendecke | 1 | -4/+13 | |
This fixes nasty error messages from "net cache flush" | |||||
2009-09-23 | s3:gencache: Remove some over-paranoid locking | Volker Lendecke | 1 | -6/+0 | |
2009-09-23 | s3:gencache: Add a "was_expired" argument to gencache_get_data_blob | Volker Lendecke | 1 | -10/+19 | |
This is set to true if the routine returns failure due to an existing but expired entry. | |||||
2009-09-21 | s3:lib/select: don't overwrite errno in the signal handler | Stefan Metzmacher | 1 | -0/+4 | |
metze | |||||
2009-09-18 | s3: Fix Coverity ID 581 -- NEGATIVE_RETURNS | Volker Lendecke | 1 | -0/+4 | |
2009-09-16 | s3-netapi: Fix Coverity #668: FORWARD_NULL. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-09-16 | s3-netapi: Fix Coverity #669 FORWARD_NULL. | Günther Deschner | 1 | -1/+1 | |
Guenthe | |||||
2009-09-16 | s3-netapi: Fix Coverity #670: FORWARD_NULL. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-09-15 | libcli:nbt make the lmhosts parsing code and dependicies common | Andrew Bartlett | 1 | -115/+0 | |
This starts the process to have Samba4 use lmhosts. Andrew Bartlett | |||||
2009-09-15 | s3: BSD needs sys/sysctl.h included to build properly | Björn Jacke | 1 | -0/+5 | |
FreeBSD (and other BSDs, too) need sys/sysctl.h inclueded to use sysctlbyname(). Thanks to Timur Bakeyev for that. | |||||
2009-09-11 | s3:dbwrap_ctdb: set dmaster in ctdb_transaction_store() also when updating ↵ | Michael Adam | 1 | -1/+1 | |
an existing record not only when creating a record. This matches commit e9194a130327d6b05a8ab90bd976475b0e93b06d from ctdb-master. Michael | |||||
2009-09-11 | s3-util: add get/set_cmdline_auth_info_domain to user_auth_info struct. | Günther Deschner | 1 | -0/+18 | |
Guenther | |||||
2009-09-10 | Fix bug 6707 - 3.4.1 segfault in parsing configs. | Marc Aurele La France | 1 | -4/+4 | |
Fixes an occasional segfault caused by an out-of-bounds reference in config file parsing. | |||||
2009-09-06 | Fix bug 6673 - smbpasswd does not work with "unix password sync = yes". | Jeremy Allison | 1 | -17/+25 | |
Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed from sys_read() to sys_recv(). read_socket_with_timeout() is called with non-fd's (with a pty in chgpasswd.c and with a disk file in lib/dbwrap_file.c via read_data()). recv works for the disk file, but not the pty. Change the name of read_socket_with_timeout() to read_fd_with_timeout() to make this clear (and add comments). Jeremy. | |||||
2009-09-05 | Save and report the correct errno value. | Simo Sorce | 1 | -8/+12 | |
2009-08-28 | s3-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h) | Michael Adam | 1 | -6/+9 | |
This also removes build warnings of redefined macros since it uses the embracing "#ifndef _DLINKLIST_H ... #endif". Michael | |||||
2009-08-27 | s3:error_map: make NTSTATUS -> errno -> NTSTATUS mapping consistent for ↵ | Stefan Metzmacher | 1 | -1/+1 | |
NT_STATUS_INVALID_PARAMETER Why have we mapped EINVAL -> NT_STATUS_INVALID_HANDLE before? metze | |||||
2009-08-26 | s3/smbd: open the share_info.tdb on startup instead of tconx | Steven Danneman | 1 | -1/+1 | |
This is a small performance optimization. Instead of opening the tdb on every smb connection in the forked child process, we now open it in the parent and share the fd. This also reduces the total fd usage in the system. | |||||
2009-08-26 | s3: Allow full_audit to play nice with smbd if it's using syslog | tprouty | 1 | -0/+6 | |
Explictly pass the facility from both smbd and full_audit to syslog. Really the only major change is to not call openlog() in full_audit if WITH_SYSLOG is defined, which implies that smbd is already using syslog. This allows full audit to piggy-back on the same ident as smbd, while still differentiating the logging via the facility. | |||||
2009-08-25 | Allow for name array strings that don't end in a slash | Zach Loafman | 1 | -12/+17 | |
Fix set_namearray to allow for strings that don't end in a slash. Also remove unnecessary strdup()s. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-08-24 | Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵ | Jeremy Allison | 1 | -4/+20 | |
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. | |||||
2009-08-24 | Use existing time_t rounding function, don't invent my own. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-08-24 | Second part of fix for 6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 1 | -0/+10 | |
ext4 may be able to store ns timestamps, but the only API to *set* timestamps takes usec, not nsec. Round to usec on set requests. Jeremy. | |||||
2009-08-24 | make smbcontrol smbd ping work proper checking for arguments handle short ↵ | Olaf Flebbe | 1 | -6/+16 | |
pid_t correctly | |||||
2009-08-24 | s3:lib: setup talloc log and abort functions | Stefan Metzmacher | 1 | -0/+7 | |
metze | |||||
2009-08-21 | Fix bug 6529 - Offline files conflict with Vista and Office 2003 | Jeremy Allison | 1 | -0/+11 | |
On filesystems that can't store less than one second timestamps, round the incoming timestamp set requests so the client can't discover that a time set request has been truncated by the filesystem. Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0. Jeremy | |||||
2009-08-16 | s3: Add talloc_dict.[ch] | Volker Lendecke | 1 | -0/+148 | |
2009-08-12 | s3:lib: map ECONNRESET to NT_STATUS_CONNECTION_RESET | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2009-08-10 | Refactor the use of create_time and change time to go | Jeremy Allison | 1 | -2/+2 | |
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy. | |||||
2009-08-08 | Implement db_rbt_traverse | Volker Lendecke | 1 | -4/+33 | |
2009-08-07 | Fix some nonempty blank lines | Volker Lendecke | 6 | -37/+36 | |
2009-08-06 | s3/smbldap: Fix typo in debug message. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2009-07-31 | Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to ↵ | Yannick Bergeron | 1 | -1/+1 | |
allow AIX to call sys_getgrouplist only once | |||||
2009-07-29 | s3:dbwrap: add dbwrap_trans_change_int32_atomic() | Michael Adam | 1 | -0/+17 | |
A transaction wrapper for dbwrap_change_int32_atomic(). Michael | |||||
2009-07-29 | s3:dbwrap: export logic of dbwrap_change_int32_atomic into an action function | Michael Adam | 1 | -6/+31 | |
to prepare for adding a transaction wrapper to dbwrap_change_int32_atomic() Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32 | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-07-29 | s3:dbwrap: add dbwrap_trans_change_uint32_atomic() | Michael Adam | 1 | -0/+17 | |
A transaction wrapper for dbwrap_change_uint32_atomic(). Michael | |||||
2009-07-29 | s3:dbwrap: export logic of dbwrap_change_uint32_atomic into an action function | Michael Adam | 1 | -6/+31 | |
to prepare for adding a transaction wrapper to dbwrap_change_uint32_atomic() Michael | |||||
2009-07-29 | s3:dbwrap: untangle assignment and check in dbwrap_change_int32_atomic() | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-07-29 | s3:dbwrap: untangle assignemend and check in dbwrap_change_uint32_atomic() | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-07-29 | s3:dbwrap: don't leak in dbwrap_change_int32_atomic(). | Michael Adam | 1 | -2/+3 | |
Michael | |||||
2009-07-29 | s3:dbwrap: don't leak in dbwrap_change_uint32_atomic() | Michael Adam | 1 | -2/+3 | |
Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32. | Michael Adam | 1 | -6/+7 | |
Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t. | Michael Adam | 1 | -5/+6 | |
Michael | |||||
2009-07-28 | (Hopefully) fix the problem Kai reported with | Jeremy Allison | 1 | -5/+53 | |
net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy. |