Re: [Samba] nmbd is not running

2013-08-01 Thread Kevin Sha
 symlinks
 Ignoring unknown parameter wide symlinks
 standard input is not a socket, assuming -D option
 bind failed on port 137 socket_addr = 172.17.255.255.
 Error = Cannot assign requested address
 nmbd_subnetdb:make_subnet()
 Failed to open nmb bcast socket on interface 172.17.255.255 for port 137.
 Error was Cannot assign requested address
 ERROR: Failed when creating subnet lists. Exiting.

 -
 /etc/init.d/samba status
 nmbd is not running ... failed!
 smbd is running.



 My samba configuration file
 ---

 [global]
 workgroup = KEVIN
 netbios name = KEVINDC
 server string = KEVIN Domain controller
 obey pam restrictions = Yes
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
 %n\n *password\supdated\ssuccessfully* .
 unix password sync = Yes
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 name resolve order = lmhosts host wins bcast
 unix extensions = No
 add user script = /usr/sbin/adduser --quiet --disabled-password --gecos
 
 %u
 add group script = /usr/sbin/addgroup --force-badname %g
 add machine script = /usr/sbin/useradd -g machines -c %u machine
 account
 -d /var/lib/samba -s /bin/false %u
 logon path =
 logon home =
 domain logons = Yes
 os level = 33
 preferred master = Auto
 domain master = Yes
 dns proxy = No
 panic action = /usr/share/samba/panic-action %d

 [homes]
 comment = Home Directories
 valid users = %S
 create mask = 0700
 directory mask = 0700
 browseable = No

 [netlogon]
 comment = Network Logon Service
 path = /home/samba/netlogon
 guest ok = Yes
 share modes = No

 [printers]
 comment = All Printers
 path = /var/spool/samba
 create mask = 0700
 printable = Yes
 browseable = No

 [print$]
 comment = Printer Drivers
 path = /var/lib/samba/printers




 Thank you
 kevin


   --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] nmbd is not running

2013-07-31 Thread Kevin Sha
Hi

I have samba domain controller in my network. and recently I have changed
the netmask of the network. Then nmbd is not working


could you please help me to solve this issue




nmbd -i
nmbd version 3.5.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Unknown parameter encountered: wide symlinks
Ignoring unknown parameter wide symlinks
Unknown parameter encountered: wide symlinks
Ignoring unknown parameter wide symlinks
standard input is not a socket, assuming -D option
bind failed on port 137 socket_addr = 172.17.255.255.
Error = Cannot assign requested address
nmbd_subnetdb:make_subnet()
Failed to open nmb bcast socket on interface 172.17.255.255 for port 137.
Error was Cannot assign requested address
ERROR: Failed when creating subnet lists. Exiting.

-
/etc/init.d/samba status
nmbd is not running ... failed!
smbd is running.



My samba configuration file
---

[global]
workgroup = KEVIN
netbios name = KEVINDC
server string = KEVIN Domain controller
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
%n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts host wins bcast
unix extensions = No
add user script = /usr/sbin/adduser --quiet --disabled-password --gecos 
%u
add group script = /usr/sbin/addgroup --force-badname %g
add machine script = /usr/sbin/useradd -g machines -c %u machine account
-d /var/lib/samba -s /bin/false %u
logon path =
logon home =
domain logons = Yes
os level = 33
preferred master = Auto
domain master = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action %d

[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers




Thank you
kevin
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] nmbd is not running

2013-07-31 Thread Gaiseric Vandal
Can you show the ifconfig -a output on your server (or whatever the 
appropriate  command for your OS .)


The bind failed on ... 255 suggests the IP of the server is set wrong.


On 07/31/13 05:17, Kevin Sha wrote:

Hi

I have samba domain controller in my network. and recently I have changed
the netmask of the network. Then nmbd is not working


could you please help me to solve this issue




