Failed when add using ldapadd command

Hi
I have two directory server located at UAT and development
when i run "ldapadd -D "cn=Directory Manager" -w password -f somefile.ldif " on my DEVELOPMENT Server
it ran through and records get added to the directory server
However when i run the same command on mu UAT server pointing to directory server sitting on that server it always gives me
"Invalid Format : ldapadd"
After further checking i found that some attribute value are null example as below
dn: uid=lala,o=us.com
mail: [email protected]
address:Because of address attribute is null the directory server in uat always complaining that i cannot add this entry
the confusing part is it ran successfully in my development
i checked both directory server and both are having schema checking disabled mode?
Is there any particular configuration that specify the attribute value cannot be null or something?
Thanks

what do u meant by that?
but i can still run ldapadd in my UAT Server box and the Solaris OS does not complain
I tested using ldapmodify -a it still gives me something like below
ldapmodify: invalid format (line 3 of entry: uid=leerongl1, ou=Users, o=yes.com.sg)
ldapmodify: invalid format (line 3 of entry: uid=teokailo1, ou=Users, o=yes.com.sg)After i checked the entry in my ldif file. it appears some attribute have some null value for example
dn: uid=yennyng1, ou=Users, o=yes.com.sg
roomNumber: h
givenName: Yenny Ng
mobile: 93475786
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: users
facsimileTelephoneNumber:78964
ou: Sales Admin
uid: yennyng1
mail:
cn: user
groups: SYS ADMIN
telephoneNumber: 8
pager: 8765
o: TPC
sn: Ng
warehouseid: 111
warehouseid: 144
warehouseid: 145
warehouseid: 147
warehouseid: 153
warehouseid: 188
warehouseid: 191
personalTitle: Ms
title: Admin Assistant
userPassword: {SHA}jhnnaUUCK2fR/e8HvQKVxUaTDyY=As you can see mail attribute have some null value..
After i enter/fill in that attribute and i run it again. it ran okay.
So i was wondering if there is any constraint on attribute when we import to directory server and how to disable them?
Thanks

