[PATCH] let pdb_nisplus compile again...

Stefan (metze) Metzmacher metze at metzemix.de
Tue Jun 24 09:04:29 GMT 2003

Hi Jerry,

here's a patch which fixes the horribly broken pdb_nisplus code.

there's only one warning left:

/usr/include/rpcsvc/nislib.h:203: warning: declaration of `utime' shadows 
global declaration
passdb/pdb_nisplus.c: In function `set_single_attribute':
passdb/pdb_nisplus.c:1019: warning: assignment discards qualifiers from 
pointer target type
Building plugin bin/nisplussam.so

I'm not shure if we need to use strdup() here to
this is like "char *test = "test";"

Also I don't know if this code works...I just let it compile again!

and in configure.in it's only selected if we have <rpcsvc/nis.h>
and it's possible to be static now.

Stefan "metze" Metzmacher <metze at metzemix.de> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_0-nisplus-01.diff
Type: application/octet-stream
Size: 4954 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030624/ebc26854/3_0-nisplus-01.obj

More information about the samba-technical mailing list