The C program from the web page is probably running as the user used to
run your web server.  This is most likely NOT root.  You are having
permission problems when you try to run vadduse.

On Wed, 23 Aug 2000 [EMAIL PROTECTED] wrote:

> Hi,
> 
> I have written a C program to create a s new user on a vpopmail domain,
> which is run from the command line. This works fine.
> 
> Now I need to let a user signup himself by cliacking a link "Sign me up
> now". The sign up page has four text fields - UserID, password1, password2
> and the user's RealName. Up on submit the values are posted to a C progam
> (almost similar to the above mentioned) which takes the parameters
> correctly.
> 
> But strangely in this case, the function vadduser fails to add the user to
> the specified domain. It should have worked. I could'nt figure out why its
> failing.
> 
> The parameters are...
> vadduser(userid, domain, password, realname);
> 
> Can any body tell me why??
> 
> sincerely,
> Harsha
> 
> 
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax

Reply via email to