CVS update: samba/source/nsswitch
Andrew Bartlett
abartlet at samba.org
Mon Jun 23 23:30:11 EST 2003
On Mon, 2003-06-23 at 22:20, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 23 Jun 2003, Andrew Bartlett wrote:
>
> >
> > "nsswitch/winbindd_group.c", line 300: warning(1551): variable "domain"
> > is
> > used before its value is set
> > ((name_type==SID_NAME_ALIAS) && strequal(lp_workgroup(),
> > domain->name))) )
> > ^
>
> Fixed.
>
>
> > "nsswitch/winbindd_group.c", line 462: error(1042): operand types are
> > incompatible ("int (*)(void)" and "int")
> > if ( lp_security != SEC_ADS && domain->native_mode
>
> Tridge already fixed this. Guess I turned my head when the compiler
> warning flew by. But I really can't figure out how it even compiled.
> Can you see it?
You are allowed to check if a function pointer's value is '3', it's just
not often what you want to do :-)
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-cvs/attachments/20030623/35fc8497/attachment.bin
More information about the samba-cvs
mailing list