Unsolved
This post is more than 5 years old
4 Posts
0
1275
how to delete smb share user
hi guys,
I am using Isilon 7.2 where I have shares with duplicate users as shown below
Sharename1
Account Account Type Run as Root Permission Type Permission
---------------------------------------------------------------------------
Administrator user True allow full
DOMAIN\administrator user True allow full
Authenticated Users wellknown False allow read
Administrator user False allow full
---------------------------------------------------------------------------
Sharename2
Account Account Type Run as Root Permission Type Permission
---------------------------------------------------------------------------
Administrator user True allow full
DOMAIN\administrator user True allow full
Authenticated Users wellknown False allow read
Administrator group False allow full
---------------------------------------------------------------------------
I need to delete 1 administrator from each of these share using CLI?
EricCampbell
4 Posts
0
January 22nd, 2017 20:00
Its under same zone. I didnt see any other approach either. But thanks for the suggestion peter
EricCampbell
4 Posts
0
January 22nd, 2017 20:00
each account has unique sid, then i should be able to delete what i want right?
Peter_Sero
1.2K Posts
0
January 22nd, 2017 20:00
isi smb shares permission delete ...
would be the right tool, but I see the problem of picking the right entry
of two duplicates in the first example.
(But Sharename2 has "Administrator" first as user and then as group.)
Unless the duplicate entries happen to be in different access zones
and can be differentiated by the "--zone ..." option,
I can't see any choice but using the delete command above
and see what happens -- probably need to re-create the
correct Administrator entry afterwards.
hth
-- Peter
Peter_Sero
1.2K Posts
0
January 23rd, 2017 05:00
That would be a very lucky case of cause -- just use the "--sid ..." option