[FUG-BR] LDAP AGAIN
William David FUG-BR
fugbr em biosystems.ath.cx
Quinta Agosto 28 23:36:34 BRT 2008
Boa note criei o servidor do 0 sem Repl com o openLDAP 2.4.11
reconfigurei tudo no braço mesmo erro
o estranho é que alguns usuários ele volta a mensagem correta do ID
e nao da a mensagem de erro tentando conectar no servidor ldap
mesmo micro usuários importados do master.passwd
# id bio
uid=1001(bio) gid=1001(bio)
groups=1001(bio),0(wheel),1002(hinode),1005(prepre),1009(dirind),1011(gerlog),1012(gerind),1013(gerqua),1014(gercom),1015(gerfin),1017(fatura),1018(pessoa),1019(segura),1020(pcp),1021(compra),1022(almoxa),1023(expedi),1024(produc),1025(manute),1026(proces),1027(dimens),1028(inspec),1029(iso),1030(isocorp),1031(isoaud),1032(logist),1033(presta),1034(materi),1035(procep),1036(vtb),1037(ferram),1043(saturn),1044(forpon),1047(orcamento),1142(bosh),1000(teste1),1003(teste2),1004(teste3)
isso que deveria aparecer no usuários de teste
ldapsearch -x -D "cn=Manager,dc=schwarz" -w teste
# extended LDIF
#
# LDAPv3
# base <dc=schwarz> (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# schwarz
dn: dc=schwarz
objectClass: dcObject
objectClass: organization
o: schwarz
dc: schwarz
......................
# teste4, Groups, schwarz
dn: cn=teste4,ou=Groups,dc=schwarz
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: teste4
gidNumber: 1005
sambaSID: S-1-5-21-291182402-1633439629-2175469024-3011
sambaGroupType: 2
displayName: teste4
memberUid: teste
memberUid: bio
# teste1, Users, schwarz
dn: uid=teste1,ou=Users,dc=schwarz
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
cn: teste1
sn: teste1
givenName: teste1
uid: teste1
uidNumber: 1396
gidNumber: 513
homeDirectory: /dados/users/teste1
loginShell: /usr/sbin/nologin
gecos: System User
userPassword:: e2NyeXB0fXg=
# search result
search: 2
result: 0 Success
# numResponses: 249
# numEntries: 248
com relação ao nss_base_passwd a base computers eu somente copiei do
the linux samba ldap how-to
http://download.gna.org/smbldap-tools/docs/samba-ldap-howto/#htoc17
Mais detalhes sobre a lista de discussão freebsd