In OWA, name resolution does not use Contacts
We migrated from Exchange 2003 to Exchange 2010.
When I go into OWA, and starting a new email, I can type part of a contact name. I use Alt K and the name won't look in my Contacts to resolve the name.
I can type part of a name that exists in our global address list and use Alt K and the name gets auto populated.
Why isn't OWA looking at my contacts first to resolve names? In OWA settings, I have Contacts selected under E-Mail Name Resolution...When resolving names, check first in:
Hi AdminSteve,
According to your description, I understand that cannot use Alt+K to resolve name of contacts in OWA when migrate from Exchange 2003 to 2010.
I find an article about this, please refer to Email name resolution section in below links:
http://office.microsoft.com/en-001/office-online-help/options-messaging-HA102846737.aspx#_Toc375227061
When resolving names, check first in this option if you want to first use your personal contacts to resolve a recipient name. If Outlook Web App can't resolve the name in your contacts, it will look in the global address list.
For your question, I want to double confirm whether personal contact configure abnormal or be damaged.
Best regards,
Allen Wang
Similar Messages
-
I use an iMac 27" (mid 2011). Until recently I had OSX 10.6.8 installed, but both, the HDD and SSD had to be replaced, and I lost all the memory.
After the repair through Apple Care I had OSX 10.7.5. (Lion) installed, which developed a Magic Mouse problem.
Unlike with most users, I have no problems with connection, but grapple with a different kind of erratic behaviour.
All fancy stuff is turned off in the mouse preferences. When I try to move, open or close pages, unrelated submenus pop up and hinder the
required task. No matter how often I click, these menus stay there, and they even come up when clicking on the bare desktop.
It renders the mouse absolutely useless, as no work can be done with it.
The first 'Magic Mouse' had depleted batteries every few days, despite switching it off after use.
I was supplied a new Mouse, which does better battery-wise, but the problems are the same. I can't get a result by clicking on any link, due to
the pop-up menus, so both 'Magic Mice' are totally useless.
At present I am using the old USB mouse from my Mac Pro, and that works still o.k.
The problem are not the mice, but the software. The first 2 weeks after installation of OSX 10.7.5 the Magic Mouse worked though.
I have no idea as to what the reason may be.
Has anyone in the community ever experienced that particular problem. Any hint would be welcomed.
Thank you!Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
Someone on this forum suggested, that USB3 may interfere with the magic mouse.
I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
Thanks for the advice, Bee
Cheers, Gerd -
Changed my ID but the Iphone 4 continue with the old ID name and does not syncronize. How can I change it in my Iphone so I can continue to use all my data stored like contacts and notes?
Do you mean through iCloud? You need to go to settings > iCloud and "delete account" and then sign in with the newly named account. You'll want to do similar for facetime, messages, and store.
-
After upgrading my iPhone 4S to iOS6, my Find My Friends app no longer links to my Contacts and does not show contact names. It only shows e-mail addresses and does not link up to the corresponding email address in my Contacts. How can I fix this?
I am also having problems with a site I am building. No matter what websafe font I use it displays as New Times Roman in FireFox. The correct fonts show in both IE9 and Chrome.
In addition, text shifts in FireFox. I have to position other text objects farther and farther apart as I go down the page or they start to overlap. Nav buttons and other images also have to be positioned in the wrong place for them to be in the correct place when the page is opened in FireFox. FireFox should display pages correctly by default. I can't expect th average user to have to tweek his/her settings to display my site.
I have been recommending FireFox on my website as the best browser. I might have to change that and abandon FireFox myself. -
In Windows Vista using outlook 7, iphone 4 does not sync contacts (email & calendar are fine) Please Help!
Hello mludwin
Check out the article below to troubleshoot your issue with syncing your Contacts and calendars to your iPhone, using Outlook. It will have some options to reset sync history and disabling any conflicting any Outlook add-ins.
Troubleshooting Sync Services on Windows with Microsoft Outlook 2003, Outlook 2007, or Outlook 2010
http://support.apple.com/kb/ts2776
Regards,
-Norm G. -
The name "Folder" does not exist in the namespace
I am trying to learn Wpf and doing some of the examples on the Microsoft site. https://msdn.microsoft.com/en-us/library/vstudio/bb546972(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
I am using Visual studio 2013. As I work through the example I am getting the following error.
Error 1
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
11 17
FolderExplorer
Error 2
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
16 7
FolderExplorer
Here is the code:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:FolderExplorer"
Title="Folder Explorer" Height="350" Width="525">
<Window.Resources>
<ObjectDataProvider x:Key="RootFolderDataProvider" >
<ObjectDataProvider.ObjectInstance>
<my:Folder FullPath="C:\"/>
</ObjectDataProvider.ObjectInstance>
</ObjectDataProvider>
<HierarchicalDataTemplate
DataType = "{x:Type my:Folder}"
ItemsSource = "{Binding Path=SubFolders}">
<TextBlock Text="{Binding Path=Name}" />
</HierarchicalDataTemplate>
</Window.Resources>
I have a class file named Folder.vb with this code.
Public Class Folder
Private _folder As DirectoryInfo
Private _subFolders As ObservableCollection(Of Folder)
Private _files As ObservableCollection(Of FileInfo)
Public Sub New()
Me.FullPath = "c:\"
End Sub 'New
Public ReadOnly Property Name() As String
Get
Return Me._folder.Name
End Get
End Property
Public Property FullPath() As String
Get
Return Me._folder.FullName
End Get
Set(value As String)
If Directory.Exists(value) Then
Me._folder = New DirectoryInfo(value)
Else
Throw New ArgumentException("must exist", "fullPath")
End If
End Set
End Property
ReadOnly Property Files() As ObservableCollection(Of FileInfo)
Get
If Me._files Is Nothing Then
Me._files = New ObservableCollection(Of FileInfo)
Dim fi As FileInfo() = Me._folder.GetFiles()
Dim i As Integer
For i = 0 To fi.Length - 1
Me._files.Add(fi(i))
Next i
End If
Return Me._files
End Get
End Property
ReadOnly Property SubFolders() As ObservableCollection(Of Folder)
Get
If Me._subFolders Is Nothing Then
Try
Me._subFolders = New ObservableCollection(Of Folder)
Dim di As DirectoryInfo() = Me._folder.GetDirectories()
Dim i As Integer
For i = 0 To di.Length - 1
Dim newFolder As New Folder()
newFolder.FullPath = di(i).FullName
Me._subFolders.Add(newFolder)
Next i
Catch ex As Exception
System.Diagnostics.Trace.WriteLine(ex.Message)
End Try
End If
Return Me._subFolders
End Get
End Property
End Class
Can someone explain what is happening.
Thanks HalDid you try to build the application (Project->Build in Visual Studio) ? If the error doesn't go away then and you have no other compilation errors (if you do you need to fix these first), you should replace "FolderExplorer" with the namespace
in which the Folder class resides. If you haven't explicitly declared a namespace, you will find the name of the default namespace under Project->Properties->Root namespace. Copy the value from this text box to your XAML:
xmlns:my="clr-namespace:FolderExplorer"
The default namespace is usually the same as the name of the application by default so if your application is called "FolderExplorer" you should be able to build it.
If you cannot make it work then please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. -
we are using VS 2013. i have created new build definition and run that created build its getting failed and showing error message as "The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly
reference?)" and "The type or namespace name 'WinComboBox, UITestControl, WinTitleBar.....etc' could not be found (are you missing a using directive or an assembly reference?)". in the error log is showing the error number are "error CS0234
& error CS0246".
Actually i have created build for automation execution from MTM lab environment. i have to assign the build to the test plan. once the build is passed , i will assign to the test plan and run with automation options.
if i build the solution its getting successfully build. but when i run the created build definition it show the error message's.
Could you guide me how to resolve the above error's ?
Thanks in Advance...Hello Divakar Ponnada,
I have checked the error CS0234 from here:
http://msdn.microsoft.com/en-us/library/0e92xd7b.aspx
It means your project cannot find the proper reference to your type "Visual Studio" from the namespace Microsoft.
May I ask this question, does your build definition means something like the following blog described?
http://www.asp.net/web-forms/overview/deployment/configuring-team-foundation-server-for-web-deployment/creating-a-build-definition-that-supports-deployment
"A build definition is the mechanism that controls how and when builds occur for team projects in TFS. "
If that is the problem, may I ask whether your build agent is in the same machine where you build your application?
The build agent will first search for the reference from its local GAC and if it cannot find it, the error like you said will reports. Please manually build your project from your build agent machine to see the result, or install Visual Studio to your build
agent machine. In that way I think your problem may fixed.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
The type or namespace name 'Optimization' does not exist in the namespace 'System.Web'
App_Start\BundleConfig.cs (1): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Global.asax.cs (4): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
App_Start\BundleConfig.cs (8): The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
I'm getting the above errors when attempting to create a remote build.
I've tried the solution found here (http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html) but no luck.Hi,
I have an asp.net mvc project in Visual Studio 2013. I'm hosting it on Visual Studio Online.
The project builds fine on my local machine/Visual Studio 2013. When i try to do a build on Visual Studio Online (i created a build definition there), i get similar errors.
App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
App_Start\FilterConfig.cs (2): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
App_Start\RouteConfig.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Controllers\HomeController.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Controllers\HomeController.cs (9): The type or namespace name 'Controller' could not be found (are you missing a using directive or an assembly reference?)
Global.asax.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Global.asax.cs (6): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
App_Start\BundleConfig.cs (9): The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
App_Start\FilterConfig.cs (8): The type or namespace name 'GlobalFilterCollection' could not be found (are you missing a using directive or an assembly reference?)
Controllers\HomeController.cs (11): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
Controllers\HomeController.cs (16): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
Controllers\HomeController.cs (23): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Optimization". Check to make sure the assembly exists on disk. If this
reference is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".
Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "WebGrease". Check to make sure the assembly exists on disk. If this reference is required
by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "Antlr3.Runtime". Check to make sure the assembly exists on disk. If this reference
is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "Newtonsoft.Json". Check to make sure the assembly exists on disk. If this reference
is required by your code, you may get compilation errors.
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Assembly strong name "System.Web.Mvc, Version=__MvcPagesVersion__, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" is
either a path which could not be found or it is a full assembly name which is badly formed. If it is a full assembly name it may contain characters that need to be escaped with backslash(\). Those characters are Equals(=), Comma(,), Quote("), Apostrophe('),
Backslash(\). -
'ServerProperty' with 'Name' = 'Language' does not exist in the collection
LS,
One of my customers (using ssas 2012) is facing collation issues which result in missing facts in the cubes. I suggested them to have a look at the Analysis Server Properties. Howevere, on selection of the Analysis Services Properties page 'Language-Collation',
it doesn't open the page showing the properties, but instead the following message pops up:
'ServerProperty' with 'Name' = 'Language' does not exist in the collection
Any ideas on what could have caused this and how it can be fixed ?
We're considereing a restart of the SSAS server, but need to be very carefull because it's their production environment.
Appreciate your help,
Kind regards,
Cees
Please remember to mark replies as answers or at least vote helpfull if they help and unmark them if they provide no help.I am also experiencing this error when clicking on the Language/Collation page of the Analysis Services Properties dialog.
I suspect this is causing some other strange behavior such as an "invalid characters in hierarchy names" error when deploying an SSAS database, when the same solution/project can be deployed successfully from other machines. In that case, there are parenthesis
in the attribute name but no user-defined hierarchies. Error:
Errors in the metadata manager. The name, 'Project ID (Description)', for the cube hierarchy is not valid because this name is a reserved word, contains one or more invalid characters (.,;'`:/\*|?"&%$!+=()[]{}<>), or is longer than 100 characters.
I would like to avoid having to re-install SSAS if at all possible. Any help is much appreciated.
LB -
Error in script task "The name 'file' does not exist in the current context"
I am new to the c# scripting and SSIS come from PHP and Foxpro.
I am using SSIS with a script task and I am getting am errror "The name 'file' does not exist in the current context" in the following code in the picture below: (See
Why does the object named "file" go away after the first refrence to it?? How do I make it avaliable for the whole script??
public void Main()
String cFileInfo = null;
DateTime dFTPFileDateTime;
bool fireAgain = true;
List<IRemoteFileInfo> fileList = (List<IRemoteFileInfo>)Dts.Variables["SFTPResult"].Value;
foreach (IRemoteFileInfo file in fileList)
cFileInfo = file.Name + "|" +file.ModifiedTime +"|"+ file.Size;
Dts.Events.FireInformation(1, "Name ", cFileInfo, "", 0, ref fireAgain);
dFTPFileDateTime =
file.ModifiedTime;
<< This is where the error is occuring.
Dts.TaskResult = (int)ScriptResults.Success;I think you forgot { and } after the loop... Or is that deliberately?
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter -
Visual studio 2012 the name "initializeControl" does not exist in the namespace in visual WebPart
Hi All,
I'm trying to create a visual webpart in SharePoint 2013 using Visual Studio 2012 and I am seeing that the file ascx.g.cs
is missing and i have this error in file ascx.cs : the name "initializeControl" does not exist in the namespace.
And like i said i use VS2012 Ultimate
Can anyone Help me please!!!
thanks.In most scenarios this is caused by some error in code preventing Visual Studio from generating the designer file. You could try to undo the latest changes and see whether the item is being generated or not. Additionally you could try checking if the custom
tool is still associated with the Visual Web Part SPI in the Properties Window.
w: http://blog.mastykarz.nl | t:
@waldekm | c: http://mavention.codeplex.com | c:
http://mavention.nl -
The name "Pi" does not exist in the namespace "clr-namespace:PressureVessels".
Pi is the name of a class.
I made some major modification to the program in VS 2013, then after transferring the program to another PC with VS 2012 running, I am getting many errors that says:
The name "ClassName" does not exist in the namespace "clr-namespace:PressureVessels".Cleaning removes all the stuff out your bin.
If all this stuff is in the one solution then that's equivalent to manually deleting it.
If your app is composed from separate dll then I maybe some versioning issue.
If not and you can't reproduce the issue on your dev machine...
Tricky.
You would have mentioned it if you were putting stuff in the GAC.
Could be a sln or csproj issue.
They occasionally corrupt.
What else.
How did you get your code onto the other pc?
Is it contained within one folder with no external references beyond .net framework ones?
If you did something a bit dodgy with your references a dll might be coming from somewhere which is on your pc and not on this other one.
The only other advice I can think of is to step away for a bit and do something else.
It's all too easy to get into a flat spin when something drastic happens and one has no idea wtf is going on.
I used to be a points hound.
But I'm alright nooooooooooooooooooooooooooooOOOOOWWWW ! -
The name "XYZ" does not exist in the namespace
I was getting error "The name “XYZ” does not exist in the namespace " at here
<UserControl.Resources>
<ms:VisiableConverter x:Key="VisiableConverter"></ms:VisiableConverter>
</UserControl.Resources>
How to solve?
namespace DictionaryApp.Model
public class VisiableConverter : IValueConverter
public object Convert(object value, Type targetType, object parameter, string language)
throw new NotImplementedException();
public object Convert(
object value,
Type targetType,
object parameter,
CultureInfo culture)
bool visibility = (bool)value;
return visibility ? Visibility.Visible : Visibility.Collapsed;
public object ConvertBack(object value, Type targetType, object parameter, string language)
throw new NotImplementedException();
public object ConvertBack(
object value,
Type targetType,
object parameter,
CultureInfo culture)
Visibility visibility = (Visibility)value;
return (visibility == Visibility.Visible);
Next, add the converter in the UserControl's resources. In m
y simple project, I had to create this section - but hopefully you're already using this in your real apps!
You may also need to add an xmlns attribute in page.xaml for your project's namespace.
x:Class="DictionaryApp.PageDictionary"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:DictionaryApp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ms="using:DictionaryApp.Model"
mc:Ignorable="d">
<UserControl.Resources>
<ms:VisiableConverter x:Key="VisiableConverter"></ms:VisiableConverter>
</UserControl.Resources>I think the not implemented exceptions could be causing the issue. I would implement this functions also
public object Convert(object value, Type targetType, object parameter, string language)
throw new NotImplementedException();
and
public object ConvertBack(object value, Type targetType, object parameter, string language)
throw new NotImplementedException(); -
Pam.conf does not use ldap for password length check when changing passwd
I have already posted this in the directory server forum but since it is to do with pam not using ldap I thought there might be some pam experts who check this forum.
I have dsee 6.0 installed on a solaris 10 server (client).
I have a solaris 9 server (server) set up to use ldap authentication.
bash-2.05# cat /var/ldap/ldap_client_file
# Do not edit this file manually; your changes will be lost.Please use ldapclient (1M) instead.
NS_LDAP_FILE_VERSION= 2.0
NS_LDAP_SERVERS= X, Y
NS_LDAP_SEARCH_BASEDN= dc=A,dc= B,dc= C
NS_LDAP_AUTH= tls:simple
NS_LDAP_SEARCH_REF= FALSE
NS_LDAP_SEARCH_SCOPE= one
NS_LDAP_SEARCH_TIME= 30
NS_LDAP_SERVER_PREF= X.A.B.C, Y.A.B.C
NS_LDAP_CACHETTL= 43200
NS_LDAP_PROFILE= tls_profile
NS_LDAP_CREDENTIAL_LEVEL= proxy
NS_LDAP_SERVICE_SEARCH_DESC= passwd:ou=People,dc=A,dc=B,dc=com?one
NS_LDAP_SERVICE_SEARCH_DESC= group:ou=People,dc=A,dc=B,dc=C?one
NS_LDAP_SERVICE_SEARCH_DESC= shadow:ou=People,dc=A,dc=B,dc=C?one
NS_LDAP_BIND_TIME= 10
bash-2.05# cat /var/ldap/ldap_client_cred
# Do not edit this file manually; your changes will be lost.Please use ldapclient (1M) instead.
NS_LDAP_BINDDN= cn=proxyagent,ou=profile,dc=A,dc=B,dc=C
NS_LDAP_BINDPASSWD= {NS1}6ff7353e346f87a7
bash-2.05# cat /etc/nsswitch.conf
# /etc/nsswitch.ldap:
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses LDAP in conjunction with files.
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd: files ldap
group: files ldap
# consult /etc "files" only if ldap is down.
hosts: files dns
ipnodes: files
# Uncomment the following line and comment out the above to resolve
# both IPv4 and IPv6 addresses from the ipnodes databases. Note that
# IPv4 addresses are searched in all of the ipnodes databases before
# searching the hosts databases. Before turning this option on, consult
# the Network Administration Guide for more details on using IPv6.
#ipnodes: ldap [NOTFOUND=return] files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
netgroup: ldap
automount: files ldap
aliases: files ldap
# for efficient getservbyname() avoid ldap
services: files ldap
sendmailvars: files
printers: user files ldap
auth_attr: files ldap
prof_attr: files ldap
project: files ldap
bash-2.05# cat /etc/pam.conf
#ident "@(#)pam.conf 1.20 02/01/23 SMI"
# Copyright 1996-2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# PAM configuration
# Unless explicitly defined, all services use the modules
# defined in the "other" section.
# Modules are defined with relative pathnames, i.e., they are
# relative to /usr/lib/security/$ISA. Absolute path names, as
# present in this file in previous releases are still acceptable.
# Authentication management
# login service (explicit because of pam_dial_auth)
login auth requisite pam_authtok_get.so.1 debug
login auth required pam_dhkeys.so.1 debug
login auth required pam_dial_auth.so.1 debug
login auth binding pam_unix_auth.so.1 server_policy debug
login auth required pam_ldap.so.1 use_first_pass debug
# rlogin service (explicit because of pam_rhost_auth)
rlogin auth sufficient pam_rhosts_auth.so.1
rlogin auth requisite pam_authtok_get.so.1
rlogin auth required pam_dhkeys.so.1
rlogin auth binding pam_unix_auth.so.1 server_policy
rlogin auth required pam_ldap.so.1 use_first_pass
# rsh service (explicit because of pam_rhost_auth,
# and pam_unix_auth for meaningful pam_setcred)
rsh auth sufficient pam_rhosts_auth.so.1
rsh auth required pam_unix_auth.so.1
# PPP service (explicit because of pam_dial_auth)
ppp auth requisite pam_authtok_get.so.1
ppp auth required pam_dhkeys.so.1
ppp auth required pam_dial_auth.so.1
ppp auth binding pam_unix_auth.so.1 server_policy
ppp auth required pam_ldap.so.1 use_first_pass
# Default definitions for Authentication management
# Used when service name is not explicitly mentioned for authenctication
other auth requisite pam_authtok_get.so.1 debug
other auth required pam_dhkeys.so.1 debug
other auth binding pam_unix_auth.so.1 server_policy debug
other auth required pam_ldap.so.1 use_first_pass debug
# passwd command (explicit because of a different authentication module)
passwd auth binding pam_passwd_auth.so.1 server_policy debug
passwd auth required pam_ldap.so.1 use_first_pass debug
# cron service (explicit because of non-usage of pam_roles.so.1)
cron account required pam_projects.so.1
cron account required pam_unix_account.so.1
# Default definition for Account management
# Used when service name is not explicitly mentioned for account management
other account requisite pam_roles.so.1 debug
other account required pam_projects.so.1 debug
other account binding pam_unix_account.so.1 server_policy debug
other account required pam_ldap.so.1 no_pass debug
# Default definition for Session management
# Used when service name is not explicitly mentioned for session management
other session required pam_unix_session.so.1
# Default definition for Password management
# Used when service name is not explicitly mentioned for password management
other password required pam_dhkeys.so.1 debug
other password requisite pam_authtok_get.so.1 debug
other password requisite pam_authtok_check.so.1 debug
other password required pam_authtok_store.so.1 server_policy debug
# Support for Kerberos V5 authentication (uncomment to use Kerberos)
#rlogin auth optional pam_krb5.so.1 try_first_pass
#login auth optional pam_krb5.so.1 try_first_pass
#other auth optional pam_krb5.so.1 try_first_pass
#cron account optional pam_krb5.so.1
#other account optional pam_krb5.so.1
#other session optional pam_krb5.so.1
#other password optional pam_krb5.so.1 try_first_pass
I can ssh into client with user VV which does not exist locally but exists in the directory server. This is from /var/adm/messages on the ldap client):
May 17 15:25:07 client sshd[26956]: [ID 634615 auth.debug] pam_authtok_get:pam_sm_authenticate: flags = 0
May 17 15:25:11 client sshd[26956]: [ID 896952 auth.debug] pam_unix_auth: entering pam_sm_authenticate()
May 17 15:25:11 client sshd[26956]: [ID 285619 auth.debug] ldap pam_sm_authenticate(sshd VV), flags = 0
May 17 15:25:11 client sshd[26956]: [ID 509786 auth.debug] roles pam_sm_authenticate, service = sshd user = VV ruser = not set rhost = h.A.B.C
May 17 15:25:11 client sshd[26956]: [ID 579461 auth.debug] pam_unix_account: entering pam_sm_acct_mgmt()
May 17 15:25:11 client sshd[26956]: [ID 724664 auth.debug] pam_ldap pam_sm_acct_mgmt: illegal option no_pass
May 17 15:25:11 client sshd[26956]: [ID 100510 auth.debug] ldap pam_sm_acct_mgmt(VV), flags = 0
May 17 15:25:11 client sshd[26953]: [ID 800047 auth.info] Accepted keyboard-interactive/pam for VV from 10.115.1.251 port 2703 ssh2
May 17 15:25:11 client sshd[26953]: [ID 914923 auth.debug] pam_dhkeys: no valid mechs found. Trying AUTH_DES.
May 17 15:25:11 client sshd[26953]: [ID 499478 auth.debug] pam_dhkeys: get_and_set_seckey: could not get secret key for keytype 192-0
May 17 15:25:11 client sshd[26953]: [ID 507889 auth.debug] pam_dhkeys: mech key totals:
May 17 15:25:11 client sshd[26953]: [ID 991756 auth.debug] pam_dhkeys: 0 valid mechanism(s)
May 17 15:25:11 client sshd[26953]: [ID 898160 auth.debug] pam_dhkeys: 0 secret key(s) retrieved
May 17 15:25:11 client sshd[26953]: [ID 403608 auth.debug] pam_dhkeys: 0 passwd decrypt successes
May 17 15:25:11 client sshd[26953]: [ID 327308 auth.debug] pam_dhkeys: 0 secret key(s) set
May 17 15:25:11 client sshd[26958]: [ID 965073 auth.debug] pam_dhkeys: cred reinit/refresh ignored
If I try to then change the password with the `passwd` command it does not use the password policy on the directory server but the default defined in /etc/default/passwd
bash-2.05$ passwd
passwd: Changing password for VV
Enter existing login password:
New Password:
passwd: Password too short - must be at least 8 characters.
Please try again
May 17 15:26:17 client passwd[27014]: [ID 285619 user.debug] ldap pam_sm_authenticate(passwd VV), flags = 0
May 17 15:26:17 client passwd[27014]: [ID 509786 user.debug] roles pam_sm_authenticate, service = passwd user = VV ruser = not set rhost = not set
May 17 15:26:17 client passwd[27014]: [ID 579461 user.debug] pam_unix_account: entering pam_sm_acct_mgmt()
May 17 15:26:17 client passwd[27014]: [ID 724664 user.debug] pam_ldap pam_sm_acct_mgmt: illegal option no_pass
May 17 15:26:17 client passwd[27014]: [ID 100510 user.debug] ldap pam_sm_acct_mgmt(VV), flags = 80000000
May 17 15:26:17 client passwd[27014]: [ID 985558 user.debug] pam_dhkeys: entered pam_sm_chauthtok()
May 17 15:26:17 client passwd[27014]: [ID 988707 user.debug] read_authtok: Copied AUTHTOK to OLDAUTHTOK
May 17 15:26:20 client passwd[27014]: [ID 558286 user.debug] pam_authtok_check: pam_sm_chauthok called
May 17 15:26:20 client passwd[27014]: [ID 271931 user.debug] pam_authtok_check: minimum length from /etc/default/passwd: 8
May 17 15:26:20 client passwd[27014]: [ID 985558 user.debug] pam_dhkeys: entered pam_sm_chauthtok()
May 17 15:26:20 client passwd[27014]: [ID 417489 user.debug] pam_dhkeys: OLDRPCPASS already set
I am using the default policy on the directory server which states a minimum password length of 6 characters.
server:root:LDAP_Master:/var/opt/SUNWdsee/dscc6/dcc/ads/ldif#dsconf get-server-prop -h server -p 389|grep ^pwd-
pwd-accept-hashed-pwd-enabled : N/A
pwd-check-enabled : off
pwd-compat-mode : DS6-mode
pwd-expire-no-warning-enabled : on
pwd-expire-warning-delay : 1d
pwd-failure-count-interval : 10m
pwd-grace-login-limit : disabled
pwd-keep-last-auth-time-enabled : off
pwd-lockout-duration : disabled
pwd-lockout-enabled : off
pwd-lockout-repl-priority-enabled : on
pwd-max-age : disabled
pwd-max-failure-count : 3
pwd-max-history-count : disabled
pwd-min-age : disabled
pwd-min-length : 6
pwd-mod-gen-length : 6
pwd-must-change-enabled : off
pwd-root-dn-bypass-enabled : off
pwd-safe-modify-enabled : off
pwd-storage-scheme : CRYPT
pwd-strong-check-dictionary-path : /opt/SUNWdsee/ds6/plugins/words-english-big.txt
pwd-strong-check-enabled : off
pwd-strong-check-require-charset : lower
pwd-strong-check-require-charset : upper
pwd-strong-check-require-charset : digit
pwd-strong-check-require-charset : special
pwd-supported-storage-scheme : CRYPT
pwd-supported-storage-scheme : SHA
pwd-supported-storage-scheme : SSHA
pwd-supported-storage-scheme : NS-MTA-MD5
pwd-supported-storage-scheme : CLEAR
pwd-user-change-enabled : off
Whereas /etc/default/passwd on the ldap client says passwords must be 8 characters. This is seen with the pam_authtok_check: minimum length from /etc/default/passwd: 8
. It is clearly not using the policy from the directory server but checking locally. So I can login ok using the ldap server for authentication but when I try to change the password it does not use the policy from the server which says I only need a minimum lenght of 6 characters.
I have read that pam_ldap is only supported for directory server 5.2. Because I am running ds6 and with password compatability in ds6 mode maybe this is my problem. Does anyone know of any updated pam_ldap modules for solaris 9?
Edited by: ericduggan on Sep 8, 2008 5:30 AMyou can try passwd -r ldap for changing the ldap passwds...
-
BCS New Item creation - Column with Name 'ID' does not exist.
Hello All
I´m creating a BCS and i´m getting a strange error. I have created all the operations and created a list based on the external contente type. In my table the column ID is the primary key with identity.
When I use the new item form I get the following error. But the new item is created.
[ArgumentException: Column with Name 'ID' does not exist.]
Microsoft.SharePoint.BusinessData.Infrastructure.GenericAdapterObject.get_Item(String key) +19563585
Microsoft.SharePoint.BusinessData.Infrastructure.RuleInterpretingTypeReflector.Get(ITypeDescriptor typeDescriptor, ITypeDescriptor instanceRootTypeDescriptor, Object instance) +59
Microsoft.SharePoint.BusinessData.Infrastructure.CompositeIdentifier.GetIdentity() +668
Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.Create(IEntity thisEntity, IFieldValueDictionary fieldValues, Identity identity, AssociationEntityInstancesDictionary associationInfo, ILobSystemInstance lobSystemInstance) +2386
Microsoft.SharePoint.BusinessData.MetadataModel.Static.Entity.Create(IFieldValueDictionary fieldValues, ILobSystemInstance lsi) +82
Microsoft.SharePoint.SPListDataSource.InsertItem(SPListItem itemToInsert, IDictionary dictValues) +1671
[SPException: Failed to create a list item for this external list based on the Entity (External Content Type) '...' in EntityNamespace '....'. Details: Column with Name 'ID' does not exist.]
Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) +23989128
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +4064980
Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() +378
Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e) +24
Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e) +691
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
Thanks for the help,
Regards,
AndréHello All,
I already found the problem and it was an error in a trigger in the database.
Thanks.
Regards,
André
Maybe you are looking for
-
How do I select a midi input device and record midi?
I have several midi input devices connected to my computer. I use them regularly with Digital Performer. I am trying to record a single midi track in Garage Band using an Oxygen 8 keyboard. In the preferences GB says that it sees 7 midi devices. How
-
MSS Employee search and General Data
Hi All, We are implementing ESS/MSS. When i preview "Employee Search" iview in (Content Provided by SAP>Line Manager> Employee Search) iview. It shows all employees under that line manger with all options. But when i click on any employee, i
-
How to add a simple hyperlink field in Apex
Version : 4.1.0 Hi There, I have a simple requirement and was trying to find the best option. I was drawing a blank. I need to show one single field "Overview" on an Apex page at the top which when clicked opens a new page and goes to the underlying
-
I'm trying to get my Officejet Pro K850 to print in black ink on yellow paper but it just rolls the paper through without trying to print. It doesn't seem to recognise the paper. - any clues? The paper is not a pastel colour - it's a medium strong ye
-
Syncing more than one iphone to my computer
Despite my best efforts, when syncing my girlfriend's new iPhone to my computer (which was previously synced with all my own iPhone data), it has done what I dreaded - it has duplicated MY contacts with her contacts, and vice versa. Can I ask; a) Is