summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #6421 - POSIX read-only open fails on read-only shares.Jeremy Allison2009-05-302-8/+12
| | | | | | | | | | The change to smbd/trans2.c opens up SETFILEINFO calls to POSIX_OPEN only. The change to first smbd/open.c closes 2 holes that would have been exposed by allowing POSIX_OPENS on readonly shares, and their ability to set arbitrary flags permutations. The O_CREAT -> O_CREAT|O_EXCL change removes an illegal combination (O_EXCL without O_CREAT) that previously was being passed down to the open syscall. Jeremy.
* Make it possible to change machine account sidsSimo Sorce2009-05-301-40/+171
| | | | Fixes bug #6081
* Remove trailing whitespacesSimo Sorce2009-05-301-20/+20
|
* Simplify the dropbox patchJeremy Allison2009-05-301-5/+10
|
* Move ads flags mapping to lib/Volker Lendecke2009-05-303-133/+156
|
* s3-selftest: Fix invalid /etc/group file used with nss_wrapper.Günther Deschner2009-05-301-0/+1
| | | | | | Found by torture test. Guenther
* libwbclient: Store the winbind socket dir to use in the wb_contextKai Blin2009-05-301-1/+1
|
* libwbclient: Add async call framework.Kai Blin2009-05-306-1190/+9
|
* Re-Add the "dropbox" functionality with -wx rights on a directoryVolker Lendecke2009-05-291-3/+3
|
* Make cli_nt_delete_on_close() async.Jeremy Allison2009-05-293-10/+146
| | | | Jeremy.
* s3:pdbedit: fix "format not a string literal and no format arguments" warningsMichael Adam2009-05-291-2/+2
| | | | Michael
* s3:add prototype of map_nt_error_from_wbcErr() to proto.hMichael Adam2009-05-291-0/+1
| | | | Michael
* libsmbclient: make SMBC_module_terminate() static.Michael Adam2009-05-291-1/+1
| | | | Michael
* s3:pam_smbpass: make smb_update_db() static.Michael Adam2009-05-291-1/+1
| | | | Michael
* Add smbldap_talloc_single_blob()Volker Lendecke2009-05-292-6/+28
|
* s3 async wbclient: Change license to LGPLv3+Volker Lendecke2009-05-293-24/+36
|
* s3 wbc_async: Fix copyright notice cut&paste error.Kai Blin2009-05-291-1/+1
| | | | | | Volker created all these prototypes, I just created the file and moved them over. Signed-off-by: Kai Blin <kai@samba.org>
* Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."Günther Deschner2009-05-291-4/+1
| | | | This reverts commit 8da15dc29a920cd6f4d2ed96e8de4fbcd9d1ba11.
* s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.Günther Deschner2009-05-291-1/+4
| | | | Guenther
* s3-passdb: fix uninitialized variable in local_password_change().Günther Deschner2009-05-291-1/+1
| | | | Guenther
* Consolidate create/delete account paths in pdbeditSimo Sorce2009-05-293-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>
* Consolidate user create/delete paths in smbpasswdSimo Sorce2009-05-292-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>
* s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner2009-05-291-0/+1
| | | | Guenther
* s3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.Günther Deschner2009-05-291-1/+3
| | | | Guenther
* util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.Günther Deschner2009-05-294-56/+1
| | | | Guenther
* s3-netlogon: Fix _netr_LogonSamLogon{Ex} with validation level != 3.Günther Deschner2009-05-291-6/+7
| | | | Guenther
* s3-netlogon: return proper error code for unsupported validation class.Günther Deschner2009-05-291-1/+1
| | | | Guenther
* s3-rpc_server: increase max number of open policy handles per pipe to 2048.Günther Deschner2009-05-291-1/+1
| | | | Guenther
* s3/getdcname: Fix 'net' crash.Kumar Thangavelu2009-05-291-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>
* Make cli_posix_chown()/cli_posix_chmod() async.Jeremy Allison2009-05-283-51/+233
| | | | Jeremy.
* s3 onefs: update the onefs module to be compliant with stat_exTim Prouty2009-05-288-77/+192
|
* s3: Fix a few more users of stat to use stat_exTim Prouty2009-05-281-10/+10
|
* s3 tdbtorture: Fix linking issueTim Prouty2009-05-281-1/+1
| | | | tdbtorture now calls the tdb transaction code and needs to link it appropriately
* Make cli_posix_stat() async.Jeremy Allison2009-05-283-55/+154
| | | | Jeremy.
* s3/auth map NULL domains to our global sam nameSteven Danneman2009-05-281-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.
* Make getfacl async.Jeremy Allison2009-05-283-47/+145
| | | | Jeremy.
* s3: fix building of pam_smbpass.Bo Yang2009-05-291-0/+14
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3-winbindd: fix remaining callers of sid_binstring().Günther Deschner2009-05-282-4/+4
| | | | Guenther
* Fix some nonempty blank linesVolker Lendecke2009-05-281-17/+17
|
* s3:nmbd: fix typoBjörn Jacke2009-05-281-1/+1
|
* Make sid_binstring & friends take a talloc contextVolker Lendecke2009-05-287-29/+30
|
* TALLOC_ZERO_P->talloc_zeroVolker Lendecke2009-05-281-1/+2
|
* Do not segfault in pdb_search_destructor if no real search was startedVolker Lendecke2009-05-281-1/+2
|
* Add smbldap_pull_sidVolker Lendecke2009-05-283-13/+23
|
* s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner2009-05-281-5/+7
| | | | | | group" script. Guenther
* Add a smbclient "readlink" command and add docs for it.Jeremy Allison2009-05-271-0/+49
| | | | Jeremy.
* Add cli_posix_readlink() and a torture test for it.Jeremy Allison2009-05-273-2/+207
| | | | Jeremy.
* Add aync POSIX hardlink and symlink and torture test for them.Jeremy Allison2009-05-274-157/+391
| | | | | Missing call cli_readlink() is next. Jeremy.
* s3:idmap_ldap: filter out of range mappings in default idmap configMichael Adam2009-05-281-16/+55
| | | | | | This fixes bug #6417 Michael
* s3: Allow child processes to exit gracefully if we are out of fdsMarc VanHeyningen2009-05-279-25/+35
| | | | | | | | | | 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>