![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automating Autosys | LilyClaro | UNIX for Advanced & Expert Users | 0 | 03-23-2007 01:15 PM |
| Automating telnet and ftp | sendhilmani123 | Shell Programming and Scripting | 2 | 04-25-2006 05:37 AM |
| Automating sendmail | JimJim | Shell Programming and Scripting | 3 | 11-30-2004 06:31 AM |
| automating password ? | Liamo | Shell Programming and Scripting | 3 | 05-24-2004 06:01 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Automating slapconfig
I'm a New Media student working at a small media/tech company that's part of the New Media department at my school. I'm working on a MySQL/LDAP-based system for keeping track of users of our Mac file server. I'm trying to write a script that backs up our LDAP database using the slapconfig command with the -backupdb flag. When I run it, it prompts me for a password for the archive that it's going to create. I need this to run in an automated script, so it can't have user input. How can I send the password directly to slapconfig? I've tried using expect but I don't think it's the right tool for the job. The man page for slapconfig doesn't have anything.
My shell experience is pretty much limited to this project. I had someone who was mentoring me and helping out, but he's at a different campus this year and I can't get in touch with him. Any ideas? |
![]() |
| Bookmarks |
| Tags |
| slapconfig ldap mac expect, unresolved, unresolved for months, unresolved for weeks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|