Jens Schmidt
2007-May-09 12:50 UTC
[Samba] Samba PDC, OpenLDAP: "net groupmap list" and Login doesnt work
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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@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@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 iQIVAwUBRkHDa4nNy9K3Yw0FAQIjtxAAg9yOUVxDxSHq3M9Lhdtm5DDxtwSpbjaS J3DbNqZE3M6N4Ld+ymf85zL2bip93mhZ4o+Vw+L3Qp9ArOKmp/GisOPyWKhFrKU5 IKPZDi1JwqrvX9x33wQ615CVu7UR7PFN8oqarSXJaUoqE6kcWGUO0cLJNUz5TW1J mcvFP8HxDKKjOgCn+k/DBT1lio0a+ShEiZUkWx9AqQFqEPXKwl+QcrDEY2l/9N/J YDpSw6StZKalys1I5K1E49FYzuYKgXoTPqsXr+fGhuwUPadk6xEwy+NV9oKlHgT6 OE7WWKsy/guhgUpH8y5VZch5QQydJZ0NEjrCPjQ7A/zxFyFIEBrLGUA/kOJXm+q0 no4nSg6HqLaz+Sim+F9+EB6K0S/9NgdTztqQSPxOfHplwscjeJkjpzJ5uMEFQDEa 6Luqs3DwGzeyEMOGxJ/aoRpYrMRLFj6/hP6X376pAy4nkFWtjMlhmaR/Dk0ZfFy1 6OSA3mrCHT2j25MwX1SGY7Abj6iUcjAKrGwkKAn6TRLYU8sgVVFLWoE8Tbe84xrz fsPWXF/pKTCxuGJJ3bDiaH9BOf/CZdwpRVrua/+30UXm5JCI1odVs/oZGd+eoAzt 1g5EiRm8WDxENdndo4ctuRL+b4hqCOqDGCzy6fR8Uo8N/buHvjZjzcQfmJq54o8B WHB+pPszfZQ=cHPl -----END PGP SIGNATURE-----
Jens Schmidt
2007-May-10 13:20 UTC
[Samba] Re: Samba PDC, OpenLDAP: "net groupmap list" and Login doesnt work
-----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@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@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-----