[Samba] Re: Samba PDC, OpenLDAP: "net groupmap list" and Login doesnt work

Jens Schmidt samba.lists.samba.org at actinoide.de
Thu May 10 13:19:45 GMT 2007


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

Hello together,

i found the (my) bug :-).

"net groupmap list" didnt work in version 3.0.23 because samba changed
something:

http://samba.org/samba/docs/man/Samba-HOWTO-Collection/ChangeNotes.html#id314632

Futhermore i cant login with a testuser because i had a typo in my smb.conf:

http://209.85.135.104/search?q=cache:oyrXRA7BVmAJ:www.silug.org/lists/silug-discuss/200704/msg00006.html+init_services_keys:+key+lookup+failed&hl=de&ct=clnk&cd=13&gl=de

Thanks for your help. Now everything is working fine.

Bye, Jens


Jens Schmidt wrote on 09.05.2007:
> Hello List,
> 
> after i installed Samba and the OpenLDAP, i configured this "Team" with
> some Howtos in the internet.
> 
> So, now i populated the data into the LDAP with
> $ smbldap-populate -u 1550 -g 1500
> which worked well.
> 
> Now i can see groups and users and machines in the LDAP Database.
> 
> Then i added a new Testuser with "smbldap-useradd -m -a jens" (which i
> can see in the database, too).
> 
> But if i want to connect over ssh or to the Samba i get a error messages
> "permission denied".
> 
> Then i want to try to list the groupmaps and get the following error:
> 
> root at saphira ~# net groupmap list
> [2007/05/09 14:41:44, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(3051)
>   ldapsam_setsamgrent: LDAP search failed: No such object
> [2007/05/09 14:41:44, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(3123)
>   ldapsam_enum_group_mapping: Unable to open passdb
> root at saphira ~#
> 
> Can Anyone help me, with that Problem? I think, if i can solve this
> error message, i get closer to the "permission denied" problem  :-) .
> 
> Thanks in advance.
> 
> Jens

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

iQIVAwUBRkMb8InNy9K3Yw0FAQIAgQ//QH9YoxEN6SRJnoxaw+h7stOCW8piJ5NJ
oat7V71mtSRCkC2v+BS6tB6x35nHFev/+Hxv5OwZVYR6s/tWK16uvqehrWGi9+qT
rGLChx6C8IAVJD06rwhOmtKvtOsKnE/ZBZ/kEUGkcJpnOrr8GswuR8C5Lr0G9xqq
8Vy31t+fUtG/izoPdTNiviBWG2PEXCLc9l2ma1TaEmM2KfiA2XKNl780e3XAv2X7
Z+unez85liaXIsEMuJY+OY2bAQ8JlsVw02zmX8TWDn72HVCYKdSpX0CoJTlBnN4a
1Rs+bCeIh7Y6E1xSCQXrwUE/ugGacRI7CmIiNaTW3/eeCOUCh4fcjs4fJjH9KQUv
BHxgJWCSBnIlrZdHgc9Wnzp7W29uCNexRDOlkudly3IiO+Jesx1LiwE2Oh9vqk1h
5pOP7/kl5yblww5gi3CapJI94uEvOOi75+DsxhoTsqTAj9+moQ8nQJyhN/icUGSZ
m24voPLUNFraT/quRpLOEg0RsXJ4ujXs8kE8M/Xkqnz32bbN0PhHD5Yu7sWbbHcG
+Cg51iDC3NAO16fV4a00covhiHsxqyEv89dKJ6DpjHM7Wbf1IvcF9Gu+KtSg1FfA
dXjwPhTk7YR6JTfVPPihExsxNdEGOfEEV1gHkAWtLLjyollztFcgwwczsVmuntPy
e5OjnlMMD2g=
=SIbu
-----END PGP SIGNATURE-----


More information about the samba mailing list