[Users] Re: [Devel] openserctl user addition problem

Klaus Darilion klaus.mailinglists at pernau.at
Thu Jan 4 16:04:56 CET 2007


Rajesh Kalagarla wrote:
> Hi Klaus,
> 
>  Thanks for your response.
>  now i am trying to add user using openserctl only.
>  but when i am giving a command to add the user " command: openserctl add
> 1122 earth rajeshk at idnltd.com"
> 
>   output is, ERROR 1045(28000): Access denied for user openser at localhost
> (using PASSWORD: YES)
> 
> the query inside the openserctl looks to be failing.

bingo. you are right. you have to configure openserctl to use the proper 
username/password.

take a look at /etc/openser/openserctlrc

regards
klaus


> 
> Thanks,
> Rajesh
> 
> ----- Original Message -----
> From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
> To: "Rajesh Kalagarla" <RajeshK at idnltd.com>
> Cc: <devel at openser.org>
> Sent: Thursday, January 04, 2007 1:29 PM
> Subject: Re: [Devel] openserctl user addition problem
> 
> 
>> This has nothing todo with your openser.cfg. openserctl needs to know
>> the mysql password for the openser mysql user.
>>
>> IIRC it must be configured somewhere in /etc/openser
>>
>> regards
>> klaus
>>
>>
>> Rajesh Kalagarla wrote:
>>> Hello All,
>>>
>>> I am trying to setup the OpenSER on linux system and the distribution is
> RHL.
>>> How can we add multiple users credentials as part of configuration file?
> i am not able to authorize more than one User Agent thru the config file.
>>> when i am adding the second user info, it is simply overwriting the old
> info and not authorizing the first user.
>>>
>>> modparam("auth_db","user_column" "1122")
>>> modparam("auth_db", "password_column", "pluto")
>>>
>>> modparam("auth_db","user_column" "3344")
>>> modparam("auth_db", "password_column", "earth")
>>>
>>> with this info, i am able to register only the second user.if i comment
> the second user info, first user was able to register. please suggest how to
> handle this,
>>> when i am trying to add the user using the "openserctl" i am getting
> permission denied error.
>>>  command: openserctl add 1122 earth rajeshk at idnltd.com
>>>
>>>  output is, ERROR 1045(28000): Access denied for user openser at localhost
> (using PASSWORD: YES)
>>>
>>> any help greatly appreciated,
>>>
>>> Thanks,
>>> Rajesh
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/devel
>>
>> --
>> Klaus Darilion
>> nic.at
>>
>>
> 
> 


-- 
Klaus Darilion
nic.at





More information about the sr-users mailing list