s3:winbindd: make use of ads_connect_cldap_only() in dcip_check_name_ads()
[Samba.git] / source4 / scripting / devel / nmfind
blob865c0d71acff1fc0de066778b164616f0437a16b
1 #!/bin/sh
3 # find object files containing a symbol
4 # for example:
5 # nmfind foo_function $(find bin/default -name '*.o')
7 TARGET=$1
8 shift
9 for f in $*; do
10 if nm $f 2>&1 | grep $TARGET >/dev/null; then
11 echo [$f]
12 nm $f | grep $TARGET
13 echo
15 done