[Samba] Drive becomes unusable with "The group name could not be found"

Mike A. Leonetti mleonetti at evolutionce.com
Thu May 20 12:43:56 MDT 2010

Out of nowhere the share "neil share" disappeared for one user and the
user got the error "The group name could not be found".  The user was a
part of the group that was necessary to access the share.  Just
restarting the samba services allowed the users to get back in to the
share.  Not sure what the issue was until then...  Samba version 3.5.2.

smb.conf (with omits)
        name resolve order = wins lmhosts hosts bcast
        ldap ssl = no
        delete user from group script = /usr/sbin/smbldap-groupmod -x
"%u" "%g"
        time server = Yes
        dns proxy = No
        workgroup = falm
        os level = 65
        ldap admin dn = cn=admin,dc=directory,dc=server
        security = user
        add machine script = /usr/sbin/smbldap-useradd -w '%u'
        max log size = 50
        log file = /var/log/samba/log.%m
        ldap user suffix = ou=People
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        hide unreadable = Yes
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
        ldap password sync = yes
        logon drive = H:
        domain master = Yes
        preferred master = yes
        local master = yes
        encrypt passwords = yes
        logon home = \\%L\%U
        passdb backend = ldapsam:ldap://
        wins support = true
        ldap delete dn = Yes
        ldap machine suffix = ou=Computers
        ldap group suffix = ou=Group
        server string = Evolution Origin Server
        ldap suffix = dc=directory,dc=server
        #log level = 3
        logon path = \\%L\profiles
        add user script = /usr/sbin/smbldap-useradd -m "%u"
        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
        ldap idmap suffix = ou=Idmap
        domain logons = Yes
        hosts allow =
        interfaces =
        logon script = %U.bat


[neil share]
        writeable = yes
        path = /var/shares/neil share
        force directory mode = 770
        force group = neilshare
        force create mode = 660
        comment = Neil Share
        valid users = @neilshare
        create mode = 660
        directory mode = 770


Mike A. Leonetti
As warm as green tea

More information about the samba mailing list