Plz Help:
This is netstat before doing the smb.conf modification:
Code:
admon@ldap:/etc/samba$ sudo netstat -puta
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:ldap *:* LISTEN 4888/slapd
tcp 0 0 *:netbios-ssn *:* LISTEN 5464/smbd
tcp 0 0 *:microsoft-ds *:* LISTEN 5464/smbd
tcp6 0 0 *:ldap *:* LISTEN 4888/slapd
tcp6 0 0 *:ssh *:* LISTEN 3826/sshd
tcp6 0 0 ldap:ssh ::ffff:10.2.7.1%8:53139 ESTABLISHED4895/sshd: admon [p
udp 0 0 ldap:netbios-ns *:* 5462/nmbd
udp 0 0 *:netbios-ns *:* 5462/nmbd
udp 0 0 ldap:netbios-dgm *:* 5462/nmbd
udp 0 0 *:netbios-dgm *:* 5462/nmbd
doing the step 5 when I restart the samba daemon got this error:
Code:
admon@ldap:/etc/samba$ sudo /etc/init.d/samba restart
* Stopping Samba daemons... start-stop-daemon: warning: failed to kill 5279: No such process [ OK ]
* Starting Samba daemons [ OK ]
Then I run next command:
Code:
admon@ldap:/etc/samba$ sudo netstat -puta
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:ldap *:* LISTEN 4888/slapd
tcp 0 0 localhost:36848 localhost:ldap TIME_WAIT -
tcp6 0 0 *:ldap *:* LISTEN 4888/slapd
tcp6 0 0 *:ssh *:* LISTEN 3826/sshd
tcp6 0 0 ldap:ssh ::ffff:10.2.7.1%8:53139 ESTABLISHED4895/sshd: admon [p
udp 0 0 ldap:netbios-ns *:* 5320/nmbd
udp 0 0 *:netbios-ns *:* 5320/nmbd
udp 0 0 ldap:netbios-dgm *:* 5320/nmbd
udp 0 0 *:netbios-dgm *:* 5320/nmbd
admon@ldap:/etc/samba$
I Can't see the smb daemon running
This is again my smb.conf
Code:
[global]
workgroup = DDISCOVERY
server string = Domain Server (Samba, Ubuntu)
dns proxy = no
passdb backend = ldapsam:ldap://localhost/
obey pam restrictions = no
#Begin: Custom LDAP Entries
ldap admin dn = cn=admin,dc=ddiscovery,dc=local
ldap suffix = dc=ddiscovery, dc=local
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
; Do ldap passwd sync
ldap passwd sync = Yes
passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
domain logons = yes
# End: Custom LDAP Entries
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n Retype\snew\sUNIX\spassword:* %n\n passwd:*password\supdated\ssuccessfully* .
logon path =
# Other parameters have default configuration
I still don't know what is the problem, please helpme
Best regards,
aGarcia71