View | Details | Raw Unified | Return to bug 39704
Collapse All | Expand All

(-)a/base/univention-base-files/conffiles/etc/ssh/sshd_config (-10 / +10 lines)
 Lines 131-138   print '# some PAM modules and threads)' Link Here 
131
if configRegistry.get('sshd/challengeresponse'):
131
if configRegistry.get('sshd/challengeresponse'):
132
	print "ChallengeResponseAuthentication %s" % configRegistry.get('sshd/challengeresponse')
132
	print "ChallengeResponseAuthentication %s" % configRegistry.get('sshd/challengeresponse')
133
	if configRegistry.get('sshd/ChallengeResponseAuthentication'):
133
	if configRegistry.get('sshd/ChallengeResponseAuthentication'):
134
		print >> sys.stderr, 'The value for ChallengeResponseAuthentication is ' \
134
		print >> sys.stderr, 'WARNING: The value for ChallengeResponseAuthentication is ' \
135
			'set twice via sshd/ChallengeResponseAuthentication and sshd/challengeresponse'
135
			'set twice: via sshd/ChallengeResponseAuthentication and sshd/challengeresponse'
136
else:
136
else:
137
	print "ChallengeResponseAuthentication %s" % configRegistry.get('sshd/ChallengeResponseAuthentication', 'yes')
137
	print "ChallengeResponseAuthentication %s" % configRegistry.get('sshd/ChallengeResponseAuthentication', 'yes')
138
print ''
138
print ''
 Lines 195-216   else: Link Here 
195
if configRegistry.get('sshd/xforwarding'):
195
if configRegistry.get('sshd/xforwarding'):
196
	print "X11Forwarding %s" % configRegistry.get('sshd/xforwarding')
196
	print "X11Forwarding %s" % configRegistry.get('sshd/xforwarding')
197
	if configRegistry.get('sshd/X11Forwarding'):
197
	if configRegistry.get('sshd/X11Forwarding'):
198
		print >> sys.stderr, 'The value for X11Forwarding is ' \
198
		print >> sys.stderr, 'WARNING: The value for X11Forwarding is ' \
199
			'set twice via sshd/X11Forwarding and sshd/xforwarding'
199
			'set twice: via sshd/X11Forwarding and sshd/xforwarding'
200
else:
200
else:
201
	print "X11Forwarding %s" % configRegistry.get('sshd/X11Forwarding', 'no')
201
	print "X11Forwarding %s" % configRegistry.get('sshd/X11Forwarding', 'no')
202
if configRegistry.get('sshd/xdisplayoffset'):
202
if configRegistry.get('sshd/xdisplayoffset'):
203
	print "X11DisplayOffset %s" % configRegistry.get('sshd/xdisplayoffset')
203
	print "X11DisplayOffset %s" % configRegistry.get('sshd/xdisplayoffset')
204
	if configRegistry.get('sshd/X11DisplayOffset'):
204
	if configRegistry.get('sshd/X11DisplayOffset'):
205
		print >> sys.stderr, 'The value for X11DisplayOffset is ' \
205
		print >> sys.stderr, 'WARNING: The value for X11DisplayOffset is ' \
206
			'set twice via sshd/X11DisplayOffset and sshd/xdisplayoffset'
206
			'set twice: via sshd/X11DisplayOffset and sshd/xdisplayoffset'
207
elif configRegistry.get('sshd/X11DisplayOffset'):
207
elif configRegistry.get('sshd/X11DisplayOffset'):
208
	print "X11DisplayOffset %s" % configRegistry.get('sshd/X11DisplayOffset')
208
	print "X11DisplayOffset %s" % configRegistry.get('sshd/X11DisplayOffset')
209
if configRegistry.get('sshd/xuselocalhost'):
209
if configRegistry.get('sshd/xuselocalhost'):
210
	print "X11UseLocalHost %s" % configRegistry.get('sshd/xuselocalhost')
210
	print "X11UseLocalHost %s" % configRegistry.get('sshd/xuselocalhost')
211
	if configRegistry.get('sshd/X11UseLocalHost'):
211
	if configRegistry.get('sshd/X11UseLocalHost'):
212
		print >> sys.stderr, 'The value for X11UseLocalHost is ' \
212
		print >> sys.stderr, 'WARNING: The value for X11UseLocalHost is ' \
213
			'set twice via sshd/X11UseLocalHost and sshd/xuselocalhost'
213
			'set twice: via sshd/X11UseLocalHost and sshd/xuselocalhost'
214
elif configRegistry.get('sshd/X11UseLocalHost'):
214
elif configRegistry.get('sshd/X11UseLocalHost'):
215
	print "X11UseLocalHost %s" % configRegistry.get('sshd/X11UseLocalHost')
215
	print "X11UseLocalHost %s" % configRegistry.get('sshd/X11UseLocalHost')
216
print ''
216
print ''
 Lines 277-284   if configRegistry.get('sshd/banner'): Link Here 
277
	print '# no default banner path'
277
	print '# no default banner path'
278
	print "Banner %s" % configRegistry.get('sshd/banner')
278
	print "Banner %s" % configRegistry.get('sshd/banner')
279
	if configRegistry.get('sshd/Banner'):
279
	if configRegistry.get('sshd/Banner'):
280
		print >> sys.stderr, 'The value for Banner is ' \
280
		print >> sys.stderr, 'WARNING: The value for Banner is ' \
281
			'set twice via sshd/Banner and sshd/banner'
281
			'set twice: via sshd/Banner and sshd/banner'
282
elif configRegistry.get('sshd/Banner'):
282
elif configRegistry.get('sshd/Banner'):
283
	print ''
283
	print ''
284
	print '# no default banner path'
284
	print '# no default banner path'

Return to bug 39704