Link to home
Start Free TrialLog in
Avatar of DrDamnit
DrDamnitFlag for United States of America

asked on

Configure Samba for Folder Redirection

I have Samba configured to authenticate with AD, and create a direcotry for a user upon successful authentication with the Samab server.

Problem is, when I try to get Win2k3 folder redirection to go here, the Windows server wants \\server\share\user not \\server\user-as-share as the format.

How do I fix this?

PS>
The screenshot below is of the Windows server. The name of the NAS is vlnas, and it lives at UNC path \\vlnas.

When you log into the NAS via Windows Explorer, you can see \\VLNAS\${your-user-name}, but the Windows Server apparently wants \\VLNAS\SomeShare\ as the root, so that it can put ${your-user-name} at the end.
[global]
   workgroup = MYAD
   preferred master = no
   realm = MYDOMAIN.LOCAL
   server string = Samba Server %v
   security = ADS
   encrypt passwords = yes
   log level = 3
   log file = /var/log/samba/%m
   max log size = 50
   printcap name = cups
   printing = cups
   winbind enum users = Yes
   winbind enum groups = Yes
   winbind use default domain = Yes
   winbind nested groups = Yes
   winbind separator = +
   idmap uid = 600-20000
   idmap gid = 600-20000
   obey pam restrictions = Yes
   template homedir = /home/%D/%U
   template shell = /bin/bash
[homes]
   comment = Home Direcotries
   ;valid users = %S
   ;read only = No
   writable = Yes
   browseable = No
[printers]
   comment = All Printers
   path = /var/spool/cups
   browseable = no
   printable = yes
   guest ok = yes
[shares]
   comment = Public Directory
   path = /home/shares
   writable = yes
   browseable = yes

Open in new window

4-13-2010-9-52-39-AM.png
ASKER CERTIFIED SOLUTION
Avatar of Daniel McAllister
Daniel McAllister
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DrDamnit

ASKER

Good thought, but Samba doesn't support it.