nmbd -i
nmbd version 3.5.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Unknown parameter encountered: wide symlinks
Ignoring unknown parameter wide symlinks
Unknown parameter encountered: wide symlinks
Ignoring unknown parameter wide symlinks
standard input is not a socket, assuming -D option
bind failed on port 137 socket_addr = 172.17.255.255.
Error = Cannot assign requested address
nmbd_subnetdb:make_subnet()
Failed to open nmb bcast socket on interface 172.17.255.255 for port 137.
Error was Cannot assign requested address
ERROR: Failed when creating subnet lists. Exiting.

-
/etc/init.d/samba status
nmbd is not running ... failed!
smbd is running.



My samba configuration file
---

[global]
workgroup = KEVIN
netbios name = KEVINDC
server string = KEVIN Domain controller
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
%n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts host wins bcast
unix extensions = No
add user script = /usr/sbin/adduser --quiet --disabled-password --gecos 
%u
add group script = /usr/sbin/addgroup --force-badname %g
add machine script = /usr/sbin/useradd -g machines -c %u machine account
-d /var/lib/samba -s /bin/false %u
logon path =
logon home =
domain logons = Yes
os level = 33
preferred master = Auto
domain master = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action %d

[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers




Thank you
kevin


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] nmbd is not running

2013-07-31 Thread Gaiseric Vandal
 on port 137 socket_addr = 172.17.255.255.
Error = Cannot assign requested address
nmbd_subnetdb:make_subnet()
Failed to open nmb bcast socket on interface 172.17.255.255
for port 137.
Error was Cannot assign requested address
ERROR: Failed when creating subnet lists. Exiting.

-
/etc/init.d/samba status
nmbd is not running ... failed!
smbd is running.



My samba configuration file
---

[global]
workgroup = KEVIN
netbios name = KEVINDC
server string = KEVIN Domain controller
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:*
%n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts host wins bcast
unix extensions = No
add user script = /usr/sbin/adduser --quiet
--disabled-password --gecos 
%u
add group script = /usr/sbin/addgroup --force-badname %g
add machine script = /usr/sbin/useradd -g machines -c %u
machine account
-d /var/lib/samba -s /bin/false %u
logon path =
logon home =
domain logons = Yes
os level = 33
preferred master = Auto
domain master = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action %d

[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers




Thank you
kevin


-- 
To unsubscribe from this list go to the following URL and read the

instructions: https://lists.samba.org/mailman/options/samba




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] nmbd - is it running or not...?

2004-05-20 Thread Adam Buglass
Hi, I've just started setting Samba up so I'm at quite an elementary
stage!

I'm using Samba 2.2.8a on a Solaris 7 server.

I can connect to Samba ok when using localhost from the console.

However when I try and use DOS from a Win95 test machine I get a message
saying the computer name was not recognised.
This points to the nameserver not running (I'm using nmbd provided with
Samba suite for the nameserver).
The SWAT console says that smbd is running and that nmbd is not.

However if I use the ps -ef command to check the processes on the
system  I get several instances of nmbd running (maybe 30) and one
instance of smbd.

I've set both of them running as daemons using ./smbd -D start and
./nmbd -D start respectively

Can anyone see what I'm doing wrong - like I said I'm basically a newbie
on Samba.

My config file is just at a basic test stage (I've tried different
things for the workgroup variable):

[global]
#   workgroup = home
   netbios name = marianet
   encrypt passwords = no
   
  
   [homes]
  path = /home
  guest ok = no
  read only = no
   
  
  [share]
 path = /share
 comment = Solaris share
 guest ok = yes
 read only = no
 browseable = yes


Any ideas, thoughts, comments, suggestions and pointers will be much
appreciated!

Thanks,
Adam.


-- 

Adam Buglass,  
The Golden Freeway,
Department of Child Health,
University of Newcastle-upon-Tyne.
Royal Victoria Infirmary.

(0191) 2023062

Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote. 
~Benjamin Franklin, 1759

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba