The trouble...
Nasir Yilmaz (ATM/Network Grp. Bsk. Sistem Mühendisi)
nyilmaz at iski.gov.tr
Fri Nov 9 04:48:02 GMT 2001
Hi everybody ;
For a week I have a real trouble with samba and I couldn't solve this I
need help My operation system is Tru64unix 4.0F and Tru64unix 5.1
Samba is alpha version
2001/11/02 17:45:20, 0] nmbd/nmbd.c:(65)
Got SIGTERM: going down...
2001/11/02 20:03:27, 0] lib/pidfile.c:(87)
ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid
exists and process id 1073 is running.
MYHOST for name MYDOMAIN<1d>. This response was from IP MYNTPDC
[2001/11/03 14:14:01, 0] nmbd/nmbd_namequery.c:(90)
2001/11/05 10:50:40, 0] nmbd/nmbd_incomingdgrams.c:(307)
process_local_master_announce: Server BACKUP at IP 10.0.4.35 is announcing
itself as a local master browser for workgroup ISKI and we think we are
master. Forcing election.
[2001/11/05 10:50:40, 0] nmbd/nmbd_become_lmb.c:(155)
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(293)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup ISKI on subnet
10.0.2.29
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(306)
become_domain_master_browser_bcast: querying subnet 10.0.2.29 for domain
master browser on workgroup ISKI
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(293)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup ISKI on subnet
10.0.3.29
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(306)
become_domain_master_browser_bcast: querying subnet 10.0.3.29 for domain
master browser on workgroup ISKI
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(293)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup ISKI on subnet
10.0.4.29
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(306)
become_domain_master_browser_bcast: querying subnet 10.0.4.29 for domain
master browser on workgroup ISKI
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(235)
become_domain_master_query_success:
There is already a domain master browser at IP 10.0.2.35 for workgroup
ISKI registered on subnet 10.0.2.29.
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(235)
become_domain_master_query_success:
There is already a domain master browser at IP 10.0.1.35 for workgroup
ISKI registered on subnet 10.0.1.29.
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(235)
become_domain_master_query_success:
There is already a domain master browser at IP 10.0.3.35 for workgroup
ISKI registered on subnet 10.0.3.29.
[2001/11/09 06:49:19, 0] nmbd/nmbd_become_dmb.c:(235)
become_domain_master_query_success:
There is already a domain master browser at IP 10.0.4.35 for workgroup
ISKI registered on subnet 10.0.4.29.
-----Original Message-----
From: Daniel William Schultz [mailto:danws at terra.com.br]
Sent: 09 Kasim 2001 Cuma 14:28
To: samba at lists.samba.org
Subject: Samba PDC + Samba Server ( Urgent! )
Hi all again :)
I have read the Samba PDC HOWTO and Samba PDC Faq, and search the mail
archives as well, but I still have one doubt about one thing.
Lets explain what I have done:
Samba PDC ( 10.0.0.1 )
smb.conf for samba-pdc
-------------------------------------------------------------
[global]
workgroup = EDUTECJF
server string = Servidor Edutec PDC
hosts allow = 10.
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
log file = /var/log/samba/log.%I
max log size = 50000
debug level = 1
security = user
encrypt passwords = yes
passwd program = /usr/bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
smb passwd file = /etc/smbpasswd
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
logon script = %U_%I.bat
----------------------------------------------------
Samba PDC is working fine, no problems :)
I have another samba server... ( 10.0.0.2 )
smb.conf for samba secondary server:
----------------------------------------------------
[global]
workgroup = EDUTECJF
server string = SERVIDOR SAMBA EXPERIMENTAL
hosts allow = 10.
log file = /var/log/samba/log.%m
max log size = 50000
debug level = 1
security = domain
password server = EDUTECLINUX
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
unix password sync = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
domain master = no
preferred master = no
domain logons = yes
dns proxy = no
---------------------------------------------------------------
I added the samba server on PDC as described below:
adduser -g machines -c Secondary -d/dev/null -s/bin/false -n pinguim$
smbpasswd -a -m pinguim$
The entry on /etc/smbpasswd was added and everything looked ok
Then on samba secondary server I follow the step:
smbpasswd -j EDUTECJF -r EDUTECLINUX
And joined the domain as expected :)
I have one user called "dws" on the samba PDC and one called "koala"
on samba secondary server.
On PDC there is the creation of logonscripts "on the fly", but its not
working with samba secondary server running.
The user dws logs but do not execute the .bat
The user koala logs but do no execute the .bat
I think that I am almost there...can anyone help me ?
PS: if I disable the domain logons = yes on samba secondary server,
the user koala ( that is registered on secondary server ) do not logs,
but the user "dws" ( that is registered on PDC ) logs and execute the
logon script...annoying thing :(
Thanks,
Daniel William Schultz
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list