[Samba] samba 3.0.4 and -with-ldapsam

Gerald (Jerry) Carter jerry at samba.org
Thu Sep 2 15:16:04 GMT 2004


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

Philip Chambers wrote:

| I am trying to get samba 3.0.4 to work as a PDC
| using LDAP with my old samba 2  schema.  I used -with-ldapsam
| when building in the hope that that would be OK.
|
| I had a problem when it came to "net groupmap ..."
| because samba was trying to use  the samba 3 schema
| attribute sambaSID.  I got round this by setting
|
|   passdb backend = smbpasswd ldapsam:ldap://<myldap>
|
| so it appears to be creating the new entries
| in smbpasswd, not the LDAP.
|
| Now I have a problem I can't see a solution for.  When
| I try to get a PC to join the  domain the log shows samba
| trying to access the DN:
|
|   sambaDomainName=MYDOM,dc=ex,dc=ac,dc=uk
|
| (first in smbldap_search_domain_info(), then
| in add_new_domain_info().)
|
| which is also from the samba 3 schema.
|
| How do I get samba to store this outside of my LDAP?
|
| Any help will be much appreciated.

Use the Samba 3 schema file and uncomment the sambaAccount
object class and attributes.




cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBNzk0IR7qMdg1EfYRApcNAJ0ZyNpZP9FT7/zwl1O4tG0gg0GtewCfXdQ+
AcHdtq/lU/GR8tI5MLD0mlQ=
=+sf+
-----END PGP SIGNATURE-----


More information about the samba mailing list