[Samba] users home folders, with windbind AD auth.

Kyle Corupe kcorupe at corpedia.com
Thu May 1 20:10:10 GMT 2008


I am trying to map existing users to their old home folders (moved over from
a windows box), I have authentication up and running great. And I have all
my shares setup and working except for the users home folders. Does this
look like a local permission issue? Any help is much appreciated, and thank
you in advance for taking the time to read.

The home directories are their usernames in /d2/file_store/ce-files/users/


[2008/05/01 12:09:43, 3] smbd/password.c:register_vuid(332)
  Adding homes service for user 'WINIX+kcorupe' using home directory:
'/home/WINIX/kcorupe'
[2008/05/01 12:09:43, 3] param/loadparm.c:lp_add_home(2663)
  adding home's share [kcorupe] for user 'WINIX+kcorupe' at
'/d2/file_store/ce-files/users/%U'

[2008/05/01 12:09:43, 2] smbd/service.c:make_connection_snum(616)
  user 'WINIX+kcorupe' (from session setup) not permitted to access this
share (kcorupe)
[2008/05/01 12:09:43, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/reply.c(514) cmd=117 (SMBtconX)
NT_STATUS_ACCESS_DENIED


smb.conf
---------------------------
[global]
   workgroup = WINIX
   realm = CORPEDIA.INTERNAL
   preferred master = no
   server string = File Server
   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 = true
   winbind nested groups = Yes
   winbind separator = +
   idmap uid = 600-20000
   idmap gid = 600-20000
   #template primary group = "Domain Users"
   template shell = /bin/bash
   obey pam restrictions = no
#   winbind use default domain = yes



[homes]
   comment = Home Direcotries
   path = /d2/file_store/ce-files/users/%U
   valid users = WINIX+"Domain Users"
   public = yes
   writeable = yes
   read only = No
   browseable = yes


-- 
Kyle Corupe

Unix Administrator
Corpedia Corporation
2020 North Central Avenue, Suite 1050
Phoenix, Arizona 85004-4576
Desk:(602)443-2148
Cell: (623)261-2874
kcorupe at corpedia.com



-- 
Kyle Corupe

Unix Administrator
Corpedia Corporation
2020 North Central Avenue, Suite 1050
Phoenix, Arizona 85004-4576
Desk:(602)443-2148
Cell: (623)261-2874
kcorupe at corpedia.com


More information about the samba mailing list