Show Posts
|
|
Pages: 1 2 [3]
|
|
32
|
LinuxMCE / Users / Re: linuxmce, samba and openldap
|
on: March 20, 2009, 05:10:47 pm
|
Could someone please post the default lmce smb.conf file? I think that I have it all in place, but would like to make sure. Also, why are the user (root) and group (public) forced on the home directories? Here's what I have: ## @FileType: Pluto Sectioned Config File ## ## @Version: 2 ## ## @KeepSections: ## ## @RemoveSections: ##
[global] ## BEGIN : Domain and Hostname
workgroup = DCEROUTER 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
[public] comment = public files browseable = yes writable = yes create mask = 0777 directory mask = 0777 path = /home/public/data public = yes
[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
|
|
|
|
|
33
|
LinuxMCE / Users / Re: linuxmce, samba and openldap
|
on: March 20, 2009, 02:48:53 am
|
|
I really appreciate your help with all of this. I haven't touched anything with dhcp/dns, so I'm good there. I've reverted the ldap changes to smb.conf, and have created my users locally, so now I just have to stop the ldap authentication and I think that I'm back to a mostly lmce setup. Thanks again!
|
|
|
|
|
34
|
LinuxMCE / Users / Re: linuxmce, samba and openldap
|
on: March 20, 2009, 01:29:57 am
|
|
My old network was setup with all user's files on a file server. All media was in a specific set of folders, shared out using samba to xbox media center, windows xp and mac osx. Everything else was in user's home directories that "My Documents" would map to, keeping all of our files centralized on the file server. My plan is to replace that file server with a linuxmce core, adding all of the functionality that comes with it, while retaining the functionality that I had before. I also want to move dhcp and dns from my router to this core machine. My impression is that I should keep all media that I want to share to media director's and the rest of the linuxmce world in the linuxmce folder structure, and keep everything else the way I had it before, using openldap+samba to handle domain authentication, and user's documents. How should I be doing this? I have a new server with lots of storage, with the hopes of keeping all documents/media/etc from all users centralized there. Thank you!
|
|
|
|
|
36
|
LinuxMCE / Users / Re: linuxmce, samba and openldap
|
on: March 19, 2009, 09:51:45 pm
|
|
It seems like I've overlooked a bit. Can I setup login scripts so that I manage network users on LMCE, and have those users log in on my windows and mac machines with their "My Documents" and home directories mapped to their /home/<user>/data/documents? I don't need to use openldap then? Thank you!
|
|
|
|
|
37
|
LinuxMCE / Users / linuxmce, samba and openldap
|
on: March 19, 2009, 02:36:17 pm
|
*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.
|
|
|
|
|
39
|
LinuxMCE / Installation issues / Re: Hanging on Launch Manager
|
on: March 17, 2009, 01:33:13 pm
|
|
I'm getting the same issue here. At different points during the 2 stages of generating screens, everything freezes. At first I thought the box was overheating, so I moved to a larger case with more fans, but it's still hanging and doesn't seem to be overheating. I'm using an intel board, 2.8GHz, 3G memory, on-board VGA, hardware RAID3 (5x400G SATA) on a PCI card, 2x400G SATA attached to the MB, and DVD-RW. Besides the keyboard and mouse, that's everything. The OS is installed on the RAID. I get through the Video/Audio setup and then the Launch Manager starts, and stalls. I've tried re-installing. Any ideas what the problem is?
Forgot to add, this is a DVD install, i386, rc2. I turned off hyperthreading in the bios, but that didn't resolve the issue. The software download in the Launch Manager says that it completes successfully. I've also tried booting without the on-board NIC disconnected, since my local network ip is 192.168.1.X, and LinuxMCE is set with a static ip 192.168.80.1, I believe. I plan to configure this dedicated core as the Domain Controller/DNS/DHCP server, once it's up and running, until then, I'd like it to be DHCP to play nice with the rest of the network.
|
|
|
|
|