1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

53799 Commits

Author SHA1 Message Date
Simo Sorce
29ae49240c Remove trailing whitespaces 2009-05-30 09:48:38 -04:00
Jeremy Allison
34c2172ae8 Simplify the dropbox patch 2009-05-30 11:30:16 +02:00
Volker Lendecke
29d25d5ebf Move ads flags mapping to lib/ 2009-05-30 10:21:38 +02:00
Volker Lendecke
e9d1197b4e talloc_strdup "dir" in wb_context_init 2009-05-30 09:54:37 +02:00
Volker Lendecke
625851a50f Handle EINTR in async_sock.c 2009-05-30 09:51:02 +02:00
Günther Deschner
df167ee771 s3-selftest: Fix invalid /etc/group file used with nss_wrapper.
Found by torture test.

Guenther
2009-05-30 09:43:28 +02:00
Kai Blin
bb9103d9c4 libwbclient: Store the winbind socket dir to use in the wb_context 2009-05-30 09:17:37 +02:00
Kai Blin
29ee4f6a34 libwbclient: Silence a compiler warning 2009-05-30 09:17:37 +02:00
Kai Blin
57ea909b32 libwbclient: Add async call framework. 2009-05-30 09:17:37 +02:00
Volker Lendecke
590a3afc8a Re-Add the "dropbox" functionality with -wx rights on a directory 2009-05-29 16:57:47 -07:00
Günther Deschner
2be289c68d nss_wrapper: add test_nwrap_membership to testsuite.
Guenther
2009-05-30 01:46:22 +02:00
Günther Deschner
62d1cd6375 nss_wrapper: restructure parts of the testsuite.
Guenther
2009-05-30 01:45:58 +02:00
Günther Deschner
8db4917290 nss_wrapper: add support for getgrouplist.
Guenther
2009-05-30 00:06:00 +02:00
Jeremy Allison
684d3dddd6 Make cli_nt_delete_on_close() async.
Jeremy.
2009-05-29 14:58:34 -07:00
Michael Adam
2b68fb7cb4 s3:pdbedit: fix "format not a string literal and no format arguments" warnings
Michael
2009-05-29 23:52:23 +02:00
Michael Adam
e31d4ee936 s3:add prototype of map_nt_error_from_wbcErr() to proto.h
Michael
2009-05-29 23:28:39 +02:00
Michael Adam
c3b67446d0 libsmbclient: make SMBC_module_terminate() static.
Michael
2009-05-29 23:28:39 +02:00
Michael Adam
23e3b44689 s3:pam_smbpass: make smb_update_db() static.
Michael
2009-05-29 23:28:38 +02:00
Volker Lendecke
dde62b35d7 Add smbldap_talloc_single_blob() 2009-05-29 21:29:24 +02:00
Günther Deschner
f451dd482d s4-smbtorture: fix the build w/o libnetapi.
This is surely the wrong fix, but I could not figure out why the samba4 build
system adds the init function although the m4 macro had switched off the torture
libnetapi subsystem when the headers and libs were not found.

Can one of the samba4 build gurus please have a look ?

Guenther
2009-05-29 19:25:44 +02:00
Volker Lendecke
3d9e1f605c util: Change license on tevent_unix to LGPLv3+ 2009-05-29 18:31:30 +02:00
Volker Lendecke
e3367284ab s3 async wbclient: Change license to LGPLv3+ 2009-05-29 18:17:39 +02:00
Volker Lendecke
9d8766e176 async_sock: Change license to LGPLv3+ 2009-05-29 18:17:38 +02:00
Kai Blin
992e861a8d s3 wbc_async: Fix copyright notice cut&paste error.
Volker created all these prototypes, I just created the file and moved them over.

Signed-off-by: Kai Blin <kai@samba.org>
2009-05-29 18:17:38 +02:00
Günther Deschner
90db997d37 Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."
This reverts commit 8da15dc29a.
2009-05-29 18:11:39 +02:00
Günther Deschner
8da15dc29a s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.
Guenther
2009-05-29 18:10:04 +02:00
Günther Deschner
0542fa9e7d s4-smbtorture: add NETAPI-GROUP test.
Guenther
2009-05-29 18:09:59 +02:00
Günther Deschner
3d07a929e6 s4-smbtorture: add NETAPI-USER test.
Guenther
2009-05-29 18:09:48 +02:00
Günther Deschner
10eec5ebc0 s3-passdb: fix uninitialized variable in local_password_change().
Guenther
2009-05-29 18:08:02 +02:00
Simo Sorce
f48e39540c Consolidate create/delete account paths in pdbedit
Use common paths like for smbpasswd, so that all utilities
behave the same way. As for smbpasswd this changes the behavior
of pdbedit to create/delete unix users is the add/delete user
scripts are provided, or ldapsam:editposix is configured.

