Professional Web Applications Themes

strange kern.ngroups problems - FreeBSD

Hi questions list, I have a set of users in a NIS/YP database who may login on multiple machines. Now for some reason, on one of those machines (5.3-RELEASE-p6), any user who belongs to more groups than 4 on the NIS/YP server cannot login any more. If I'm using su as root to become this user I get: su: setusercontext: Invalid argument This is only the case on this one 5.3-R-p6 machine. All machines have kern.ngroups set to 16. While I'm certain I have not changed a lot from the default install, is there any place other than the kern.ngroups ...

  1. #1

    Default strange kern.ngroups problems

    Hi questions list,

    I have a set of users in a NIS/YP database who may login on multiple machines.

    Now for some reason, on one of those machines (5.3-RELEASE-p6), any user who
    belongs to more groups than 4 on the NIS/YP server cannot login any more.
    If I'm using su as root to become this user I get:
    su: setusercontext: Invalid argument

    This is only the case on this one 5.3-R-p6 machine. All machines have
    kern.ngroups set to 16.

    While I'm certain I have not changed a lot from the default install, is there
    any place other than the kern.ngroups sysctl variable that I may have changed
    by accident to decrease the max groups per user?

    I could also provide output from truss down to:
    setgroups(0x11,0xbfbfe660) ERR#22 'Invalid argument'

    Thanks,

    --
    br.
    j.
    jonas Guest

  2. #2

    Default Re: strange kern.ngroups problems

    In the last episode (Apr 06), jonas said: 

    0x11 = 17, which is a whole lot more than 4. Is the user a member of
    any local groups (see /etc/group)? What does "id nisuser" print?

    --
    Dan Nelson
    com
    Dan Guest

  3. #3

    Default Re: strange kern.ngroups problems

    Hi Dan,

    On Wednesday 06 April 2005 17:54, Dan Nelson wrote: 

    no, /etc/group is untouched since install.
     

    A whole lot more. Groups coming through winbind.... 17 total... Of course this
    is the only machine running winbind. Thanks!

    --
    br.
    j.
    jonas Guest

Similar Threads

  1. Strange Problems
    By eremini in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: July 8th, 06:39 PM
  2. kern.ipc.nmbclusters
    By kalin in forum FreeBSD
    Replies: 6
    Last Post: March 16th, 10:00 PM
  3. Really strange problems
    By Mark Greenway in forum ASP Database
    Replies: 1
    Last Post: August 4th, 05:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139