Showing posts with label class. Show all posts
Showing posts with label class. Show all posts

September 23, 2019

Add custom user/system attributes in Active Directory

Hi folks,

Today I'll explain the procedure to add and verify the custom user attributes in Active Directory.

Mount the Directory Schema


  1. Open Command Prompt in Administrator mode
    • Start -> cmd -> Right click and select "Run as Administrator"
  2. Mount the directory schema command
    • cmd> regsvr32 schmmgmt.dll
  3. You will be notified with command success pop-up
    • Click on Ok

Creating Custom Attribute


  • Open mmc (Management Console)
  • Click on "File" menu and select "Add/Remove Snap in.."
  • From "Available snap-ins" section, click "Active Directory Schema"
  • Click on "Add"



  • "Active Directory Schema" should be added to "Selected snap-ins" section and click "Ok"
  • You will be viewing the "Active Directory Schema" in the console
  • Expand and select "Attributes"
  • Right click and choose "New" and select "Attribute" as shown below


  • A warning pop-up shows, click Continue


  • Create New Attribute pop-up opens up
  • Enter the custom attribute details
  • Enter the Object ID as per Reference 1


  • Select the Syntax from the list

  • Check Multi-Valued option based on your requirement
  • Click Ok


Adding to User Class


  • Newly created custom attribute has to be mapped to any one of the class (Computer, user etc)
  • To add it to user
  • (Classes -> User -> Properties -> "Add")
  • Select the custom attribute

Restarting ADDS (Active Directory Domain Service)

  • Open Services
  • Start -> Run -> services.msc
  • Navigate to Active Directory Domain Service
  • Restart the service

Verification

  • Open "Active Directory Users and Computers"
  • Go to "Users"
  • Click on any user and view properties
  • Click on "Attribute Editor" tab
  • Navigate to your custom tab

Please send your feedback to psrdotcom@gmail.com

December 27, 2017

AP SSC (X / 10th) class board duplicate marksmemo / certificate and challan form

Hi friends,

One of my friends lost an SSC certificate and applied for a duplicate.

Required Documents

1. Police FIR against lost certificate
2. Fill the Duplicate SSC Form (Link to Form)
3. Fill this Challan (Link to Challan) with 250 rupees towards the fee Payable at SBI Treasury Branch only

Note: This challan is available on the SSC website under MNR formats

Hope you will get your duplicate certificate quickly with this process.

December 19, 2014

Reverse Engineering .apk file (or) Getting Java source code from .apk by extracting

Hi friends,

Today we are going to see how the .apk can be reverse engineered to see the original source code

Procedure

  1. Get the .apk file (Here I'm taking example apk called psr.apk)
  2. Rename the extention from psr.apk to psr.zip file
  3. Extract the psr.zip file
  4. It will create folder named "psr" and contents will be inside that
  5. Download the tool "dex2jar" from the official link
  6. Extract the downloaded "dex2jar" zip
  7. Navigate to the "dex2jar" extracted directory
  8. Execute the following command
    • ./d2j-dex2jar.sh psr/classes.dex
  9. Now it will generate classes-dex2jar.jar file
  10. Extract the jar file, it will create "classes-dex2jar" folder
  11. Now, open you "intelliJ IDEA"
    • Install "Java Decompiler IntelliJ Plugin" in "intelliJ IDEA"
    • In IDE, click "File->Open"
    • Select the "classes-dex2jar" folder path
  12. Now, click on any of the .class file, then you should be able to see the original java source code of it

Isn't it awesome guys :)

Keep enjoying the coding :)

Please send your feedback and comments to psrdotcom@gmail.com

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com