matt oquist wrote a nice perl script and david trask tested it and wrote up some docs..google for smbldap-installer + trask.. I have my own more involved bash script ..and i'll help you if you need it .chuck