[Samba] Samba 3.0 openldap PDC

blacksmith ray_n at pisem.net
Fri Oct 3 07:48:35 GMT 2003


Help me?

I'm configure samba 3.0
./configure --prefix=/usr --localstatedir=/var \
--with-configdir=/etc/samba --with-privatedir=/etc/samba --with-fhs \
--with-quotas --with-smbmount --with-pam --with-pam_smbpass \
--with-syslog --with-utmp --with-sambabook=/usr/share/swat/using_samba \
--with-swatdir=/usr/share/swat --with-libsmbclient --with-ldap 
--with-ldapsam

There are some ... from smb.conf:
####
workgroup = mydomain
server string = New PDC
security = user
add machine script = /usr/local/sbin/smbldap-useradd.pl -w %U
ldap admin dn = uid=Administrator,ou=Users,dc=mydomain,dc=ru
ldap server = 127.0.0.1
ldap ssl = off
ldap suffix = dc=mydomain,dc=ru
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap passwd sync = yes
ldap delete dn = no
idmap uid = 10000-20000
idmap gid = 10000-20000
domain logons = yes
domain master = yes
preferred master = yes
#######

And I initialize my ldap directory (i'm use smbldap-populate.pl script 
and schema from samba distribution), pam&nss.

Ok. I can logon from console and browse my samba shares from M$ 
workstation using ldap account.

But I can't join M$ workstation to samba DC. When i try to join 
workstation i get the message: "user or password incorrect" (or 
something like this, i have a russian version W2K)
What I do wrong?

PS: Sorry about bad english.




More information about the samba mailing list