UNSOLVED

KrzysztofMK

updated

17 years ago

0

1188

March 3rd, 2010 00:00

Changing CIFS ACL from CS

Hi,

Is it possible to change CIFS ACL from Control Station? How?

Celerra v6.5

  • bergec

    275 Posts

    568

    0

    Posted March 3rd, 2010 01:00

    Take a look at the "Multiprotocol CIFS environment" manual. There are 2 utilities on the Tools & Apps cd-rom called emcgetsd and emcsetsd that can do that. You will need to set bit 5 (if I remember correctly) of acl.extacl CIFS param (use server_param command).

    Claude

  • 568

    0

    Posted March 3rd, 2010 07:00

    Thanks for reply. emcgetsd and emcsetsd can change ACLs on mounted filesystem. But it's not recommended to mount anything on CS, isn't it?

  • ral67_xyz

    147 Posts

    568

    0

    Posted March 3rd, 2010 07:00

    you're right - NFS mounting a file system on the CS isnt recommended

    there a ways around that - but I would suggest to use a Windows client to manipulate ACLs

    Rainer

    P.S.: do you mean file/dir ACLs or share ACLs ?

  • 568

    0

    Posted March 3rd, 2010 11:00

    I mean file/dir ACL, I'm trying to write a script which adds users to standalone cifs server, creates quotas for them and set ACL for home directories. I use nas_quotas to create home directory and set quota, server_file to change user list, but I can not deal with ACL.
  • Peter_EMC

    674 Posts

    568

    0

    Posted March 3rd, 2010 22:00

    I use nas_quotas to create home directory and set quota, server_file to change user list, but I can not deal with ACL.

    server_file to change user list? Are you saying you are modifying the local groups database with server_file?

  • 568

    0

    Posted March 3rd, 2010 23:00

    pilslp wrote:

    I use nas_quotas to create home directory and set quota, server_file to change user list, but I can not deal with ACL.

    server_file to change user list? Are you saying you are modifying the local groups database with server_file?

    Yes. Are you saying it is not a good idea?

  • 568

    0

    Posted March 4th, 2010 01:00

    pilslp wrote:

    Editing config files instead of using the corresponding tools for changes is highly not recommended.

    A Standalone CIFS Server does only support up to 128 Users

    What is recommended method for add 100 users? To add them one by one using usrmgr.exe?

    So what about changing ACLs using only Control Station? Is it possible?

  • Peter_EMC

    674 Posts

    568

    0

    Posted March 4th, 2010 01:00

    Editing config files instead of using the corresponding tools for changes is highly not recommended.

    A Standalone CIFS Server does only support up to 128 Users

  • Peter_EMC

    674 Posts

    568

    0

    Posted March 4th, 2010 06:00

    What is recommended method for add 100 users? To add them one by one using usrmgr.exe?

    Thats the same issue than using a MS Standalone Windows server. Use the tools Microsoft is providing.

    How do you encrypt the password of each user, if you edit the localgroups file?

    So what about changing ACLs using only Control Station? Is it possible?

    You have already opened another Thread for this issue. Of course there is a linux tool (emcsetsd) to change windows acls. As you already noticed in order to do this, you have to mount the FS to the Control Station.

    Why don´t you use a windows box to script this? Using plink to set the quotas and using windows tools for the usermanagemant and the ACLs (f.e. cacls or xcacls)

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    44

    0

    Posted March 4th, 2010 08:00

    KrzysztofMK wrote:

    pilslp wrote:

    Editing config files instead of using the corresponding tools for changes is highly not recommended.

    A Standalone CIFS Server does only support up to 128 Users

    What is recommended method for add 100 users? To add them one by one using usrmgr.exe?

    So what about changing ACLs using only Control Station? Is it possible?

    currently the recommended method is to use Windows Tools and API's just like you would on a Windows server

    you should be able to use most Windows CLI commands or something like PowerShell skripting

    If you feel it would be important to have this capability on the Celerra control station I would suggest to open a Product Enhancement Request (PER) through marketing to let product management know

    Rainer