LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-24-2011, 03:58 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
LDAP + SAMBA Howto


Hello !

I`am just trying to connect Samba with ldap to make it simpler for the users to log in.

We have already attached squid, so by that we thought it would be easy to do the same with samba.

But....we finaly need some help.

I think we did something wrong with the ldap config for the os with is btw:

Quote:
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
We added

Quote:
ldap admin dn = cn=xxx,o=xxx
ldap suffix = o=xxx
passdb backend = ldapsam:ldaps://xxx:636 smbpasswd
encrypt passwords = yes
security = user
to our smb.conf which must be right as it works for squid ( except the syntax which might be wrong).

We can also already browse the ldap-tree with yast, which shows me, that this part is correct.

Maybe the nsswich.conf is wrong ?

Quote:
passwd: compat
group: files ldap

hosts: files dns
networks: files dns

services: files ldap
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files ldap
publickey: files

bootparams: files
automount: files nis
aliases: files ldap
passwd_compat: ldap

What is not working :

Quote:
chown -R xxx.department.city.domain.lan testfolder/
chown: unknown User: xxx.department.city.domain.lan

Last edited by saavik; 06-24-2011 at 04:01 AM.
 
Old 06-24-2011, 11:48 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,494

Rep: Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124Reputation: 8124
A quick Google search turns up lots:
http://wiki.samba.org/index.php/Samba_&_LDAP

Also, since you're using SuSE Enterprise...have you called them, since you're paying for support? They can easily help you with this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vpopmail ldap to samba ldap users luquee Linux - Software 1 07-23-2008 12:38 PM
SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap. jcdole Linux - Server 0 06-07-2008 12:41 PM
Howto get ldap user id dtsig Linux - Newbie 2 02-20-2008 04:41 PM
[SOLVED] Please Help : Sendmail/Cyrus/LDAP howto ?? bipinkdas Linux - Server 4 11-20-2007 03:43 AM
LDAP and Samba PDC HOWTO matarodi Debian 1 09-18-2005 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration