samba 3.0.22 / 3.0.23
Jurzitza, Dieter
DJurzitza at harmanbecker.com
Thu Jul 27 06:44:12 GMT 2006
Dear listmembers,
when compiling samba on my system I ran over nsswitch/wb_common.c not compiling due to missing defines of uint32. The same holds true for winbind_nss_linux.c.
Ok, I said, it seems that include/includes.h is missing.
including this results in two new issues:
1.) strcpy is used in wb_common.c (and in several other files within nsswitch) causing the compiler to bail out due to the inclusion of safe_strings.h,
2.) there is a duplicate definition of READ_TIMEOUT with different meanings in wb_common.c and in smb.h, the latter being read through includes.h (see above)
Can some kind person give me some insight on what to do here? A "grep strncpy *.c" shows a long list in nsswitch (see below); any suggestions on this? "strcpy" can also be found here.
Many thanks for your efforts,
take care
Dieter Jurzitza
source/nsswitch> grep strncpy ./*.c > /tmp/out
source/nsswitch> cat /tmp/out
./pam_winbind.c: strncpy(request.data.auth.user, user,
./pam_winbind.c: strncpy(request.data.auth.pass, pass,
./pam_winbind.c: strncpy(request.data.auth.krb5_cc_type, cctype,
./pam_winbind.c: strncpy(request.data.auth.require_membership_of_sid, member,
./pam_winbind.c: strncpy(sid_request.data.name.name, member,
./pam_winbind.c: strncpy(request.data.auth.require_membership_of_sid, member,
./pam_winbind.c: strncpy(request.data.chauthtok.user, user,
./pam_winbind.c: strncpy(request.data.chauthtok.oldpass, oldpass,
./pam_winbind.c: strncpy(request.data.chauthtok.newpass, newpass,
./pam_winbind.c: strncpy(request.data.username, user,
./pam_winbind.c: strncpy(request.data.logoff.user, user,
./pam_winbind.c: strncpy(request.data.logoff.krb5ccname, ccname,
./wb_common.c: strncpy(path, dir, sizeof(path) - 1);
./wb_common.c: strncpy(sunaddr.sun_path, path, sizeof(sunaddr.sun_path) - 1);
./winbind_nss_irix.c: strncpy(request->data.username, key,
./winbind_nss_irix.c: strncpy(request->data.groupname, key,
./winbind_nss_irix.c: strncpy(request->data.winsreq, key, sizeof(request->data.winsreq) - 1);
./winbind_nss_irix.c: strncpy(request->data.winsreq, key, sizeof(request->data.winsreq) - 1);
./winbind_nss_linux.c: strncpy(request.data.username, name,
./winbind_nss_linux.c: strncpy(request.data.groupname, name,
./winbind_nss_linux.c: strncpy(request.data.username, user,
./winbind_nss_linux.c: strncpy(request.data.sid, user_sid,sizeof(request.data.sid) - 1);
./winbind_nss_linux.c: strncpy(request.data.name.name, name,
./winbind_nss_linux.c: strncpy(request.data.sid, sid,
./winbind_nss_linux.c: strncpy(request.data.sid, sid, sizeof(request.data.sid) - 1);
./winbind_nss_linux.c: strncpy(request.data.sid, sid, sizeof(request.data.sid) - 1);
./winbind_nss_solaris.c: strncpy(request.data.winsreq, argp->key.name, strlen(argp->key.name)) ;
./winbind_nss_solaris.c: strncpy(request.data.winsreq, argp->key.name, strlen(argp->key.name));
--
________________________________________________
HARMAN BECKER AUTOMOTIVE SYSTEMS
Dr.-Ing. Dieter Jurzitza
Manager Hardware Systems
System Development
Industriegebiet Ittersbach
Becker-Göring Str. 16
D-76307 Karlsbad / Germany
Phone: +49 (0)7248 71-1577
Fax: +49 (0)7248 71-1216
eMail: DJurzitza at harmanbecker.com
Internet: http://www.becker.de
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
More information about the samba-technical
mailing list