LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Authenticate samba share against LDAP (eDirectory) (http://www.linuxquestions.org/questions/linux-server-73/authenticate-samba-share-against-ldap-edirectory-806087/)

mark.johnson 05-05-2010 09:22 AM

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

TB0ne 05-06-2010 06:04 PM

Quote:

Originally Posted by mark.johnson (Post 3958099)
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

mark.johnson 05-07-2010 09:58 AM

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.


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