I have samba up and running on an AIX 5.3 server. Has been working for a year.
Yesterday, users started getting a windows dialogue message "specified
network name is no longer available".
No changes to the Unix server have been made.
In my logs I get the following when a user attempts to connect:
[2009/01/16 09:30:25, 2] smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old
resources.
[2009/01/16 09:30:25, 2] smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old
resources.
Here is my smb.conf file
[global]
workgroup = MBDOMAIN
netbios name = MISUNX01
server string = AIX(%h) Samba %v
#interfaces = 192.168.4.38/255.255.255.0
interfaces = 192.168.4.38
security = DOMAIN
encrypt passwords = Yes
password server = 192.168.4.26
username map = /usr/local/samba/lib/username.map
#
# max log level is 2 - higher bombs out
log level = 2
log file = /usr/local/samba/var/log.%m
name resolve order = wins host
#name resolve order = host wins bcast
local master = No
show add printer wizard = No
wins server = 192.168.4.26
wins server = missabaydc.mbdomain.local
guest account = guest
#
# max log level is 2 - higher bombs out
debug level = 2
# Cap log file @ 50 KB
max log size = 50
socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384
keepalive = 0
mangle case = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0666
force directory mode = 0777
map archive = No
[public]
comment = Public Shared Space
path = /public
force group = bsp
read only = No
create mask = 0666
force directory mode = 0777
guest ok = Yes
map archive = No
[tmpdmp]
comment = Temporary Dump Space for Baan Admins
path = /tmpdump
Any suggestions?
Roger Bender
Unix Admin III
OneNeck IT Services Corp
480-302-6248
________________________________
Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do not
consent to Internet email for messages of this kind. Opinions, conclusions and
other information in this message that do not relate to the official business of
this company shall be understood as neither given nor endorsed by it.
I have samba up and running on an AIX 5.3 server. Has been working for a year.
Yesterday, users started getting a windows dialogue message "specified
network name is no longer available".
No changes to the Unix server have been made.
In my logs I get the following when a user attempts to connect:
[2009/01/16 09:30:25, 2] smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old
resources.
[2009/01/16 09:30:25, 2] smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old
resources.
Here is my smb.conf file
[global]
workgroup = MBDOMAIN
netbios name = MISUNX01
server string = AIX(%h) Samba %v
#interfaces = 192.168.4.38/255.255.255.0
interfaces = 192.168.4.38
security = DOMAIN
encrypt passwords = Yes
password server = 192.168.4.26
username map = /usr/local/samba/lib/username.map
#
# max log level is 2 - higher bombs out
log level = 2
log file = /usr/local/samba/var/log.%m
name resolve order = wins host
#name resolve order = host wins bcast
local master = No
show add printer wizard = No
wins server = 192.168.4.26
wins server = missabaydc.mbdomain.local
guest account = guest
#
# max log level is 2 - higher bombs out
debug level = 2
# Cap log file @ 50 KB
max log size = 50
socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384
keepalive = 0
mangle case = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0666
force directory mode = 0777
map archive = No
[public]
comment = Public Shared Space
path = /public
force group = bsp
read only = No
create mask = 0666
force directory mode = 0777
guest ok = Yes
map archive = No
[tmpdmp]
comment = Temporary Dump Space for Baan Admins
path = /tmpdump
Any suggestions?
Roger Bender
Unix Admin III
OneNeck IT Services Corp
480-302-6248
________________________________
Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do not
consent to Internet email for messages of this kind. Opinions, conclusions and
other information in this message that do not relate to the official business of
this company shall be understood as neither given nor endorsed by it.
what version of samba are you running?
3.0.4 Roger -----Original Message----- From: Adam Williams [mailto:awilliam@mdah.state.ms.us] Sent: Friday, January 16, 2009 8:29 AM To: Bender, Roger Cc: samba@lists.samba.org Subject: Re: [Samba] specified network name no longer available what version of samba are you running? Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
can they connect to the server via \\IP_ADDRESS Bender, Roger wrote:> 3.0.4 > > Roger > > -----Original Message----- > From: Adam Williams [mailto:awilliam@mdah.state.ms.us] > Sent: Friday, January 16, 2009 8:29 AM > To: Bender, Roger > Cc: samba@lists.samba.org > Subject: Re: [Samba] specified network name no longer available > > what version of samba are you running? > > Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. >
The get a windows dialogue box that says "the specified network name is no longer available". I verified my unix(samba) server was registered with the domain controller. Roger -----Original Message----- From: Adam Williams [mailto:awilliam@mdah.state.ms.us] Sent: Friday, January 16, 2009 8:33 AM To: Bender, Roger Cc: samba@lists.samba.org Subject: Re: [Samba] specified network name no longer available can they connect to the server via \\IP_ADDRESS Bender, Roger wrote:> 3.0.4 > > Roger > > -----Original Message----- > From: Adam Williams [mailto:awilliam@mdah.state.ms.us] > Sent: Friday, January 16, 2009 8:29 AM > To: Bender, Roger > Cc: samba@lists.samba.org > Subject: Re: [Samba] specified network name no longer available > > what version of samba are you running? > > Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. >Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
can you telnet to the ports that samba uses? 139 and 445. does ps -ax|grep nmbd and smbd show that they are running? Bender, Roger wrote:> The get a windows dialogue box that says "the specified network name is no longer available". > > I verified my unix(samba) server was registered with the domain controller. > > Roger > > > -----Original Message----- > From: Adam Williams [mailto:awilliam@mdah.state.ms.us] > Sent: Friday, January 16, 2009 8:33 AM > To: Bender, Roger > Cc: samba@lists.samba.org > Subject: Re: [Samba] specified network name no longer available > > can they connect to the server via \\IP_ADDRESS > > Bender, Roger wrote: > >> 3.0.4 >> >> Roger >> >> -----Original Message----- >> From: Adam Williams [mailto:awilliam@mdah.state.ms.us] >> Sent: Friday, January 16, 2009 8:29 AM >> To: Bender, Roger >> Cc: samba@lists.samba.org >> Subject: Re: [Samba] specified network name no longer available >> >> what version of samba are you running? >> >> Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. >> >> > > Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. >
When they attempt to connect I see them in a smbstatus Samba version 3.0.4 PID Username Group Machine ------------------------------------------------------------------- Service pid machine Connected at ------------------------------------------------------- IPC$ 1204270 darylmoon Fri Jan 16 10:24:55 2009 But they get the previously mentioned dialogue box. I see in the samba logs [2009/01/16 10:24:55, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user []\[]@[DARYLMOON] with the new password interface [2009/01/16 10:24:55, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [MBDOMAIN]\[]@[DARYLMOON] Roger -----Original Message----- From: Adam Williams [mailto:awilliam@mdah.state.ms.us] Sent: Friday, January 16, 2009 8:33 AM To: Bender, Roger Cc: samba@lists.samba.org Subject: Re: [Samba] specified network name no longer available can they connect to the server via \\IP_ADDRESS Bender, Roger wrote:> 3.0.4 > > Roger > > -----Original Message----- > From: Adam Williams [mailto:awilliam@mdah.state.ms.us] > Sent: Friday, January 16, 2009 8:29 AM > To: Bender, Roger > Cc: samba@lists.samba.org > Subject: Re: [Samba] specified network name no longer available > > what version of samba are you running? > > Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. >Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
Yes I can connect to port 139 and 445. Yes ps -ef shows both smbd and nmbd running. It spawns a new smbd session for each user that attempts to connect. Roger From: Adam Williams [mailto:awilliam@mdah.state.ms.us] Sent: Friday, January 16, 2009 8:40 AM To: Bender, Roger Cc: samba@lists.samba.org Subject: Re: [Samba] specified network name no longer available can you telnet to the ports that samba uses? 139 and 445. does ps -ax|grep nmbd and smbd show that they are running? Bender, Roger wrote: The get a windows dialogue box that says "the specified network name is no longer available". I verified my unix(samba) server was registered with the domain controller. Roger -----Original Message----- From: Adam Williams [mailto:awilliam@mdah.state.ms.us] Sent: Friday, January 16, 2009 8:33 AM To: Bender, Roger Cc: samba@lists.samba.org<mailto:samba@lists.samba.org> Subject: Re: [Samba] specified network name no longer available can they connect to the server via \\IP_ADDRESS Bender, Roger wrote: 3.0.4 Roger -----Original Message----- From: Adam Williams [mailto:awilliam@mdah.state.ms.us] Sent: Friday, January 16, 2009 8:29 AM To: Bender, Roger Cc: samba@lists.samba.org<mailto:samba@lists.samba.org> Subject: Re: [Samba] specified network name no longer available what version of samba are you running? Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. ________________________________ Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
Things are strange
Smbclient shows
MISUNX01:/usr/local/samba/var > smbclient -L misunx01
Password:
Anonymous login successful
Domain=[MBDOMAIN] OS=[Unix] Server=[Samba 3.0.4]
Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
public Disk Public Shared Space
tmpdmp Disk Temporary Dump Space for Baan Admins
IPC$ IPC IPC Service (AIX(misunx01) Samba 3.0.4)
ADMIN$ IPC IPC Service (AIX(misunx01) Samba 3.0.4)
session setup failed: Call returned zero bytes (EOF)
NetBIOS over TCP disabled -- no workgroup available
Then 30 seconds later it shows
MISUNX01:/usr/local/samba/var > smbclient -L misunx01
Password:
Anonymous login successful
Domain=[MBDOMAIN] OS=[Unix] Server=[Samba 3.0.4]
Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
public Disk Public Shared Space
tmpdmp Disk Temporary Dump Space for Baan Admins
IPC$ IPC IPC Service (AIX(misunx01) Samba 3.0.4)
ADMIN$ IPC IPC Service (AIX(misunx01) Samba 3.0.4)
Anonymous login successful
Domain=[MBDOMAIN] OS=[Unix] Server=[Samba 3.0.4]
Server Comment
--------- -------
MISUNX01 AIX(misunx01) Samba 3.0.4
Workgroup Master
--------- -------
MBDOMAIN
Roger
From: Adam Williams [mailto:awilliam@mdah.state.ms.us]
Sent: Friday, January 16, 2009 8:40 AM
To: Bender, Roger
Cc: samba@lists.samba.org
Subject: Re: [Samba] specified network name no longer available
can you telnet to the ports that samba uses? 139 and 445. does ps -ax|grep
nmbd and smbd show that they are running?
Bender, Roger wrote:
The get a windows dialogue box that says "the specified network name is no
longer available".
I verified my unix(samba) server was registered with the domain controller.
Roger
-----Original Message-----
From: Adam Williams [mailto:awilliam@mdah.state.ms.us]
Sent: Friday, January 16, 2009 8:33 AM
To: Bender, Roger
Cc: samba@lists.samba.org<mailto:samba@lists.samba.org>
Subject: Re: [Samba] specified network name no longer available
can they connect to the server via \\IP_ADDRESS
Bender, Roger wrote:
3.0.4
Roger
-----Original Message-----
From: Adam Williams [mailto:awilliam@mdah.state.ms.us]
Sent: Friday, January 16, 2009 8:29 AM
To: Bender, Roger
Cc: samba@lists.samba.org<mailto:samba@lists.samba.org>
Subject: Re: [Samba] specified network name no longer available
what version of samba are you running?
Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do not
consent to Internet email for messages of this kind. Opinions, conclusions and
other information in this message that do not relate to the official business of
this company shall be understood as neither given nor endorsed by it.
Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do not
consent to Internet email for messages of this kind. Opinions, conclusions and
other information in this message that do not relate to the official business of
this company shall be understood as neither given nor endorsed by it.
________________________________
Privileged/Confidential Information may be contained in this message or
attachments hereto. Please advise immediately if you or your employer do not
consent to Internet email for messages of this kind. Opinions, conclusions and
other information in this message that do not relate to the official business of
this company shall be understood as neither given nor endorsed by it.
dumb question, but have you tried restarting smbd and nmbd?
Yeah, couple hundred times............... Roger -----Original Message----- From: Adam Williams [mailto:awilliam@mdah.state.ms.us] Sent: Friday, January 16, 2009 9:08 AM To: Bender, Roger Cc: samba@lists.samba.org Subject: Re: [Samba] specified network name no longer available dumb question, but have you tried restarting smbd and nmbd? Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.