[Samba] Samba + LDAP PDC on Gentoo

Collins, Kevin KCollins at nesbittengineering.com
Fri Nov 5 19:48:21 GMT 2004


Has anyone got this setup running?  Can you point me to a HOWTO?

I'm stuck with a problem in "smbldap_tools.pm" when I do any kind of basic
thing.  I keep getting this error:

============================================================================
==
vulcan root # smbldap-usershow.pl Administrator
Can't call method "search" on an undefined value at
/usr/lib/perl5/5.8.4/i686-linux/smbldap_tools.pm line 595.
============================================================================
==

Another thing that's puzzling me is the lack of PAM/NSS/LDAP intermingling.
I can't do a "getent passwd Administrator" and get a positive result.  Yet I
can cleary see that I have an "Administrator" account with "slapcat":

============================================================================
==
dn: uid=Administrator,ou=Users,dc=nei-ky,dc=com
cn: Administrator
sn: Administrator
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
gidNumber: 512
uid: Administrator
uidNumber: 998
homeDirectory: /home/
sambaPwdLastSet: 0
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaHomePath: \\vulcan\homes
sambaHomeDrive: H:
sambaProfilePath: \erase\me
sambaPrimaryGroupSID: S-1-5-21-2155631241-3177187520-276014414-512
sambaLMPassword: XXX
sambaNTPassword: XXX
sambaAcctFlags: [U          ]
sambaSID: S-1-5-21-2155631241-3177187520-276014414-2996
loginShell: /bin/false
gecos: Netbios Domain Administrator
structuralObjectClass: inetOrgPerson
entryUUID: a72b1fa4-c3aa-1028-83b5-f53b37bd2261
creatorsName: cn=Manager,dc=nei-ky,dc=com
createTimestamp: 20041105191425Z
entryCSN: 2004110519:14:25Z#0x0005#0#0000
modifiersName: cn=Manager,dc=nei-ky,dc=com
modifyTimestamp: 20041105191425Z
============================================================================
==

So basically I'm looking for any pointers at all.  :)

--
Kevin L. Collins, MCSE
Systems Manager
Nesbitt Engineering, Inc. 


More information about the samba mailing list