Working LDAP smb.conf implimentations sought!

Alicia F. Balsera alicia at isis.acomp.usf.edu
Mon Jun 28 21:11:43 GMT 1999


Thanks to Kevin Myer and Ignacio Coupeau, I have managed to compile
the HEAD branch with LDAP support (OpenLDAP 1.2.3).  Even though I
do have the servers (slapd, smbd, nmbd) up, I do not see clearly how
to integrate the lot.

Does anyone have a complete smb.conf file that I may look at?  How
are the password files synchronized?  If I use smbpasswd, I get
the following:

LSA Query Info Policy
Domain Member     - Domain: ZAMBA SID: S-0-0
Domain Controller - Domain:  SID: S-1-5-21-1632293582-2961856415-1045762575
getpwnam(alicia)
Building passwd hash table
Building passwd hash table for the first time
Found: alicia:x:100:14:Alicia F. Balsera:/home/isis/alicia:/bin/ksh
New SMB password:
Retype new SMB password:
getpwnam(alicia)
Found: alicia:<my_encrypted_password>:100:14:Alicia F. Balsera:/home/isis/alicia:/bin/ksh
bind: Inappropriate authentication
Failed to add entry for user alicia.
Failed to change password entry for alicia

... from my smb.conf:

  security = USER
  encrypt passwords = Yes
  ldap suffix = "o=University of South Florida, c=US"
  ldap bind as = "uid=root, o=University of South Florida, c=US"  <-- the rootdn specified in slapd.conf
  ldap server = localhost
  ldap port = 389
  ldap passwd file = /usr/local/apps/samba/private/ldappasswd
  
Any ideas?


Alicia F. Balsera, Associate Director      Academic Computing LIB 618
University of South Florida                Phone: (813) 974-1782
4202 E. Fowler Avenue                      FAX:   (813) 974-1799 
Tampa, FL  33620-5452                      EMAIL: alicia at usf.edu




More information about the samba-ntdom mailing list