[Samba] compiling samba 3.0

Dhaval Patel dhaval at patel.sh
Tue Oct 28 17:50:37 GMT 2003


Has anyone had problems compiling samba 3.0, specifically the wb_client.c file? I have
having problems with slack 9.1 while my slack 9.0 boxes are ok. The only difference that
I think would have caused any problem is that on the slack 9.1 box I installed libnss
from mozilla in /usr/local/ so that gaim 0.71 would compile the new msn plugin. This
problem is not just related to slackware. I found this
http://www.dragoninc.on.ca/mail-archives/samba-technical/2001-12/0264.html post that
shows someone having the same problem on redhat 7.2. My errors are the following

Compiling nsswitch/wb_client.c
nsswitch/wb_client.c: In function `winbind_lookup_name':
nsswitch/wb_client.c:44: storage size of `result' isn't known
nsswitch/wb_client.c:58: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:58: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nsswitch/wb_client.c:58: (Each undeclared identifier is reported only once
nsswitch/wb_client.c:58: for each function it appears in.)
nsswitch/wb_client.c: In function `winbind_lookup_sid':
nsswitch/wb_client.c:75: storage size of `result' isn't known
nsswitch/wb_client.c:88: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:92: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nsswitch/wb_client.c: In function `winbind_sid_to_uid':
nsswitch/wb_client.c:126: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:130: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nsswitch/wb_client.c: In function `winbind_uid_to_sid':
nsswitch/wb_client.c:157: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:161: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nsswitch/wb_client.c: In function `winbind_sid_to_gid':
nsswitch/wb_client.c:193: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:197: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nsswitch/wb_client.c: In function `winbind_gid_to_sid':
nsswitch/wb_client.c:224: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:228: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nsswitch/wb_client.c: In function `wb_getgroups':
nsswitch/wb_client.c:253: invalid use of incomplete typedef `NSS_STATUS'
nsswitch/wb_client.c:255: `NSS_STATUS_SUCCESS' undeclared (first use in this function)
nsswitch/wb_client.c: In function `winbind_ping':
nsswitch/wb_client.c:367: storage size of `result' isn't known
..

Does anyone have any ideas what I am missing?

Thanks,
Dhaval



More information about the samba mailing list