Bug 1620 - Conflict between samba.schema and pdbedit
Conflict between samba.schema and pdbedit
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
3.0.4
All All
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-17 19:52 UTC by Luc Lalonde
Modified: 2005-08-24 10:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Lalonde 2004-08-17 19:52:30 UTC
Hello Folks,

The pdbedit tool seems to use the 'Historical' atributes that are now deprecated
in the samba.schema shipped with Samba.

When I used this command to import my old SMBPASSWD file into LDAP I get error
messages complaining about missing attributes.   I had to uncomment then in the
samba.schema:

attributetype:
*************

lmPassword
ntPassword
acctFlags
pwdLastSet
logonTime
logoffTime
kickoffTime
pwdCanChange
pwdMustChange
homeDrive
scriptPath
profilePath
userWorkstations
smbHome
domain
rid
primaryGroupID

objectclass:
************

smbPasswordEntry
sambaAccount
smbPasswordEntry

I know this is a quick fix...  I'll try to delve into the pdbedit source to see
if I can figure out how to put the proper references...

Bye.
Comment 1 Luc Lalonde 2004-08-17 20:24:24 UTC
Please ignore this report.

I compiled with '--with-ldapsam' instead of '--with-ldap'.

Very sorry to have wasted your time ;-(
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:18:00 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.