[MacPorts] #30951: Samba3 not reading groups resulting in logon failure. (Lion)
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.0.1 Keywords: samba3 | Port: samba3 ---------------------------------+------------------------------------------ I installed samba3 on my 2010 Mac Mini. I try to log in from another Mac Mini and get a NT_STATUS_LOGON_FAILURE (using smbclient). I have added the smb user with smbpasswd -a. I have disabled the OSX windows file sharing and removed the launchd file that starts apple's netbios. I enabled debugging in smbd and nmbd to see where the login fails. The failure is attached in a text file. It seems to be because the server can't get a correct list of groups. I can pull up a group list with no problem in a terminal window for the user. -- Ticket URL: <https://trac.macports.org/ticket/30951> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Changes (by jmr@…): * priority: High => Normal * cc: mandrake@… (removed) * keywords: samba3 => lion * owner: macports-tickets@… => mww@… Comment: Please remember to cc the maintainer. You do not need to be in cc when you are the reporter. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members. -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by joe.neal@…): Replying to [ticket:30951 mandrake@…]:
I installed samba3 on my 2010 Mac Mini. I try to log in from another Mac Mini and get a NT_STATUS_LOGON_FAILURE (using smbclient). I have added the smb user with smbpasswd -a. I have disabled the OSX windows file sharing and removed the launchd file that starts apple's netbios.
I enabled debugging in smbd and nmbd to see where the login fails. The failure is attached in a text file. It seems to be because the server can't get a correct list of groups. I can pull up a group list with no problem in a terminal window for the user.
I have the exact same issue, and with my debug set to 10, I see the same exact log messages and errors. After some searching, I don't know if this is related to > 16 groups, or not? My user is a member of 17 groups. -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by joe.neal@…): Verified that this is related to too many groups. As I mentioned above, my user is a member of 17 groups. I created a new user (who with no other changes, is a member of 6 groups), and that user works fine. -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by mandrake@…): It seems that the >16 groups bug had been addressed a few years ago. I wonder if it has somehow found its way back into the code. I'm not sure how to remove myself from groups in Lion and what sort of impact that might have. I'm hoping it can be addressed through this route, instead. -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by joe.neal@…): Yes, I agree that this was resolved previously. However, I have verified that in my case, a user with less than 16 groups works, and one over 16, does not. I certainly agree that it would be nice to have this resolved properly, and not a workaround, as I don't know how to remove myself from groups (without breaking things at least). -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by mandrake@…): I created another non-admin account on the machine to connect to. It works fine now. It will suffice until someone can find time to re-address the
16 group bug.
-- Ticket URL: <https://trac.macports.org/ticket/30951#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by laurent.bigue@…): I experience exactly the same problem and I was unable to find any solution, since any new user is created with a minimum of 23 groups in my system (among them, 13 sharepoints)! -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by jmr@…): Is this still a problem with 3.6.3? -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by eduo@…): Replying to [comment:12 jmr@…]:
Is this still a problem with 3.6.3?
It is. Not sure about 3.6.5 -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by m.koss@…): Replying to [comment:13 eduo@…]:
Replying to [comment:12 jmr@…]:
Is this still a problem with 3.6.3?
It is. Not sure about 3.6.5
Yes, same issue with 3.6.5. Is anyone looking at it ? -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by public@…): Hi guys. Can you help me how temporarily resolve this problem. I tried many things. Without success. -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by eduo@…): As documented in 34572, no fix has been found but the patch below provides a workaround (essentially by permanently allocating a ridiculous amount of slots in memory for more groups than there should be): https://trac.macports.org/attachment/ticket/34572/patch- source_lib_system_smbd_c.diff Of course, now that this comes out Samba's port can't compile in Mountain Lion :) -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) ---------------------------------+------------------------------------------ Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: samba3 ---------------------------------+------------------------------------------ Comment(by eduo@…): Sorry. Should've mentioned that Samba not compiling in Mountain Lion is tracked in ticket 35343 -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30951: Samba3 not reading groups resulting in logon failure. (Lion) -------------------------+------------------- Reporter: mandrake@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: samba3 | -------------------------+------------------- Comment (by jeremyhu@…): Has dupe: #34572 -- Ticket URL: <https://trac.macports.org/ticket/30951#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts