Bug 2995 - innetgr
Summary: innetgr
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 17:02 UTC by Jason Mader (mail bounces back)
Modified: 2007-04-10 10:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2005-08-12 17:02:32 UTC
cc-1164 cc: WARNING File = lib/username.c, Line = 376
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

        if (innetgr(ngname, NULL, user, mydomain)) {
                    ^

cc-1164 cc: WARNING File = lib/username.c, Line = 376
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

        if (innetgr(ngname, NULL, user, mydomain)) {
                                  ^

cc-1164 cc: WARNING File = lib/username.c, Line = 392
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

                if (innetgr(ngname, NULL, lowercase_user, mydomain)) {
                            ^


cc-1164 cc: WARNING File = lib/access.c, Line = 94
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

                netgroup_ok = innetgr(tok + 1, hostname, (char *) 0, mydomain);
                                      ^
Comment 1 Jason Mader (mail bounces back) 2005-08-13 06:30:15 UTC
cc-1164 cc: WARNING File = auth/auth_rhosts.c, Line = 91
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

              if (mydomain && innetgr(file_host,remote,user,mydomain))
                                                ^

cc-1164 cc: WARNING File = auth/auth_rhosts.c, Line = 91
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

              if (mydomain && innetgr(file_host,remote,user,mydomain))
                                                       ^
Comment 2 Jason Mader (mail bounces back) 2007-04-10 10:10:09 UTC
These are the occurances still in 3.0.25,
--- smbd/password.o ---
cc-1164 c99: WARNING File = smbd/password.c, Line = 452
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

        if (innetgr(ngname, NULL, user, mydomain)) {
                    ^

cc-1164 c99: WARNING File = smbd/password.c, Line = 452
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

        if (innetgr(ngname, NULL, user, mydomain)) {
                                  ^

cc-1164 c99: WARNING File = smbd/password.c, Line = 468
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

                if (innetgr(ngname, NULL, lowercase_user, mydomain)) {
                            ^
--- lib/access.o ---
cc-1164 c99: WARNING File = lib/access.c, Line = 93
  Argument of type "const char *" is incompatible with parameter of type "char *"
          .

                netgroup_ok = innetgr(tok + 1, hostname, (char *) 0, mydomain);
                                      ^