Creating a new group in LDAP using JLDAP
Can anybody tell me how to creat a new group in LDAP using JLDAP
Hi,
Have a look at the following link. It will surely help you.
<a href="http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm">http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm</a>
<b>Please reward points if it helps.</b>
Regards,
Amit Mishra
Similar Messages
-
Problem in creating new group in LDAP
Hi,
When I create a new group in the ldap, the groups is getting created with
Common name : tstCompA
javaclassname : javax.naming.directory.BasicAttributes
javaserializeddata : [Binary]
objectClass : top
Why are these attributes getting created...pls find the attached code snippet
Regards
Jeyanth
######################## Code #####################
public void create()
String compName = "ABC"
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, CONTEXT);
env.put(Context.PROVIDER_URL, HOST+"/ou=companies,o=tom.com");
env.put(Context.SECURITY_AUTHENTICATION,"simple");
env.put(Context.SECURITY_PRINCIPAL,"uid=xyz,ou=people,o=tom.com");
env.put(Context.SECURITY_CREDENTIALS,"wew23");
env.put(Context.REFERRAL, "ignore");
try {
DirContext ctx2 = new InitialDirContext(env);
Attribute objclass = new BasicAttribute("objectclass");
objclass.add("top");
Attribute cn = new BasicAttribute("cn", compName);
Attributes attrs = new BasicAttributes(true); // case-ignore
attrs.put(objclass);
ctx2.bind("cn="+compName, attrs)
ctx2.close();
System.out.println("Bind Successfull 33333");
} catch (NamingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}These attributes are created when you have the context binded to these attributes, also known as schema objects. There is a root object called top. The other objects are inheriting one after another in a successive order from the "top". Correct me if I'm wrong but I've seen similar behavior across all contexts.
-
How do I copy an existing group in Contacts to create a new group with the same contacts in it?
Hi there,
Unfortunately the use case you describe hasn't been implemented in Firefox. It's not possible to move a tab group out to its own window at this point. Generally the tab groups feature hasn't been worked on much recently, not sure why.
As to TabMixPlus, that's a third-party add-on which Mozilla doesn't directly support. You can find support links from the add-on page: https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/
Hope this helps.
Cheers,
David -
When I go to create a new project in imovie using the iPhone 5, I am not able to see any of my video clips or photos that are saved on the device.
When you move or copy the compound clips with their events into an external drive all the events should be there. Not clear on why you want to move them into a single event. You can drag and drop from one event to another.
Why are you using compound clips? You can simply copy the project from each machine with used media onto the external drive and that should do it. -
How can i create a new and tableless database using database configuration
How can i create a new and tableless database using database configuration
How can i create a new and tableless database using database configuration
Just don't install the sample schemas. See the installation guide
http://docs.oracle.com/cd/E11882_01/server.112/e10831/installation.htm
Using the Database Configuration Assistant
When you install Oracle Database with the Oracle Universal Installer, the sample schemas are installed by default if you select the Basic Installation option. Selecting the sample schemas option installs all five schemas (HR, OE, PM, IX, and SH) in the database. If you choose not to install the sample schemas at that time, you can add them later by following the instructions in section "Manually Installing Sample Schemas".
Choose a custom install and don't install the sample schemas.
All other schems/tables installed are REQUIRED by Oracle -
When creating a new window in safari, using command T, the marker have not activated the search field. It means you have to click there every time. Changed after upgrading to Mavericks. Anyone knows how to change this?
Yes, you can do something like that. What you would do is create a button for each image and then hide them. When I do this type of thing I place all of the buttons on a template page and then hide the template.
You can then use JavaScript to copy the icon from any of the hidden buttons to the main button that you've set up to display the image. For example, suppose you set up 10 buttons named b1, b2, b3, ...b10. The code to copy the icon from one of them to the button used to display the image (b0) would be something like this:
// Get the icon from the b3 button
var oIcon = getField("b3").buttonGetIcon();
// Get reference to the b0 button
var f = getField("b0");
// Set the icon of the b0 button to the icon retrieved from the hidden button
f.buttonSetIcon(oIcon);
// Show the b0 button
f.display = display.visible;
This code would go in the Mouse Up event of the smaller button. -
Is there an easy way to create a new group in mail (or I guess it's really the Address book) from an email I already sent to a group of people. I don't want to copy each name one by one if it's not necessary. Thanks, Jack
Each email address in the group is put in the To: field automatically when you put them all in the BCC field when composing the email. Nobody sees anything except their own email address.
I think you are mistaken there, Golden. If the To: field is blank the recipients in the Bcc field will see the To: as undisclosed-recipients - if they get anything at all; some ISPs will reject a message with a blank To:. I would agree with putting the target recipients in the Bcc, but when doing this I usually put my own address in the To: field.
AK -
Create a new group in Active Directory ?
Hello,
I'd like to create a new group in Active Directory. Can somebody show me a sample code please ?
Thanks.Someone should show you how to perform a search. There's a sample in this forum.
http://forums.sun.com/thread.jspa?threadID=623860 -
Create a new Grouping in IBY_FD_EXTRACT_EXT_PUB
Hi,
I need to create a new group in IBY_FD_EXTRACT_EXT_PUB like below.
eg:
+*<OutboundPaymentInstruction>*+
---+
+*<OutboundPayment>*+
---+
+*<ExtendValue>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 1</OUTPUTVALUE>+
+*</Extend>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 2</OUTPUTVALUE>+
+*</Extend>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 3</OUTPUTVALUE>+
+*</Extend>*+
*</ExtendValue*
+*<OutboundPayment>*+
---+
+*<ExtendValue>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 1</OUTPUTVALUE>+
+*</Extend>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 2</OUTPUTVALUE>+
+*</Extend>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 3</OUTPUTVALUE>+
+*</Extend>*+
+*</ExtendValue>*+
I have got the Concatenated value inside a loop, but I need to split each of the values into 80 characters and then insert it into <OUTPUTVALUE>+
So, if I have 240 characters, then I need it like+
+*<OutboundPayment>*+
---+
+*<ExtendValue>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 80 characters*</OUTPUTVALUE>*+
+*</Extend>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 80 characters*</OUTPUTVALUE>*+
+*</Extend>*+
-- <Extend>+
---<OUTPUTVALUE>Concatenated Value - 80 characters*</OUTPUTVALUE>*+
+*</Extend>*+
+*</ExtendValue>*+
What I have tried is
FUNCTION Get_Pmt_Ext_Agg(p_payment_id IN NUMBER)
RETURN XMLTYPE
IS
l_ins_ext_agg XMLTYPE;
CURSOR get_invoices_cur(cp_payment_id in number) is
SELECT IDP.document_payable_id DOCUMENT_PAYABLE_ID
,SUBSTR(IDP.calling_app_doc_ref_number,1,30) REFERENCE_NUMBER
,IDP.payment_amount PAYMENT_AMOUNT
,IDP.document_amount DOCUMENT_AMOUNT
,IDP.payment_curr_discount_taken DISCOUNT_AMOUNT
,SUBSTR(IDP.po_number,1,30) PO_NUMBER
,IPA.payment_amount PAYMENT_AMNT
,IPA.ext_branch_number EXT_BRANCH_NUMBER
,IPA.ext_bank_account_number EXT_BANK_ACCOUNT_NUMBER
,IPA.payee_name PAYEE_NAME
,IPA.int_bank_name INT_BANK_NAME
,IPA.payment_reference_number PAYMENT_REFERENCE_NUMBER
,IPA.creation_date CREATION_DATE
,IPA.payment_instruction_id PAYMENT_INSTRUCTION_ID
FROM iby_docs_payable_all IDP
,ap_invoices_all AIA
,iby_payments_all IPA
WHERE AIA.invoice_id = idp.calling_app_doc_unique_ref2
AND IPA.payment_id = IDP.payment_id
AND IDP.payment_id = cp_payment_id;
BEGIN
<Initialize all valiables>
FOR get_invoices_rec IN get_invoices_cur(p_payment_id)
LOOP
lc_concatenate: = <Get the concanated Value as required>;
lc_split:= < Written some logic to split it into char >
BEGIN
SELECT XMLConcat(
XMLElement("Extend",
XMLElement("lc_value1" lc_split))
INTO lc_extendval
FROM dual
END;
END LOOP;
BEGIN
SELECT XMLConcat(
XMLElement("ExtendVal",lc_extendval),
INTO l_ins_ext_agg
FROM dual;
END;
RETURN l_ins_ext_agg;
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END Get_Pmt_Ext_Agg;
Now, my output comes only as the last 80 characters, I do not have the first 80 and second 80 characters.
ANy inputs to achieve all the 240 characters split into 3 rows like described above would be helpful.
Thanks>
Now, my output comes only as the last 80 characters, I do not have the first 80 and second 80 characters.
>
based on
>
lc_split:= < Written some logic to split it into char >
>
so check logic for splitting
i can't test on your data but
>
SELECT XMLConcat(
XMLElement("Extend",
XMLElement("lc_value1" lc_split))
INTO lc_extendval
FROM dual
>
what's code doing?
looks like it's wrong because it create tag "lc_value1"
>
BEGIN
SELECT XMLConcat(
XMLElement("ExtendVal",lc_extendval),
INTO l_ins_ext_agg
FROM dual;
END;
RETURN l_ins_ext_agg;
>
what's code doing?
so try another way
FUNCTION Get_Pmt_Ext_Agg(p_payment_id IN NUMBER)
RETURN XMLTYPE
IS
l_ins_ext_agg XMLTYPE;
CURSOR get_invoices_cur(cp_payment_id in number) is
SELECT IDP.document_payable_id DOCUMENT_PAYABLE_ID
,SUBSTR(IDP.calling_app_doc_ref_number,1,30) REFERENCE_NUMBER
,IDP.payment_amount PAYMENT_AMOUNT
,IDP.document_amount DOCUMENT_AMOUNT
,IDP.payment_curr_discount_taken DISCOUNT_AMOUNT
,SUBSTR(IDP.po_number,1,30) PO_NUMBER
,IPA.payment_amount PAYMENT_AMNT
,IPA.ext_branch_number EXT_BRANCH_NUMBER
,IPA.ext_bank_account_number EXT_BANK_ACCOUNT_NUMBER
,IPA.payee_name PAYEE_NAME
,IPA.int_bank_name INT_BANK_NAME
,IPA.payment_reference_number PAYMENT_REFERENCE_NUMBER
,IPA.creation_date CREATION_DATE
,IPA.payment_instruction_id PAYMENT_INSTRUCTION_ID
FROM iby_docs_payable_all IDP
,ap_invoices_all AIA
,iby_payments_all IPA
WHERE AIA.invoice_id = idp.calling_app_doc_unique_ref2
AND IPA.payment_id = IDP.payment_id
AND IDP.payment_id = cp_payment_id;
BEGIN
<Initialize all valiables>
FOR get_invoices_rec IN get_invoices_cur(p_payment_id)
LOOP
lc_concatenate: = <Get the concanated Value as required>;and add logic for splitting like
select xmlelement("ExtendValue", xmlagg(xmlelement("Extend", substr(lc_concatenate,1+80*(level-1),80) )))
INTO lc_extendval
from dual
connect by level <= ceil(length(lc_concatenate)/80)so example
SQL>
SQL> with t as
2 (
3 select 1 id, lpad('a',80,'a') ||lpad('b',80,'b') ||lpad('c',80,'c') str from dual
4 )
5 --
6 select xmlelement("ExtendValue", xmlagg(xmlelement("Extend", substr(str,1+80*(level-1),80) )))
7 from t
8 connect by level <= ceil(length(str)/80)
9 /
XMLELEMENT("EXTENDVALUE",XMLAG
<ExtendValue><Extend>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
SQL> if you have some problem then plz post test data -
Create a new group in Messaging
How do you create a new group in messaging, I had to select ios4.33 in the Operating system as ios5 is not available yet
Someone should show you how to perform a search. There's a sample in this forum.
http://forums.sun.com/thread.jspa?threadID=623860 -
Hello all,
When creating a new DPS, should I use the sizes offered by InDesign or the display size of the device? I ran into this question when I was looking up the sizes of different devices and found that iPhone 5s, iPhone5c, and iPhone4s sizes differ than the defauly dimensions offered by InDesign.
Also, should I worry about the ppi resolution? With iPhone, they all seem to be 326ppi but when dealing with other devices is this something that I should take into consideration? Ideally, I could be creating DPS apps for all devices offered in the Digital Publishing drop down in InDesign (iPhone, iPad, Kindle Fire/Nook, and Android).
Thank you for any help you can provide.
By the way, if it helps I am using InDesign CC.Using 1024x768 and creating PDF articles will get you OK with both iPad resolutions, and, as Bob L. says, quite decent "one size fits all" result for all other devices.
-
Runtime Error when creating a new group
I'm getting a runtime error when creating a new group on a site collection?
Thanks in advanceThe most possible reason is if your site collection is reached the maximum site quota limit,then there is chance to get the run time error while creating a new group.
In this case,you will get the error while creating/updating the group or while adding the new user/uploading any content.
Also Ensure the group name is not having any special/unsupported characters.
Feel free to share the error screenshot/entry in the ULS logs.
Please remember to click 'Mark as Answer' on the answer if it helps you
Best Regards,
Pavan Kumar Sapara
s p kumar -
I just got the new Iphone 5 and when I send a message in a group text it keeps sending it as an email and as my phone number. The people in the group text are complaining that it is creating a new group message everytime I text. How do I fix this?
Read http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
If you wish to share an Apple ID with family members then read: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/ -
All of a sudden, I cannot create any new groups within Address Book! Will not work either from the plus sign at the bottom of the group list or the main menu!
Any advice on how to resolve?quit Address book and delete the file homedirectory/library/application support/address book/AddressBook-v22.abcddb. then start Address Book and see if you can create groups.
-
I have just purchased an iPhone5 and created a new user instead of using my iPhone3 ID. How can I access my previous data?
don't just sign out!
if you simply sign out, the stuff you recently purchased will be an issue in the future when an update comes out for apps or anything else. restore the device as new from itunes then restore from a back if you have one as stated above...or set up as new and use correct apple id. this will ensure you will be using the apple id that you used originally without issues from the new one.
Maybe you are looking for
-
No sound or recording in windows 8.1 on parallels 9 OS 10.9.2
I really hope someone can help me here. I have a MacBook air 13" (purchased new in 2014), running Mavericks Mac OS 10.9.2, parallels desktop 9, build 9.0 24229 and windows 8.1, all installed in march 2014. built in microphone and speakers on macbook
-
Ipad wont sync and exclamation point in device manager
I cannot get my ipad to sync with my new computer. There is an exclamation point in the device manager by this device and I dont know what it means. I do not want to uninstall itunes and reinstall as I am afraid I will lose all the music I have put
-
I am working in a service industry wherein there is only input excise & no output excise. There is only output service tax(service tax payable) When I am utilizing the sr tax against input excise using J2IUN, system doesnu2019t show any value in paya
-
FSS shares and the global zone
zonecfg allows me to set an RCTL on the number of FSS shares a zone can use. How do I set the total number of FSS shares that are available to all the processes in the global zone. For instance if I have a machine with the global zone and two non-glo
-
I have two questions. 1. I have been trying to add a new signature to my email, but it wont let me, When I press + nothing happens. 2. I have also been trying to add a image to below my signature. I have a jpeg file, but rather than an image appearin