s4:provision_configuration - "sPNMappings": "http" missed on regeneration
[Samba/cd1.git] / examples / LDAP / get_next_oid
blobbf002003753388806a1521b41f4e3e466db3b303
1 #!/bin/bash
3 nextattrib=`cat samba.schema | grep -i attributetype.*\(.*1.3.6.1.4.1.7165. | grep -v '^#' | \
4 awk '{print $3}' | cut -d. -f 10 | sort -n | tail -1`
6 (( nextattrib += 1 ))
8 echo "attributetype ( 1.3.6.1.4.1.7165.2.1.$nextattrib NAME ...."
10 nextoc=`cat samba.schema | grep -i objectclass.*\(.*1.3.6.1.4.1.7165. | grep -v '^#' | \
11 awk '{print $3}' | cut -d. -f 10 | sort -n | tail -1`
13 (( nextoc += 1 ))
15 echo "objectclass ( 1.3.6.1.4.1.7165.2.2.$nextoc NAME ...."