+ Post New Thread
Results 1 to 2 of 2
*nix Thread, Any way Template homedir = domain/activedirectorygroup/user? in Technical; Hi I have my samba server configured for winbind auth against my active directory server but would like the home ...
  1. #1
    philjones2000's Avatar
    Join Date
    Mar 2006
    Location
    Pool, Cornwall
    Posts
    137
    Thank Post
    52
    Thanked 8 Times in 4 Posts
    Rep Power
    21

    Any way Template homedir = domain/activedirectorygroup/user?

    Hi

    I have my samba server configured for winbind auth against my active directory server but would like the home directories to point to the OU group they are organised in.

    We are a school and have our users in year groups on the ad server based on the year they leave- it's a lot easier this way. I'm using the samba server as our main file server so I'd like the home directories to follow the path

    /domain/year group/user

    At the moment I am using "template homedir = %D/%U" but this will end up with a giant unorganised list of users- is there a variable don't know about?!

    As I mention they are arranged in year groups in active directory groups but I don't see a way of mapping this?

    Any ideas? Thanks in advance

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,401
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: Any way Template homedir = domain/activedirectorygroup/user?

    You should be able to use %G/%g for that setting, but there's a samba bug (dating back to 2004) which means it will only return the numeric group ID - and not the name that you are after.

    There is however a possible fix attached to the bug report if you are confident enough patching the source and re-compiling.

SHARE:
+ Post New Thread

Similar Threads

  1. Make a script run for SINGLE domain user
    By philtomo-25 in forum How do you do....it?
    Replies: 5
    Last Post: 15th November 2007, 09:21 PM
  2. Replies: 4
    Last Post: 11th October 2007, 12:50 PM
  3. Non-domain Laptops accessing user home shares.
    By RockIt in forum How do you do....it?
    Replies: 3
    Last Post: 30th August 2007, 10:37 PM
  4. Concurrent user logins on 2k3 domain
    By doco in forum Windows
    Replies: 4
    Last Post: 26th June 2007, 11:33 AM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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