*UPDATE*
What should be the owner:group on files in /home/public/*? Thank you!
*
I'm trying to get my new dedicated core setup as my domain controller, with dns, and holding network user's home directories. In the process, I'm also trying to copy my media file from my retiring server to the core, which is where I'm now running into a problem. I don't seem to have access to the public share on my network, without authenticating to ldap, and the linuxmce user is a local account, not in ldap. I can authenticate to mount the public share using an ldap account, but then I don't have permissions to write to the directories (videos...). How do I integrate linuxmce (users, devices...) with openldap on the same box? Also, why are the home directories set to force user = root, and group = public?
Thank you!
Here's my smb.conf file:
## @FileType: Pluto Sectioned Config File ##
## @Version: 2 ##
## @KeepSections: ##
## @RemoveSections: ##
[global]
## BEGIN : Domain and Hostname
workgroup = EMMAN
server string =
netbios name =
## END : Domain and Hostname
smb ports = 139
log level = 2
invalid users = root
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
encrypt passwords = true
socket options = TCP_NODELAY
dns proxy = no
# passwd program = /usr/bin/passwd %u
# passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
username map = /etc/samba/usermap.txt
unix extensions = yes
security = user
#ldap setup
passdb backend = ldapsam:ldap://localhost/
obey pam restrictions = no
ldap admin dn = cn=admin,dc=emman,dc=local
ldap suffix = dc=emman, dc=local
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
; Do ldap passwd sync
ldap passwd sync = Yes
passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
#end ldap
[public]
comment = public files
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777
path = /home/public/data
public = yes
read only = no
[home]
comment = shared home files
browsable = yes
writable = yes
## BEGIN : Home Hosts Allow
### END : Home Hosts Allow
path = /home
public = no
guest ok = no
force user = root
force group = public
create mask = 0774
directory mask = 0775
inherit acls = yes
inherit uid = yes
inherit owner = yes
inherit permissions = yes
## BEGIN : User Shares
## END : User Shares
## BEGIN : InternalStorageDevices
## END : InternalStorageDevices
*UPDATE*
I added my ldap users to the local public group and am now copying over my media.