Ik heb samba 2.2 er opgezet en heb mijn oude script/config van samba 2.0 gebruikt. Dit zou op zich moeten werken. Met Samba 2.0 had ik altijd het volgende: als een user inlogde zag hij 3 directory's: Zijn eigen home-dir. De dir van de user upload en de www-dir. Hier is het script:
Ziet er iemand hier de fout of weet iemand wat er sinds 2.2 anders moet ? Ik zie nu alleen de upload dir en de www-dir. De home-user dir ontbreekt bij iedere user. smbd en nmbd draaien gewoon. ./smbclient -L localhost geeft de volgende output:
iemand
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
| [global]
workgroup = QOD
printcap name = /etc/printcap
log file = /var/log/samba/log.%m
max log size = 50
default = global
netbios name = Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
netbios aliases = Server
load printers = no
dns proxy = no
path = \home\upload
wins support = true
share modes = yes
interfaces = 192.168.0.1/24
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
[homes]
writable = yes
comment = Home Directories
browseable = no
create mode = 0750
[public]
comment = Public Stuff
path = /home/upload/
public = yes
writable = yes
printable = no
guest ok = yes
read only = no
[www]
comment = Public Stuff
path = /www/
public = yes
writable = no
printable = no
guest ok = yes
read only = no
browseable = yes |
Ziet er iemand hier de fout of weet iemand wat er sinds 2.2 anders moet ? Ik zie nu alleen de upload dir en de www-dir. De home-user dir ontbreekt bij iedere user. smbd en nmbd draaien gewoon. ./smbclient -L localhost geeft de volgende output:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| [root@server bin]# ./smbclient -L localhost
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[QOD] OS=[Unix] Server=[Samba 2.2.3a]
Sharename Type Comment
--------- ---- -------
public Disk Public Stuff
www Disk Public Stuff
IPC$ IPC IPC Service (Samba 2.2.3a)
ADMIN$ Disk IPC Service (Samba 2.2.3a)
Server Comment
--------- -------
SERVER Samba 2.2.3a
Workgroup Master
--------- -------
QOD
[root@server bin]# |
iemand
http://www.xbmcfreak.nl/