Author: jsuchome Date: Fri Jun 15 16:36:47 2007 New Revision: 38490 URL: http://svn.opensuse.org/viewcvs/yast?rev=38490&view=rev Log: hint about LDAP/NIS only when such users are available... Modified: trunk/users/src/Users.pm Modified: trunk/users/src/Users.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/Users.pm?rev=38490&r1=38489&r2=38490&view=diff ============================================================================== --- trunk/users/src/Users.pm (original) +++ trunk/users/src/Users.pm Fri Jun 15 16:36:47 2007 @@ -4823,7 +4823,8 @@ if (UsersCache->UsernameExists ($username)) { # additional sentence for error popup - my $more = ($type eq "local" || $type eq "system") ? __(" + my $more = (($self->NISAvailable () || $self->LDAPAvailable ()) && + ($type eq "local" || $type eq "system")) ? __(" The existing username might belong to NIS or LDAP user.") : ""; # error popup, %1 might be additional sentence ("The existing username...") return sformat (__("There is a conflict between the entered -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org