@%@UCRWARNING=# @%@

[global]

	debug level = @%@samba/debug/level@%@
	syslog = 0
	max log size = 1000000

@!@
if configRegistry.has_key('samba/serverstring') and configRegistry['samba/serverstring']:
	print '\tserver string = %s' % configRegistry['samba/serverstring']
else:
	print '\tserver string = %h univention corporate server'

for key, smbstring in [('samba/interfaces','interfaces'),
		       ('samba/charset/dos', 'dos charset'),
		       ('samba/charset/unix', 'unix charset'),
		       ('samba/charset/display', 'display charset'),
		       ('samba/enable-privileges', 'enable privileges'),
			   ('samba/interfaces/bindonly', 'bind interfaces only'),]:
	if configRegistry.has_key(key) and configRegistry[key]:
		print '\t%s = %s' % (smbstring, configRegistry[key])

if configRegistry.has_key('samba/socket_options') and configRegistry['samba/socket_options']:
	print '\tsocket options = %s' % configRegistry['samba/socket_options']
@!@
