+ Post New Thread
Results 1 to 6 of 6
*nix Thread, acls winbind samba and unix groups in Technical; I need to change the group owner to "07, 06" etc.... Code: wbinfo -g | grep 07 07 07 exists ...
  1. #1


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    acls winbind samba and unix groups

    I need to change the group owner to "07, 06" etc....

    Code:
    wbinfo -g | grep 07
    07
    07 exists from winbind !


    Code:
    setfacl  -R -m group:"07":r-x ./07
    Code:
    getfacl 07
    # file: 07
    # owner: root
    # group: domain\040admins
    user::rwx
    group::r-x
    group:lp:r-x                   
    group:teachers:rwx
    group:support\040staff:rwx
    mask::rwx
    other::---
    It doesn't change the group to "07" - instead it changes it to lp (lineprinter) group. Same with 03,04,05,06 respectively.

    Code:
    grep lp /etc/passwd
    lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
    ha - group 7. I can see its' obviously picking up the unix groups, not the windows ones. It DOES work for other windows groups (teachers, support staff, domain admins as above)

    I tried deleting the winbind cache, restarting winbind etc..

    any ideas? It seems to be a new phenomena.


    TIA

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    oh: RHEL 5.4 recent upgrade from 5.3 - don't recall it doing this on a previous version....

  3. #3

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    What about?

    Code:
    $ getent group | grep 07
    Or setfacl with domain\07 instead of just 07?

  4. Thanks to webman from:

    CyberNerd (28th January 2010)

  5. #4

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    I didn't think you could have groups named as integers, for exactly the reason you've found. year07 or something might be better.

  6. #5


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by webman View Post

    Or setfacl with domain\07 instead of just 07?
    Code:
    [root@student shared]# setfacl  -R -m group:"CURRIC\07":r-x ./07
    [root@student shared]# getfacl 07/
    # file: 07
    # owner: root
    # group: domain\040admins
    user::rwx
    group::r-x
    group:lp:r-x
    group:07:r-x
    group:teachers:rwx
    group:support\040staff:rwx
    mask::rwx
    other::---
    Thanks Webman! "domain\07" worked !

  7. #6

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Cool

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 20th November 2009, 08:10 PM
  2. Replies: 70
    Last Post: 13th November 2009, 01:51 PM
  3. ACLs slowing traffic.
    By Theblacksheep in forum Wireless Networks
    Replies: 10
    Last Post: 26th February 2009, 11:38 AM
  4. samba, acls, xcopy
    By CyberNerd in forum *nix
    Replies: 1
    Last Post: 30th May 2007, 02:50 PM
  5. Mapping AD groups to Unix groups
    By localzuk in forum *nix
    Replies: 23
    Last Post: 11th February 2007, 08:57 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •