Highlighted
EricCampbell
1 Copper

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?

0 Kudos
4 Replies
Peter_Sero
3 Zinc

Re: how to delete smb share user

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

0 Kudos
EricCampbell
1 Copper

Re: how to delete smb share user

Its under same zone. I didnt see any other approach either. But thanks for the suggestion peter

0 Kudos
EricCampbell
1 Copper

Re: how to delete smb share user

each account has unique sid, then i should be able to delete what i want right?

0 Kudos
Peter_Sero
3 Zinc

Re: how to delete smb share user

That would be a very lucky case of cause -- just use the "--sid ..." option

0 Kudos