*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 ...
15th August 2007, 10:57 AM #1
Any way Template homedir = domain/activedirectorygroup/user?
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
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
15th August 2007, 11:33 AM #2
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.
By philtomo-25 in forum How do you do....it?
Last Post: 15th November 2007, 09:21 PM
By Zoom7000 in forum Windows
Last Post: 11th October 2007, 12:50 PM
By RockIt in forum How do you do....it?
Last Post: 30th August 2007, 10:37 PM
Last Post: 26th June 2007, 11:33 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)