Ik ben al enige tijd bezig om een workstation, die nu als fileserver dient, over te zetten naar een samba server op linux. Daarbij wil ik hem meteen als Primary Domain Controller inzetten.
De huidige situatie is dat er 10 workstations zijn, genaamd alembic1 t/m alembic10. Op elke computer staan dezelfde users met een eigen lokaal profiel.
Wat ik nu wil is dat er op de linux servers dezelfde users komen als op alle workstations nu, zodat de users en passwords op 1 plek bewaard worden.
Wat ik me nu afvraag: Welke users moet ik nu allemaal aanmaken. Heb ik unix users nodig? En moet ik die daarna ook nog met smbpasswd aanmaken?
Oftewel, kan iemand mij uitleggen hoe het precies zit met die users.
Daarnaast vraag ik me ook af hoe ik nu moet inloggen op het domein, want het lijkt er op dat hij wil inloggen met de computernaam (dus alembic6 ofzo) in plaats van de usernaam.
Ik krijg nu de error: " The account used is a computer account. User your global user account or local user account to access this server"
mijn smb.conf is als volgt:
De huidige situatie is dat er 10 workstations zijn, genaamd alembic1 t/m alembic10. Op elke computer staan dezelfde users met een eigen lokaal profiel.
Wat ik nu wil is dat er op de linux servers dezelfde users komen als op alle workstations nu, zodat de users en passwords op 1 plek bewaard worden.
Wat ik me nu afvraag: Welke users moet ik nu allemaal aanmaken. Heb ik unix users nodig? En moet ik die daarna ook nog met smbpasswd aanmaken?
Oftewel, kan iemand mij uitleggen hoe het precies zit met die users.
Daarnaast vraag ik me ook af hoe ik nu moet inloggen op het domein, want het lijkt er op dat hij wil inloggen met de computernaam (dus alembic6 ofzo) in plaats van de usernaam.
Ik krijg nu de error: " The account used is a computer account. User your global user account or local user account to access this server"
mijn smb.conf is als volgt:
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
| # 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]
name resolve order = wins lmhosts bcast
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
browse list = yes
time server = Yes
hosts allow = 192.168.0.
passwd program = /usr/bin/passwd %u
dns proxy = No
netbios name = alemserv
writable = no
logon script = scripts\%U.bat
lock dir = /var/lock/samba
default = global
remote announce = 192.168.0.255
local master = yes
workgroup = Alembic
os level = 65
auto services = printers homes
printcap name = /etc/printcap
security = user
domain admin group = administrator @adm
max log size = 1000
log file = /var/log/samba/log.%m
smb passwd file = /etc/samba/smbpasswd
load printers = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon drive = h:
guest ok = no
create mask = 0740
interfaces = eth1 127.0.0.1
domain master = yes
username map = /etc/samba/smbusers
encrypt passwords = yes
browsable = yes
wins proxy = yes
wins support = no
server string = Alembic FileServer
unix password sync = yes
add user script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %m$
directory mask = 0750
syslog = 0
preferred master = yes
bind interfaces only = Yes
domain logons = Yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
[root]
printable = no
writeable = yes
path = /share
revalidate = yes
create mask = 0777
comment = Alle shares
valid users = administrator
directory mode = 0777
[... veel shares die er allemaal ongeveerd uitzien zoals root, maar dan een subdir van /share sharen...]
[Profiles]
comment = Roaming profiles directory
path = /share/Profiles
read only = No
create mask = 0600
directory mask = 0700 |