[Samba] samba 3.0 beta3 ldapsam bug ?!?!

Gerald (Jerry) Carter jerry at samba.org
Fri Aug 8 06:09:38 GMT 2003


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

On Fri, 1 Aug 2003 thorsten.trautwein-veit at sctg.schulergroup.com wrote:

> Thanks for your help in adance !!!
> I work with SAMBA HEAD since alpha24. I have running a BDC, PDC, Printserver on 3
> separate pc's. In my domain is integrated a nativ w2k Fileserver ( Dell Nas PowerVault
> 725 ) for fileserving. Passwords are held in LDAP on every (Linux) machine pam-ldap
> works. Every thing was fine before the last update to BETA 3.
> 
> Problem :
> I was updating from BETA 2 to BETA 3 and changing to the new Samba schema V3 (
> sambaSAMAccout ). Since this point i am not able to add any machine account. Not
> with smbpasswd or pdbedit. Regardless which tool i use i get the following error :
> ------------------------------------------------------------
>  failed to add user dn= uid=testr$,ou=Computers,o=sctg,dc=schuler,dc=de with: Object
> class violation
>          object class 'sambaSamAccount' requires attribute 'sambaSID'
>  failed to modify/add user with uid = testr$ (dn =
> uid=testr$,ou=Computers,o=sctg,dc=schuler,dc=de)
> ------------------------------------------------------------
....
> smbldap_search_suffix: searching for:[(&(uid=testr$)(objectclass=sambaSamAccount))]
> smbldap_search_suffix: searching for:[(uid=testr$)]
> smbldap_search_suffix: searching for:[(&(sambaSID=S-0-
> 0)(|(objectClass=sambaIdmapEntry)(objectClass=sambaSidEntry)))]
> failed to add user dn= uid=testr$,ou=Computers,o=sctg,dc=schuler,dc=de with: Object
> class violation
>         object class 'sambaSamAccount' requires attribute 'sambaSID'
> failed to modify/add user with uid = testr$ (dn =
> uid=testr$,ou=Computers,o=sctg,dc=schuler,dc=de)
> ------------------------------------------------------------


you need to look at a level 10 debug log here.  are you using ldapsam?
or ldapsam_compat?




cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/Mz6iIR7qMdg1EfYRAqWvAKC3NRahQ/b+eJAkZLSBuOZKzO57xgCfW87D
7CYa9Ni3gfnKLXhMPmGwgeM=
=Eq4E
-----END PGP SIGNATURE-----




More information about the samba mailing list