How to list Kerberos Principals on OD Master
I'm curious with the switch to Heimdal Kerberos how one lists all the principals in a realm? I remember under Snow Leopard server I was able to list all the Kerberos principals, but so far with Lion I haven't had any luck. I've tried:
sudo kadmin -l
Which brings me to the kadmin interactive mode. From there I can list individual principals with:
kadmin> list -l [email protected]
I get the following output:
Principal: [email protected]
Principal expires: never
Password expires: never
Last password change: never
Max ticket life: unlimited
Max renewable life: unlimited
Kvno: 2
Mkvno: unknown
Last successful login: never
Last failed login: never
Failed login count: 0
Last modified: 2012-05-08 19:20:52 UTC
Modifier: hdb/od@WELL-KNOWN:OD-BACKEND
Attributes: disallow-svr, requires-pre-auth, disallow-renewable, disallow-postdated
Keytypes: aes256-cts-hmac-sha1-96(pw-salt), aes128-cts-hmac-sha1-96(pw-salt), des3-cbc-sha1(pw-salt)
PK-INIT ACL:
Aliases:
However if I try something like:
kadmin> list -l *
I get:
kadmin: kadm5_get_principals: iteration over database only supported for DSLocal
Is there anyway to get a list of all the Kerberos principals instead of just one at a time?
I came across the same problem and I helped myself by listing the current keytab.
ktutil list
FILE:/etc/krb5.keytab:
Vno Type Principal Aliases
1 aes256-cts-hmac-sha1-96 host/[email protected]
1 aes128-cts-hmac-sha1-96 host/[email protected]
1 des3-cbc-sha1 host/[email protected]
Similar Messages
-
How to list principals in the security role?
Does anybody know how to list principals assigned to a security role programmatically?
The role assigment is specified in weblogic.xml files for web applications and
weblogic-ejb-jar.xml files for EJBs.
Any help would be much appreciated,
MargaretI think it's not possible. However, what you can do is to assign a role to a
group (this relationship being statically defined in weblogic.xml) and then
manipulate the group membership in order to assign users to the role on the
fly.
"Margaret Oberc" <[email protected]> wrote in message
news:3b127763$[email protected]..
>
Does anybody know how to list principals assigned to a security roleprogrammatically?
The role assigment is specified in weblogic.xml files for webapplications and
weblogic-ejb-jar.xml files for EJBs.
Any help would be much appreciated,
Margaret -
How find list of printed material
how find list of printed documents
You can search the function module SELECTION_VIEWS_FIND in this forum. You will get the sample code.
Apart from that if only you want to know what are all the views assigned to a material type and try to enhance it then it should be from SPRO.
Go to transaction SPRO.
chose Logistics - General>Material Master>Basic Settings>Material Types>Define Attributes of Material Types
execute and you will get the list of material types.
Now dbl click on the desired material type and you will get an area called as User departments. Here what are all the views are selected those views only appear while you are trying to create (or Change/Display) material master.
Regards
Shiba Prasad Dutta -
How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendarHi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar -
How do I use a particular question master slide?(Captivate 6)
Hello,
I have created my own theme, and with it, several masters of the MCQ,T/F,FIB... question slide. When I add a multiple choice question slide to my project, it doesn't ask me which of these question masters I want to use, and selects the same master each time. How do I use different question slide master that I have created? In other words, how do I change the default MCQ,T/F,FIB.. question master?
Thank you!
RyanCan I have different question masters then for one question type? For example -- five different masters for the hot spot question...
Ryan -
How to upload PO text of material master ?
dear gurus,
how to upload PO text in material master in mass , can i use LSMW or BDC ? if yes then how?
I have done the recording but LSMW is not working for PO text.
Upesh khairnar.Hi!
try using Purchasing Inforecord for this. in here you maintain master data linkage for Material Master and Vendor Master. You will just have to input the Material Number, the Vendor Account, and the Purchasing Org. In here you can maintain the PO text defaulted per Material Number. After the maintenance of Inforecord, the PO text will be reflected on the PO document.
Here is the ff Transaction Code:
- ME11 (Create Inforecord)
- ME12 (Change Inforecord)
- ME13 (Display Inforecord)
Hope this helps, Thank you.
Mik -
How to Change Batch Classification of material master
Hi,
How to Change Batch Classification of material master in a production system,Pl note that there is no stock and no open qty still system is not allowing me to delete the old Classification and add my new classification.
Guys any solution for this.
Thanks in advance
rgds
bijaya pradhanI believe there is a FM VB_CHANGE_BATCH for this, any body tried this FM?
-
HOW TO STOP THE PROMPTING MESSAGE OF MASTER PASSWORD EACH TIME I OPEN MOZILLA FIREFOX?
HOW TO STOP THE PROMPTING MESSAGE OF MASTER PASSWORD EACH TIME I OPEN MOZILLA FIREFOX?
Firefox will ask for the Master Password on startup if it is needed on a page.<br />
This can be Sync or a web page that is (re)opened automatically and you have saved a name & password for this website.
You didn't confirm whether you are using Sync or not, so I don't know which of the two would apply. -
How to list all properties in the default Toolkit
I would like to know what kinds of properties are stored in the default Toolkit (Toolkit.getDefaultToolkit()). I don't know how to list all of them. Toolkit class has a method getProperty(String key, String defaultValue), but without knowing a list of valid keys, this method is useless.
Any idea would be appreciated.Here is a little utility that I wrote to display all the UIDefaults that are returned from UIManager.getDefaults(). Perhaps this is what you are looking for?
import javax.swing.*;
import java.util.*;
public class DefaultsTable extends JTable {
public static void main(String args[]) {
JTable t = new DefaultsTable();
public DefaultsTable() {
super();
setModel(new MyTableModel());
JFrame jf = new JFrame("UI Defaults");
jf.addWindowListener(new WindowCloser());
jf.getContentPane().add(new JScrollPane(this));
jf.pack();
jf.show();
class MyTableModel extends javax.swing.table.AbstractTableModel {
UIDefaults uid;
Vector keys;
public MyTableModel() {
uid = UIManager.getDefaults();
keys = new Vector();
for (Enumeration e=uid.keys() ; e.hasMoreElements(); ) {
Object o = e.nextElement();
if (o instanceof String) {
keys.add(o);
Collections.sort(keys);
public int getRowCount() {
return keys.size();
public int getColumnCount() {
return 2;
public String getColumnName(int column) {
if (column == 0) {
return "KEY";
} else {
return "VALUE";
public Object getValueAt(int row, int column) {
Object key = keys.get(row);
if (column == 0) {
return key;
} else {
return uid.get(key);
class WindowCloser extends java.awt.event.WindowAdapter {
public void windowClosing(java.awt.event.WindowEvent we) {
System.exit(0);
} -
How to list the abap programs order by updated date in ECD
Hi experts,
how to list the abap programs order by updated date in ECD?
thanks.I wrote a custom program for displaying Z* development work into an ALV report. 2500 character limit prevents me from posting, message me your email and I'll send you source code.
Edited by: Brad Gorlicki on Feb 18, 2010 11:25 PM -
How to list the active savepoints in a session?
How to list the active savepoints in a session?
SR 3-4535479801: How to list the active savepoints in a session?
Oracle Support - September 19, 2011 7:12:50 AM GMT-07:00 [ODM Answer]
=== ODM Answer ===
Hello,
That is the only way and it is also described in:
How To Find Out The Savepoint For Current Process (Doc ID 108611.1)
One thing to be aware in lower version is the dump if no savepoints are declared:
ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME SAVEPOINTS LEVEL 1' Raises ORA-03113/ORA-07445[SIGSEGV]/[STRLEN] Errors (Doc ID 342484.1)
Best regards,
George
Oracle Support Database TEAM
Oracle Support - September 19, 2011 6:36:39 AM GMT-07:00 [ODM Question]
=== ODM Question ===
How to list the active savepoints in a session?
Is there another way than the following as referenced in the Oracle forums: Re: How to list the active savepoints in a session? ?
"alter session set events 'immediate trace name savepoints level 1';"
A trace file is generated in the user_dump_directory.
- September 17, 2011 5:12:53 PM GMT-07:00 [Customer Problem Description]
Problem Description: How to list the active savepoints in a session?
Is there another way than
"alter session set events 'immediate trace name savepoints level 1';"
A trace file is generated in the user_dump_directory.
Re: How to list the active savepoints in a session? -
How to list printers on the client machine to print the documents in ADF
Hi,
I have a requirement to print multiple documents stored on the server. I am trying to find out how to list the printers or get a default printer on the client machine and print the documents using ADF.
Thanks
SukarnaI tried that solution. but I am not getting any printer list.
public void printDocument(ActionEvent actionEvent){
BindingContainer bindings =
BindingContext.getCurrent().getCurrentBindingsEntry();
PrintService[] service = PrintServiceLookup.lookupPrintServices(null, null);
if (service.length == 0){
JOptionPane.showMessageDialog(null, "No Printer Selected");
The printer Service is not returing any data.
Thanks
Sukarna
Edited by: 911653 on Oct 5, 2012 9:01 AM -
How to list Sales Order with credit block
Hi, Gurus,
I really don't know how to list sales orders with credit block?
Is there any way for end user to do it?
If so, is it possible to list SO with credit block for certain period of time such as one month?
Any help would be appreciated.HI
Check T-Code VKM2 (Released documents)
You need to check VKM1 (Blocked Documents)
Sorry before i gave wrong information , myself i corrected VKM2 for released not for blocked list (Due to non Availability of SAP access )
Regards,
Prasanna
Edited by: prasanna_sap on Feb 7, 2012 7:12 AM -
How to use search term2 in customer master record
hi
how to use search term2 in customer master record. can anyone tell me plz
thanks
monicaHi,
Search Term 2
Label used for search helps.
Only uppercase letters are stored in this field. Your entries are converted automatically to uppercase letters.
There are two of these fields for search terms. These fields can be used independently of each other.
Procedure
You can use your own criteria for entering the search term.
Example
You can enter the main part of the name or an organizational ID.
For example, for the company "Hechinger & Sons", you could enter "Hechinger" as the first search term.
The second search term could then be the name ID you use within your company, to help you identify your data later.
Please check out the following link:
http://help.sap.com/saphelp_47x200/helpdata/EN/01/a9b331455711d182b40000e829fbfe/frameset.htm
Hope this helps.
Please assign points as a way to say thanks.
Regards, -
How to list the contents of an OSX directory, and output to text file?
hello there any hints with any known program that does following
I have recorded my music directory to DVD and now i would like to make an .txt file what the dvd contains...cos its way of hand to write all 100xx files by hand...
How to list the contents of an OSX directory, and output to text file?
any prog that does that? any hints?
best regardsThis script makes a hierarchical file listing all files in a folder and subfolder:
Click here to launch Script Editor.
choose folder with prompt "Choose a folder to process..." returning theFolder
set theName to name of (info for theFolder)
set thepath to quoted form of POSIX path of theFolder
set currentIndex to theFolder as string
do shell script "ls -R " & thepath returning theDir
set theDirList to every paragraph of theDir
set newList to {"Contents of folder \"" & theName & "\"" & return & thepath & return & return}
set theFilePrefix to ""
repeat with i from 1 to count of theDirList
set theLine to item i of theDirList
set my text item delimiters to "/"
set theMarker to count of text items of thepath
set theCount to count of text items of theLine
set currentFolder to text item -1 of theLine
set theFolderPrefix to ""
if theCount is greater than theMarker then
set theNestIndex to theCount - theMarker
set theTally to -1
set theFilePrefix to ""
set theSuffix to ""
repeat theNestIndex times
set theFolderPrefix to theFolderPrefix & tab
set theFilePrefix to theFilePrefix & tab
if theTally is -1 then
set theSuffix to text item theTally of theLine & theSuffix
else
set theSuffix to text item theTally of theLine & ":" & theSuffix
end if
set currentIndex to "" & theFolder & theSuffix
set theTally to theTally - 1
end repeat
end if
set my text item delimiters to ""
if theLine is not "" then
if word 1 of theLine is "Volumes" then
set end of newList to theFolderPrefix & "Folder: > " & currentFolder & return
else
try
if not folder of (info for alias (currentIndex & theLine & ":")) then
set end of newList to theFilePrefix & tab & tab & tab & "> " & theLine & return
end if
end try
end if
end if
end repeat
open for access file ((path to desktop as string) & "Contents of folder- " & theName & ".txt") ¬
with write permission returning theFile
write (newList as string) to theFile
close access theFile
Maybe you are looking for
-
On a windows 8 system, I cannot load an image to the edit window even though it shows in the layers column. This is a new installation of CS5. Previously I was running CS3 extended with no problems
-
Flash Player 10.3 is not recognized in Mac OS X 10.5.8 no matter what i do
OK, I have uninstalled, re-installed. I have java restored my defaults. I have tried a lower version (10.1). This is ridiculous and beyond frustrating. I am not a savvy computer guy but I know that I am missing something! I have searched every forum
-
Fact Column Name displayed as a Legend (Pivot)
All, The report has a Horizontal Stacked Bar Chart. Activity Status that has values Auto Closed & Open is pulled in the Column Section of the Pivot All Activity that has value 'All Activities' is pulled in the Row Section Measure Section has the # of
-
My HP Simple pass wont work anymore. It was just working a few days ago and now it will not work with google Chrome. My version of Simple pass is 6.0.100.276 and my chrome version is 42.0.2311.90. What update should I use or if it is up to date what
-
Why i do not upgrade from Forms6i to WebForms9i yet!
Hello, The main reasons are: - you can not start webforms 9i (-java-applet) on a linux client pc with netscape in https-mode - there is no certification of sun's java plugin yet what shall i tell to my linux-users? Hey, we have the 9i webforms java a