ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/Ldap.ybc

YaST bytecode 1.4.0LdapLdap.ycp	Autologin	Directory	FileUtilsDNSHostnameLabelMessageMode	Nsswitch
PackagePamPopup
ProductFeaturesProgressReportServiceStageSummaryuse_guibase_config_dn	ldap/routines.ycpget_rdn		get_cn		get_dn		
get_new_dn			
get_string		required_packages	
write_onlystart	old_start
nis_available _autofs_allowed!
_start_autofs"
login_enabled#member_attribute	$old_member_attribute	%server	&
old_server	'modified(openldap_modified)base_dn	*old_base_dn	+base_dn_changed,ldap_v2-ldap_tls.
tls_cacertdir	/tls_cacertfile	0
tls_checkpeer	1pam_password	2plus_lines_passwd	3default_port4file_server5nss_base_passwd	6nss_base_shadow	7nss_base_group	8	user_base	9
group_base	:nsswitch;	anonymous<	bind_pass	=bind_dn	>current_module_dn	?current_template_dn	@create_ldapAndsBtls_switched_offCnds_checkedDoesE	expert_uiFnew_objectsGbase_template_dn	H
ldap_modifiedIconfig_modulesJ	templatesKboundL	groups_dnMobject_classesN
attr_typesOhash_schemasPavailable_config_modules	Qinitial_defaultsRinitial_defaults_usedSschema_initializedTldap_initializedU
read_settingsVrestart_sshdWpasswd_readX	mkhomedirY	ppolicies	Z
BaseDNChanged[
DomainChanged\	GetBaseDN	]	GetDomain	^	SetBaseDN	_	SetDomain	`SetDefaultsaSetReadSettingsbAutoPackagescSetdImporteExportfSummary	gShortSummary	hReadLdapConfEntry			iReadLdapConfEntries		jWriteLdapConfEntry		kWriteLdapConfEntries		lAddLdapConfEntry		mCheckOESnReadoLDAPErrorMessage		pLDAPErrorMapq	LDAPError	r	GetBindDN	sGetFirstServer		tGetFirstPort	uLDAPInit	vConnectWithoutTLSwLDAPInitWithTLSCheck	xLDAPBind		yGetLDAPPassword	zLDAPAskAndBind	{SingleValued	|AttributeDescription		}ObjectClassExists	~ObjectClassStructural	GetAllAttributes	GetRequiredAttributes		GetOptionalAttributes		GetObjectAttributesAddMissingAttributes
InitSchema	ConvertDefaultValues
ReadTemplates	ReadConfigModules	GetLDAPEntry	ParentExists	GetMainConfigDN	GetConfigModulesGetTemplatesGetDefaultObjectClassesCreateTemplate		CreateModule			ReadDN			GetGroupsDN	CheckTemplateDN	CommitConfigModulesCommitTemplatesWriteToLDAP	WriteLDAPWriteOpenLdapConf
WritePlusLineCheckOrderOfCreationCreateDefaultLDAPConfigurationCheckNDSWrite
WriteNowCheckBaseConfig	SetBindPassword	SetAnonymousSetGUIRestartSSHD}&+.4:?@F  K!!O""T##Y$$Z%%_&&`''c((f,,n--o..s//t00v11y22|33~445566778899;;<<==>>??@@AABBFFGGHHIIJJKKLLMMNNOOPPQQRRSS
TTUUVVXX"YY%ZZ.[[3\\:]]?^^Gnew_base_dn	__P
new_domain	``Xsettingsaacreadbbncc}settingsddsettingseeffggmmlnnuoo*type	error	ppqqrrssservers	ttservers	uuvverrmapwwargsxxOpass	yydenable_anonymouszzenable_anonymous{{attr	||attr	}}class	~~class	class	class	class	classes object0Itempl[wdn	dn	template
cn	classes	*cn	class	hbase	
search_filter	base	dn	modulestemplsobjects*objectsEologinabort2
T
dn	{
pass	
anon
gui
restart3UI	UserInput
OpenDialogCloseDialogChangeWidget

QueryWidget


ReplaceWidget
SetFocus
3SCRReadWriteExecuteUnmountAgent0ldap-client3	AutologinReadWrite3	Directoryvardir	3	FileUtilsExists	3DNSIsHostLocal	3Hostname
CurrentDomain	3LabelCancelButton		YesButton	NoButton	OKButton	ErrorMsg	3MessageErrorWritingFile		FailedToInstallPackages	3Modecommandlineautoinsttest3NsswitchWriteWriteDb		WriteAutofs	ReadDb		3Package	Installed	InstalledAll	
InstallAll	3PamRemove	Set	Enabled	Add	3PopupError	YesNo	3ProductFeatures
GetFeature		3ProgressNew					NextStage3ReportError	3ServiceEnabled	Start	Stop	Status	Adjust		
RunInitScript		Restart	3 Stagecont3!Summary
NotConfigured		AddHeader			AddLine			$&$+1.ldap/routines.ycp0
ldap-client%dn	.dn_list.$			splitstring			,-	%dn	.rdn	.$- 		issubstring		=			substring		+		search		=%'cn	..-)		
sformat		
cn=%1,%2%0cn	dn	..-2		tolower				
sformat		
cn=%1%2		issubstring		,			substring				search		,%:objectattr	..(<-=	->	2Ldap.ycp$4	$:$?$@$F$K $O!$T"$Y#$Z$$_%$`&$c'$f($i)$j*$k+$n,$o-$s.$t/$v0yes$y1exop$|2	$~3$4$5$6$7$8$9$:
groupgroup_compatpasswd
passwd_compat$;$<$=$>$?$@$A$B$C$D$E$F
suseGroupConfiguration
suseMaxUniqueId60000suseMinUniqueId1000suseNextUniqueId1000suseSearchFilterobjectClass=posixGroupsuseGroupTemplate
objectClasstopsuseObjectTemplatesuseGroupTemplatesuseNamingAttributecn
susePluginUsersPluginLDAPAllsuseUserConfiguration
suseMaxPasswordLength8suseMaxUniqueId60000suseMinPasswordLength5suseMinUniqueId1000suseNextUniqueId1000susePasswordHashSSHAsuseSearchFilterobjectClass=posixAccountsuseSkelDir	/etc/skelsuseUserTemplate
objectClasstopsuseObjectTemplatesuseUserTemplatesuseDefaultValuehomeDirectory=/home/%uidloginShell=/bin/bashsuseNamingAttributeuid
susePluginUsersPluginLDAPAll$G$H$I
$J
$K$L	$M
$N
$O	CLEARCRYPTSHASSHAMD5SMD5$P	suseUserConfigurationsuseGroupConfiguration$Q
$R$
S$T$U$V$W$"X$%Y
%.Z-/+%3[-4Z%:\-;)%?]-@\%G^&H)(I&&)**4J&K+%P_-Q^%X`,Z	
y2milestone	
using initial defaults: %1&[Qeval-\%ca&eU-fU%nb(p&q	union	pam_ldapnss_ldap-sinstallremove	%}c&~
start_ldap&%	ldap_server&)	ldap_domain&,ldap_v2&-ldap_tls&1	pam_passwordexop&=	bind_dn&4file_server&	base_config_dn&5	nss_base_passwd&6	nss_base_passwd&7	nss_base_group&#	member_attributemember&@create_ldap&"
login_enabled&!start_autofs&.	
tls_cacertdir&/	tls_cacertfile&0	
tls_checkpeeryes&X	mkhomedirX(!&	union	autofs&*)&&%&$#&'&(-%d,c-%ee	$

start_ldapldap_server%ldap_domain)ldap_v2,ldap_tls-bind_dn=file_server4base_config_dnpam_password1member_attribute#create_ldap@
login_enabled"	mkhomedirX(0yes'
tls_checkpeer0(.'
tls_cacertdir.(/'tls_cacertfile/(5)'nss_base_passwd5(6)'nss_base_shadow6(7)'nss_base_group7( 'start_autofs!-%fsummary	$&LDAP Client Enabledldap-client&Yesldap-client&LDAP Domainldap-client&))&LDAP Serverldap-client&%%&LDAP Version 2ldap-client&,Yesldap-client&LDAP TLS/SSLldap-client&-Yesldap-client-%gnc	summary	$$&+			+					
sformat		
<b>Servers</b>:%1<br>ldap-client%%		
sformat		
<b>Base DN</b>:%1<br>ldap-client))		
sformat		
<b>Client Enabled</b>:%1ldap-clientYesldap-clientNoldap-client(!&+			+			<br>Automounter Configuredldap-client(-4&+			+			<br>LDAP TLS/SSL Configuredldap-client-%hentry	defvalue	value	ret$$	SCR::Read	add	!.etc.ldap_conf.v."/etc/ldap.conf"(&(4&	&		
sformat		
%1-%&ientry	ret$(	SCR::Read	add	!.etc.ldap_conf.v."/etc/ldap.conf"(*-+	(,4--.	-1		
sformat		
%1%9jentry	value	,;
SCR::Write	add	!.etc.ldap_conf.v."/etc/ldap.conf"%Hkentry	value	current	values	$Ji$K	,L		foreachval	lval$M			splitstring			 	(N		tolower					tolower			&O			add&Q			add			mergestring			 (Ssize&T			mergestring			 ,U
SCR::Write	add	!.etc.ldap_conf.v."/etc/ldap.conf"%]lentry	value	current	$_i&`				mapliste			tolower		(b!		contains		tolower		4c,d
SCR::Write	add	!.etc.ldap_conf.v."/etc/ldap.conf"union%lm&mDNOVLam-nD%un$&wEglobalsui_modeexpert,zm,|		foreachdb		passwdgroup
passwd_compatgroup_compat'}:&||||contains:passwd	ldap&&contains:passwd	compatcontains:
passwd_compat	ldap&&Dcontains:passwd	nam&&||contains:passwd	nis&&contains:passwd	compat||contains:
passwd_compat	nissize:
passwd_compat	&&&ypbind&%hhost&)hbase&*)&&%(&&&&||%&&%	127.0.0.1)dc=example,dc=com/usr/bin/dig!
4domain	outfirst	srv	$(&&4out$SCR::Execute.target.bash_output
domainname(exit&			deletechars				stdout
$SCR::Execute.target.bash_output		
sformat		
dig SRV _ldap._tcp.%1 +short$			splitstring				stdout
	$			splitstring			 	(4dn	&%			substring		-	size	,	
y2milestone	
(LDAP server address acquired from DNS...$,		foreachpart				splitstring			.(&+			,&+			+			dc=(SCR::Execute.target.bash		
sformat		
Pldapsearch -x -h %1 -s base -b '' namingContexts | grep -i '^namingContexts: %2'%4,	
y2milestone	
proposing DN %1 based on %2&)&,hldap_version32&-hsslno	start_tls&.h
tls_cacertdir&/htls_cacertfile&0h
tls_checkpeeryes&5hnss_base_passwd)&6hnss_base_shadow)&7hnss_base_group)&1hpam_passwordexop(1exop4(&&SCR::Execute.target.bashldapsearch -x -b '' -s baseSCR::Execute.target.bashrldapsearch -x -b '' -s base supportedExtension | grep -i '^supportedExtension:[[:space:]]*1.3.6.1.4.1.4203.1.11.1'4,	
	y2warning	
3'exop' value not supported on server, using 'crypt'&1crypt&		SCR::Read.sysconfig.ldap.BASE_CONFIG_DN(&&4		SCR::Read.sysconfig.ldap.FILE_SERVERyes(||U=4&=		SCR::Read.sysconfig.ldap.BIND_DN(||==&=hbinddn(||U#4	map_attrs	$inss_map_attribute,		foreachmap_attr	(		issubstring				tolower		uniquemember4attr	$			splitstring			 	(		tolower			uniquemember4&##	(#uniquemember&#uniqueMember&$#& &!&& autofs(!SCR::Execute.passwd.init
base_directory/etc4error	$		SCR::Read
.passwd.error,	
y2error	
	error: %14&W&2		SCR::Read.passwd.passwd.pluslines,		foreach	plus_line	2plus	$			splitstring			:(-size	
/sbin/nologin&"&X
	mkhomedir,(4(
sizeQ4old_s	old_d	old_m	,	
y2milestone	
using values defined externaly$&$*$$,cQ&&&*&$(#4&#member&'- %*o
ldap_error
error_typeret	$,
initialize*
The server could be down or unreachable.
ldap-client
missing_dn(
The value of DN is missing or invalid.
ldap-clientat_not_found
Attribute type not found.
ldap-clientoc_not_found
Object class not found.
ldap-client$>init4Connection to the LDAP server cannot be established.ldap-clientbind7A problem occurred while connecting to the LDAP server.ldap-clientread;A problem occurred while reading data from the LDAP server.ldap-clientusers,There was a problem with writing LDAP users.ldap-clientgroups-There was a problem with writing LDAP groups.ldap-clientwrite9There was a problem with writing data to the LDAP server.ldap-clientschema=A problem occurred while reading schema from the LDAP server.ldap-client(O||!
4P,Q	
y2error	
	Unknown LDAP error,R	
y2error	
	-S(V&VYaST error?,XHBoxHSpacing0.5VBoxVSpacing0.5LeftHeadingLabelAn unknown LDAP error occurred.ldap-clientReplacePointidrpEmptyVSpacing0.5LeftCheckBoxiddetailsoptnotify
&Show Detailsldap-client
PushButtonidokoptkey_F10defaultHSpacing0.5$i(j,kiddetailsEnabled*l&n(odetails4p(qiddetailsValue,ridrpVBoxLabel	,uidrpEmpty&&okcancel,y%p-	SCR::Read.ldap.error%qerr_maperror	$p$	msg(	
server_msg4&		
sformat		
%1
%2	
server_msg-%r(&&<	size	=4,	
y2milestone	
.--- bind dn not read yet or empty, reading now&=		SCR::Read.sysconfig.ldap.BIND_DN(||==&=hbinddn-=%s	l_serverssrv	(&&<4,	
y2milestone	
---- server not read yet or empty, reading now&hhost$			splitstring			 	$	-			splitstring			:	%t	l_serverssrv	s_port	(&&<4,	
y2milestone	
---- server not read yet or empty, reading now&hhost$			splitstring			 	$	(!		issubstring		:-3$			substring		+		search		:(||	tointeger-3-	tointeger%uret	argsinit$$hostnames%portt%version,use_tls-yesno$SCR::Execute.ldap(4&5Unknown error. Perhaps 'yast2-ldap' is not available.ldap-client4&T(!4&q-%vret,HBoxHSpacing0.5VBox	VSpacing0.5LeftHeadingLeftLabel4Connection to the LDAP server cannot be established.ldap-clientReplacePointidrpEmptyVSpacing0.2LeftCheckBoxiddetailsoptnotify
&Show Detailsldap-clientVSpacingLeftLabelA possible reason for the failed connection may be that your client is
configured for TLS/SSL but the server does not support it.

Retry connection without TLS/SSL?
ldap-clientHBox
PushButtonidyesoptkey_F10default
PushButtonidnooptkey_F9HSpacing0.5$*&(details4	(
iddetailsValue,idrpVBoxLabel	msg,idrpEmpty&&yesno,-yes%wret	initunknown	$(
&hostnames%portt%version,use_tls-yesno$$SCR::Execute.ldap$&5Unknown error. Perhaps 'yast2-ldap' is not available.ldap-client('4(&)4,(-!4.errmap$/p(0&&&&	use_tlsyes	tls_errorv42'3use_tls&4SCR::Execute.ldap(5&6(7!&8q4:,;	
y2milestone	
switching TLS off...&<B4@&A	msg(B	
server_msg&C		
sformat		
%1
%2	
server_msg&FT-H%Oxret	$Q(R4Sargs$T
(U!;&Vbind_dn=bind_pw(W!SCR::Execute
.ldap.bind&Xq&ZK-\%dyretpw	,f
opt	decoratedVBoxHSpacing(Passwordidpwopthstretch&LDAP Server Passwordldap-clientLabel		
sformat		

Server: %1:%2ldap-clients%t%Label		
sformat		
Administrator: %1ldap-clientrHBox
PushButtonidokoptkey_F10default
PushButtonidanonoptkey_F6&Anonymous Accessldap-client
PushButtonidcanceloptkey_F9(x!,yidanonEnabled,zidpw${$|(}ok4~&	idpwValue&;(cancel&&;,-%zpw	(
-$y(4ldap_msg	$x)&&4,obind&y&x-%{&		tolower		(!haskeyN4	attr_type$	SCR::Read.ldap.schema.atname(&
'N-Nsingle%|(!haskeyN4	attr_type$	SCR::Read.ldap.schema.atname(&
'N-	Ndesc%}-	SCR::Read.ldap.schema.oc.checkname%~object_class$	SCR::Read.ldap.schema.ocname-kind%&		tolower		(!haskeyM4object_class$	SCR::Read.ldap.schema.ocname(&
'allunionmay	must	,		foreachsup_oc	sup	sup_all$'allunionall	'mustunionmust	Mmust	'M-Mall	%&		tolower		(!haskeyM4,-Mmust	%&		tolower		(!haskeyM4,-Mmay	%ret$	,		foreachclass		&union-% ,"		foreachclass	objectClass	,#		foreachattr		($&&!haskey!haskey		tolower		&%add	-(%0schemas	schema_dn	$2	SCR::Read.ldap.search
attrssubschemaSubentrybase_dnscope$7	subschemaSubentry(8||-9q(;!SCR::Execute.ldap.schema	schema_dn-<q&>S-?%Itemplate$Kadddefault_values
,L		foreachvalue	suseDefaultValue	lvalue	at	v	$M			splitstring			=$N	$Osize			substring		+		search		='Rdefault_values-T%[all&]J
$^	SCR::Read.ldap.searchbase_dnfilterobjectClass=suseObjectTemplateattrs	scopemapnot_found_ok(f4g-hq&kJ				mapmapdn	templ		template$l&m-n-p%wmodules&yI
$z	SCR::Read.ldap.searchbase_dnfilter#objectClass=suseModuleConfigurationattrs	scopemapnot_found_ok(4-q&I				mapmapdn	mod		-%objects(!T4msg	$u(4,oinit-(!S4msg	$(4,oschema-(&&<!;4&<z(<-$	SCR::Read.ldap.searchbase_dnattrs	scopenot_found_ok(4,oreadq--
%parent	object(!		issubstring		,-$			substring		+		search		,$(-(
4(!4,	
y2error	
rA direct parent for DN %1 does not exist in the LDAP directory. The object with the selected DN cannot be created.-,		
sformat		
vA direct parent for DN '%1' 
does not exist in the LDAP directory.
The object with the selected DN cannot be created.
ldap-client--%-%-evalI%-evalJ%ocs$				maplistc	objectClass			tolower		(containssusegrouptemplate4-	top
posixGroupgroupOfNames(containssuseusertemplate4-	topposixAccount
shadowAccount
InetOrgPerson-	%
obj$cnmodifiedadded&				maplistc			tolower		(		containssuseuserconfiguration4&unionFsuseUserTemplate
(		containssusegroupconfiguration4&unionFsuseGroupTemplate
4'objectClass	topsuseObjectTemplate&!-"%*objtemplstempl_cn	default_base	$,cnobjectClass			add	topsuseModuleConfigurationmodifiedadded&2unionF
$3	$4$5(6		tolower		suseuserconfiguration47,8		foreachdn	t		Jcls$9				maplistc	objectClass			tolower		(9containssuseusertemplate&:add(<	&=usertemplate&>		
sformat		
ou=people,%1)(A&&A		tolower			susePasswordHashclear4B'CsusePasswordHash	clear(F		tolower		susegroupconfiguration4G,H		foreachdn	t		Jcls$I				maplistc	objectClass			tolower		(Jcontainssusegrouptemplate&Kadd(M	&N
grouptemplate&O		
sformat		
ou=group,%1)(R4Stdn	i$T		
sformat		
cn=%1,%2$U)Vsize4W&X		
sformat		

cn=%1%2,%3&Y+&[']suseDefaultTemplate'^suseDefaultBase-_	%hall	$j		SCR::Read.ldap.searchbase_dnfilterattrs	cn	attrsOnlyscopedn_only(r4s,toreadq-u	-w%(L	&LobjectClass=posixGroup-L%objectcls$(-(
4-
$				maplistc	objectClass			tolower		(containssuseobjecttemplate4&'modifiededited-4,\An object with the selected DN exists, but it is not a template object.
Select another one.
ldap-client-%,		foreachdn	modmap	(!haskeyI4'Ieval&H-,		foreachattr	val	(I4'I(!haskeymodified'Imodifiededited&H,	
y2debug	
modified value: %1-%,		foreachdn	template	(!haskeyJ4'Jeval&H-,		foreachattr	val	(J4'J(!haskeymodified'Jmodifiededited&H,	
y2debug	
modified value: %1-%ret$
,		foreachdn	object	action	(
-$	modified(&removemodified-(haskeydefault_values4'suseDefaultValue						maplistkey	val	default_values
		
sformat		
%1=%2&removedefault_values(added4(!
SCR::Write	.ldap.adddn&p(edited4(!
SCR::Write.ldap.modifydncheck_attrs&p(	renamed4
arg_map$dn	old_dncheck_attrs(		tolower				tolower			old_dn4'new_dn'deleteOldRDN'subtree(haskeyold_dn&removeold_dn(!
SCR::Write.ldap.modify&p(deleted4(	old_dn&	old_dn(!
SCR::Write.ldap.deletedn&p-"%*error$,
(-||;<4.&/<z(2<43&4(5
46msg	$7	msg(8	
server_msg&9+			+			
	
server_msg,:owrite-=&&
<%Ewrite_openldap_confout	open_host	open_base$G((I!openldap2-client-J$LSCR::Execute.target.bash_output/bin/rpm -V openldap2-client$O	SCR::Read/.etc.ldap_conf.v."/etc/openldap/ldap.conf".host$Q	SCR::Read/.etc.ldap_conf.v."/etc/openldap/ldap.conf".base(U!		issubstring			stdout/etc/openldap/ldap.conf&V(X&&&	*	4Y&Z(]4^,`
SCR::Write/.etc.ldap_conf.v."/etc/openldap/ldap.conf".host%,b
SCR::Write/.etc.ldap_conf.v."/etc/openldap/ldap.conf".base),d	
y2milestone	
)file /etc/openldap/ldap.conf was modified-f%ofile	what	
plus_lines	
$q/etc/passwd$r+::::::(s!&t+::::::/sbin/nologin(v!W4w(x!SCR::Execute.passwd.init
base_directory/etc4y,z	
y2error	
	error: %1	SCR::Read
.passwd.error-{4~&W&2		SCR::Read.passwd.passwd.pluslines$2(!		contains4&				maplist	plus_line	(&&!+::::::-(&&		issubstring		:/sbin/nologin--(!		contains&			add(
SCR::Write.passwd.passwd.pluslines4,SCR::Execute.target.bash		
sformat		
/bin/cp %1 %1.YaST2save(!
SCR::Write
.passwd.users
4,	-&/etc/shadow&+&		SCR::Read.passwd.shadow.pluslines(&&!		contains!		contains	+::::::::4&			add(
SCR::Write.passwd.shadow.pluslines4,SCR::Execute.target.bash		
sformat		
/bin/cp %1 %1.YaST2save(!
SCR::Write.passwd.shadow
4,	-%,		foreachdn	m	Ibase_dn	template_dn	$	suseDefaultBase(4object$(4,	
	y2warning	
reference to nothing? (%1)'IremovesuseDefaultBase(
4default_base$objectClass	toporganizationalUnitmodifiedaddedou(A4'acl	*3#subtree#[Public]#[All Attributes Rights]!1#subtree#[Public]#[Entry Rights](||!!4,	
y2error	
%1 cannot be created'IremovesuseDefaultBase$	suseDefaultTemplate(&&!haskeyJ4object$(size4t_class	template,	
y2milestone	
,template does not exist, creating default...$containsobjectClass	suseGroupConfigurationsuseGroupTemplatesuseUserTemplate$modifiedaddedcn&unionF
(||!!4,	
y2error	
%1 cannot be created'IremovesuseDefaultTemplate,		foreachdn	m	Jgroups$suseSecondaryGroup	(size4
new_groups$	,		foreachgroup		object$(||
4,	
	y2warning	
#no such group %1;removing reference4	&
add'
suseSecondaryGroup-%msg	objectmodulestemplsuser_dn	group_dn	update_modulestemplate_dn	$(!T4&u(4,oinit-("!S4#&$(%4&,'oschema(*&&<!K4+&,x<(-4.,/obind&0<$4(5-6(7
48(94:
config_object$;objectClass	toporganizationalUnitmodifiedaddedou(@A4A'Bacl	*3#subtree#[Public]#[All Attributes Rights]!1#subtree#[Public]#[Entry Rights](G!4H,I	
y2error	
%1 cannot be created$O
$P
$Quserconfiguration$Rgroupconfiguration(TI
4U,V,Z		foreachdn	m	Icl$[				maplistc	objectClass			tolower		(\containssuseuserconfiguration&](^containssusegroupconfiguration&_(c&&I


4e'fsuseUserConfiguration(k&&I


4m'nsuseGroupConfiguration,r&s$t$w
suseDefaultTemplate(ysuseDefaultTemplate		4z&{+			cn=usertemplate,'|suseDefaultTemplate&}(&&J


4'	suseUserConfiguration&
suseDefaultTemplate(suseDefaultTemplate		4&+			cn=grouptemplate,'suseDefaultTemplate&(&&J


4'	suseGroupConfiguration(,,-%vendoroutput	(!T4msg	$u(4-$	SCR::Read.ldap.search
attrs
vendorVersion
vendorNamebase_dnscope,	
y2debug	

vendor: %1$
,		foreachattr	value(		issubstring			Novell4,	
y2debug	
	value: %1	&A&C-A%caption	no_of_stepsypbind_runningldap_ok"$Writing LDAP Configuration...ldap-client$, 
Stop servicesldap-clientUpdate configuration filesldap-clientStart servicesldap-client&Update configuration in LDAP directoryldap-clientStopping services...ldap-clientUpdating configuration files...ldap-clientStarting services...ldap-client+Updating configuration in LDAP directory...ldap-clientFinishedldap-client,(eval-abort$(!4&ypbind,ypbind(&&
4,		foreachdb		passwdgroup
passwd_compatgroup_compat':,(eval-abort('4,jhost%,	jbase)(	#$4	,	knss_map_attributeuniqueMember#,	(
	,,	jldap_version2,
	jldap_version3(	-,	jssl	start_tls,	jsslno,	j
tls_cacertdir..,	jtls_cacertfile//,	
	mkhomedirX,	jpam_password1(	h
pam_filter4	,	l
pam_filterobjectClass=posixAccount&"	8)&#	9),%	jnss_base_passwd&&5)55,(	jnss_base_shadow&&6)66,+	jnss_base_group&&7)77,0	j
tls_checkpeer0yes0(2	43	(5	&&1ndsE46	(7	&&!C!
48	,9	(;	A4<	&=	1nds,?	jpam_password1(C	!D4D	(F	
krb54G	,K	
ldap-account_only4N	,O	
ldap,R	passwd	compat,S	
passwd_compat	union:
passwd_compat		ldap,V			foreachdb		servicesnetgroupaliases,W		filesldap(Z	&&contains:group	compatcontains:group_compat	ldap4\	,]		
y2milestone	
"group_compat present, not changing4`	,a	group	filesldap,d	,f	(h	!D4i	,k			foreachdb		passwdgroupnew_db	$l	+			_compat'm	:			filterv	:	ldap(o	||:		:		files'p	:	compat'q	:			filterv	:	ldap,s		:	compat,t	:	,w			foreachdb		servicesnetgroupaliasesdb_l	$x				filterv	ldap(z		&{		files,|	,	(	
ldap4	,	
ldap(	
ldap-account_only4	,	
ldap-account_only(	!
SCR::Write.etc.ldap_conf4	,		
y2error	
error writing ldap.conf file(	4	,	SCR::UnmountAgent.etc.ldap_conf,	
SCR::Write.sysconfig.ldap.FILE_SERVER4yesno,	
SCR::Write.sysconfig.ldap.BASE_CONFIG_DN,	
SCR::Write.sysconfig.ldap.BIND_DN=(	!
SCR::Write.sysconfig.ldap4	,		
y2error	
!error writing /etc/sysconfig/ldap(	 4	(	&&!ldap4	(	!4	,	autofsenable4	,	autofsdisable(	,	",	(	eval-	abort(	!4	(	&&nscd'4	,	SCR::Execute.target.bash/usr/sbin/nscd -i passwd,	SCR::Execute.target.bash/usr/sbin/nscd -i group,	nscdtry-restart(	&&zmd
novell-zmd4	,	
novell-zmdtry-restart(	4	,	ypbind(	V4	,	sshd(	 4	,	autofs(	!4	,	autofs(	&&4	services	$		,			foreachservice		dbus	haldaemon(	&				add(	size4	,		
y2milestone	
services %1 will be restarted,	
SCR::Write.target.string+			/restart_services+						mergestring			

,	(	eval-	abort$	(	&&@!
4	&	(	&&H4	,	(	&&JI4	&	H(
Y
4
,
Y&
'&
Y
,

&
K(
'4
&
T&
&%&
*)(
H4
&
I
&
J
(
&&sizeQ4
first_s	$ 
s%(!
&&&&&&)	Qldap_domain||	Qldap_server4%
&&
R,'
	
y2milestone	
initial defaults were used&)
Q
-,
next%2
abortneeded_packages	$4
-4
$6
	pam_ldapnss_ldap(8
&&!!autofs49
&:
			addautofs(=
&&!4>
(?
!,@
	&A
&B
!(E
&&*)5*4F
&G
5)&H
6)&I
7)-L
next%T
object$V
(W
4X
-Y
([

4\
(^
||!		
sformat		
@No entry with DN '%1'
exists on the LDAP server. Create it now?
ldap-client4a

config_object(b
!-c
$d
objectClass	toporganizationalUnitmodifiedaddedou(i
A4j
'k
acl	*3#subtree#[Public]#[All Attributes Rights]!1#subtree#[Public]#[Entry Rights]-p
-r
-t
%{
&|
<%
&
;%
&
%
&
V

ACC SHELL 2018