[Samba] Samba4 - create a new auxiliary classe in AD
Hervé Hénoch
h.henoch at isc84.org
Wed May 23 02:22:33 MDT 2012
Hello,
Thank for the warning.
My problem is now the following : I've created a auxiliary class with
optional attribute following this explanation :
http://semifershome.free.fr/semifer/index.php?2008/02/12/42-etendre-le-schema-active-directory-classes-attributs-et-display-specifiers
(1)
I've created a suitable script for me in order to change my optional
attribute named 'iscApplis' :
-------------------------------------
Dim args
Dim user
Dim temp
Set args = WScript.Arguments
Set user = GetObject(args(0))
temp = InputBox("Applis : " & user.iscApplis)
if temp<>"" then user.put "iscApplis", temp
user.SetInfo
Set user = Nothing
Set args = Nothing
Set temp = Nothing
Wscript.quit
-------------------------------------
Then I go on a user, right-click and clik on "iscApplis" (menu label
created by following (1)) in order to change the attribute iscApplis
and I've got message :
"this object does not support this property ou method".
If I replace iscApplis by carLicense by example no problem !!!
Samba4 problem ?
Le 23/05/2012 04:21, Matthieu Patou a écrit :
> On 05/22/2012 06:29 AM, Michael Wood wrote:
>> On 22 May 2012 11:49, Hervé Hénoch<h.henoch at isc84.org> wrote:
>>> I'm using the 4.0.0alpha21-GIT-1d53e57 version.
>>>
>>> I've tried your proposal and it seems that it works ... thank you.
>> It might not work correctly. I think schema modification has been
>> disabled by default because it can break things.
> Well we used to not generate some attributes that are critical for the
> schema on certain object (ie. oMSyntax on attribute who have a DN
> syntax). I made several patches lately for this should work much
> better but as general safety measure we keep it still disabled a bit
> like "you've been warned".
>
> Matthieu
--
Hervé Hénoch
Responsable informatique
Institut Sainte Catherine
1750, chemin du Lavarin, 84000 Avignon
Téléphone : 04.90.27.57.44
Messagerie : h.henoch at isc84.org
More information about the samba
mailing list