[OpenIndiana-discuss] Problem with smb-group

Alexander Lesle groups at tierarzt-mueller.de
Mon May 16 08:10:17 UTC 2011


Hello Gordon Ross and List,

On Mai, 16 2011, 03:52 <Gordon Ross> wrote in [1]:

> Probably something idmap related.
> Maybe look at: idmap dump

Here the result from cifs-gendiag:
| 7.3) mappings cache
+------------------------------------------
usid:S-1-5-21-3426417962-2065886083-3854092125-501      ==      uid:2147483649
gsid:S-1-5-2    ==      gid:2147483651
gsid:S-1-5-11   ==      gid:2147483652
gsid:S-1-5-32-544       ==      gid:2147483650
usid:S-1-5-21-3426417962-2065886083-3854092125-1101     ==      uid:101
gsid:S-1-5-21-3426417962-2065886083-3854092125-2147483749       ==      gid:101
usid:S-1-5-21-3426417962-2065886083-3854092125-1110     ==      uid:110
usid:S-1-5-21-3426417962-2065886083-3854092125-1112     ==      uid:112
usid:S-1-5-21-3426417962-2065886083-3854092125-1111     ==      uid:111
gsid:S-1-5-21-3426417962-2065886083-3854092125-2147483750       ==      gid:102
usid:S-1-5-21-3426417962-2065886083-3854092125-1115     ==      uid:115
usid:S-1-5-21-3426417962-2065886083-3854092125-1114     ==      uid:114
usid:S-1-5-21-3426417962-2065886083-3854092125-1113     ==      uid:113
-----------------------
winuser:Guest at ripley    ==      uid:2147483649
wingroup:Network        ==      gid:2147483651
wingroup:Authenticated Users    ==      gid:2147483652
wingroup:Administrators at BUILTIN ==      gid:2147483650
usid:S-1-5-21-3426417962-2065886083-3854092125-1101     ==      unixuser:alex
gsid:S-1-5-21-3426417962-2065886083-3854092125-2147483749       ==      unixgroup:praxis
usid:S-1-5-21-3426417962-2065886083-3854092125-1110     ==      unixuser:Labor
usid:S-1-5-21-3426417962-2065886083-3854092125-1112     ==      unixuser:Ingrid
usid:S-1-5-21-3426417962-2065886083-3854092125-1111     ==      unixuser:VetABC
gsid:S-1-5-21-3426417962-2065886083-3854092125-2147483750       ==      unixgroup:kids
usid:S-1-5-21-3426417962-2065886083-3854092125-1115     ==      unixuser:Fritz
usid:S-1-5-21-3426417962-2065886083-3854092125-1114     ==      unixuser:Paula
usid:S-1-5-21-3426417962-2065886083-3854092125-1113     ==      unixuser:Georg

> Also, did you "smbadm enable-user" those users
> and set passwords?

Yes.

>> How is the file name where smbadm write the user adjustments?

> /var/smb/smbpasswd
> /var/smb/smbgroup.db


I have found in osmbpasswd and smbpasswd two users with the same guid
Georg:113::abc
Administrator:113::xyz
Now I delete in both files the line Administrator and add the user
Georg to group kids

I dont know if its the right way but lets see here:
# smbadm show -m kids
kids (none)
        SID: S-1-5-21-3426417962-2065886083-3854092125-2147483750
        Members:
                Fritz at ripley.Mutter.dom
                Paula at ripley.Mutter.dom
                Georg at ripley.Mutter.dom


smbgroup.db is a SQLite database and I dont know how to
read/open/modify this file.

-- 
Best Regards
Alexander
Mai, 16 2011
........
[1] mid:BANLkTindkN6_omce5PbH66G+dg5rS8ob=g at mail.gmail.com
........




More information about the OpenIndiana-discuss mailing list