How can I change an objectclass definition to make a mandatory attributeoptional ?

I am using my own objectclasses. I want to change the definition of
one of them so that an attribute that is mandatory becomes optional.
I have tried modifying cn=schema with an LDAP client. Certain
modifications are accepted (adding new attributes, for example)
but my mandatory attribute remains mandatory. I get no error
message.
My directory is Novell eDirectory 8.7.3
Thanks for any help
Franois Beretti

This may work:
Atomic Operation
On these operations it is necessary that the operation be performed
within the same transaction. Modification of this type must be atomic or
they will fail with an error of constraint violation.
Further as schema entries are typically done on attributetypes or
objectClasses which are essentially muti-valued attributes, it the
"delete" operation must reference the value being modified EXACTLY what
exist in the schema.
As an example:
Add Attribute to a ObjectClass
Here is an example of a modification to a class that adds an attribute
to the class:
dn: cn=schema
changetype: modify
delete: objectclasses
objectclasses: ( 2.16.840.1.113719.1.131.6.1.23 NAME 'myNewClass'
SUP top MUST ( myNewAttrOne $ myNewAttrTwo ) MAY
(myANewAttrThree $ myNewAttrFour $ myNewAttrFive ) )
add: objectclasses
objectclasses: ( 2.16.840.1.113719.1.131.6.1.23 NAME 'myNewClass'
SUP top MUST ( myNewAttrOne $ myNewAttrTwo ) MAY (
myNewAttrThree $ myNewAttrFour $ myNewAttrFive $
myNewAttrSix ) )
Limitations
There are some limitations with making modifications to existing schema
entries. These are based on referential integrity and follow common sense.
Any schema modification that could possibly invalidate any data is not
allowed. For example, in the first example above, the upper bound was
changed from 8 to 40, thus increasing the range of possible values. The
bound could not be modified to a value below 8, or it could invalidate
data values.
Similarly, an attribute could be changed from a single-valued attribute
to a multivalued attribute, but not the reverse as there may be data
with multiple values. You could change a class and make an object a
container, but you cannot change a container object into a leaf object
as the container may contain other objects.
-jim
Franois Beretti wrote:
> I am using my own objectclasses. I want to change the definition of
> one of them so that an attribute that is mandatory becomes optional.
>
> I have tried modifying cn=schema with an LDAP client. Certain
> modifications are accepted (adding new attributes, for example)
> but my mandatory attribute remains mandatory. I get no error
> message.
>
> My directory is Novell eDirectory 8.7.3
>
> Thanks for any help
>
> Franois Beretti

