note 61137 added to ref.exec

From: Date: Thu, 26 Jan 2006 15:29:55 +0000
Subject: note 61137 added to ref.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-102492@lists.php.net to get a copy of this message
I've decided to use ldifde instead of the dsadd command. Ldifde solves some name length problems I couldn't solve with dsadd. However, I was wondering if anyone has ran into this before: Connecting to "xenon.mtmercy.edu" Logging in as "someuser" in domain "mtmercy.edu" using SSPI Importing directory from file "C:\wamp\www\userimport\ldifusers.ldf" Loading entriesFile operation failure Failed on line 0. The last token starts with '0 entries modified successfully. An error has occurred in the program . This is what happens when I try and launch the command from php or even from a batch file that is being run from php. but when I run it outside of php it works fine. Here is the command: ldifde -i -v -k -f C:\wamp\www\userimport\ldifusers.ldf -b someuser mtmercy.edu somepassword -j C:\wamp\www\userimport The log file it creates just tells me the same thing as above. ---- Server IP: 64.71.164.2 Probable Submitter: 192.251.94.253 ---- Manual Page -- http://www.php.net/manual/en/ref.exec.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61137 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61137&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61137&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61137&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61137&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61137&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61137&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61137&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61137&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#102492) next »