![]() I can see that by default "passdb backend = tdbsam", so I'll try this change anywayĬan you share your smb.conf? Feel free to edit it for privacy. But it would provide an ideal working starting point. I currently can connect authenticating with any user but my own. Veto files = /Thumbs.db/.DS_Store/.TemporaryItems/TheVolumeSettingsFolder/TheFindB圜ontentFolder/Temporary Items/Network Trash Foder/.AppleDouble/.bin/.AppleDesktop/._*/ The problem with this approach is that most users have only one account in their systems so it's not an ideal solution. Three users had been "activated" (created) in smbpasswd. One for the main admin user, the other two a "normal" user and an admin user.įor the latter two I can open all shares, authenticated, with their correct permissions. For them I can open even their home directories, but not for my own. This is a common problem in all Samba 3.2.15 implementations from MacPorts and it was my understanding it's unavoidable due to problems with the handling of groups in Lion, something Samba has acknowdledged. If I try to set the smbpasswd of all users with sudo (as root) I can. But my own user (the default admin user of the system) never works. ref0, ref1, ref2 ) this is a common problem with Lion, as groups can easily spill over the 16 maximum limit. If you try to connect you get an error with my user, not with any other. In the samba logs, if enabled, the error is I'm proficient enough technically to know what's causing the issue, but not proficient enough to fix it in the samba source. The problem is, oversimplifying, that the OS reports a maximum number of groups but when queried reports a bigger number. ![]() This is because Darwin has nested groups, pretty much. To be completely true, Apple is breaking with "tradition" here, even if it's not strictly breaking standards. ![]() This means that systems must have a Darwin-Specific workaround to work with OS X. The fact that it's still compliant is minor. I had assumed everyone had more than 16 groups for the main user in Lion (it seems pretty common in Lion, whereas it was sporadic in previous versions of OS X). Hence my excitement at knowing you didn't experience the problem. So, while now I know it doesn't happen to 100% of main OS X users, it's still a problem for those that do. There're patches at some point in time for Python and several other packages to deal with this. ![]() The problem is especially bad for Samba as when the problem occurs it defaults to group 0, which is root and Samba will never serve anything as root. It did provide me with another piece of the puzzle. Macports, SMBUp and Brew all install Samba (SMBUp actually installs Macports' version), SMBUp only provides a front-end. The problem, really, is that OS X is choosing a creative way to interpret a standard and the variable for how many groups can a user be part of is reported as 16 (pretty common Unix limit) but this is false, as OS X can assign secondary groups through additional means (strictly speaking, each of those 16 can in turn inherit 16 more, and so on).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |