Re: DirectoryAdmin + FedoraCore1 + openldap-2.1.22-8
Jesse Keating <[email protected]>
| Newsgroups | gmane.network.directoryadmin |
|---|---|
| Organization | j2Solutions |
| Message-ID | <[email protected]> |
On Wednesday 26 November 2003 14:27, Manuel Amador wrote:
> No such user means that the SAMBA code can't find the right user,
> because it doesn't have the required object class. It's hard coded
> to use the new object class, so it won't find the DA-created users.
> The fix is to fix DA so it supports both the old and the new schemas
> simultaneously, and to do this, DA has to check if the Directory
> server has one or both of those schemas installed.
>
> Does someone have a patch for DA that fixes this issue?
Hrm, strange... I'm looking at the debugging output from the ldap
server, it seems that samba is looking for the right objectClasses:
SRCH "ou=people,dc=pogolinux,dc=com" 2 0 0 0 0
filter: (&(uid=jkeating)(objectClass=sambaAccount))
attrs: uid uidNumber gidNumber homeDirectory pwdLastSet pwdCanChange
pwdMustChange logonTime logoffTime kickoffTime cn displayName smbHome
homeDrives scriptPath profilePath description userWorkstations rid
primaryGroupID lmPassword ntPassword domain objectClass acctFlags
And here is the ldif of my user:
# Entry 1: uid=jkeating,ou=people,dc=pogolinux,dc=com
dn: uid=jkeating,ou=people,dc=pogolinux,dc=com
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: account
objectClass: top
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaAccount
host: *
uid: jkeating
uidNumber: 500
givenName: Jesse
initials: L
sn: Keating
cn: Jesse Keating
homeDirectory: /home/jkeating
loginShell: /bin/bash
mail: [email protected]
gecos: Jesse Keating
shadowLastChange: 12382
telephoneNumber: 436
o: Pogo Linux
mobile: 206.265.4260
gidNumber: 505
rid: 2000
userPassword: {crypt}REMOVED
lmPassword: REMOVED
ntPassword: REMOVED
--
Jesse Keating RHCE MCSE (geek.j2solutions.net)
Fedora Legacy Team (www.fedora.us/wiki/FedoraLegacy)
Mondo DevTeam (www.mondorescue.org)
GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub)
Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=jkeating
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/xSaj4v2HLvE71NURAocrAJkBclajixudtaZ1mPIA3JB8Ldbq3wCgkyF9 Qn9mLS9uusUPBCbvKgCWZXM= =WTSM -----END PGP SIGNATURE-----