[Samba] smbpasswd and RID/SID problems with LDAP
Gerald (Jerry) Carter
jerry at samba.org
Fri May 23 11:31:39 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 12 May 2003, Soren Harward wrote:
> Problem number one:
> -------------------
>
> I'm running a few-hours-old CVS version of Samba 3.0 with LDAP as the
> authentication backend, and I'm having some problems trying to set up
> the LDAP accounts using "smbpasswd". I build the structure of the
> LDAP database by importing a couple of LDIF's, and then I import the
> following user account to create an administrative account within samba:
>
> dn: uid=smbadmin,ou=users,o=caedm,dc=gilliam
> objectClass: person
> objectClass: sambaAccount
You do know the schema has been changed right ? Either use
'passdb backend = ldapsam_compat:ldap://localhost/ guest'
with the old schema, or use
'passdb backend = ldapsam:ldap://localhost/ guest'
with the new sambaSamAccount schema.
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+zgacIR7qMdg1EfYRAgXPAKCXOfqUS5HSIWTmbuA3oP/MfUVUyQCfZsp0
xfjrNQYFzRpDGwn68iG4jE4=
=LZIN
-----END PGP SIGNATURE-----
More information about the samba
mailing list