summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix detection of "enum FAMCodes"Volker Lendecke2009-05-191-1/+1
|
* s3 onefs: Removing an incorrect TALLOC_FREEAravind Srinivasan2009-05-191-1/+0
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* Use TDB_VOLATILE instead of tdb_set_max_dead()Volker Lendecke2009-05-191-5/+2
|
* s3: Always allocate memory in dptr_ReadDirNameAravind Srinivasan2009-05-183-18/+45
| | | | | | | | This is a follow up to 69d61453df6019caef4e7960fa78c6a3c51f3d2a to adjust the API to allow the lower layers allocate memory. Now the memory can explicitly be freed rather than relying on talloc_tos(). Signed-off-by: Tim Prouty <tprouty@samba.org>
* s3 sendfile: Fix two bugs in sendfileTim Prouty2009-05-181-3/+4
| | | | | | | | | | | | These were found interally via code inspection. 1) fake_sendfile was incorrectly writing zeros over real data on a short read. 2) sendfile_short_send was doing 4 byte writes instead of 1024 byte writes due to an incorrect sizeof usage. Jermey, Vl please check
* Change access_check_samr_object -> access_check_object.Jeremy Allison2009-05-183-24/+25
| | | | | | | Make map_max_allowed_access global. Change lsa_get_generic_sd to add Everyone:LSA_POLICY_READ|LSA_POLICY_EXECUTE, not just LSA_POLICY_EXECUTE. Jeremy.
* s3-lsa: let _lsa_OpenPolicy() just call _lsa_OpenPolicy2().Günther Deschner2009-05-191-37/+6
| | | | Guenther
* s3-selftest: enable RPC-SAMR-USERS-PRIVILEGES.Günther Deschner2009-05-181-1/+1
| | | | Guenther
* Fix SAMR server for winbindd access. Ensure we allowJeremy Allison2009-05-181-2/+2
| | | | | MAX_ACCESS to be mapped to what we're giving Everyone. Jeremy.
* s3-lsa: let _lsa_GetSystemAccessAccount() call into _lsa_EnumPrivsAccount().Günther Deschner2009-05-181-3/+23
| | | | | | | | | | | | | | Inspired by lsa server from Samba 4. Just removing a user in SAMR does not remove a user in LSA. If you use usermanager from windows, the "User Rights" management gui gets unaccessable as soon as you delete a user that had privileges granted. With this fix, that no longer existing user would properly appear as an unknown account in the GUI (as it does while using usermanager with windows domains). This almost makes Samba3 pass the RPC-SAMR-USERS-PRIVILEGES test. Guenther
* s3-lsa: start a very basic implementation of _lsa_DeleteObject().Günther Deschner2009-05-181-1/+23
| | | | | | | Certainly not the full story but this gets us closer to pass the RPC-SAMR-USERS-PRIVILEGES test. Guenther
* Move down the become_root()/unbecome_root() calls into the VFS modulesVolker Lendecke2009-05-182-8/+22
| | | | | | The aio_fork module does not need this, as it does not communicate via signals but with pipes. Watching a strace log with those become_root() calls in aio.c is absolutely awful, and it does affect performance.
* Fix bug 5681: Do not limit the number of network interfacesVolker Lendecke2009-05-184-25/+40
| | | | | | | | | | 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
* In aio_fork, we have to close all fd's, we might hold a gpfs share modeVolker Lendecke2009-05-181-0/+16
| | | | Keeping such an fd open prohibits another open of that same file.
* Add "file_walk_table" to do stuff with all open filesVolker Lendecke2009-05-182-0/+26
|
* Fix a race condition in vfs_aio_fork with gpfs share modesVolker Lendecke2009-05-181-2/+8
|
* Fix broken pipe handlingVolker Lendecke2009-05-182-4/+4
| | | | | | | | Metze is right: If we have *any* error at the socket level, we just can not continue. Also, apply some defensive programming: With this async stuff someone else might already have closed the socket.
* Fix a type-punned warningVolker Lendecke2009-05-181-1/+1
|
* s3: tevent_req_poll() loops forever when pipe is brokenBo Yang2009-05-192-1/+28
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3:fix bug #6371, unsuccessful net conf setparm leaves empty shareMichael Adam2009-05-171-3/+25
| | | | | | Wrap creation of share and setting of parameter into a transaction. Michael
* s3-events: Not only timed, also immediate events generate a timeout returnVolker Lendecke2009-05-171-1/+1
|
* Move smb_create_user() in samsyncSimo Sorce2009-05-163-65/+60
| | | | | It is not used anywhere else, so make it also static and remove it from proto.h
* Fix static linking of vfs_notify_famVolker Lendecke2009-05-162-1/+6
|
* Fix a typoVolker Lendecke2009-05-161-1/+1
|
* s3-events: If immediate requests are pending, the timeout is 0Volker Lendecke2009-05-161-0/+9
|
* Fix the merged build -- thanks jelmer for the hint!Volker Lendecke2009-05-161-2/+0
|
* Update copies of config.guess and config.sub.Jelmer Vernooij2009-05-164-83/+293
|
* s3-privileges: add privilege_delete_account().Günther Deschner2009-05-162-0/+29
| | | | Guenther
* s3-privileges: remove trailing whitespace from privileges codes.Günther Deschner2009-05-162-105/+105
| | | | Guenther
* Oops. Forgot to delete now unused local from the previous patch.Jeremy Allison2009-05-151-2/+0
| | | | Jeremy.
* Fix bug #6359 - smbclient -L does not list workgroup for hosts with both ↵Ole Hansen2009-05-151-4/+10
| | | | IPv4 and IPv6 addresses
* s3:build: fix linking with --disable-shared-libsMichael Adam2009-05-151-0/+1
| | | | Michael
* Ensure users with SeAddUser privs get full access toJeremy Allison2009-05-151-3/+3
| | | | | groups/aliases when opening. Jeremy.
* Add extra abilities for a user with SeAddUsers, so theyJeremy Allison2009-05-151-2/+15
| | | | | can manipulate groups and aliases. Jeremy.
* DeleteUser doesn't need the priv checks, this is done at OpenUser time.Jeremy Allison2009-05-151-20/+0
| | | | Jeremy.
* s3-samr: Fix samr access checks in _samr_RemoveMemberFromForeignDomain().Günther Deschner2009-05-151-1/+1
| | | | Guenther
* Fix bug 6361: Make --rcfile work in smbgetVolker Lendecke2009-05-151-1/+1
| | | | Thanks to j scott <gl@arlut.utexas.edu> for reporting!
* mount.cifs: directly include sys/stat.h in mtab.cJeff Layton2009-05-151-0/+1
| | | | | | | | This file is mysteriously getting included when built via the makefile, but when you try to build mtab.o by hand it fails to build. Directly include it to remove any ambiguity. Signed-off-by: Jeff Layton <jlayton@redhat.com>
* s3-netdomjoin-gui: allow to switch between workgroups/domains with the same ↵Günther Deschner2009-05-151-2/+4
| | | | | | name. Guenther
* s3-netdomjoin-gui: cosmetic fix for empty hostnames.Günther Deschner2009-05-151-0/+1
| | | | Guenther
* s3-netdomjoin-gui: only gray out labels when not root and not connecting toGünther Deschner2009-05-151-3/+3
| | | | | | remote machines. Guenther
* s3:swat: hide "config backend" from swatMichael Adam2009-05-151-1/+1
| | | | Michael
* s3:param: prevent includes from being dumped in dump_*() functions.Michael Adam2009-05-152-3/+7
| | | | | | This fixes bug #4271: testparm should not print includes. Michael
* s3:build: add install-dbwrap_tool targetMichael Adam2009-05-151-0/+3
| | | | Michael
* s3:build dbwrap_tool with make everythingMichael Adam2009-05-151-1/+2
| | | | Michael
* s3-samr: Fix samr access checks in _samr_SetUserInfo().Günther Deschner2009-05-151-14/+109
| | | | Guenther
* s3-samr: Fix samr access checks in _samr_QueryUserInfo().Günther Deschner2009-05-151-3/+71
| | | | Guenther
* s3-samr: in _samr_QueryUserInfo() make sure to not return any info in error ↵Günther Deschner2009-05-151-1/+6
| | | | | | case. Guenther
* s3-samr: Fix samr access checks in _samr_SetDomainInfo().Günther Deschner2009-05-151-7/+22
| | | | Guenther
* s3-samr: Fix samr access checks in _samr_QueryDomainInfo().Günther Deschner2009-05-151-1/+31
| | | | Guenther