Similar Messages

  • Dehydration failed with error: Use introspectWLS12 command to introspect domains

    Hello Experts,
    I am trying to Introspect my Oracle weblogic server Locally to configure appliances on my assembly in Virtual Assembly Builder using command
    # ./abctl introspectWLS -wlsHome /home/punit/Oracle/Infra/wlserver -domainRoot /home/punit/Oracle/Infra/user_projects/domains/base_domain -adminUser weblogic
    but it is getting failed with error:
    Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger..
    Error:  OAB-7105: Introspection failed.
    Caused by: Dehydrate job failed.
    Caused by:  OAB-50008: Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger.
    later I replaced introspectWLS with introspectWLS12  but its throwing   Usage error: Command not found: introspectWLS12.
    Can somebody help me in finding the exact command for version 12.1.2 to by-pass this..
    FYI: I am using fmw_Infra_121200_OVAB.jar binnary  bundled with JRF & FM Components on my OEL-6.0 platform
    Thanks in Advance
    Punit

    Hi,
    Thanks for your reply.
    This icon you provided means "the DHCP server connected but current user does not have the administrative credentials to manage the server."
    That's why "0x80070005. Access is denied" is received.
    DHCP console icons reference
    http://technet.microsoft.com/en-us/library/cc784812(WS.10).aspx
    So, you need to make sure the current user have the administrative credentials to configure DHCP server. Usually members of the DHCP Administrators
    group can view and modify any data at the DHCP server. DHCP Administrators can create and delete scopes, add reservations, change option values, create superscopes, or perform any other activity needed to administer the DHCP server, including export or import
    of the DHCP server configuration and database. DHCP Administrators perform these tasks using the Netsh commands for DHCP or the DHCP console. For more information, see
    DHCP tools.
    DHCP groups
    http://technet.microsoft.com/en-us/library/cc737716(WS.10).aspx
    Hope this helps.
    Thanks,
    Robbin Meng
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked
    post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • I have a new iMac running OS 10.9 when I use the Command S shortcut it no longer saves the active document it speaks it instead.

    I have a new iMac running OS 10.9.  When I use the Command S shortcut in any of my apps (numbers, text edit etc), it no longer saves the active document it speaks it instead.  How can I revert to the save shortcut function?

    have you looked in
    system preference->Dictiation & speech if it's assigned there?
    or system preference->accessibility if it's assigned there?

  • How to create a Pooled VDI infrastructure using Win server 2012 as VM image?I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM

    I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM instead.
    Am I overlooking something?  Should I need to prepare the image in a different way? (Sysprep differently?)
    Thanks

    Hi,
    Thank you for your posting in Windows Server Forum.
    Can you specify the error which you are facing during VDI setup for server 2012?
    I might think that you need to check the memory setting for server 2012, as might happens that due to less memory you can’t setup the VDI setup properly. 
    Memory: If the Master VM is configured with static memory, it must have at least 1024 MB as startup RAM. If the Master VM is configured with dynamic memory, the maximum RAM must be at least 1024 MB.
    Please check beneath article for information.
    Windows
    Server 2012 2,500-user pooled VDI deployment guide (Doc)
    Single Image Management for Virtual Desktop Collections in Windows Server 2012
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • I have an sony vivaz, i want to upgrade the software. i had downloaded the upgradtion software. bUt it fails to upgrade, even it fails when i use phone repair in pc suit. What should i do?

    I have an sony vivaz, i want to upgrade the software. i had downloaded  the upgradtion software. bUt it fails to upgrade, even it fails when i  use phone repair in pc suit.
    What should i do?

    Hello @chavanjayesh2001... I wanted to give you some tips for when you can't update the software of your phone:
    -Make sure that the Internet connection is good. If the update process is interrupted it might be due to loss of Internet connection.
    -Try using another USB cable and usb port in your computer.
    -Try using another PC.
    -Temporary disable any firewalls and or antivirus software.
    -Start your PC in “Safe mode with networking” mode. This is done by pressing F8 during PC boot. When Windows is started in safe mode, try taking the update again.

  • Error comes up when I use the command:Setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms

    Hello,
    When I am using the command  c:\Exchange2013\>Setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms on my domain controller I am receiving the error below:
    Welcome to Microsoft Exchange Server 2013 Service Pack 1 Unattended Setup
    Copying Files...
    File copy complete. Setup will now collect additional information needed for
    installation.
    Performing Microsoft Exchange Server Prerequisite Check
        Prerequisite Analysis                                     COMPLETED
     Setup will prepare the organization for Exchange 2013 by using 'Setup /PrepareA
    D'. No Exchange 2007 server roles have been detected in this topology. After thi
    s operation, you will not be able to install any Exchange 2007 servers.
     For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms
    .exch.setupreadiness.NoE12ServerWarning.aspx
    Configuring Microsoft Exchange Server
        Organization Preparation                                  FAILED
         The following error was generated when "$error.Clear();
            initialize-ExchangeConfigurationPermissions -DomainController $RoleDomai
    nController
    " was run: "Active Directory operation failed on domain.com
    . This error is not retriable. Additional information: Access is denied.
    Active directory response: 00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF
    _ACCESS_RIGHTS), data 0
    I am using an admin account with full rights. Could you give me any advice what might that be? 
    Thank you in advance

    Regarding this article: http://ayalaaii.wordpress.com/2012/12/20/exchange-2010-insuff_access_rights-this-error-is-not-retriable-additional-information-access-is-denied/
    I have managed to get into the permissions in Advanced Security settings, but for some reason I am not able to find “Include
    Inheritable permissions from this objects parent”
    Any ideas where can it be? 
    Thank you

  • When I use the command "Place in photoshop" CC from Bridge CC, it skips the Camera Raw Dialog box

    I am having an issue when I use the "Place in Photoshop" command from within Bridge CC, it is skipping the Camera Raw Dialog box and not behaving like a normal smart object. This has been my workflow for years and suddenly it's not working in CC. Anyone have any advice? Thanks!

    As far as i can tell, if you use Place>In Photoshop from Bridge with a camera raw file and don't have any other documents open, it skips the camera raw dialog, but does place (open as a smart object)
    and then you can double click on the smart object icon on the thumbnail in the l;ayers panel to open camera raw.
    If you already have a document open then Place>In Photoshop using a camera raw file opens the camera raw dialog before placing the photo.
    Also check the photoshop>Preferences>General and verify you have Place or Drag Raster Images as Smart Objects checked.
    The above behaviour seems to be the same in photoshop cc as past versions of photoshop, at least on the windows versions.

  • In Terminal,When I use the command "Say",it gives me the error:MTBEAudioUnitSoundOutput::PropagateProperty Error -10851,Should I be worried?

    Hi guys,
    When ever I use the command "Say" in terminal,it says the words I want it to say,but then gives me this error:
    MTBEAudioUnitSoundOutput::PropagateProperty Error -10851,
    Should I be worried about this?
    Here are my Specs:
    iMac
    21.5-inch, Mid 2011
    Processor  2.7 GHz Intel Core i5
    Memory  4 GB 1333 MHz DDR3
    Graphics  AMD Radeon HD 6770M 512 MB
    Software  OS X 10.8.4 (12E55)
    Thanks again,
    Bye.

    Hello,
    Are you running any AV software?
    Are you using stock voices, or custom ones?

  • Trigger fails when variable used in WHERE statement

    I have a trigger that works when the following statment is in it:
    SELECT custcall.callrkey into v_callrkey from custcall where custcall.servno = 152345;
    But the trigger fails when I attempt to use a variable in the where statement as follows.
    SELECT custcall.callrkey into v_callrkey from custcall where custcall.servno = :new.servno ;
    Even though I have verified that the value of :new.servno is set to 152345 by outputting the value . That is the only difference between the working version and the non-working version. By not working I mean that the email which is to be sent by the trigger is not received.
    Can anyone give me any ideas of how I could troubleshoot this or what might me happening? I'm pretty new to this and
    feel that I'm missing something very simple. My apologies in advance if this has been posted elsewhere. I did spend a lot of time searching the forum before posting.
    This is Oracle 9i.
    Thanks!
    Full code probably not necessary but posted below just in case:
    create or replace
    TRIGGER EMAILNOTIFY_NEW_SR
    AFTER INSERT ON CUSTPROB
    FOR EACH ROW
    DECLARE
    --SMTP Variables
    vreply utl_smtp.reply;
    vreplies utl_smtp.replies;
    mailCONN utl_smtp.connection;
    mailHOST VARCHAR2(64) ;
    --MESSAGE Variables
    mailText VARCHAR2(64);
    mailFROM VARCHAR2(64);
    mailTO VARCHAR2(64);
    mailDATE VARCHAR2(20);
    v_servno number ;
    v_callrkey number ;
    --PROGRAM Variables
    i number;
    BEGIN
    --get some values from the database  
    --set values for variables...
    mailHOST:= '10.35.173.15'; --this will always stay the same 
    mailFROM := 'Facilities_Customer_Service_Center'; --this will always stay the same
    mailTO := '[email protected]';
    SELECT custcall.callrkey into v_callrkey from custcall where custcall.servno = :new.servno  ;
    SELECT TO_CHAR(SYSDATE,'MM/DD/YYYY HH24:MI:SS') INTO mailDATE FROM dual;
    dbms_output.put_line('open_connection');
    dbms_output.put_line('---------------');
    vreply := utl_smtp.open_connection(mailHOST, 25, mailCONN);
    dbms_output.put_line('helo');
    dbms_output.put_line('----');
    vreply := utl_smtp.helo(mailCONN, mailHOST);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('mail');
    dbms_output.put_line('----');
    vreply := utl_smtp.mail(mailCONN, mailFROM);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('rcpt to');
    dbms_output.put_line('----');
    vreply := utl_smtp.rcpt(mailCONN, mailTO);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('open_data');
    dbms_output.put_line('---------');
    vreply := utl_smtp.open_data(mailCONN);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    --SMTP ENVELOPE STUFF (In case it is needed later).  
    --utl_smtp.write_data(mailCONN, 'From:'  ||mailFROM     || chr(13));
    -- utl_smtp.write_data(mailCONN, 'To: '||mailTo || chr(13));
    --utl_smtp.write_data(mailCONN, 'CC:      '||mailFROM     || chr(13));
    --utl_smtp.write_data(mailCONN, 'Date:    '||mailDATE     || chr(13));
    --utl_smtp.write_data(mailCONN, 'BCC:     '||mailFROM     || chr(13));
    --THE MESSAGE
    utl_smtp.write_data(mailCONN, 'Subject: '||'Your Facilities Service Request ' ||'(SR '||v_servno||')'|| chr(13));
    utl_smtp.write_data(mailCONN, '');
    utl_smtp.write_data(mailCONN, '');
    utl_smtp.write_data(mailCONN, 'Dear Customer ' || chr(13));
    utl_smtp.write_data(mailCONN, '');
    utl_smtp.write_data(mailCONN, 'This is to inform you of something.' || ' ' ||mailTO|| chr(13) );
    utl_smtp.write_data(mailCONN, 'Please call us with any questions or concerns. ' || '' || chr(13));
    --DEBUG
    utl_smtp.write_data(mailCONN, 'DEBUG: ' || ''|| chr(13));
    utl_smtp.write_data(mailCONN, 'v_Servno ' || v_servno || chr(13));
    utl_smtp.write_data(mailCONN, 'v_callrkey ' || v_callrkey || chr(13));
    --END THE MESSAGE
    dbms_output.put_line('close_data');
    dbms_output.put_line('----------');
    vreply := utl_smtp.close_data(mailCONN);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    dbms_output.put_line('quit');
    dbms_output.put_line('----');
    vreply := utl_smtp.quit(mailCONN);
    dbms_output.put_line( 'code = ' || vreply.code );
    dbms_output.put_line( 'text = ' || vreply.text );
    END;

    Justin,
    Thanks for the reply. I'm away for a couple of days but when I get back to this I'm going to follow up on your suggestion about servno. I'm starting to think that the issue isn't with servno but rather that the select query doesn't return anything because the value I'm trying to get is in another table and is not being inserted in time for me to get them. This will be easiy enough to test. To be honest, I don't know very much about how things are being inserted.
    I appreciate your and Tubby's (and Tom's) concerns. Maybe I'll go back to the drawing board next week. But note that I'm not inserting anything with this trigger--only sending an email based on the insert that is happening through an application. So unless I'm really missing it, my email is dependent on the insert but not vice versa. Since my email is absolutely critical but rather jus a courtesy thing, I was taking a pretty laid back attitude about it but it would be good for me to learn a better way.
    Thanks again to all! I'll report back what I find/decide.

  • Program crash when i use SetBitmapToFile command in 16bit True colour.

    i am using cvi 5.0 and i need to save a graph plot as a picture file. i used the SetBitmapToFile command from one of the examples from NI knowledgebase. this command cause a page fault in kernel32.dll when i run the program under 16bit high colour(display). it works fine when i use 32bit True colour but the saved bitmap is distorted. half of the image has purple lines running vertically across the pictures. Can anyone tell me how to solve this problems or give suggestion of any other methods.
    thanks

    i am using cvi 5.0 and i need to save a graph plot as a picture file. i used the SetBitmapToFile command from one of the examples from NI knowledgebase. this command cause a page fault in kernel32.dll when i run the program under 16bit high colour(display). it works fine when i use 32bit True colour but the saved bitmap is distorted. half of the image has purple lines running vertically across the pictures. Can anyone tell me how to solve this problems or give suggestion of any other methods.
    thanks

  • Why doesn't Firefox close tabs when I use the command-w shortcut keys?

    Every so often, on random sites, I would have 2 or three tabs open. I would command-w (on a Mac) to close the front most tab, and it would close. Bringing the next tab to the front. But when I hit command-w again, I get the warning sound on my Mac, and the tab does not want to close. Even though Firefox is at the most front of applications, and the tab I'm trying to close is at the front of Firefox browser window. I have to click on the page (even though it's already at the front), for command-w to work and close the tab. I've reset Firefox to default twice already. I've even deleted it, and reinstalled it.

    One situation in which Command+w or Ctrl+w might not work is if the "focus" is in a plugin such as the Flash player used on Youtube after you interact with the player controls. Firefox will continue to send the keyboard input to the plugin until you move the focus back to the page. Does that account for any of the problem?

  • Offline backup failing when scheduled using DB13

    Hi,
               We have done our backup schedule of our BI 7 system running on AIX 5.3 and Oracle 10.2 using DB13.The activities like online backup and datbase check is executing correctly but offline backup is failing with status unknown.
    If i check in sm37 for the DBA job offline backup is showing status completed successfully but in brbackup logs there is no log for the offline backup activity.
    Kindly provide your suggestion on how i can resolve this issue.

    Hi Ammey,
                   Thanks for your reply.
    When I trigger the backup directly from brtools offline backup is happening successfully.The issue is happening only for the db13 scheduled offline backup.The same thing happened for Update statistics but check db is executed.
    So what has to be checked in backint settings pls provide you suggestion.
    rgds,
    vinayak

  • Odd event when I use the Command+P shortcut.

    I 've been using LR for a loooong time and never run into this.  When I flag a photo (Command P) the frame advances to the next photo.  I don't want this to happen.  I'm sure I've hit something to cause this, but don't know how to reset it back to NOT moving to the next frame.

    Turn off your caps lock. If the caps lock key is activated Lightroom also will auto advance. It is a feature that is there to help expedite rating images and other such tasks that you might want to get through quickly.

  • Reader closes when I use a command

    I upgraded to 11 and could not open any files.  Then I removed that and tried installing 10.  Now I can open pdf's, but everytime I try to print or to open the preference command so I can check on protected mode, the software closes.  I am trying to do my taxes and I need some of these forms, so this is a great inconvenience.

    Hi r2power,
    I haven't heard of this problem myself, but I would suggest uninstalling Reader 10 and then running the tool found here:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    This is an Adobe Labs tool that cleans out all Reader install data and so should hopefully provide you with a clean system to return.  I would then recommend trying Reader 11 again.  I would suggest rebooting between uninstalling, running the cleaner and reinstalling, just to ensure that no DLLs on the system are locked between operations (this shouldn't happen, but since you are clearly seeing unexpected behavior, it is worth taking a few extra precautions).
    Question: When you say Reader 11 wouldn't open any files, do you mean loaded from your desktop or in your Browser (or both)?  I'm also curious as to whether the PDFs don't open or Reader closes when you try to open one.
    Thanks,
    Matt
    Edited to extend the question with a second part by Matthew Hardy.

  • Getting syntax error when i using INSERT command

    Hi,
    i am using MS Access DB. Table name is "Timesheet". the table has the following Fields,
    uname - Text
    date - Text
    intime - Text
    outtime - Text
    duration - Text
    desc - Text
    i am using preparedStatment,
    String accessDBURLPrefix = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    String accessDBURLSuffix = ";DriverID=22;READONLY=false}";
    String filename="D:\\TimeSheet\\TimeDB.mdb"
    String databaseURL = accessDBURLPrefix + filename + accessDBURLSuffix;
    Connection con = DriverManager.getConnection(databaseURL);
    PreparedStatment st = con.prepareStatement("INSERT INTO (uname, date, intime) TimeSheet VALUES (?,?,?)");
    st.setString(1,user);
    st.setString(2,date);
    st.setString(3,intime);
    st.executeUpdate();
    }if i am going to compile this code i will get SQLException
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
         at sun.jdbc.odbc.JdbcOdbc.SQLExecute(JdbcOdbc.java:3150)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(JdbcOdbcPreparedStatement.java:214)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdate(JdbcOdbcPreparedStatement.java:136)
         at TimeSheetDemo.writeToDB(TimeSheetDemo.java:84)
         at TimeSheetDemo.main(TimeSheetDemo.java:37)
    Really i have tired to figure out this problem. please help me anyone.
    thank you

    Thank you. it was my careless mistake. i changed that mistake. but still it is not working, get same exception.
    st = con.prepareStatement("INSERT INTO  TimeSheet (uname, date, intime) VALUES (?,?,?)");suppose, if i will give values for all fields, it will work fine, example
    st = con.prepareStatement("INSERT INTO  TimeSheet  VALUES (?,?,?,?,?,?)");
    st.setString(1,user);
    st.setString(2,date);
    st.setString(3,intime);
    st.setString(4,outtime);
    st.setString(5,duration);
    st.setString(6,descrip);
    st.executeUpdate();But my problem is i want to insert the values for only 3 fields.
    give me the solution for inserting values for specified fields

Maybe you are looking for

  • Lack of Task/ToDo Sync to iPhone and iPad

    This has been a long standing problem that Apple seems to have no interest in fixing let alone acknowledging.  I have sent them the following complaint and encourage others who feel that the lack of any type of sync option to share Tasks between iCal

  • My Ipad is in a locked rotation.  How can I unlock it?  carolynmunson

    My Ipad is in a locked rotation.  How can I unlock it?  carolynm.

  • How can i split my catalog into two

    I am using PSE 11 would like to take 31,000 files from the main catalog and put them in a separate catalog.  The files are all in a directory tree called Digital Scrapbooking which has 1,728 folders and 31,000 files. Is there a simple way of doing th

  • How to enable Extended Features in Reader 10

    I have pdf forms that were created in Acrobat 8 Pro. Users could change the fields on the forms and save them. Our Enterprise has since "upgraded" to Reader 10. Users can longer make changes in the fields of the forms created in v.8 Pro. I have read

  • How to accurately test code in Python?

    I am trying to compare some custom C modules with the standard Python modules. For instance, I wanted to test if a random function in C could out-perform Pythons randint method. I have tried using the timeit module, but I am curious if I am skewing m