Bij het bedrijf waar ik zo nu en dan op oproepbasis de computer- & netwerkondersteuning doe staat een zwaardere Dell-pc die fungeert als linux fileserver.
Het OS is Red Hat (9 meen ik) en er draait Samba op voor de Windows gebruikers (iedereen).
Nu heeft dit geheel prima gedraaid voor circa een jaar, maar nu doen er zich problemen voor.
Wanneer een client na ca. een dag probeert in te loggen om bij de shares te kunnen lukt dit niet meer.
Om dit probleem te verhelpen moeten we inloggen op de server en opnieuw het wachtwoord instellen voor de gebruiker (passwd en smbpasswd). De inhoud van het wachtwoord blijft hierbij ongewijzigd.
Ik heb al vanalles gezocht op internet en ook vanalles geprobeerd.
Het probleem is ontstaan (denken we) na een wijziging in de smb.conf Samba-configuratie. Wat er destijds is veranderd had puur en alleen met de shares te maken, niet met de globale configuratie.
Momenteel heb ik de afdelingsleider permissie gegeven om zelf de gebruikers opnieuw te voorzien van hun wachtwoord zodat zij door kunnen met werken (touroperators), maar het probleem moet zo spoedig mogelijk opgelost worden.
Wie weet wat de oorzaak van dit probleem kan zijn?
PS. De configuratie van de Samba-server wordt gedaan met de Red Hat utility die inbegrepen is de de standaard distro (System Settings > Server Configuration > Samba server).
Hier een dump van de smb.conf (security mode = USER):
Het OS is Red Hat (9 meen ik) en er draait Samba op voor de Windows gebruikers (iedereen).
Nu heeft dit geheel prima gedraaid voor circa een jaar, maar nu doen er zich problemen voor.
Wanneer een client na ca. een dag probeert in te loggen om bij de shares te kunnen lukt dit niet meer.
Om dit probleem te verhelpen moeten we inloggen op de server en opnieuw het wachtwoord instellen voor de gebruiker (passwd en smbpasswd). De inhoud van het wachtwoord blijft hierbij ongewijzigd.
Ik heb al vanalles gezocht op internet en ook vanalles geprobeerd.
Het probleem is ontstaan (denken we) na een wijziging in de smb.conf Samba-configuratie. Wat er destijds is veranderd had puur en alleen met de shares te maken, niet met de globale configuratie.
Momenteel heb ik de afdelingsleider permissie gegeven om zelf de gebruikers opnieuw te voorzien van hun wachtwoord zodat zij door kunnen met werken (touroperators), maar het probleem moet zo spoedig mogelijk opgelost worden.
Wie weet wat de oorzaak van dit probleem kan zijn?
PS. De configuratie van de Samba-server wordt gedaan met de Red Hat utility die inbegrepen is de de standaard distro (System Settings > Server Configuration > Samba server).
Hier een dump van de smb.conf (security mode = USER):
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
| # This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
# De variabelen hieronder zijn duidelijk zonder beschrijving.
# Gebruik de manual pages voor eventuele verklaring
workgroup = touroperators
server string = smbserver
;hosts allow = 192.168.1. 192.168.2. 127.
;guest account = pcguest
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m-%U.log
log level = 0 vfs:x
max log size = 0
encrypt passwords = yes
;smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username map = /etc/samba/smbusers
include = /etc/samba/smb.conf.%m
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
time server = yes
# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.
pam password change = yes
# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes
obey pam restrictions = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no
#============================ Share Definitions ==============================
;[homes]
; comment = Home Directories
; browseable = no
; writeable = yes
; valid users = %S
; create mode = 0664
; directory mode = 0775
[TiaraTours]
comment = Tiara Tours documenten
path = /share/tiara
guest ok = yes
writeable = yes
printable = no
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Uitwisselmap]
comment = Map voor het uitwisselen van documenten tussen computers
path = /share2/Uitwisselmap
guest ok = yes
writeable = yes
printable = no
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
[Fotoarchief]
comment = Fotoarchief
path = /share2/fotoarchief
guest ok = yes
writeable = yes
printable = no
guest ok = yes
create mask = 0755
force create mode = 0755
directory mask = 0755
force directory mode = 0755
[InternetSites]
comment = Website's
path = /share2/InternetSites
guest ok = yes
writeable = yes
printable = no
guest ok = yes
create mask = 0755
force create mode = 0755
directory mask = 0755
force directory mode = 0755
[Templates]
comment = Office Templates
path = /share/Templates
guest ok = yes
writeable = yes
printable = no
guest ok = yes
create mask = 0755
force create mode = 0755
directory mask = 0755
force directory mode = 0755 |
[ Voor 4% gewijzigd door The Specialist op 10-03-2006 13:40 ]
Programming is like sex, one mistake, and you have to support it for life
my software never has bugs....it just develops random features