[K12OSN] Samba/LDAP...almost!

David Trask dtrask at vcs.u52.k12.me.us
Fri May 28 12:43:21 UTC 2004

Ok....the continuing saga of my Samba3/LDAP story.  I have an FC2 server
up and I have Samba 3 and LDAP running to the point where I can join a
machine to the domain...and I can log a user in on the posix side (linux)
using ssh or something like that.  The only thing I can't do is log in
from the Windows side.  I'm using XP Pro....I know the registry stuff is
all OK as they are currently part of my current Samba/LDAP domain based on
Samba 2.27a.  Here are some clues....when I use Directory
Administrator....the Samba section is not checked off (and should be as it
is on my production server)...in other words I create the users on the
command line using a bulk script....and when I go to Directory Admin...the
Samba section has a check and all the correct properties are filled
in.....this is NOT the case on the Samba 3 server I'm working
with....nothing is checked and it's all blank AND when I try to fill the
info in and save...it comes back with an error message about my directory
server not supporting a requir
ed object class.  So....I've also installed and tried using the
idxldapaccounts webmin module from idealx.org.  It installs....appears to
work, but I'm still in the same situation.  No error messages, but I still
can't log in to Windows.  Below is the result of smbldap-usershow for
user7 which is one of the users I'm working with.  I'd appreciate any
assistance in troubleshooting this last piece.  I will document the whole
thing once I have it running.  If you can think of commands or conf files
that I can try to figure this out...I'm all ears.

[user5 at midnight root]$ smbldap-usershow user7
dn: uid=user7,ou=Users,dc=vcs,dc=org
objectClass: top,inetOrgPerson,posixAccount,shadowAccount,sambaSAMAccount
cn: User Seven
sn: user7
uid: user7
uidNumber: 1005
gidNumber: 1000
gecos: User Seven
description: User Seven
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
displayName: User Seven
sambaSID: S-1-5-21-2521606391-218366247-2320172675-3010
sambaPrimaryGroupSID: S-1-5-21-2521606391-218366247-2320172675-3001
sambaLMPassword: 598DDCE2660D3193AAD3B435B51404EE
sambaNTPassword: 2D20D252A479F485CDF5E171D93985BF
sambaPwdLastSet: 1085686345
userPassword: {SSHA}l5B4RhWO5Z5YTsJ1nVpZ5t+yALSOkNKG
sambaHomePath: \\MIDNIGHT-PDC\homes
sambaLogonScript: startup.bat
sambaProfilePath: \\MIDNIGHT-PDC\profiles\user7
sambaHomeDrive: F:
sambaPwdCanChange: 0
sambaAcctFlags: [UX]
sambaPwdMustChange: 2147483647
homeDirectory: /home/user7
loginShell: /bin/bash

Any ideas?

David N. Trask
Technology Teacher/Coordinator
Vassalboro Community School
dtrask at vcs.u52.k12.me.us

More information about the K12OSN mailing list