samba ldap howto.pdf


Vista previa del archivo PDF samba-ldap-howto.pdf


Página 1...27 28 29303156

Vista previa de texto


The SAMBA-LDAP-PDC Howto

Revision : 1.24

• smbldap-userdel.pl : to delete an existing computer account (FIXME),
• smbldap-usermod.pl : to modify an computer account (FIXME).
TODO: a note on Computer types (W: workstations, S: servers)
TODO: a note on ipHost and other nodes/hosts management system... possible links with
DNS/DHCP hosts management (I mean the may be some interaction and we must take care
to make all thing works together. see Bind 9 ldap back-end and proposed schema)

10.3

Create a Computer account

To create a computer account, you can use smbldap-tools to manually add accounts :
[root@pdc-srv root]# smbldap-useradd.pl -w testcomputer1
modifying entry "uid=testcomputer1$,ou=Computers,dc=IDEALX,dc=ORG"

You can also use the automatic procedure within you Microsoft Windows client (see your client
chapter: Microsoft Windows NT, w2k...) for more information.

10.4

Delete a Computer account

To delete a computer account, just use smbldap-tools :
[root@pdc-srv root]# smbldap-userdel.pl testcomputer1

Instead of removing the computer account, you may want to de-activate the Samba Account.
To do that, use an LDAP browser and modify the ’acctFlags’ from [W ] to [WD ] (’D’
indicating ’Disabled’). To re-activate the computer account, just modifiy [WD ] to [W ].
Sometimes, de/re-activation is a better mean to temporary disable the workstation for some
times.

page 29/56