Signed-off-by: Günther Deschner <gd@samba.org>
2009-05-29 18:03:56 +02:00
Simo Sorce
64d1b5c4e1 Consolidate user create/delete paths in smbpasswd
This patch changes the way smbpasswd behaves when adding/deleting users.
smbpasswd now calls pdb_create_user/pdb_delete_user, this means that if
add/delete user scripts are configured then they are used to create or
delete unix users as well. If the scripts are not defined the behavioris
unchanged.
This also allow to use smbpasswd -a/-x with ldapsam:editposix to allow
automatic creation/deletion of users.

Signed-off-by: Günther Deschner <gd@samba.org>
2009-05-29 18:03:42 +02:00
Günther Deschner
fa3a665221 s4-smbtorture: add very basic LIBNETAPI testsuite.
Guenther
2009-05-29 17:59:43 +02:00
Günther Deschner
7b8d30d1bb s3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.
Guenther
2009-05-29 13:50:15 +02:00
Günther Deschner
36fc0b961f s4-smbtorture: add a very basic NSS-WRAPPER testsuite.
Guenther
2009-05-29 13:50:09 +02:00
Günther Deschner
bff54b90c3 util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.
Guenther
2009-05-29 13:49:58 +02:00
Günther Deschner
12496ea5ab s4-smbtorture: remove trailing whitespace.
Guenther
2009-05-29 13:18:23 +02:00
Günther Deschner
059401e457 s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supporting
validation level 6.

Guenther
2009-05-29 13:17:53 +02:00
Günther Deschner
90b3890654 s3-netlogon: Fix _netr_LogonSamLogon{Ex} with validation level != 3.
Guenther
2009-05-29 13:17:52 +02:00
Günther Deschner
65f86a644a s3-netlogon: return proper error code for unsupported validation class.
Guenther
2009-05-29 13:17:52 +02:00
Günther Deschner
9bd8b0a157 s3-rpc_server: increase max number of open policy handles per pipe to 2048.
Guenther
2009-05-29 13:17:52 +02:00
Kumar Thangavelu
1a7898e3a8 s3/getdcname: Fix 'net' crash.
'net' command crashed when attempting to join a
domain. This occurred in a very specific case where
the DC had multiple IPs and one of the IPs was invalid.

Signed-off-by: Volker Lendecke <vl@samba.org>
2009-05-29 11:27:38 +02:00
Karolin Seeger
2228cc6a0f s3/docs: Fix typo.
This fixes bug #4341.
Thanks to Michael Cartmell <michael.cartmell [at] thomson.com> for reporting!

Karolin
2009-05-29 09:53:36 +02:00
Volker Lendecke
f6535d3f3f Fix some nonempty blank lines 2009-05-29 09:48:55 +02:00
Andrew Bartlett
227553f904 Win2k3 don't allow creating of domain trust accounts over SAMR 2009-05-29 17:12:06 +10:00
Andrew Bartlett
b83f84c8c3 s4:torture Don't try to Close a Deleted handle 2009-05-29 17:02:19 +10:00
Andrew Kroeger
554923ce1b s4: Add additional 2-letter SID/RID mappings.
Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx
2009-05-29 12:37:26 +10:00
Andrew Kroeger
c9b6e9fd03 s4: Add additional well-known SID's/RID's.
Information was found at http://support.microsoft.com/kb/243330

Not all well-known identifiers were included - only those necessary for
enhancing the 2-letter mappings used in SDDL strings were added.
2009-05-29 12:37:25 +10:00
Andrew Bartlett
d409a12ccd s4:setup Remove generated attributes from provision_configuration
Incorrectly added in 95eeef91d3, and
found by OpenLDAP backend tests run by Theodor Chirana <office@adaptcom.ro>

Andrew Bartlett
2009-05-29 12:15:28 +10:00
Andrew Bartlett
a2e72ac556 s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGES 2009-05-29 11:56:29 +10:00
Andrew Bartlett
a3f619f9d9 s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DC 2009-05-29 11:56:27 +10:00