summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:net_rpc: don't shutdown a cli_state passed from the callerStefan Metzmacher2009-06-021-9/+8
| | | | | | | | | | | This fixes a crash bug if we timeout in net rpc trustdom list. metze (cherry picked from commit c0dfe0cf80ee50f395912b7d6aec0d87febd34c0) (cherry picked from commit d87563604ca7b1c18c5a84d76726c2a99dc454f8) (cherry picked from commit cba4214b963983730bedc792e391b5435889597a) (cherry picked from commit 34bf50b0302ff112af52088b93b40b1bcaf002e8)
* s3:registry: Prevent creation of keys containing the '/' character.Michael Adam2009-06-021-0/+10
| | | | | | | | | | | | | | | Even though "net conf setparm abc/def comment xyz" does not create a broken registry we do not want such keys to be created. Since we get problems accessing these with "net registry" since the registry code treats the '/' sign as a separator as a lower level. This makes e.g. "net conf setparm abc/def comment xyz" fail with WERR_INVALID_PARAM, which is much more desirable than a broken registry.tdb. Michael (cherry picked from commit de6f09988d84752e5333cba1fa69c5a685e903b7)
* WHATSNEW: Rewording.samba-3.2.11Karolin Seeger2009-04-171-2/+2
| | | | | Karolin (cherry picked from commit 642afabf26dbb7d0f73c15c5502a90020f65a914)
* VERSION: Raise version number upt to 3.2.11.Karolin Seeger2009-04-171-1/+1
| | | | | Karolin (cherry picked from commit aaf5c25489b916d4892ce757bb5c0f32f9910c59)
* WHATSNEW: Update changes since 3.2.10.Karolin Seeger2009-04-171-11/+30
| | | | | Karolin (cherry picked from commit c63dc9866e84461a7a8359958d6bcf753c51d125)
* When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.Jeremy Allison2009-04-171-1/+1
| | | | | Jeremy. (cherry picked from commit 72f55ca71c2d9b4c24866b7e1418fa4c17948db6)
* Don't look up local user for remote changes, even when root.Jim McDonough2009-04-171-6/+10
| | | | (cherry picked from commit 1c47bcb5b24ab360d5e632bbf3dcbc7d1d9f6fc4)
* s3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3.Günther Deschner2009-04-171-1/+9
| | | | | | | | LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED. Guenther (cherry picked from commit 597be402e40ff880b595ae49a8600b932365cbcb) (cherry picked from commit f049fb5643f93cc4806ada5db8e591bbe4cb9204)
* Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-173-13/+6
| | | | | | | | What a difference a name makes... :-). Just because something is missnamed SA_RIGHT_SAM_OPEN_DOMAIN, when it should actually be SA_RIGHT_SAM_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy. (cherry picked from commit 3591c95beaed3abfa10b1579e377b0103647a177)
* packaging(RHEL): add cifs.upcall binary and manpage to client packageMichael Adam2009-04-171-0/+2
| | | | | | | Michael (cherry picked from commit f1b80bcb58b8aa5c586835dc201ce674b3417835) (cherry picked from commit b4c58d49902d62f25aa0c9289d1857aa2636c028) (cherry picked from commit 6d308951c5b0fec988685f64f040f0770b537efb)
* s3-loadparm: Fix resume command typo for "printing = vlp".Guenther Deschner2009-04-171-1/+1
| | | | (cherry picked from commit 8203f5f3890afec3ec631f822b0f2e5ddd262b9a)
* Fix a memleak in an unlikely error path in change_notify_create()Volker Lendecke2009-04-171-0/+1
| | | | (cherry picked from commit 7284b7bb226990abce91d40782bf4e592e2f7b4d)
* Fix bug #6254 - PUT/GET produces an error in IPv6 to a smb-server(3.3)Jeremy Allison2009-04-171-18/+23
| | | | | | | | | | | has parameter "msdfs root = yes" This was broken by the refactoring around create_file(). MSDFS pathname processing must be done FIRST. MSDFS pathnames containing IPv6 addresses can be confused with NTFS stream names (they contain ":" characters. Jeremy. (cherry picked from commit eb29aa406f14397e3c55e559e2c02da6eb6c4cbd)
* s3/popt.h: Fix typo.Karolin Seeger2009-04-171-1/+1
| | | | | | | | This used to be commit 8da2fa36 in master. Karolin (cherry picked from commit 3df28fce45ce552df2c0815597fc1808ea08b363) (cherry picked from commit 89542c9dc4fede1547886b480791322f0497f277)
* s3/loadparm: Fiy typos.Karolin Seeger2009-04-171-2/+2
| | | | | | | | This used to be commit 44588095 in master. Karolin (cherry picked from commit 7648c51afaf844e576935dadc0d66a94e2cad28b) (cherry picked from commit a3081c94e64d226328885191212bd1ba46add09e)
* s3/gpo_ldap: Fix typo.Karolin Seeger2009-04-171-1/+1
| | | | | | | | This used to be commit a103222e in master. Karolin (cherry picked from commit a33677c8a80925965a4023785fc3a221d2ed9585) (cherry picked from commit 7038846d514b9ea25d991bc72b807921ab1ee158)
* s3/smbconf_reg: Fix typo.Karolin Seeger2009-04-171-1/+1
| | | | | | | | This used to be commit 6343cab3 in master. Karolin (cherry picked from commit 56e877662dd6da64b348803c24e85f60ee6b3d85) (cherry picked from commit 36cb36581208f754b14e2a955fbd886e6c82cfaa)
* s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.Günther Deschner2009-04-171-1/+1
| | | | | | | | Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>. Guenther (cherry picked from commit 2b1fe2c98f4e0013dee4cbae62dc36cdd4085c7d) (cherry picked from commit d3d4baecb89ddac6d460269e126a60b99f687a5b)
* Fix smbd crash for close_on_completionVolker Lendecke2009-04-171-0/+4
| | | | | | | handle_trans() can talloc_free "conn" if the client requests close_on_completion. "state" is a talloc_child of conn, so it will be gone when we later free state->data et al. (cherry picked from commit 51ecc77eeabe5fc89e4d1b1fb8a15c71614d4049)
* Allow pdbedit to change a user rid/sid. Based on a fix from AlexanderJeremy Allison2009-04-171-3/+57
| | | | | | Zagrebin <alexz@visp.ru>. Jeremy. (cherry picked from commit 5b43fff78081541f642b07a70b03c6d5902e42dd)
* WHATSNEW: Rewording.samba-3.2.10Karolin Seeger2009-04-011-4/+4
| | | | | Karolin (cherry picked from commit c572b19ffcff201f9b8ad0af3bf5434dfe5d06bf)
* VERSION: Raise version number up to 3.2.10.Karolin Seeger2009-04-011-1/+1
| | | | | Karolin (cherry picked from commit 887420a30dbb178f29ee9313f2c19dd1b3c3c5e9)
* WHATSNEW: Prepare WHATSNEW for 3.2.10.Karolin Seeger2009-04-011-161/+11
| | | | | | | A release a day... ;-) Karolin (cherry picked from commit c9bee29bed290777a4ab32ffe2ed88029a3a6348)
* Tidy up some convert_string_internal error cases, found by Andrew Bartlett.Jeremy Allison2009-04-011-6/+19
| | | | | Jeremy. (cherry picked from commit 3797ddb3acc713cc200114e9e27dfb3901e5cdf1)
* s3: fix the fix for bug #6195 - dont let smbd child processes panicMichael Adam2009-04-011-2/+16
| | | | | | | | | | | | This patch makes sure the original and temporary TDBs are closed _before_ the rename. Originally, the open TDB was renamed, and so the name passdb.tdb.tmp stayed around in the db context. Hence upon client connect, the smbd children died because reinit_after_fork() calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which existed no longer... Michael (cherry picked from commit 1ab40fbca806f1136dd1d65edd688beb5ec592c7)
* WHATSNEW: Fix announcement.Karolin Seeger2009-03-311-4/+0
| | | | | Karolin (cherry picked from commit b3e838884350e4da19660f0c1078aabd8e55536b)
* VERSION: Raise version number up to 3.2.9.samba-3.2.9Karolin Seeger2009-03-311-1/+1
| | | | | Karolin (cherry picked from commit d999a7e99804bf71f62c905452a720c20016f8e9)
* WHATSNEW: Update changes.Karolin Seeger2009-03-311-0/+1
| | | | | Karolin (cherry picked from commit bee6e86c71278563d52f9bde19ffb4bda2a35d1b)
* Ensure files starting with multiple dots are hiddenJeremy Allison2009-03-311-4/+8
| | | | | | | if "hide dot files" is set. Thanks to Barry Kelly <bkelly.ie@gmail.com> for pointing this one out. Jeremy. (cherry picked from commit 5bdc16a867b9c14682b327c79f79834edcd6842d)
* WHATSNEW: Update changes.Karolin Seeger2009-03-301-0/+5
| | | | | Karolin (cherry picked from commit e7634cd0c17d0fa4dcca5952313b6af750477dec)
* Fix the problem of 3.0.x passdb databases being versionJeremy Allison2009-03-301-5/+43
| | | | | | | | 3 but using a different hash calculation than 3.2.x passwd databases (also version 3). Introduces a minor version number. Jeremy. (cherry picked from commit 10b518592e616ecfaadd829ecd0674a04510b422)
* [Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errnoDerrell Lipman2009-03-303-1/+15
| | | | | | | | | | | | | Fixed. It turns out there were a number of places where cli_resolve_path() was called and the error path upon that function failing did not set errno. There were a couple of places the failure handling code did set errno to ENOENT, so I made them all consistent, although I think better errno choices for this condition exist, e.g. EHOSTUNREACH. Derrell (cherry picked from commit f4e68b09a6ba30d968bccfad8bf6b67b4456b111)
* Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison2009-03-303-1/+31
| | | | | | | | | | | correctly. For the clustering case. Clustered setups should have only ever used the unsigned version of TDB_DATA in the first place so they can't be in this mess :-). Just do the normal upgrade in the clustered case. Jeremy. (cherry picked from commit 52fe104996439db24a7e6b17baa7fec47ba230bb)
* WHATSNEW: Update changes since 3.2.8.Karolin Seeger2009-03-271-127/+116
| | | | | Karolin (cherry picked from commit 7fa853e490be446a6da2086e1749b59a8f741e09)
* Try and fix the build farm RAW-STREAMS errors. Ordering ofJeremy Allison2009-03-271-2/+2
| | | | | | | | modules shouldn't matter, so as vfs_streams_depot doesn't implement get/setxattrs then call into the full VFS stack at the top. Jeremy (cherry picked from commit a1d9b31a0c8a38dbfa94f578830d5d35695aff3b)
* Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs ↵Jeremy Allison2009-03-271-3/+0
| | | | | | | | | | to run elections Fix logic bug that causes nmbd to wait 5 minutes before looking for a master browser. This one is *old* :-). Thanks for Simo for bugging me on this. Jeremy. (cherry picked from commit 857c2e4407a0f4fcee721372ffed5366bc3051f9)
* s3: parse_packet can return NULL which is then dereferenced in ↵Tim Prouty2009-03-271-0/+4
| | | | | | match_mailslot_name (cherry picked from commit d097e3f918853cf642c4a51f6ed3a4d8c85d283e)
* Fix a scary "fill_share_mode_lock failed" messageVolker Lendecke2009-03-271-1/+2
| | | | | | | | To me "fill_share_mode_lock failed" is a "can't happen" alert. There is however a perfectly valid case in get_file_infos() when the file is not open. Change the corresponding debug message to level 10 and explain more. (cherry picked from commit f73d4cf1fcfd8f9e2543a222faed133472fd890c)
* s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner2009-03-271-6/+12
| | | | | | | information. Guenther (cherry picked from commit 490ed838f2626893bb623ea6ad8d79595c8c44c4)
* s3-net: Fix Bug #6193: avoid messing with sync_context in ↵Günther Deschner2009-03-271-3/+0
| | | | | | | | | | | fetch_database_to_ldif(). We absolutely need to avoid messing with the sync_context as that breaks the stream of replication data coming from the DC (only replicates ~350 instead of ~4000 groups). Guenther (cherry picked from commit 1a1823c357fb8e01ac0e8c8749e6f5004bf3cf3e)
* winbind_pam: fix gcc 4.4 compile warningVolker Lendecke2009-03-271-1/+1
| | | | (cherry picked from commit 4a99f2f006e6324cf38b68f0f390daf52f24b1b3)
* Fix two memleaks in the encryption codeVolker Lendecke2009-03-271-1/+2
| | | | | | | | | | | ntlmssp_seal_packet creates its own signature data blob, which we then have to free. Jeremy, please check and merge appropriately (Yes, I'm asking you to do the janitor work, I want you to *look* at this :-)) Volker (cherry picked from commit 525af716cd52500a4e3dccf9eeb9ea85f86be7ca)
* s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 ↵Stefan Metzmacher2009-03-271-1/+1
| | | | | | | | | too. Otherwise we'll confuse the client signing engine, when we reply an error to each transs2. metze (cherry picked from commit e217138a36b1ba1eff164aecfa52ba6fe8864747)
* Fix bug 6097Volker Lendecke2009-03-272-1/+5
| | | | | | | | A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with NT_STATUS_INVALID_SID, even if other SIDs in the list are valid. Thanks to Pavel <wylda@volny.cz> for the bug report! (cherry picked from commit bb76066e8797599e5ca75821a686e32dd0c97a74)
* s3:dsgetdcname: use parentheses in if condition to make negation clearBjörn Jacke2009-03-271-1/+1
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 87b428e424e2e3cca975ecd0efed327e72950a1d) (cherry picked from commit ca58d12b6513beb40c14fcab2758cf21af0179f3)
* s3-krb5: Fix Coverity #762 (REVERSE_INULL).Günther Deschner2009-03-271-6/+6
| | | | | | | Guenther (cherry picked from commit 97190ae184dff6450b1390c854f7426e2ee3f980) (cherry picked from commit 0f7757e94bfa35d22a7349d78578685c0dba22d7) (cherry picked from commit 66faa809847ad60b8027ae86068f8d62c0d181ed)
* s3-krb5: Fix Coverity #722 (RESOURCE_LEAK).Günther Deschner2009-03-271-12/+18
| | | | | | | Guenther (cherry picked from commit 1524abd8bf12d82e1fb0063585fc9a465fc7bf9c) (cherry picked from commit 3517388b5d5439ffe3f9629aaf826fa1dfbb4ba7) (cherry picked from commit 5ce5a9bea994d7db3d352d0800333d0fd0b833df)
* s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requestsStefan Metzmacher2009-03-271-23/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Before we send the secondary requests we need to remove the old mid=>seqnum mapping and reset cli->mid and make the new mid=>seqnum mapping "persistent". The bug we had in cli_send_trans was this: The first cli_send_smb() incremented cli->mid and the secondary requests used the incremented mid, but as cli->outbuf still had the correct mid, we send the correct mid to the server. The real problem was that the cli_send_smb() function stored the seqnum under the wrong mid. cli_send_nttrans() was totally broken and now follows the same logic as cli_send_trans(). The good thing is that in practice the problem is unlikely to happen, because max_xmit is large enough to avoid secondary requests. metze (cherry picked from commit 880fbc4e8cd67de73c4bcda94489eb1e1422a04b) (cherry picked from commit 70466990b4b7c68ae95dbbcf741cd3f41f2dd0b3) (cherry picked from commit d01cca5e3ddb925696d49a1ea728013ec1032372) (cherry picked from commit 6c13360e195189f7afc70c5fda6ef27f46145b0b)
* fix build on old Heimdal based systemsBjörn Jacke2009-03-271-5/+3
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 011ad7245d53a716c4c766f5ef8d317bb3a53d0f) (cherry picked from commit 5eaa2541f19277bc00c47b944739c6732f90809b)
* Allow DFS client paths to work when POSIX pathnames have beenJeremy Allison2009-03-271-2/+12
| | | | | | selected (we need to path in pathname /that/look/like/this). Jeremy. (cherry picked from commit 0c11c2deee7ab9d281df6df91b793b7f1c1764a4)