summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* tldap control supportVolker Lendecke2009-06-202-9/+128
|
* Prepare control supportVolker Lendecke2009-06-204-58/+90
| | | | | | | | | We will have arrays of controls passed to tldap.c. Follow a mantra from the classic book "Thinking Forth" by Leo Brodie: Favor counts over terminators :-) This makes the parameter lists to tldap pretty long, but everyone will have wrapper routines anyway, see for example tldap_search_fmt. And the OpenLDAP manpages call the non-_ext routines deprecated, probably for a reason.
* Fix setting passwords in pdb_adsVolker Lendecke2009-06-201-6/+7
| | | | | | | | | | | | | | The samba4 password_hash module does not allow changing the password fields via the "delete oldval" -> "add newval" set of modify operations, it requires a single "replace with newval" operation. Andrew, Samba3 by default uses that delete/add pair to detect if between fetching the old value and storing the new one the old value has changed. This is lost by using the "replace" operation. Would it make sense to add this to the password_hash module? Volker
* Fix empty linesVolker Lendecke2009-06-201-3/+0
|
* talloc_tos() aborts if it can not get a stackframeVolker Lendecke2009-06-201-3/+0
|
* Fix coverity #729. Resource leak in error path.Jeremy Allison2009-06-191-1/+4
| | | | Jeremy.
* Fix coverity #740. Resource leak in error paths. We shouldJeremy Allison2009-06-191-3/+2
| | | | | always return queue here as the caller will free. Jeremy.
* Fix coverity #900. Resource leak.Jeremy Allison2009-06-191-0/+5
| | | | Jeremy.
* Fix coverity #920. Possible NULL deref.Jeremy Allison2009-06-191-0/+4
| | | | Jeremy.
* Fix coverity #676. Forward NULL.Jeremy Allison2009-06-191-0/+6
| | | | Jeremy.
* s3: fix make test with external libtalloc or libtdb.Michael Adam2009-06-191-4/+13
| | | | | | | | | | This skips the talloctort and tdbtorture tests when the corresponding binaries are not present. There might be more clever ways of detecting wether samba has been linked with internal or external libraries, but as a first approximation, this seems valid. Michael
* s3:build: build talloctort only when using the internal liballocMichael Adam2009-06-192-3/+8
| | | | | | | Fixes the build with the external libtalloc. And is the reasonable thing to do anyways. Michael
* s3:build: build the tdb tools only when using the internal libtdbMichael Adam2009-06-192-4/+18
| | | | | | This fixes the build when internal libtdb is used. Michael
* s3:build: remove LIBTDB_OBJ from TDBTORTURE_OBJ collectionMichael Adam2009-06-191-1/+1
| | | | | | | tdbtorture is linked with LIBTDB_LIBS, which is whatever configure has determined to be (-ltdb or LIBTDB_OBJ ...). Michael
* s3:build: check for availability of external libtdb and use it if availableMichael Adam2009-06-191-18/+34
| | | | | | | Link internal libtalloc statiaclly if extenal libtalloc is not found or does not have appropriate version. Michael
* s3:build: link libtalloc statically if using internal libtallocMichael Adam2009-06-191-0/+1
| | | | Michael
* Don't require "Modify property" perms to unjoin bug #6481)Jim McDonough2009-06-196-18/+50
| | | | | | | | | | | | | | | | | | "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.
* Add a missing talloc_move() in tldap_search_recvVolker Lendecke2009-06-191-1/+1
|
* Fix Coverity IDs 922 and 933Volker Lendecke2009-06-192-3/+6
| | | | | | | | | | | In copy_internals(), if the !CAN_WRITE(conn) kicks in, we end up dereferencing a NULL smb_filename. This adds a simple protection around it. Tim, please check! Volker
* Add tiny tldap testVolker Lendecke2009-06-192-1/+37
|
* Add tldap_fetch_rootdseVolker Lendecke2009-06-192-0/+138
|
* Make tevent_req_is_ldap_error publicVolker Lendecke2009-06-192-1/+3
|
* Add tldap_context_[gs]etattrVolker Lendecke2009-06-192-0/+81
| | | | | | | | | | This adds the ability to attach extended information to a tldap_context. This will become useful once we start to do automatic reconnects for example, a callback function might want attach a pointer to credentials so that it can rebind. The initial user of this will be a cached rootdse, so that things like the ability to do paged searches can be cached.
* s3:dmapi: prefer dmapi libs from gpfs over system libsBjörn Jacke2009-06-191-4/+4
| | | | | | | | | | | Patch from William Jojo sent to samba-technical: This is based on some pain felt when building 32-bit and 64-bit Clustered Samba on AIX with GPFS support. Part of the problem lies in AIX only providing 32-bit shared object in libxdsm.a(shr.o). So without libdmapi.a from gpfs.base, you get no DMAPI support under 64-bit.
* Fix bug 4699: Remove pidfile on clean shutdownVolker Lendecke2009-06-185-8/+28
|
* acl_group_override() doesn't need to call stat. Pass thisJeremy Allison2009-06-181-28/+17
| | | | | down from above (as const). Jeremy.
* Add some const to the stat struct in the dosmode calls.Jeremy Allison2009-06-188-102/+72
| | | | | | | | Fix a couple more unix_convert uses to filename_convert. Fix bug in acl_group_override() where an uninitialized struct could be used. Move unix_convert with wildcard use in SMBsearch reply to boilerplate code. Jeremy.
* Replace the boilerplate calls to :Jeremy Allison2009-06-186-270/+154
| | | | | | | | | | | | resolve_dfspath() -> unix_convert() -> get_full_smb_filename() -> check_name() with a new function filename_convert(). This restores the check_name() calls that had gone missing since the default create_file was changed. All "standard" pathname processing now goes through filename_convert(). I'll take a look at the non-standard pathname processing next. As a benefit, fixed a missing resolve_dfspath() in the trans2 mkdir call. Jeremy.
* s3:netlogon Cope with recent rename in netlogon.idlAndrew Bartlett2009-06-181-1/+1
|
* Fix resource leak in lib/ldb/tools/ldbmodify.cSlava Semushin2009-06-181-0/+1
| | | | Patch for bug #6389
* Fix syntax error in lib/ldb/ldb_sqlite3/base160.cSlava Semushin2009-06-181-1/+1
| | | | Patch for bug #6388
* s3 onefs: Remove dfs resolution from create_file() now that it's being done ↵Tim Prouty2009-06-171-22/+1
| | | | at a higher level
* s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty2009-06-1723-127/+392
| | | | | | | | | | | | This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling.
* s3: Plumb smb_filename from create_file all of the way down to fd_openTim Prouty2009-06-175-206/+282
| | | | | | | | | | | | I used the smb_filename struct everywhere that was feasible for the first pass. There are still some places in this path that need to be changed to use smb_filename, but this is a good start. I also: - Removed fname/path arguments from a few functions that weren't really using them. - Added a utility function for detecting whether an smb_filename is a stream.
* Fix bug #6476 - more then 3000 smbd-zombies in memoryJeremy Allison2009-06-171-0/+12
| | | | | We weren't reaping children in the [x]inetd case. Jeremy.
* s3-net: Fix Bug #6328: support "net sam rights grant/revoke" with multiple ↵David Markey2009-06-171-18/+24
| | | | | | | | rights. David Signed-off-by: Günther Deschner <gd@samba.org>
* s3/i18n: Add Russian to the list.Karolin Seeger2009-06-171-1/+1
| | | | Karolin
* s3/i18n: Add Russian translation for SWAT messages.Karolin Seeger2009-06-1712-0/+694
| | | | | | Thanks to Yuri Kozlov <kozlov.y [at] gmail.com>! This is part of a fix for bug #4755.
* s3-net: Fix Bug #6328: allow multiple rights in "net sam rights grant".Günther Deschner2009-06-171-10/+14
| | | | Guenther
* s3/i18n: Update German SWAT translations.Karolin Seeger2009-06-171-215/+239
| | | | | | | | This is part of a fix for bug #4755. Patch was provided (mainly) by Helge Kreutzmann <debian [at] helgefjell.de>. Thanks! Karolin
* s3/libsmb: Fix typo in error message.Karolin Seeger2009-06-171-1/+1
| | | | | | Thanks to Herb Lewis <hlewis [at] panasas.com> for noticing! Karolin
* Remove msdfs pathname processing from default create file.Jeremy Allison2009-06-161-25/+0
| | | | | No longer needed. Jeremy
* Fix msdfs after the change to smb_filename struct. We must *always*Jeremy Allison2009-06-165-29/+161
| | | | | pull the pathname, then call resolve_dfspath(), before unix_convert(). Jeremy.
* _lsa_EnumAccountRights and _lsa_EnumPrivsAccount can return anJeremy Allison2009-06-161-19/+17
| | | | | | empty set of privilages if the SID doesn't have any. (From [MS-LSAD.pdf]) Jeremy.
* s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.Günther Deschner2009-06-161-0/+2
| | | | Guenther
* s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username ↵Günther Deschner2009-06-161-1/+5
| | | | | | | | | was given. When no callback or wrapping has managed to get a password, prompt in the netapi connection manager for a password. Guenther
* s3-netapi: add NetGetJoinInformation example code.Günther Deschner2009-06-162-0/+110
| | | | Guenther
* s3 onefs: Fix reading over the end of the array, because the incorrect array ↵Tim Prouty2009-06-151-2/+3
| | | | was being read.
* s3 onefs: Change onefs modules to use the new createfile apiTim Prouty2009-06-153-43/+46
|
* s3/libsmb: Fix debug message.Karolin Seeger2009-06-151-1/+1
| | | | | | | | This fixes bug #6472. Karolin Signed-off-by: Volker Lendecke <vl@samba.org>