[Samba] LDAP: add machine script required--answers

Nick Urbanik nicku at vtc.edu.hk
Sat Aug 23 13:31:59 GMT 2003


Dear Folks,

Thank you to Markus!

The answers to my questions regarding add machine script, after examining
Markus' create-machine-account.sh for Samba 2.2:
When using LDAP on samba 3.0.0 RC1 with ldapsam and sambaSamAccount
objectClass:

  1. an add machine script is required for normal operation
  2. the script should create a posixAccount for the machine, and
  3. can use smbpasswd -a -m machineAccount$ to add the required
     sambaSamAccount attributes to the entry.

Please correct my conclusions if I am wrong (is it necessary to call
smbpasswd from the script?)

Thanks again, Markus.

Markus Amersdorfer wrote:

> On Fri, 22 Aug 2003 07:59:13 +0800
> Nick Urbanik <nicku at vtc.edu.hk> wrote:
>
> > My question is simply what should the add machine script do (now that
> > you have clarified that I need one)?
>
> I wrote a "create-machine-account.sh" for Samba 2.2
> ( http://homex.subnet.at/~max/ldap/index.php#samba-join-windows ).

--
Nick Urbanik   RHCE                               nicku(at)vtc.edu.hk
Dept. of Information & Communications Technology
Hong Kong Institute of Vocational Education (Tsing Yi)
Tel:   (852) 2436 8576, (852) 2436 8713          Fax: (852) 2436 8526
PGP: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B     ID: 7529555D
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24   ID: BB9D2C24






More information about the samba mailing list