[Date Prev][Date Next] [Chronological] [Thread] [Top]

Objectclass question with Samba+LDAP



Hello all!!

Well, I thought i'd start my day out with a question regarding entries for LDAP and samba.
Little background: I am setting up Samba 2.2.8a with LDAP on a Red Hat 7.3 box.


What I am doing is set up samba --with-ldapsam support. Then I was using the idealx scripts to add users, groups etc...

Here is a test entry that I have in my LDAP:

# test1, Users, mycompany, com
dn: uid=test1,ou=Users,dc=mycompany,dc=com
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: sambaAccount
sn: test1
uidNumber: 1000
gidNumber: 1002
homeDirectory: /home/test1
loginShell: /bin/bash
gecos: System User
description: System User
userPassword:: e1NTSEF9N3pQOGtDU0IwSk5iQTJYeXlXZHpwZG55Q2lOUCt2MmE=
uid: test1
pwdLastSet: 1053374135
logonTime: 0
logoffTime: 2147483647
kickoffTime: 2147483647
pwdCanChange: 0
pwdMustChange: 2147483647
displayName: System User
cn: System User
rid: 3000
primaryGroupID: 3005
lmPassword: 01FC5A6BE7BC6929AAD3B435B51404EE
ntPassword: 0CB6948805F797BF2A82807973B89537
acctFlags: [UX         ]

I added this by using the smbldap-useradd.pl script.
I then typed: smbpasswd -a test1

My initial question is, I only have the following objectclasses:

objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: sambaAccount

Do I need any more? It seems short, but im not sure if I need to add any additional objectclasses at this point.

That's all for now!

Cheers,

Jason