LDAP Problems with PDC functionality

Matt Chapman m.chapman at student.unsw.edu.au
Wed Dec 23 10:05:27 GMT 1998


Martin Hofbauer Bacher Systems EDV wrote:

> If you look at my original mail,you will see the acctFlags,
> It is  "[DU      ]" !!! not  W
>
> I use following command: "smbpasswd -m pc_test"

You should add the initial account specifying -m, i.e. smbpasswd -a -m pc_test.

> ... but, that leads me to the question: Is it
> possible with the current ldap code to get SAMBA PDC running ?

I hope so :-)

> Do you have a current ldap scheme ?
>
> I looked through the source and so this is what I have constructed:
>
> objectclass sambaAccount
>             requires
>                 objectclass
>             allows
>                 ntuid,
>                 description,
>                 uidNumber,
>                 gidNumber,
>                 rid,
>                 grouprid,
>                 lmPassword,
>                 ntPassword,
>                 pwdLastSet,
>                 smbHome,
>                 homeDrive,
>                 script,
>                 profile,
>                 workstations,
>                 acctFlags,
>                 pwdCanChange,
>                 pwdMustChange,
>                 logonTime,
>                 logoffTime,
>                 kickoffTime
>
> How accurate is that ?
>

Yep, that is all correct, except that uid, uidNumber, ntuid and rid are required

fields.

    Matt


--
Matt Chapman
E-mail: mattyc at cyberdude.com



More information about the samba-technical mailing list