Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-19 | Don't require "Modify property" perms to unjoin bug #6481) | Jim McDonough | 1 | -0/+1 | |
"net ads leave" stopped working when "modify properties" permissions were not granted (meaning you had to be allowed to disable the account that you were about to delete). Libnetapi should not delete machine accounts, as this does not happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag really means "disable" (both in practice and docs). However, to keep the functionality in "net ads leave", we will still try to do the delete. If this fails, we try to do the disable. Additionally, it is possible in windows to not disable or delete the account, but just tell the local machine that it is no longer in the account. libnet can now do this as well. | |||||
2009-06-19 | Add a missing talloc_move() in tldap_search_recv | Volker Lendecke | 1 | -1/+1 | |
2009-06-19 | Add tldap_fetch_rootdse | Volker Lendecke | 1 | -0/+131 | |
2009-06-19 | Make tevent_req_is_ldap_error public | Volker Lendecke | 1 | -1/+1 | |
2009-06-19 | Add tldap_context_[gs]etattr | Volker Lendecke | 1 | -0/+78 | |
This adds the ability to attach extended information to a tldap_context. This will become useful once we start to do automatic reconnects for example, a callback function might want attach a pointer to credentials so that it can rebind. The initial user of this will be a cached rootdse, so that things like the ability to do paged searches can be cached. | |||||
2009-06-18 | Fix bug 4699: Remove pidfile on clean shutdown | Volker Lendecke | 1 | -8/+18 | |
2009-06-18 | Fix resource leak in lib/ldb/tools/ldbmodify.c | Slava Semushin | 1 | -0/+1 | |
Patch for bug #6389 | |||||
2009-06-18 | Fix syntax error in lib/ldb/ldb_sqlite3/base160.c | Slava Semushin | 1 | -1/+1 | |
Patch for bug #6388 | |||||
2009-06-16 | s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2009-06-16 | s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username ↵ | Günther Deschner | 1 | -1/+5 | |
was given. When no callback or wrapping has managed to get a password, prompt in the netapi connection manager for a password. Guenther | |||||
2009-06-16 | s3-netapi: add NetGetJoinInformation example code. | Günther Deschner | 2 | -0/+110 | |
Guenther | |||||
2009-06-12 | Add basic tracing of tldap messages | Volker Lendecke | 1 | -0/+10 | |
2009-06-12 | Add debugging facility to tldap, analogous to tevent | Volker Lendecke | 1 | -0/+32 | |
2009-06-12 | s3: Call va_end() after all va_start()/va_copy() calls. | Andrew Kroeger | 3 | -2/+3 | |
There are error paths in S3 where va_end() is not properly called after va_start() or va_copy() have been called. These issues were noted while performing an inspection for S4 bug #6129. Thanks to Erik Hovland <erik@hovland.org> for the original bug report. | |||||
2009-06-10 | Make ctemp async. Fix the test to pass against W2K3. | Jeremy Allison | 1 | -3/+1 | |
Jeremy. | |||||
2009-06-08 | Make open_udp_socket() IPv6 clean. Trying to fix bug #6437 - Unable to join ↵ | Jeremy Allison | 1 | -10/+25 | |
IPv6-only ads domain. Avaiting feedback from submitter before backport to 3.4 and earlier. Jeremy. | |||||
2009-06-08 | Add tlda_add_mod_str | Volker Lendecke | 1 | -0/+17 | |
2009-06-08 | s3-charcnv: always talloc_free in convert_string_talloc() error path. | Günther Deschner | 1 | -2/+1 | |
Guenther | |||||
2009-06-08 | s3-charcnv: remove remaining malloc references in convert_string_talloc(). | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-06-07 | Add tldap_pull_uint32 | Volker Lendecke | 1 | -0/+12 | |
2009-06-07 | Fix syntax of sending a delete request | Volker Lendecke | 1 | -1/+1 | |
2009-06-06 | Add some samba-style tldap utility functions | Volker Lendecke | 1 | -0/+351 | |
2009-06-06 | Add the early start of an async ldap library | Volker Lendecke | 1 | -0/+1835 | |
There's a lot of things this does not do yet: For example it does not parse the reply blob in the sasl bind, it does not do anything with controls yet, a lot of the ldap requests are not covered yet. But it provides a basis for me to play with a pdb_ads passdb module. | |||||
2009-06-06 | Allow AF_UNIX for open_socket_out | Volker Lendecke | 1 | -0/+4 | |
2009-06-04 | s3: map NetBSD's errno on posix open calls for symlinks | Björn Jacke | 1 | -0/+3 | |
This is well undocumented but NetBSD returns EFTYPE on O_NOFOLLOW open calls on symlinks. | |||||
2009-06-03 | s3: correct check for usleep value boundaries | Björn Jacke | 1 | -1/+1 | |
2009-05-31 | Fix some nonempty blank lines | Volker Lendecke | 1 | -52/+50 | |
2009-05-30 | Move ads flags mapping to lib/ | Volker Lendecke | 1 | -0/+150 | |
2009-05-30 | libwbclient: Add async call framework. | Kai Blin | 2 | -1111/+0 | |
2009-05-29 | Add smbldap_talloc_single_blob() | Volker Lendecke | 1 | -6/+25 | |
2009-05-29 | s3 async wbclient: Change license to LGPLv3+ | Volker Lendecke | 2 | -16/+24 | |
2009-05-29 | util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique. | Günther Deschner | 1 | -33/+0 | |
Guenther | |||||
2009-05-28 | Make sid_binstring & friends take a talloc context | Volker Lendecke | 3 | -12/+15 | |
2009-05-28 | Add smbldap_pull_sid | Volker Lendecke | 1 | -0/+20 | |
2009-05-27 | s3: Allow child processes to exit gracefully if we are out of fds | Marc VanHeyningen | 1 | -6/+6 | |
When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-26 | Attempt to fix the build on NetBSD | Volker Lendecke | 1 | -0/+6 | |
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 4 | -260/+222 | |
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do. | |||||
2009-05-25 | s3:dbwrap_ctdb: fix some function header comments | Michael Adam | 1 | -3/+12 | |
Michael | |||||
2009-05-24 | Don't limit the number of retries in wb_trans. | Volker Lendecke | 1 | -8/+0 | |
This is better done with a tevent_req_set_endtime the caller should issue. | |||||
2009-05-24 | Don't set a timeout deep inside wb_connect | Volker Lendecke | 1 | -5/+0 | |
2009-05-24 | Do queueing in wbclient.c | Volker Lendecke | 2 | -46/+59 | |
The _trigger fn must know about wbc_context, while we were waiting in the queue the fd might have changed | |||||
2009-05-24 | Fix closed_fd(): select returning 0 means no fd listening | Volker Lendecke | 1 | -4/+7 | |
2009-05-24 | Fix wb_simple_trans queueing | Volker Lendecke | 1 | -16/+3 | |
2009-05-24 | Add "err_on_readability" to writev_send | Volker Lendecke | 1 | -2/+2 | |
A socket where the other side has closed only becomes readable. To catch errors early when sitting in a pure writev, we need to also test for readability. | |||||
2009-05-19 | Fix wb_trans_done after conversion to unix calling conventions | Volker Lendecke | 1 | -2/+2 | |
2009-05-19 | Fix an uninitialized variable in wb_context_init | Volker Lendecke | 1 | -0/+1 | |
2009-05-19 | Use TDB_VOLATILE instead of tdb_set_max_dead() | Volker Lendecke | 1 | -5/+2 | |
2009-05-18 | Fix bug 5681: Do not limit the number of network interfaces | Volker Lendecke | 3 | -22/+39 | |
Jeremy as far as I can see there is no real technical reason to limit the number of interfaces. If you like this patch, can you please merge it to 3.4? If you don't please tell me :-) Thanks, Volker | |||||
2009-05-17 | s3-events: Not only timed, also immediate events generate a timeout return | Volker Lendecke | 1 | -1/+1 | |
2009-05-16 | s3-events: If immediate requests are pending, the timeout is 0 | Volker Lendecke | 1 | -0/+9 | |