Similar Messages

  • How can i create a SP transaction to make Dimension1 Mandatory

    Hi All
    How can i create a SP transaction to make Dimension1 Mandatory
    Best regards
    Rashid

    Dear Rashid,
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(25),                     -- SBO Object Type
    @transaction_type nchar(1),     -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200) -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    IF (@object_type = '30' AND @transaction_type= 'A')
    BEGIN
    IF EXISTS (SELECT DocEntry FROM [dbo].[JDT1] WHERE (ProfitCode IS NULL OR ProfitCode = '') AND DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @error =1, @error_message = 'Profit Center cannot be blank -Enter Plant Code'
    END
    END
    select @error, @error_message
    END
    Jeyakanthan

  • How can I change remote site definition without breaking all of the links?

    I've created a website and put it here http://home.comcast.net/~alpsf/index.html to test it during construction.  Now when I change the remote site definition on the local site in DW, all of the links are broken.  I now suspect the problem is that I made it site root-relative, and DW inserted /~alpsf/ in all of the links.  Is there a way to fix this?
    Thanks very much.

    You can do a find and replace to change the links globally. Make sure you do a complete backup of the site prior to doing this incase you don't do it correctly. Let me stress that again, backup your entire site incase you need to restore. If you have created a "new site" and this will not be part of the /~alpsf site, then you will need to define a new site and copy all the files into that folder (I am guessing this is the case). I would copy the files outside of Dreamweaver. You could do this without touching the files in the ~alpsf directory. There are a lot of variable here as I don't know exactly what you are doing.
    On the file menu select window/results-select search. (this is done if the search window is not open).
    Find in: Entire Current Local Site
    Search: Source Code
    Find: "/~alpsf/
    Replace:"/
    That should do it, but this is a very tricky thing. I wouldn't have a problem doing this as long as I have everything backed up.
    Jim
    Edited:You might have to go into your css, spry files and any others that has links to do the same (this time only select Find in: Current document once the document is open). Once that is done, delete the whole remote site and upload the changes once you check that everything is completed.

  • I've set up a Podcast on the iTunes app, How can i change it from free to make payment

    I have setted up a Podcast and it's on the iTunes app, i want to make the Podcast Channel from FREE to make a Payment.
    How can this be done?

    Forms do nothing by themselves.  You'll need a script to process the form data.  Ask your host which form to email processing script you can use on your server.  Often they will point you to one.  If they don't, there are some services or 3rd party scripts you can use to collect data from your site.
    WuFoo
    http://Wufoo.com
    Forms to Go
    http://www.bebosoft.com/products/formstogo/ove
    PHP Formmailer script from DB Masters can be configured to process all the forms on your domain.  It conceals your email address from prying eye email harvesters and it has several  spam controls built into its script including  hidden field (honeypot), "sorta  captcha,"  and time limits on submissions to keep robots from exploiting your  forms.  Free to use if you credit the author; $20 if you don't.
    http://dbmasters.net/index.php?id=4
    Q&A  Forum - http://dbmasters.net/forum.php?id=3&fid=9
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How can I change the view size to make it my default?

    the view size is way too small with pages that I open on Firefox. I want to change the size and I want to make it my default so I don't have to click on zoom in everytime I open Firefox. Where can I change this? I have Windows Vista.

    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • How can I change settings in Illustratoe to make it compatable with me Swedish keyboard?

    My shortcuts for Place at back/ Place at front keep changing.
    Also I can't make perspective using shift+alt+ctrl with the free transform tool.
    i would be grateful for help solving this problem.

    The modifier keys shouldn't be a problem, so maybe you're using them in the wrong order. You need to first click and then press the keys.
    But all in all using a different language keyboard is not a good idea, because most of the non-ASCII-stuff won't work, like the bracket kays, the tilde or other stuff. Speaking from experience ... (German keyboard/English version)

  • How can i change character set on forms9i runtime?

    Hi Every Body,
    i am a user on forms9i developer.
    i want to know how can i change character set definition when i run a form on web(with oc4j).
    is it any JAR file or another file that i can change display of characters on forms9i runtime on web?
    thanks a lot.
    f-badiee.

    hi frank,
    thanks a lot for your attention.
    i have a problem on persian language.
    whereas oracle dosn't support persian(farsi) language,
    i use arabic character set for simulation.
    in oracle developer6i (forms) i had no problem about displaying farsi fonts on runtime.
    but in forms9i that runs forms on web(java applet) i can't use farsi fonts correctly.
    for example when i type a word(boilerplate text) on farsi language in form builder i can see it correctly but when i run my forms on web , characters of that word have some displacement.
    i want to know that is there any configuration file for solving this problem?
    thanks a lot.
    be successful.
    f-badiee.

  • How can I change the fonts on the initial screen?

    How can I change the font and or make it bold on the initial start screen?

    Settings>General>Accessibility>Bold Text>On.

  • How can I change the default quality of youtbe ?

    I am sorry maybe I ve got stupid question but I cant solve my problem all day ... Suddenly from yesterday my quality of yotube videos gone from 480p(also a bigger player size) to 360p (smaller player size - the same like on the picture) . So all the time when I enter youtube the default is 360p and small player size . Could you please tell me how can I change back to bigger player size and 480p ? I also check youtube in other browsers and it works just fine 480p default with bigger player size ...Thanks in advance

    This is an option set in the browser, so it would not effect your other browsers. To change it, go to youtube.com, select a movie you would like to watch, then click the gear icon at the bottom. It will then show the current settings for speed and quality of the movie. To change the setting, simply click the "360p" and it will then give you the other definition options. See screenshot if these directions do not make sense.
    Have a great day!!
    Jon

  • How can I change all of (or more than one) speaker note to a voice at once?

    Hello... 
       I have a lot of speaker notes that I need to apply a specific voice to.  How do I apply the same voice to all of the speaker notes in the whole project at once?  Or at least more than one?  Any help would be appreciated.  Thank you!   I am working with Captivate 6.

    Hi Vikram,
      Thanks. That tip definitely helps!  You just have to be careful when you use the CNTRL button and not highlight the name of the slide as you try to highlight the voices.  If you do that, then the drop down box becomes “unclickable”.  Unfortunately, when using the control button, it is sometimes impossible not to highlight the name of the slide as well.
    Ryan
    Von: VikramGaur [email protected]
    Gesendet: Donnerstag, 20. September 2012 16:25
    An: Scharfer, Ryan
    Betreff: How can I change all of (or more than one) speaker note to a voice at once?
    Re: How can I change all of (or more than one) speaker note to a voice at once?
    created by VikramGaur<http://forums.adobe.com/people/VikramGaur> in Adobe Captivate - View the full discussion<http://forums.adobe.com/message/4713463#4713463

  • How can i change my icloud email address? i mis typed my name and wanted to change my icloud email address??, how can i change my icloud email address? i mis typed my name and wanted to change my icloud email address??

    hello guys ...i need any help or suggestions, how can i change my icloud email address?? i typed a w rong name by mistake?? can i change it and retype the correct one? thanks ...your suggestio is higly appreciated.

    That's definitely not supposed to happen.  You shouldn't have someone else's iCloud email linked to your ID.
    You'll have to get iCloud support to sort this one out.  The only way to contact them is to start here: http://www.apple.com/support/icloud/.  You'll have to provide your iPhone serial number.  Unless it's within the 90 day free support window, or you purchased AppleCare, there will be a charge.  I suppose you can plead your case when they answer that you shouldn't be charged as you didn't set up this address and it shouldn't have happened with your ID.

  • How can I change my JApplet into a JApplication?

    I am working with a JApplet and am finding that some of my code only works in applications.
    So being new to this, I am clueless as to how to change my Applet into an Application. I understand the difference in definition between the two, but when it comes to looking at Applet Code and Application Code, I am not able to see a difference. (Other than an Applet stating "Applet")
    So, that being said how can I change my code so that it runs as an application and not an applet? Here is my current layout code
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    import java.text.NumberFormat;
    import java.text.DecimalFormat;
    // Creating the main class
    public class test extends JApplet implements ActionListener
         // Defining of format information
         JLabel heading = new JLabel("McBride Financial Services Mortgage Calculator");
         Font newFontOne = new Font("TimesRoman", Font.BOLD, 20);
         Font newFontTwo = new Font("TimesRoman", Font.ITALIC, 16);
         Font newFontThree = new Font("TimesRoman", Font.BOLD, 16);
         Font newFontFour = new Font("TimesRoman", Font.BOLD, 14);
         JButton calculate = new JButton("Calculate");
         JButton exitButton = new JButton("Quit");
         JButton clearButton = new JButton("Clear");
         JLabel instructions = new JLabel("Please Enter the Principal Amount Below");
         JLabel instructions2 = new JLabel("and Select a Loan Type from the Menu");
         // Declaration of variables
         private double principalAmount;
         private JLabel principalLabel = new JLabel("Principal Amount");
         private NumberFormat principalFormat;
         private JTextField enterPrincipal = new JTextField(10);
         private double finalPayment;
         private JLabel monthlyPaymentLabel = new JLabel("  Monthly Payment    \t         Interest Paid    \t \t            Loan Balance");
         private NumberFormat finalPaymentFormat;
         private JTextField displayMonthlyPayment = new JTextField(10);
         private JTextField displayInterestPaid = new JTextField(10);
         private JTextField displayBalance = new JTextField(10);
         // Creation of the String of arrays for the ComboBox
         String [] list = {"7 Years @ 5.35%", "15 Years @ 5.50%", "30 Years @ 5.75%"};
         JComboBox selections = new JComboBox(list);
         // Creation of the textArea that will display the output
         private TextArea txtArea = new TextArea(5, 10);
         StringBuffer buff = null;
         // Initializing the interface
         public void init()
              // Creation of the panel design and fonts
              JPanel upper = new JPanel(new BorderLayout());
              JPanel middle = new JPanel(new BorderLayout());
              JPanel lower = new JPanel(new BorderLayout());
              JPanel areaOne = new JPanel(new BorderLayout());
              JPanel areaTwo = new JPanel(new BorderLayout());
              JPanel areaThree = new JPanel(new BorderLayout());
              JPanel areaFour = new JPanel(new BorderLayout());
              JPanel areaFive = new JPanel(new BorderLayout());
              JPanel areaSix = new JPanel(new BorderLayout());
              Container con = getContentPane();
              getContentPane().add(upper, BorderLayout.NORTH);
              getContentPane().add(middle, BorderLayout.CENTER);
              getContentPane().add(lower, BorderLayout.SOUTH);
              upper.add(areaOne, BorderLayout.NORTH);
              middle.add(areaTwo, BorderLayout.NORTH);
              middle.add(areaThree, BorderLayout.CENTER);
              middle.add(areaFour, BorderLayout.SOUTH);
              lower.add(areaFive, BorderLayout.NORTH);
              lower.add(areaSix, BorderLayout.SOUTH);
              heading.setFont(newFontOne);
              instructions.setFont(newFontTwo);
              instructions2.setFont(newFontTwo);
              principalLabel.setFont(newFontThree);
              monthlyPaymentLabel.setFont(newFontFour);
              displayInterestPaid.setFont(newFontFour);
              displayBalance.setFont(newFontFour);
              areaOne.add(heading, BorderLayout.NORTH);
              areaOne.add(instructions, BorderLayout.CENTER);
              areaOne.add(instructions2, BorderLayout.SOUTH);
              areaTwo.add(principalLabel, BorderLayout.WEST);
              areaTwo.add(enterPrincipal, BorderLayout.EAST);
              areaThree.add(selections, BorderLayout.NORTH);
              areaFour.add(calculate, BorderLayout.CENTER);
              areaFour.add(exitButton, BorderLayout.EAST);
              areaFour.add(clearButton, BorderLayout.WEST);
              areaFive.add(monthlyPaymentLabel, BorderLayout.CENTER);
              areaSix.add(txtArea, BorderLayout.CENTER);
              // Using the ActionListener to determine when each button is clicked
              calculate.addActionListener(this);
              exitButton.addActionListener(this);
              clearButton.addActionListener(this);
              enterPrincipal.requestFocus();
              selections.addActionListener(this);
         }

    baftos wrote:
    Here is one of the sites that explains the procedure:
    [http://leepoint.net/notes-java/deployment/applications_and_applets/70applets.html].
    But maybe you should try to fix the code that does not work as applet?
    Which one is it?
    >Here is one of the sites that explains the procedure:
    [http://leepoint.net/notes-java/deployment/applications_and_applets/70applets.html].
    But maybe you should try to fix the code that does not work as applet?
    Which one is it?
    The code that doesn't work in my applet is the exit button code
    else if (source == exitButton)
                        System.exit(1);
                   }I also can't get my program to properly validate input. When invalid input is entered and the user presses calculate, an error window should pop up. Unfortunately it isn't. I compile and run my applications/applets through TextPad. So when I try to test the error window by entering in invalid info, the applet itself shows nothing but the command prompt window pops up and lists errors from Java. Anyhow, here is the method I was told to use to fix it.
    private static boolean validate(JTextField in)
              String inText = in.getText();
              char[] charInput = inText.toCharArray();
              for(int i = 0; i < charInput.length; i++)
                   int asciiVal = (int)charInput;
              if((asciiVal >= 48 && asciiVal <= 57) || asciiVal == 46)
              else
                   JOptionPane.showMessageDialog(null, "Invalid Character, Please Use Numeric Values Only");
                   return false;
                   return true;
         }My Instructor told me to try the following, but I still can't get it to work.String content = textField.getText();
    if (content.length() != 0) {       
    try {          Integer.parseInt(content);  
    } catch (NumberFormatException nfe) {}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can i change the settings of play/pause in Elements 13?

    Hello!
    How can i change the settings of play/pause in Elements 13? I definitely need cursor back to the "start play" point each time i hit stop (spacebar), like it works in Sony Vegas or in most of audio editing software. Can somebody help?
    Thanks!

    invasion 21
    The following is a copy of the reply that I posted to your question earlier today in the Adobe Premiere Pro Forum
    invasion21
    You are in the Adobe Premiere Pro Forum. What is your program? Is that Premiere Elements 13? If so, you are in the wrong forum where
    Premiere Pro answers may not be appropriate for your Premiere Elements (any version) question.
    You are not going to find what you are looking for in Premiere Elements preference settings.
    You write
    I WANT it playhead jump back to start play position, when i hit spacebar for pause.
    You can maneuver yourself into that through Edit Menu/Keyboard Customization/Applications/ and its Help category which by
    default shows
    Go to Timeline/Clip Start, using Home
    and
    Play/Pause Toggle, using Space
    But, you may find it is best to leave well enough alone. Explore and experiment with changing the keyboard shortcuts for the commands and decide what works for you.
    ATR

  • QuickView: How can I change the default full screen width of PDFs and JPGs

    Hello,
    I am very happy with the changes on the new OSX Lion.  But I have a disappointment form QuickView.  On Snow Leopard I will hit the "Option+Space" to QuickView files (mostly pdf and jpg) on full width and just scroll up and down with the mouse or the arrow keys.  Now in Lion, when I press "Option+Space" I get the file on full height.  This does not work for me because the information on screen is too small and I end up having to open the file on Preview.
    How can I change this settings so they are like on Snow Leopard?
    Thanks in advance.

    Not only can you set global values for each of the three columns, but you can also set unique column widths on a per community basis like this:
    .ptCommunity-1234 .columnOne { width: 635px; border-right:1px solid #CCCCCC; padding-top: 10px; padding-right: 20px; }
    .ptCommunity-1234 .columnTwo { width: 240px; padding-top: 10px; padding-left: 8px;}
    You can see here my community #1234 has a wide first column and a more narrow column two and even puts a little solid line between them.
    It's all in the stylesheets on your imageserver at the path I mentioned earlier. Again, look at the experience definition object in your admin portal and look at the stylesheet name in the dropbox. The stylesheet name you see is mapped to the .css file using the community-themes.txt file in the same ...yadayada/common/public/css folder on the imageserver.
    If you have, lets say, a mainstyle1-en.css that only has about a dozen lines dictating only the few items you mentioned before - then it has been stripped at one time because the default that comes w/ an original install is huge and a great starting point. It even has style tips and snippets in comment blocks to tutor you through its gargantuan variety of options.

  • I want to ship an photo album manufactured by Apple to friends abroad. How can I change the shipping address??

    I want to ship an photo album manufactured by Apple to friends abroad. How can I change the shipping address??

      With the short time I would definitely call Apple and see if you can request the change.  Otherwise, you can log into your account in thle online store and view the order.  You may be able to chlenge it there, or cancel and reporder.
    Good luck.

Maybe you are looking for

  • How do I save input from a user into a html file?

    Sure could use a couple of pointers here, I am a newbie to jsp's. I am trying to create an html file with meta tag keywords and description for search indexing purposes, the idea is to have the user call a jsp page and enter the desired meta tags in

  • Tecra S2: strange dots on screen appearing with no reason and at random

    Hello, I have a Toshiba Tecra S2 laptop for almost a year now. I formatted it 2 months ago and when i did this. i had stranges dots on my screen, appearing with no reason and at random. I dont have a clue where it came from and i decided to format my

  • Boot Camp: Mac Pro won't start after Windows install

    After installing Boot Camp on a Mac Pro dual 2.66 (firmware updated), XP installer went through installation & copying files, then restarted. Went to a black screen with white Windows-style text that said something along the lines of "XP cannot start

  • Reordering items in a report

    The scenario: I have a table that holds values and their respective position "in line". For example, Apples = 1, Bananas = 2, Oranges = 3, Grapes = 4. When I display a report, I want the values to show up in order...so, Apples, Bananas, Oranges, Grap

  • Update on primary key in indexed table

    I need to update an ID# in a table that has been indexed on ID# (and two other columns) using the indextype is ctxsys.context method. Oracle 10g is throwing the following errors: ORA-20000 "failed in the execution of the ODCINDEXUPDATE routine" DRG-5