[Samba] Samba 3.0 openldap PDC

Gémes Géza geza at kzsdabas.sulinet.hu
Fri Oct 3 08:02:22 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

blacksmith írta:

| 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.
|
Are you sure you have ou=Computers,dc=mydomain,dc=ru in your LDAP tree?
Verify it!
Also verify, if you have an acl in your slapd.conf saying, that 
uid=Administrator,ou=Users,dc=mydomain,dc=ru have write right to 
ou=Computers ,and ou=People, ou=Groups, and so on!

Good Luck!

Geza Gemes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/fS0O/PxuIn+i1pIRAp++AJ4yA/8XxOK2Wpamk05g3nTrj8d7swCfeG0c
4VdG8hxUaj2Qu5qOhOPZNmE=
=7B1o
-----END PGP SIGNATURE-----





More information about the samba mailing list