• Познакомьтесь с пентестом веб-приложений на практике в нашем новом бесплатном курсе

    «Анализ защищенности веб-приложений»

    🔥 Записаться бесплатно!

  • CTF с учебными материалами Codeby Games

    Обучение кибербезопасности в игровой форме. Более 200 заданий по Active Directory, OSINT, PWN, Веб, Стеганографии, Реверс-инжинирингу, Форензике и Криптографии. Школа CTF с бесплатными курсами по всем категориям.

Document locking

lmike

нет, пердело совершенство
Lotus Team
27.08.2008
7 933
609
BIT
177
Тут натыкаюсь на:
---------------------------
IBM Notes
---------------------------
The document is already locked by user/OU
---------------------------
ОК
---------------------------
опции никакие не установлены (ни на сервере, ни на клиенте, ни в БД) или я чего-то не нашёл?!
 
Последнее редактирование модератором:
S

Shandrik

В свойствах базы на первой вкладке птичка "Allow document locking".

Может кодом: flag = notesDocument.Lock( [ name ] [, provisionalOK ] )?
 

lmike

нет, пердело совершенство
Lotus Team
27.08.2008
7 933
609
BIT
177
ничего этого нет
 

alexas1

Green Team
10.04.2014
1 202
225
BIT
34
Ошибка повторяется?
EDIT_NO_SOFT_LOCKS=1 в notes.ini не помогает?
 

lmike

нет, пердело совершенство
Lotus Team
27.08.2008
7 933
609
BIT
177
EDIT_NO_SOFT_LOCKS=1 в notes.ini не помогает?
помогает, спасибо :), но интересует вопрос в корне - откуда это?
ведь нигде не используется локировка
еще есть шняга, кот. не помню когда появилась (с какой версии нотусни) и чем управляется
IBM Notes
---------------------------
The document is currently opened for edit by user/OU
---------------------------
ОК
---------------------------
 

alexas1

Green Team
10.04.2014
1 202
225
BIT
34
Opening document or composing memo based on stationery results in error:
'The document is already locked..'
Problem
In mail files which multiple users have access to, the following error message occurs when a user attempts to
edit a draft memo, or create a memo using Personal Stationery:
"The document is already locked by <username>"
For example, User A creates a memo based on a particular Stationery document. When User B attempts to
create a memo based on the same stationery the error occurs, indicating that User A has the document locked.
The error can also occur in databases which are not based on a mail template. The issue occurs whether or not
the Database Property, "Allow Document Locking" is enabled.
At times the issue will not occur if the first user closes the database or logs out of Notes (either by selecting
the F5 key or by a ID lockout set up in the User Preferences).
Note: This same error will occur when creating new documents with an Action or Agent that uses
LotusScript to create the document. For more information on this issue see the following document:
Solution
This issue is relative to the use of Soft Locking. Soft Locking goes into effect when a document is opened in
Edit mode. In cases where a document is closed while still in Edit mode the document is not unlocked.
An additional scenario also exists. The second scenario is related to the fact that new documents created in the
back-end (including User Interface triggered LotusScript code) are assigned a NoteID of 0. When two or
more users create such documents, each document they create has a NoteID of 0. The soft locking feature
locks documents based on the NoteID; so, even though there are two (or more) different documents, the soft
locking feature recognizes only that NoteID 0 is already locked.
The issue relative to soft locking and new back-end documents was reported to Quality Engineering as SPR#
KHAN5U4NVZ and was fixed in Domino 6.0.4/6.5.2 and 7.0. The fix resolves a number of scenarios where
soft locking errors were encountered, including the one involving the use of Stationery in a mail file. Refer to
the following document for scenarios involving LotusScript:
In cases where the above fix does not resolve the issue then soft locking can be disabled using a Notes.ini
parameter introduced in Notes Domino 6.5.1, 6.0.4 and 7.0.
 

lmike

нет, пердело совершенство
Lotus Team
27.08.2008
7 933
609
BIT
177
НО у меня нет локировки на БД
 

lmike

нет, пердело совершенство
Lotus Team
27.08.2008
7 933
609
BIT
177
кто-то включил через ini
этот кто-то мб только я ;) за >10 лет я мог забыть..., но сервера ужо много раз изменялись (в т.ч. с 0-ля)
на БД давно была галка, но также она и была снята (давно) и доки, с тех пор, создавались и БД компактилась и т.п.
ладно - плюну, пока, на попытки докопаться :)
в любом случае остался второй вопрос
еще есть шняга, кот. не помню когда появилась (с какой версии нотусни) и чем управляется
IBM Notes
---------------------------
The document is currently opened for edit by user/OU
---------------------------
ОК
---------------------------
[DOUBLEPOST=1434716655,1434716610][/DOUBLEPOST]
если ключа нет, а его по дефолту НЕТ - софтлок включён. Так получается.
включён если галка не стоит и кодом ничего не установлено?
в др. базе подобного нет (в кот. этой галкой не игрался)!
[DOUBLEPOST=1434716842][/DOUBLEPOST]т.е. "полная" картина...
когда-то давно включал галку, но потом - мне не понра её работа - я её выключил
когда выключил - ХЗ, но в районе версий нотусни 6.5
 

alexas1

Green Team
10.04.2014
1 202
225
BIT
34
The document is currently opened for edit by user/OU
Мне видится, что ЭТО и ЛОКИНГ - те же яйца - вид сбоку. У нотуса, с давних времен, напряги с флагами контроля состояния дока. Помнишь, с четвёрки, народ изгалялся самописными локерами?
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!