[Samba] Samba server authenticating to NetWare server?

Pierre Dinh-van pierre at tuxfamily.org
Tue Sep 21 13:42:43 GMT 2004

Le mardi 21 Septembre 2004 15:29, Chris Richardson a écrit :
> Hello,


> I've been Googling and O'Reillying around this problem for the last
> week without success, so I'm either stupid or it's not possible.  My
> money's still on stupid.
> Can someone confirm that I can't do what I want to do:
> - Have a SuSE 9.1 Linux box running Samba 3.0 exporting shares by SMB.
> - Have users log into Windows boxes running a NetWare client,
> authenticating by NDS to a Netware 6.5 server.

If I remember well, since Netware > 5, the NDS can be interrogated by LDAP 

> - Have the Windows users mount SMB shares with an encrypted password
> that is authenticated by Samba against the NetWare server, either using NDS
> or LDAP.

I did it a year ago against a eDirectory server, but I needed to extend its 
schema with the samba-nds.schema (that is include in samba).

> If I've understood what I've read so far, a Samba server receiving an
> encrypted password with a mount request must have a local smbpasswd
> file to validate it.  Is there really no mechanism for passing the
> authentication buck to an NDS or LDAP server?

If you configure smbd to use LDAP as passdb, there might be no problem. Samba 
will read the encrypted password in the samba(NT|LM)Password attribute of the 
LDAP entry.

Good luck

Pierre Dinh-van

More information about the samba mailing list