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

2010-05-21 Thread Mike A. Leonetti
Gentoo Linux.

Mike A. Leonetti
As warm as green tea

On 05/20/10 16:54, Gaiseric Vandal wrote:
> What OS?
>
> Solaris has 16 group limit.
>
> On 05/20/2010 02:43 PM, Mike A. Leonetti wrote:
>> 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)
>> [global]
>>  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://127.0.0.1/
>>  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 = 192.168.1.0/24 127.0.0.0/8
>>  interfaces = 192.168.1.0/24
>>  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
>>
>> ...
>>
>>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2010-05-20 Thread Gaiseric Vandal

What OS?

Solaris has 16 group limit.

On 05/20/2010 02:43 PM, Mike A. Leonetti wrote:

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)
[global]
 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://127.0.0.1/
 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 = 192.168.1.0/24 127.0.0.0/8
 interfaces = 192.168.1.0/24
 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

...

   


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2010-05-20 Thread Mike A. Leonetti
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)
[global]
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://127.0.0.1/
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 = 192.168.1.0/24 127.0.0.0/8
interfaces = 192.168.1.0/24
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba