1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source3/lib
Jim McDonough 7930f15f5d Don't require "Modify property" perms to unjoin bug #6481)
"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 13:46:07 -04:00
..
eventlog Fix a couple of warnings 2009-04-23 14:35:50 +02:00
ldb Fix resource leak in lib/ldb/tools/ldbmodify.c 2009-06-18 13:49:26 +10:00
netapi Don't require "Modify property" perms to unjoin bug #6481) 2009-06-19 13:46:07 -04:00
smbconf s3:libsmbconf: fix a comment typo 2009-04-27 13:25:07 +02:00
access.c Use sockaddr_storage only where we rely on the size, use sockaddr 2008-10-23 19:53:15 +02:00
account_pol.c fixed lots of places that paniced on a failed transaction_commit, 2008-08-13 11:54:10 +02:00
ads_flags.c Move ads flags mapping to lib/ 2009-05-30 10:21:38 +02:00
adt_tree.c adt_tree: change pathtree_add to return WERR instead of bool. 2008-04-13 15:33:47 +02:00
afs_settoken.c Fix bug 6136: New AFS syscall conventions 2009-05-03 22:16:01 +02:00
afs.c Fix bug 6136: New AFS syscall conventions 2009-05-03 22:16:01 +02:00
audit.c
avahi.c Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crash 2009-03-26 10:05:27 +01:00
bitmap.c
charcnv.c Make ctemp async. Fix the test to pass against W2K3. 2009-06-10 11:58:00 -07:00
clobber.c
conn_tdb.c Merge CTDB-related fixes from samba-ctdb 3.0 branch (http://samba.org/~tridge/3_0-ctdb) 2008-01-16 12:09:48 +03:00
ctdbd_conn.c Do not crash in ctdbd_traverse if ctdbd is not around 2009-05-04 14:46:17 +02:00
dbwrap_ctdb.c s3:dbwrap_ctdb: fix some function header comments 2009-05-25 22:16:46 +02:00
dbwrap_file.c Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal. 2008-10-18 16:16:57 +02:00
dbwrap_rbt.c s3: Fix a memleak in dbwrap_rbt. 2009-03-04 11:23:05 +01:00
dbwrap_tdb.c Add db_tdb_parse 2009-02-26 11:05:22 +01:00
dbwrap_util.c s3:dbwrap: fix dbwrap_store_uint32() to match dbwrap_store_int32() 2008-12-29 09:05:15 +01:00
dbwrap.c Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly. For the clustering case. 2009-03-27 12:13:13 -07:00
debug.c Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT 2009-05-26 17:48:23 +02:00
dmallocmsg.c
dprintf.c Memory leaks and other fixes found by Coverity 2009-01-21 17:13:03 -08:00
dummyroot.c
dummysmbd.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
errmap_unix.c s3: map NetBSD's errno on posix open calls for symlinks 2009-06-04 22:09:10 +02:00
events.c s3-events: Not only timed, also immediate events generate a timeout return 2009-05-17 11:45:22 +02:00
fault.c Fix Coverity ID 884: DEADCODE 2009-04-23 10:44:51 +02:00
file_id.c s3: Add extid to the dev/inode pair 2009-02-19 20:58:26 -08:00
fncall.c Add fncall_send/recv 2009-05-01 12:30:59 +02:00
gencache.c simplify gencache_iterate a bit, fix nonempty blank lines 2009-01-19 00:05:56 +01:00
iconv.c Use samba3's own iconv implementation for now, until all changes are 2009-03-02 05:04:07 +01:00
idmap_cache.c Move idmap_cache.c from winbindd/ to lib/ 2008-08-26 12:56:47 -07:00
interface.c Fix bug 5681: Do not limit the number of network interfaces 2009-05-18 13:38:55 +02:00
interfaces.c Fix bug 5681: Do not limit the number of network interfaces 2009-05-18 13:38:55 +02:00
ldap_debug_handler.c More warning fixes for Solaris. 2009-02-23 16:22:43 -08:00
ldap_escape.c
memcache.c Attempt to fix the build 2008-11-15 00:50:33 +01:00
messages_ctdbd.c first cut at adding full transactions for ctdb to samba3 2008-08-13 11:54:08 +02:00
messages_local.c Use TDB_VOLATILE instead of tdb_set_max_dead() 2009-05-19 14:54:53 +02:00
messages.c fixed a bug in message handling for code the change notify code 2009-03-10 16:45:45 +11:00
module.c Remove sys_dl*() - stubs are already provided by libreplace. 2008-11-01 03:49:49 +01:00
ms_fnmatch.c s3:lib Use push_ucs2_talloc() in ms_fnmatch() 2009-04-08 01:15:24 +02:00
packet.c Optimize for the common case that packet.c received exactly one full packet 2009-01-02 22:11:50 +01:00
pam_errors.c
pidfile.c Fix bug 4699: Remove pidfile on clean shutdown 2009-06-18 16:17:57 -07:00
popt_common.c s3: make better use of ccache by not including version.h in every C-file. 2009-01-15 22:56:01 +01:00
privileges_basic.c s3-privileges: remove trailing whitespace from privileges codes. 2009-05-16 01:27:51 +02:00
privileges.c s3-privileges: add privilege_delete_account(). 2009-05-16 01:27:51 +02:00
pthreadpool.c Many build farm boxes do not have clock_gettime 2009-05-01 21:43:25 +02:00
readline.c Coverity fix #CID: 607 - resource leak on error path. 2008-10-29 15:55:45 -07:00
recvfile.c Several fixes to our use of splice 2009-01-07 12:04:44 +01:00
secdesc.c s3: Use common security_descriptor_equal(). 2009-04-21 18:17:40 +02:00
select.c S3: Stop creating SMBD cores when failing to create a pipe. 2009-02-18 18:08:33 -08:00
sendfile.c Clean up assignments to iov_base, ensure it's always cast to void *. This should quieten some warnings with picky compilers on the buildfarm. 2009-05-12 11:45:37 -07:00
server_mutex.c Use a separate tdb for mutexes 2008-03-10 21:08:45 +01:00
sharesec.c Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
smbldap_util.c
smbldap.c Fix some nonempty blank lines 2009-05-31 12:16:34 +02:00
smbrun.c Add checks for non_root mode to help buildfarm spoolss tests. 2009-05-11 09:42:08 -07:00
sock_exec.c Coverity fixes 2008-03-17 20:52:25 +01:00
substitute.c Convert Samba3 to use the common lib/util/charset API 2009-04-14 12:53:56 +10:00
sysacls.c
sysquotas_4A.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas_linux.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas_xfs.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas.c Use common util_file code. 2008-10-12 17:34:43 +02:00
system_smbd.c nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros 2008-02-13 10:44:52 +01:00
system.c s3: correct check for usleep value boundaries 2009-06-03 18:06:43 +02:00
tallocmsg.c
tdb_validate.c More warning fixes for Solaris. 2009-02-23 16:22:43 -08:00
tdb_validate.h Fix the build on "opi" 2009-01-29 21:38:05 +01:00
time.c Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT 2009-05-26 17:48:23 +02:00
tldap_util.c Add tldap_fetch_rootdse 2009-06-19 14:28:22 +02:00
tldap.c Add a missing talloc_move() in tldap_search_recv 2009-06-19 17:37:30 +02:00
username.c
util_file.c Fix a talloc/malloc screwup in file_lines_pload 2009-03-26 14:58:38 +01:00
util_nscd.c
util_nttoken.c Move secace.c to top-level. 2009-03-01 18:00:26 +01:00
util_pw.c Make memcache_add_talloc NULL out the source pointer 2008-11-14 20:27:46 +01:00
util_reg_api.c Fix a type-punned warning 2009-04-23 14:35:50 +02:00
util_reg.c s3:registry: replace typedef REGISTRY_OPS by struct registry_ops 2009-04-27 11:21:04 +02:00
util_seaccess.c Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or delete file 2009-02-02 17:10:27 -08:00
util_sec.c
util_sid.c Make sid_binstring & friends take a talloc context 2009-05-28 11:33:21 +02:00
util_sock.c Make open_udp_socket() IPv6 clean. Trying to fix bug #6437 - Unable to join IPv6-only ads domain. 2009-06-08 13:26:39 -07:00
util_str.c Make sid_binstring & friends take a talloc context 2009-05-28 11:33:21 +02:00
util_tdb.c s3: separate tdb validation code out into its own source file 2009-01-28 09:43:57 +01:00
util_transfer_file.c Move transfer_file and transfer_file_internal to a module of their own. 2008-01-10 14:31:25 +01:00
util_unistr.c s3:charcnv Remove unused unistrcpy() and unistrlen() 2009-04-07 20:51:56 +02:00
util_uuid.c Make sid_binstring & friends take a talloc context 2009-05-28 11:33:21 +02:00
util.c s3: Call va_end() after all va_start()/va_copy() calls. 2009-06-12 10:29:37 +02:00
version_test.c add a versiontest program to print samba_version_string(). 2009-03-19 23:57:35 +01:00
version.c s3: make better use of ccache by not including version.h in every C-file. 2009-01-15 22:56:01 +01:00
winbind_util.c s3: Fix a free of an uninitialized variable in winbind_get_sid_aliases 2009-03-19 14:59:23 -07:00
wins_srv.c Use common net utility code (address and sockaddr manipulation). 2008-10-23 20:41:15 +02:00