Samba + LDAP

muchos muchos at ip6seguridad.com
Thu Feb 24 12:42:02 GMT 2000


Hi, i'm new in the maillist and i don't know if this question is asked or
resolved, or another thing.

I'm trying to put samba 2.1 as a PDC working with LDAP. I know that the support
for LDAP is not completed, but i think that if samba can use PAM for user
auten. and PAM can use LDAP. . .

Well, after working about this idea, i arrive to the conclusion that:

	1º Unix Password != NT Password
	2º If you want a samba working as a PDC you must add and /etc/passwd
account for each machine, it means that if you uses pam+ldap, the ldap must
have an account for each machine$ and for each user. 
	3º Samba needs (this is a must) the /etc/smbpasswd file, it means that
passwd db is in that file and can't use de standard ldap pass db, I read he
ldap support (not working yet) and it says that need 2 fields in the user definition storing the
NT passwords.

My idea is:

	To do a /etc/passwd to samba comverter dinamicly (may be imposible?), i
mean, a /usr/bin/passwd that's change your normal unix pass, and your ntpass at
the same time, and using pam+ldap, when you change your unix pass, you change
the ldap pass and the nt pass stored all in the ldap, well another idea is
doing a script that when you add a ldap user, ugrade the smbpass file, someone
do it? i need ;))!

Well, may be this mail is a bit complicate (my english may be is a bit bad
X'D), and i don't know if this problem is aswered or not


greatings to samba users ;) 
-- 
=========================================================================       
Gabriel D´iaz L´opez de la Llave
Ip6 Seguridad S.L         gabidiaz at ip6seguridad.com         
c: Zurbaran 28            tlf : 91 700 01 84 ext 165
28010 Madrid              fax : 91 700 01 73                              
http://www.ip6seguridad.com                    
=========================================================================


More information about the samba-ntdom mailing list