ubuntuusers.de

samba Konfigration

Datum:
19. Juli 2011 15:13
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[global]
	name resolve order = wins lmhosts bcast
	passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
	idmap gid = 16777216-33554431
	obey pam restrictions = yes
	client signing = no
	remote browse sync = 192.168.1.255
	delete user from group script = /usr/sbin/userdel '%u' '%g'
	client schannel = no
	hosts allow = 192.168.1
	passwd program = /usr/bin/passwd '%u'
	dns proxy = no
;	netbios name = linux-2
	cups options = raw
;	disable netbios = no
	idmap uid = 16777216-33554431
	logon script = %G.bat
	local master = no
	remote announce = 192.168.1.255
	workgroup = WORKGROUP
	os level = 33
	update encrypted = yes
	printcap name = cups
	security = user
	add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
	machine password timeout = 120
	max log size = 1000
	server schannel = no
	delete user script = /usr/sbin/userdel '%u'
	winbind separator = @
	winbind nss info = no
	log file = /var/log/samba/samba.log
	passwd chat timeout = 120
	allow trusted domains = no
	add group script = /usr/sbin/groupadd '%g'
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	username level = 6
	delete group script = /usr/sbin/groupdel '%g'
	add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
	logon drive = m:
	client use spnego = no
	guest ok = yes
	interfaces = 127.0.0.1/8 192.168.1.0/24
	follow symlinks = no
	domain master = no
	username map = /etc/samba/smbusers
	winbind trusted domains only = yes
	winbind use default domain = yes
	logon home = \\%L\homes\%u
	template shell = /dev/null
	password level = 6
	server string = Samba Server-1
	winbind nested groups = no
	unix password sync = yes
	logon path = \\%L\profiles\%u
	add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
;	preferred master = no
	bind interfaces only = yes
	enable spoolss = yes
	winbind cache time = 360
;	load printers = yes
;	printing = cups
;	guest account = no
;	null passwords = no
;	encrypt passwords = yes
;	domain logons = no
;	time server = no
;	wins support = no
;	wins proxy = no
;	preserve case = yes
;	short preserve case = yes
;	server signing = no
;	nt pipe support = yes
;	nt status support = yes
;	client plaintext auth = no
;	pam password change = no
;	hostname lookups = no
;	passdb backend = tdbsam
;	winbind refresh tickets = no
;	winbind offline logon = no

[homes]
	comment = Home Directories
	path = /home
	read only = no
;	available = yes
;	browseable = yes
;	guest ok = no
;	printable = no
	locking = no
	strict locking = no

[netlogon]
	comment = Network Logon Service
	path = /home/netlogon
	read only = no
;	available = yes
;	browseable = yes
;	guest ok = no
;	printable = no
	locking = no
	strict locking = no

[profiles]
	comment = User Profiles
	path = /var/samba/profiles
	read only = no
;	available = yes
	browseable = no
;	guest ok = no
;	printable = no
	create mode = 0600
	directory mask = 0700
	locking = no
	strict locking = no

[printers]
	comment = All Printers
	path = /var/spool/samba
;	browseable = yes
;	writable = No
;	guest ok = no
	printable = yes
	locking = no
	strict locking = no

[pdf-documents]
	path = /home/pdf-documents
	comment = Converted PDF Documents
;	available = yes
;	browseable = yes
	writeable = yes
	guest ok = yes
	locking = no
	strict locking = no

[pdf-printer]
	path = /tmp
	comment = PDF Printer Service
	printable = yes
	guest ok = yes
	use client driver = yes
	printing = bsd
	print command = /usr/bin/gadmin-samba-pdf %s %u
	lpq command = 
	lprm command = 

[Shared]
	path = /home/shared
	comment = Gemeinsames Directory-1
	read only = no
;	available = yes
;	browseable = yes
;	guest ok = no
;	printable = no
	locking = no
	strict locking = no

[Shared]
	path = /home/shared
	comment = Gemeinsames Directory-1
	read only = no
;	available = yes
;	browseable = yes
;	guest ok = no
;	printable = no
	locking = no
	strict locking = no

[dddd]
;	browseable = yes
	locking = no
;	printable = no
	path = /home/shared
	strict locking = no
	comment = xxxx
	allow hosts = 192.168.1.150
;	available = yes

[ctNetzwerke11]
	comment = ct-Netzwerke
	path = /media/ctNetzwerke11
;	writeable = No
;	browseable = yes
	valid users = apricot, compaq-1$, zampano