2010/6/21 m m <[email protected]>: > Hi, > > I am trying to use this script on a solaris 10 machine, running sun > directory server 6.3.1. I have the required modules installed. > > * gawk (GNU awk) > * ldapsearch > * mailx > > I know the script was tested with OpenDS, is there any reason why this would > not work with sun's directory server 6.3.1 > When I try and just run the script I get the folowing error. > > # ./checkLdapPwdExpiration.sh > ./checkLdapPwdExpiration.sh: test: argument expected # > > Any ideas where I can look to start troubleshooting?
Hi, first, I'm not sure that the password policy draft is implemented in SUN DS 6.3, so attribute names from the script will maybe not match. For your error, you can maybe tru to use [[ ]] instead of [ ] in the script, see: http://stackoverflow.com/questions/1298928/test-fails-with-argument-expected-when-comparing Clément. _______________________________________________ ltb-users mailing list [email protected] http://lists.ltb-project.org/listinfo/ltb-users
