tony:
i have the nsswitch setup to check nis.
check_local_users does not recognize my nis users
if i use extract, what variables do i need to set? does it know how to
divide into substrings?
thanx
On Wed, 31 May 2006, Tony Finch wrote:
> On Wed, 31 May 2006, montana@??? wrote:
>>
>> is there a way i can break down the output of this query into fields
>> and populate the needed variables for exim?
>
> You can use ${extract to get the fields out of a passwd line, but you'd be
> better off setting up your machine's nsswitch so that the underlying Unix
> getpwnam uses NIS and therefore Exim's normal check_local_user stuff
> works.
>
> Tony.
> --
> <fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
> N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
> \N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}
>
*******************************************************************
* Carlos Montana PHONE: (915) 747-5498 *
* Computer Operations Supervisor FAX: (915) 747-5073 *
* Dept. of Geological Sciences EMAIL: montana@??? *
* University of Texas at El Paso *
* El Paso, TX 79968 *
*******************************************************************