summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-29Consolidate create/delete account paths in pdbeditSimo Sorce3-258/+325
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-29Consolidate user create/delete paths in smbpasswdSimo Sorce2-174/+194
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-29s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner7-0/+125
Guenther
2009-05-29s3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.Günther Deschner1-1/+3
Guenther
2009-05-29s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner3-1/+223
Guenther
2009-05-29util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.Günther Deschner7-57/+103
Guenther
2009-05-29s4-smbtorture: remove trailing whitespace.Günther Deschner1-3/+3
Guenther
2009-05-29s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supportingGünther Deschner1-0/+4
validation level 6. Guenther
2009-05-29s3-netlogon: Fix _netr_LogonSamLogon{Ex} with validation level != 3.Günther Deschner1-6/+7
Guenther
2009-05-29s3-netlogon: return proper error code for unsupported validation class.Günther Deschner1-1/+1
Guenther
2009-05-29s3-rpc_server: increase max number of open policy handles per pipe to 2048.Günther Deschner1-1/+1
Guenther
2009-05-29s3/getdcname: Fix 'net' crash.Kumar Thangavelu1-2/+2
'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-29s3/docs: Fix typo.Karolin Seeger1-1/+1
This fixes bug #4341. Thanks to Michael Cartmell <michael.cartmell [at] thomson.com> for reporting! Karolin
2009-05-29Fix some nonempty blank linesVolker Lendecke1-11/+11
2009-05-29Win2k3 don't allow creating of domain trust accounts over SAMRAndrew Bartlett2-6/+6
2009-05-29s4:torture Don't try to Close a Deleted handleAndrew Bartlett1-2/+0
2009-05-29s4: Add additional 2-letter SID/RID mappings.Andrew Kroeger1-0/+23
Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx
2009-05-29s4: Add additional well-known SID's/RID's.Andrew Kroeger2-0/+8
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-29s4:setup Remove generated attributes from provision_configurationAndrew Bartlett1-195/+0
Incorrectly added in 95eeef91d3ed7daf8e19029eadcc610caf26db63, and found by OpenLDAP backend tests run by Theodor Chirana <office@adaptcom.ro> Andrew Bartlett
2009-05-29s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGESAndrew Bartlett1-2/+7
2009-05-29s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DCAndrew Bartlett1-11/+37
2009-05-29s4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSETAndrew Bartlett1-1/+6
2009-05-29Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES ↵Andrew Bartlett1-1/+1
as slow
2009-05-29s4:client Match Samba3 and remove smbmount from the distributionAndrew Bartlett3-1434/+0
2009-05-29s4:torture Make the RPC-SAMR-PWDLASTET more efficientAndrew Bartlett1-49/+43
By using SamLogonEx we avoid setting up the credentials chain for each request. (Needs to be pushed further up the stack, to only connect to NETLOGON once). Andrew Bartlett
2009-05-29Fix incorrect RID for KRBTGT. (was incorectly 514, should be 502)Andrew Bartlett1-1/+1
Requires recompile of source4/kdc/* Found by Andrew Kroeger <andrew@id10ts.net> Andrew Bartlett
2009-05-29Fix incorrect RID for KRBTGT. (was incorectly 514, should be 502)Andrew Bartlett1-1/+1
Requires recompile of source4/kdc/* Found by Andrew Kroeger <andrew@id10ts.net> Andrew Bartlett
2009-05-28Make cli_posix_chown()/cli_posix_chmod() async.Jeremy Allison3-51/+233
Jeremy.
2009-05-28s3 onefs: update the onefs module to be compliant with stat_exTim Prouty8-77/+192
2009-05-28s3: Fix a few more users of stat to use stat_exTim Prouty1-10/+10
2009-05-28s3 tdbtorture: Fix linking issueTim Prouty1-1/+1
tdbtorture now calls the tdb transaction code and needs to link it appropriately
2009-05-28Make cli_posix_stat() async.Jeremy Allison3-55/+154
Jeremy.
2009-05-28s3/auth map NULL domains to our global sam nameSteven Danneman1-9/+3
This is an addendum to d8c54fdd, which made make_user_info_map() match Windows behavior by mapping untrusted domains given to smbd on the wire with the users credentials to smbd's global sam name. This fix was being circumvented in the case where the client passed a NULL domain. Vista clients do this. In that case smbd was always remapping the name to the machine workgroup. The NULL domain case should also be mapped to the global sam name. Removing the code in this patch, causes us to fall down to the logic added in d8c54fdd and properly map the domain.
2009-05-28Make getfacl async.Jeremy Allison3-47/+145
Jeremy.
2009-05-29s3: fix building of pam_smbpass.Bo Yang1-0/+14
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-28s3-winbindd: fix remaining callers of sid_binstring().Günther Deschner2-4/+4
Guenther
2009-05-28Fix some nonempty blank linesVolker Lendecke1-17/+17
2009-05-28s3:nmbd: fix typoBjörn Jacke1-1/+1
2009-05-28nss_wrapper: fix nss_wrapper build for solaris.Günther Deschner1-0/+2
Guenther
2009-05-28nss_wrapper: remove re-structuring leftovers (unused variables).Günther Deschner1-6/+0
Guenther
2009-05-28Make sid_binstring & friends take a talloc contextVolker Lendecke7-29/+30
2009-05-28TALLOC_ZERO_P->talloc_zeroVolker Lendecke1-1/+2
2009-05-28Do not segfault in pdb_search_destructor if no real search was startedVolker Lendecke1-1/+2
2009-05-28Add smbldap_pull_sidVolker Lendecke3-13/+23
2009-05-28s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner2-10/+14
group" script. Guenther
2009-05-28nss_wrapper: support member add and delete for groups in nss_wrapper.pl.Günther Deschner1-21/+141
Guenther
2009-05-28nss_wrapper: split out passwd and group paths in nss_wrapper.pl.Günther Deschner1-15/+26
Guenther
2009-05-28nss_wrapper: restructure nwrap calls.Günther Deschner1-71/+169
Guenther
2009-05-27Add a smbclient "readlink" command and add docs for it.Jeremy Allison2-0/+57
Jeremy.
2009-05-27Add cli_posix_readlink() and a torture test for it.Jeremy Allison3-2/+207
Jeremy.