Is there some reason that you have listed so many parameters that are
default as you have them listed? Makes me tired just reading all of
them, :o)
Another thought is that samba is working properly and Linux is not.
That is that the passwords in linux have an expiration date for those
users that are being difficult. Try checking the status of the users
password by doing passwd -S <username> and check against one of the
users who is not having any difficulty just to see if there are any
differences.
Having never used pam,, is that a way to do a similar operation on pam
passwords?
Michael C. Rock
Systems Analyst
Registered Linux User # 287973
"The time has come the walrus said to speak of many things,,"
"Christians give up what they cannot keep to gain what they cannot lose"
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Seth Hollen
Sent: Friday, November 21, 2003 2:14 PM
To: slug@nks.net
Subject: RE: [SLUG] Strange samba problem
I posted the smb.conf in my last post.
there are only 3 directories shared, 1 for all, 1 for accounting, the
other
for the managers that's it.
Take care,
Seth
727-919-1598
seth@opentechinc.net
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Rock
Sent: Friday, November 21, 2003 2:06 PM
To: slug@nks.net
Subject: RE: [SLUG] Strange samba problem
Did you set directories for each user to use as a file server location?
You
did say that the use was for a file server did you not? Are they all
using
the same files?
Can you either post your smb.conf file or email it to me?
Michael C. Rock
Systems Analyst
Registered Linux User # 287973
Mikerock01@mindspring.com
"The time has come the walrus said to speak of many things,,"
"Christians
give up what they cannot keep to gain what they cannot lose"
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Seth Hollen
Sent: Friday, November 21, 2003 1:39 PM
To: slug@nks.net
Subject: RE: [SLUG] Strange samba problem
not using home directories,
the passwords are all the same for standard users, it a simple character
string, no numbers even.
here is the smb.conf in question
--------
# Global parameters
[global]
coding system =
client code page = 850
code page directory = /etc/codepages
workgroup = XXXXXXXXXXXXXXXXX
netbios name = FLR
netbios aliases =
netbios scope =
server string = samba server %v
interfaces =
bind interfaces only = No
security = USER
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Never
null passwords = No
obey pam restrictions = Yes
password server =
smb passwd file = /etc/samba/smbpasswd
root directory =
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
passwd chat debug = No
username map = /etc/samba/smbusers
password level = 0
username level = 0
unix password sync = Yes
restrict anonymous = No
lanman auth = Yes
use rhosts = No
admin log = No
log level = 3
syslog = 1
syslog only = No
log file = /var/log/samba/%m.log
max log size = 1000
timestamp logs = Yes
max mux = 50
max xmit = 16644
name resolve order = lmhosts host wins bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = No
os level = 65
lm announce = Auto
lm interval = 60
preferred master = Yes
local master = Yes
domain master = No
browse list = Yes
enhanced browsing = Yes
dns proxy = No
wins proxy = No
wins server =
wins support = Yes
wins hook =
kernel oplocks = Yes
lock dir = /var/cache/samba
pid directory = /var/run/samba
remote announce = 192.168.2.255
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
comment =
path =
alternate permissions = No
username =
guest account = nobody
invalid users =
valid users =
admin users = seth,richard
read list =
write list =
printer admin =
force user =
force group =
read only = Yes
create mask = 0775
force create mode = 00
security mask = 0777
force security mode = 00
directory mask = 0755
force directory mode = 00
directory security mask = 0777
force directory security mode = 00
force unknown acl user = 00
inherit permissions = No
inherit acls = No
guest only = No
guest ok = No
only user = No
hosts allow = 192.168.2. 127.
hosts deny =
status = Yes
nt acl support = Yes
profile acls = No
[Accounting]
comment = xxxxxxxxxxxxxxxx
path = /data/accounting
valid users = xxxxxxxxxxxxxxxxxxxxx
read only = No
create mask = 0770
force create mode = 0770
force directory mode = 0770
[managers]
comment = Managers only
path = /managers
valid users = xxxxxxxxxxxxxxxxxxxxxxxx
read only = No
create mask = 0770
force create mode = 0770
force directory mode = 0770
[data]
comment = Data storage for everyone
path = /data
valid users = @xxxxxx,all,xxxxxxxxxxx
read only = No
force create mode = 0775
force directory mode = 0775
guest ok = Yes
Take care,
Seth
727-919-1598
seth@opentechinc.net
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Rock
Sent: Friday, November 21, 2003 12:43 PM
To: slug@nks.net
Subject: RE: [SLUG] Strange samba problem
Seth,
Are these 'home' directories ( as in the smb.conf file) that you have
created on the RH box?
I have home directories set up on a RH 8.0 box with my clients coming in
from NT, and W2K. All I do to add another client is set the smbpasswd
and
add a user to linux with the same password. Also the same password as
their
MS password. Then I map the drive to their linux share so I can create
a
folder on their desktop and the rest is history. I never use smbclient
to
set anything, and don't know the advantage of doing so.
I am a simple guy and try to keep everything as simple and uncomplicated
as
possible.
Michael C. Rock
Systems Analyst
Registered Linux User # 287973
"The time has come the walrus said to speak of many things,,"
"Christians
give up what they cannot keep to gain what they cannot lose"
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Seth Hollen
Sent: Friday, November 21, 2003 9:58 AM
To: slug@nks.net
Subject: [SLUG] Strange samba problem
I have a redhat9 box running samba 2.2.8a acting as a file server for
about
12 computers. 10 are windows 2000, 1 XP-pro, and 1 Win98. 2 users are
unable
to connect every couple of days. If I reset their password in linux (not
samba) they can get back in for a day or two. The 2 usernames are
"chris"
and "show1"
[root@xxxxxxx root]# smbclient //flr/data -Uchris%password added
interface
ip=192.168.2.10 bcast=192.168.2.255 nmask=255.255.255.0 session setup
failed: NT_STATUS_LOGON_FAILURE [root@xxxxxxx root]#
Now I reset his password to the SAME ONE HE HAS...
[root@xxxxxxx root]# passwd chris
Changing password for user chris.
New password:
BAD PASSWORD: it is too short
Retype new password:
passwd: all authentication tokens updated successfully. [root@xxxxxxx
root]#
smbclient //flr/data -Uchris%password added interface ip=192.168.2.10
bcast=192.168.2.255 nmask=255.255.255.0 Domain=[xxxxxxx] OS=[Unix]
Server=[Samba 2.2.8a]
smb: \>
Can anyone help me out here.. I have no idea how this happens to only
these
2 machines.
Take care,
Seth
seth@hollen.org
727-919-1598
--Open Tech Inc.--
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted
are those of the author and do not necessarily reflect the official
policy
or position of NKS or any of its employees.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted
are those of the author and do not necessarily reflect the official
policy
or position of NKS or any of its employees.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted
are those of the author and do not necessarily reflect the official
policy
or position of NKS or any of its employees.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted
are those of the author and do not necessarily reflect the official
policy
or position of NKS or any of its employees.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:01:38 EDT