Browse Source

Initial revision

pull/10/head
cns 16 years ago
committed by butlerx
parent
commit
ff7c8ad805
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      remove_dcutree_ldif.py

+ 11
- 0
remove_dcutree_ldif.py View File

@@ -0,0 +1,11 @@
#! /usr/bin/env python

import sys

dcu = 0
for line in sys.stdin:
if line.startswith('dn:'):
dcu = line.find('ou=dcu') != -1
if not dcu:
print line,


Loading…
Cancel
Save