Public bug reported:

Binary package hint: samba-common

In Ubuntu 7.10 (Gutsy Gibbon) as of Friday 10 August 2007,
/etc/samba/smb.conf contains the following line:

valid users = %S

which is clearly intended (as per the comment) to be underneath the
line:

[homes]

however, [homes] is, by default, commented out. This makes valid users =
%S global, meaning that were I to name a share "share", presumably this
would result in only the user "share" being allowed to access it.

The oddest thing about it is that there is not only this in the
commented [homes]:

# Restrict access to home directories 
# to the one of the authenticated user
# This might need tweaking when using external authentication schemes
   valid users = %S

But also this which has been present in previous versions and is not
problematic:

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.  Un-comment the following parameter
# to make sure that only "username" can connect to \\server\username
;   valid users = %S

Hence the first is a duplicate of the second and is placed incorrectly
and for seemingly no reason, causing an inability to login with the
status code NT_STATUS_LOGON_FAILURE. Without it, samba operates normally
- the best course of action, therefore, would be to remove it.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
smb.conf contains valid users = %S in [global]
https://bugs.launchpad.net/bugs/131419
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to