Cannot log onto domain
Greg Dickie
greg at discreet.com
Thu Dec 3 16:06:42 GMT 1998
Hi Luke,
yes, it's probably too simple so it works
#include "stdio.h"
#include "grp.h"
struct group *fred;
void main() {
setgrent();
while ( 1 ) {
fred=getgrent();
printf("Group name is: %s\n",fred->gr_name);
/* apparently the end condition is not handled very gracefully! */
}
}
This is an SGI Indigo 2 running IRIX 6.2 & the same machine as samba.
Greg
On 03-Dec-98 Luke Kenneth Casson Leighton wrote:
> do you call setgrent() in your test program first? what system you using?
> what os?
>
> On Thu, 3 Dec 1998, Greg Dickie wrote:
>
>>
>> Sorry to be a pain but I cannot figure out what the problem is with the
>> getgrent looping endlessly. I have tried it in a small test program and it
>> appears to work ok so there must be something else happening in smbd that I
>> do
>> not know about.
>>
>> help me..... Luke, Jeremy,Gerald?
>>
>> please....
>>
>>
>> Argh
>>
>> Greg
>>
>> ---------------------------------------------------------------------
>> Greg Dickie
>> Just A Guy*
>> *from discreet logic
>> Montreal
>> (514) 954-7171
>> greg at discreet.com
>>
>>
>
> <a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton </a>
> <a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
> <a href="http://www.samba.co.uk" > Samba and Network Consultancy </a>
---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet logic
Montreal
(514) 954-7171
greg at discreet.com
More information about the samba-ntdom
mailing list