samba ldap howto.pdf

Vista previa de texto
The SAMBA-LDAP-PDC Howto
14
Revision : 1.24
Tests procedure
The test-list presented in this section are common to all windows system’s versions. If one
version may cause problem, or if the procedure is different, we’ll make a special note.
14.1
Global configuration
This section help you to test the good configuration and the good operation of your sambaldap system. We suppose that your system is running all the needed services. You can verify
this using the following steps :
• If you have problems starting samba, you can use the testparm command to see if the
configuration’s file syntax is right. You can verify using the following command line :
[root@PDC-SRV root]# ps afuxw | grep smb
0
17049 0.0 0.7 5524 1888 ?
1002
17146 0.0 1.3 7184 3408 ?
0
17223 0.1 1.2 7060 3140 ?
[root@PDC-SERV root]# ps afuxw | grep nmb
0
17054 0.0 0.7 4636 1856 ?
0
17057 0.0 0.6 4584 1552 ?
S
S
S
11:45
11:50
12:00
0:00 smbd -D
0:00 \_ smbd -D
0:00 \_ smbd -D
S
S
11:45
11:45
0:00 nmbd -D
0:00 \_ nmbd -D
• is your ldap server up ? You can verify using the following command line :
[root@PDC-SRV root]# ps afuxw | grep ldap
ldap
12358 0.0 5.0 16004 12972 ?
S
Nov14
0:03 /usr/sbin/slapd -u ldap
or
[root@PDC-SRV root]# netstat -tan | grep LISTEN | grep 389
tcp
0
0 0.0.0.0:389
0.0.0.0:*
14.2
LISTEN
Adding a new computer in the domain by creating an account manually
If you want the computer named ”testmachine” to be added to the domain IDEALX-NT, you
must create a account for it. This can be manually done using the script smbldap-useradd.pl
previously described in the section ?? on page ??. Then you can add the computer in the
domain, following this steps :
for Microsoft Windows NT 4 (SP1, SP6):
• logged into Microsoft Windows NT using the administrator account
• click on the ”start” menu, ”Parameters” and ”Configuration”
page 35/56
