Bug 3763 - Warnings during compilation of the pam_winbind
Summary: Warnings during compilation of the pam_winbind
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.23
Hardware: Other FreeBSD
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 15:04 UTC by Timur Bakeyev
Modified: 2006-05-06 15:15 UTC (History)
1 user (show)

See Also:


Attachments
warnings cleanup (1.19 KB, patch)
2006-05-06 15:06 UTC, Timur Bakeyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur Bakeyev 2006-05-06 15:04:38 UTC
Under FreeBSD following warnings come out:

Compiling nsswitch/pam_winbind.c with -fPIC -DPIC
nsswitch/pam_winbind.c: In function `_make_remark':
nsswitch/pam_winbind.c:194: warning: assignment discards qualifiers from pointer target type
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:695: warning: assignment discards qualifiers from pointer target type
nsswitch/pam_winbind.c:703: warning: assignment discards qualifiers from pointer target type
nsswitch/pam_winbind.c:709: warning: assignment discards qualifiers from pointer target type
nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':
nsswitch/pam_winbind.c:981: warning: passing arg 3 of `pam_get_data' from incompatible pointer type

Here is the patch, that addresses them. Ok, seems, last line fix create warnings on linux :(
Comment 1 Timur Bakeyev 2006-05-06 15:06:08 UTC
Created attachment 1893 [details]
warnings cleanup
Comment 2 Volker Lendecke 2006-05-06 15:15:21 UTC
Fixed with r15478.

Volker