LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-05-2010, 09:22 AM   #1
mark.johnson
LQ Newbie
 
Registered: Mar 2005
Location: England
Distribution: Ubuntu Jaunty, Kubuntu Lucid
Posts: 17

Rep: Reputation: 0
Question Authenticate samba share against LDAP (eDirectory)


I'm trying to set up a Samba share that's available over the network to a group of users in our institution.
Our infrastructure is based on Novell Netware (slowly migrating to OES), and thus our authentication is managed by eDirectory. All our other shares are managed by Netware, but this one lives on a standalone Ubuntu server.

I've succeeded in setting up the share, and users can access it without a problem. The trouble is that currently it only works by treating all users as guest users and giving them the same privileges over the share.

Is it possible to get Samba to authenticate users against eDirectory via LDAP? Would I have to get Ubuntu to authenticate against eDirectory, then Samba against Ubuntu, or can Samba do it directly?
I've not really worked with LDAP before so I'm unsure where to start.

Thanks
Mark

Last edited by mark.johnson; 05-05-2010 at 09:37 AM.
 
Old 05-06-2010, 06:04 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,473

Rep: Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539
Quote:
Originally Posted by mark.johnson View Post
I'm trying to set up a Samba share that's available over the network to a group of users in our institution.
Our infrastructure is based on Novell Netware (slowly migrating to OES), and thus our authentication is managed by eDirectory. All our other shares are managed by Netware, but this one lives on a standalone Ubuntu server.

I've succeeded in setting up the share, and users can access it without a problem. The trouble is that currently it only works by treating all users as guest users and giving them the same privileges over the share.

Is it possible to get Samba to authenticate users against eDirectory via LDAP? Would I have to get Ubuntu to authenticate against eDirectory, then Samba against Ubuntu, or can Samba do it directly?
I've not really worked with LDAP before so I'm unsure where to start.

Thanks
Mark
From Samba's documentation:
http://wiki.samba.org/index.php/Samba_%26_LDAP
 
Old 05-07-2010, 09:58 AM   #3
mark.johnson
LQ Newbie
 
Registered: Mar 2005
Location: England
Distribution: Ubuntu Jaunty, Kubuntu Lucid
Posts: 17

Original Poster
Rep: Reputation: 0
Hi TBOne,
Thank you, after some additional googling I found the same link.
However, we've decided that since we're moving the system to a new server anyway, we're going to put SLES/OES on the server so we can add it easily into the eDirectory tree instead.
 
  


Reply

Tags
edirectory, ldap, samba, ubuntu


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
suse desktop authenticate from eDirectory user iinfi Suse/Novell 0 03-01-2009 01:52 PM
Can Samba authenticate to AD only using LDAP? dougnc Linux - Networking 8 09-25-2006 11:17 AM
ldap+edirectory lynos Linux - Networking 0 12-09-2005 05:06 PM
Auth via LDAP on eDirectory jtweaker Linux - Networking 1 12-28-2004 08:18 AM
Samba and LDAP in Linux to authenticate on Windows 2000 PDC Linh Linux - Networking 2 05-09-2003 07:24 AM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration