Results 1 to 1 of 1
hy ,
i have a qwestion is it possible to change te user folder of the samba users from this /home/%USERNAME% to /home/samba/profiles/%USERNAME%
by default the users are storred in ...
- 02-06-2012 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 4
samba userprofiles
hy ,
i have a qwestion is it possible to change te user folder of the samba users from this /home/%USERNAME% to /home/samba/profiles/%USERNAME%
by default the users are storred in the first one:
/home/%USERNAME%
i will post my config file under here
Code:#####SAMBA workgroup = SERVER.COM netbiosname = debian-server server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d ####AUTHENTICATION security = user encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *Password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user ####DOMAINS domain logons = yes domain master = yes local master = yes preferred master = yes os level = 64 logon path = \\%N\%U\profile logon drive = H: logon home = \\%N\%U logon script = logon.cmd add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u [homes] comment = home directories browseable = no writeable = yes [test] comment = test share path = /home/test guest ok = yes read only = yes [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = yes read only = yes share modes = no [profiles] comment = User Profiles path = /home/samba/profiles guest ok = no browseable = no create mask = 0600 directory mask = 0700 [printers] comment = All Printers browseable = no


Reply With Quote
