LDAP user profile messaging entries

Hello,
I am trying to setup Sun Java 2005Q4 Directory server and Messaging server to work interoperable replacing NIS and sendmail.
The question is what entries should be in user ldif profile to provide nis and mail capabilities at the same time?
What else (schema, cli, etc) should be done to provide these capabilities?
Again, the main thing is to provide naming and mail entries in one user profile.
Currently I have the following user entries:
dn: uid=testuser,ou=People,o=domain.com,o=ldap
cn: testuser
uidNumber: 1177
gidNumber: 2000
gecos: Test User
homeDirectory: /home/testuser
loginShell: /usr/bin/tcsh
objectClass: posixAccount
objectClass: shadowAccount
objectClass: account
objectClass: top
uid: testuser
shadowLastChange: 12926
shadowFlag: 0
userPassword: [crypt} BnBnBNBn
Any help will be greatly appreciated and summarized.

Roger,
Thank you for your response.
This is a nice manual, but it does not solve the problem. I am actually did set up DS for naming service, and it is working well.
But, if I am installing messaging server in addition to DS it creates problem.
I think it modifies the schema, which is not supporting naming objects as posixAccount, etc. If I try to add them to the mail accounts created by Delegated Admin, I've got an object class violation error.
Thank you,

Similar Messages

  • LDAP user profile entries

    Hello,
    I am trying to setup Sun Java 2005Q4 Directory server and Messaging server to work interoperable replacing NIS and sendmail.
    The question is what entries should be in user ldif profile to provide nis and mail capabilities at the same time?
    What else (schema, cli, etc) should be done to provide these capabilities?
    Again, the main thing is to provide naming and mail entries in one user profile.
    Currently I have the following user entries:
    dn: uid=testuser,ou=People,o=domain.com,o=ldap
    cn: testuser
    uidNumber: 1177
    gidNumber: 2000
    gecos: Test User
    homeDirectory: /home/testuser
    loginShell: /usr/bin/tcsh
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: account
    objectClass: top
    uid: testuser
    shadowLastChange: 12926
    shadowFlag: 0
    userPassword: [crypt} BnBnBNBn
    Any help will be greatly appreciated and summarized.

    The short and proper way of doing this is to prepare the instance of the directory with the individual scripts for each product. These scripts not only add the required schema but also indexes and other changes. For messaging the script is "comm_dssetup.pl" and for LDAP as naming services it is "idsconfig". Since they are independant of each other you can execute them in any order but you must follow the documentation on how to execute these and what pre-requisites to fulfill.
    Regards,
    -Wajih

  • Cannot select ldap user profile for SGD Global Admin

    Hi all,
    I'm trying to select some ldap users to be in the SGD Global Administrators role, but I am unable to check the check box next to the user profile once I navigate to the account. There is no check box to check.
    I am actively using LDAP for regular user auth and application assignment, so I know my LDAP "works" in that sense, I just can't use it to assign global admins.
    Any thoughts?
    Adam

    The only way to do this is to create a user profile for the (would-be) admin account. And since they're an LDAP user, you'll have to use LDAP mirroring to do this. For example, let's say the user you want is "cn=Joe Admin, ou=Users, dc=example, dc=com"
    Go to "User Profiles", and browse to/open:
    dc=com
    cd=example
    create the directory object "ou=Users"
    Inside of "ou=Users", create the user profile object "cn=Joe Admin"
    Add this user object to the Global Administrators role.
    http://docs.sun.com/source/820-4907/chapter3.html#d0e13589

  • Messaging server and external LDAP user store

    Is it possible to have an external LDAP application store all user information and then have the messaging server authenticate against it and create a mail profile in it's own LDAP instance, similar to the way portal handles LDAP users? If not, what is the best way to store user information outside of the mail server instance? Create an LDAP instance and extend the schema to support the mail classes and then use replication to push the users into the mail servers directory instance?

    Correct, extending the schema on the master directory server and replicating down to the messaging server ldap instance the user info is the way to go.
    This way you do not have to maintain two different sets of user data.
    -Chris

  • How do I prevent "The user profile service service failed the log on" error messages?

    I work for an organization with approximately 60 staff members across ~80 Windows 7 Professional PCs. Users log in with Active Directory accounts.
    Approximately once per month, a random user will get an error message while attempting to log into their machine that says "The user profile service service failed the log on."  The solution to resolve this issue is here: http://support.microsoft.com/kb/947215?ppud=4&wa=wsignin1.0.
    The problem is that I want to PREVENT this issue from happening, as it is incredibly inconvenient for the user. I had one staff member board a 5-hour plane trip expecting to do work, and once she got in the air she logged in and
    received the error message and was unable to use her computer for the trip. I've had others locked out of their computer with deadlines to get things done, while I am at home off the clock. Editing the registry is not an easy fix, and so it's not something
    I can just post instructions for in a knowledgebase article.
    Does anyone know how to prevent this issue from occurring? I believe that it has something to do with a network-based startup script, or a service trying to connect to our file server, or the computer trying to connect to our ad server. All of these
    are blocked by firewalls (unless the user is off-site), and I suspect that the services may be timing out, causing the user profile service service failed the logon error message, but I can't seem to eliminate it, after nearly a year of trying.
    90% of the time this problem occurs when the user is off-site, but it has happened while the user is in the office too. Once the user gets this error message, the only way to resolve the problem is to log into their computer as a localadministrator account
    and perform the method #1 fix in the knowledgebase article.
    Thanks

    Have you checked the logged files in event viewer around the time when problem occurred?
    Is there any suspicious events like error or warning related to this issue.
    Try run Active Directory Best Practice Analyzer:
    http://technet.microsoft.com/en-us/library/dd759260.aspx

  • The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.

    H,
    Since upgrading Windows server 2008 R2 to Server 2012 Standard edition, we get this repetitious critical error in the event log:
    Event 1001
    Op Code NLS initialization
    The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.
    We originally found that the regional date settings after changing them in regional settings (DD/MM/YYYY) and they did not inherit properly from the upgrade but they are ok now. 
    I've looked at HKCU\.Default\Control Panel\International and nothing looks obviously wrong. Country codes, time & date formats are correct.
    How do we ascertain the  cause of this error and the specific registry key that might be problematic?

    Hi,
    This could be caused by firewall rules or security softwares.
    http://www.tomshardware.com/forum/242579-44-hkcu-control-panel-international-opened
    And in addition, the fix is worth a try.
    Nothing happens when you double-click "Region" in Control Panel 
    http://support.microsoft.com/kb/2958845
    Please Note: Since the first web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

  • "Please Wait For The User Profile Service" message when logging on to TS 2008

    I have a Windows 2008 AD Domain with 2 Windows 2008 Terminal Servers.  Both are configured identically.  I have the TS Roaming profiles stored on a 3rd server and a GPO pointing all users to the roaming profiles.  On one of the servers everything works perfectly.  On the second server the users, after they input their credentials, get the following message "Please Wait For The User Profile Service".  The message can stay there for up to 3 minutes, then they are logged innormall with the correct profile.  This problem does not occur on log off.  Any help would be appreciated 

     99% of the times I had this problem it was caused by either DNS issues or network bindings.
    Are your servers multihomed? In other words: do you have multiple network cards? If so, make sure your "production" card is on top in the network connections -> advanced settings -> adapters and bindings.
    You could also enable user env logging (search microsoft how to do that)

  • Display error message on the user profile modification page identity system

    HI All,
    I have created a workflow for chang attribute for email id. I have associated an external action to th workflow id which will check the emailid uniqueness in OID.
    When an end user login to OAM user manager and clicks on update my profile, use can see a button with modify request beside email id. when user modifies email id and save the changes, we are able to display email id already exist message in the next page of user profile. but we need to display the message on the same page.
    Can any one help us.
    Thanks in Advance.

    You can do this using java script throwing an alert popup or you can check if the fields are initial in oninputprocessing and fill a variable like gv_error = 'Enter values of mandatory fields.' and display the same in layout using
    <phtmlb:messageBar id = "messageBar"
    type = "<%= gv_severity_str %>"
    text = "error"/>
    See this thread for more..
    How to display error messages in bsp page
    search the forum before posting a new thread....

  • How to set which User Profile attribute is used for email messages?

    I am having a problem setting up User Profiles in SharePoint 2013. I have users that are both (1) Active Directory users authenticated using Windows Authentication, and (2) Active Directory users, existing in another distinct OU, authenticated via ADFS (active
    directory federation services).
    My problem is with the ADFS users. I want to have the users unique id be their logon email account ([email protected]), but want to populate their work email attribute with their "actual" or real email account.
    If I have an OU (External Users) and within that OU (XYZ Company Users), AND my domain is contoso.com, then I want to add a user such that they have a unique id in active directory ([email protected], but want their email address to be whatever
    it is (I.e. [email protected]).
    MY PROBLEM: I can setup the User Profile Synchronization service to map the properties perfectly, but when I I try to add/share a user in a SharePoint site, the user's account email ([email protected] is sent the message, not their "Work Email"
    ([email protected]).
    QUESTION: How do I get SharePoint to use the "Work Email" attribute (NOT the account email) of a User Profile when sending email messages?

    Okay, within Active Directory, the user's email IS set to
    [email protected] The "unique value" (Using the account logon name) works just fine. The problem is SharePoint. When I logon with another account and choose to share a site with this particular test user, the Email for sharing the site is sent to
    [email protected] (the account logon name), not
    [email protected] (the user's email address)
    How do I get SharePoint to actually use the email address of an AD user, and not use the account logon name when sending notifications?

  • Facing the user profile service service failed error message

    Hi,
     This is prasad, and am facing the below error message while i try to logon to the system with administrative password.
     The User Profile Service service failed the logon.
      User Profile cannot be loaded.
    Can you please help me out how to resolve the above issue as the earliest?
    Thanks in advance.
    With regards,
    Prasad V

    This is probablly  caused by a virus.. When this happened to me it did work in safe mode. You should disable all start up programs except for the programs needed to start up. TRy unninstalling all of the programs. Do you have more than one user account? I`m guessing you have vista. What I did was reinstall the vista. I had a backup on one partion of the disk and transfered that but it did fail. INStead I ended up with not being able to start it up. I called aacer and they gave me a new bsckup disk. IF you have more than one account then you can easly transfer all the doccuments and redo everything. You may have to get office and all thoose other programs again.  I found a lot of extrtra viruses and spyware when I did the scan. So, it may be hard to get back in. JUSt log into safe mode, make an extra account if possile. Good luck! 

  • I have this message when i try to log onto my home pc "The User Profile Service, service failed the logon. User profile cannot be loaded." can I recover my music and photos from iCloud from another user account?

    I get this message when i try to log onto my home pc account "The user Profile Service, service failed the lofon. User profile cannot be loaded" can I recover my data from another/new user account from my iCloud account??

    "Jesse.soto1" wrote in message news:1e164fdf-7370-45c0-9bc7-3b58278121c3...
    Good Afternoon Everyone,
    I am not technologically savvy as a result I'm having trouble understanding previous posts on "The user profile service service failed to logon user profile cannot be loaded." Lingo on domain reset etc, not sure that this pertains to solving my  issue
    ... I cant even get pass the sign in page let alone make changes. I am having this issue with my Dell Studio XPS 1340 with Windows 7 Home Premium. If anyone can provide their two cents I would greatly appreciate.
    Very Respectfully,
    Jesse
    Home Premium cannot logon to a Domain, nor can it be set to try it.
    when you get the logon window, try hitting the three-finger salute )Ctrl+Alt+Del) twice – it may bring up the old-style login window – enter your credentials there.
    Noel Paton | Nil Carborundum Illegitemi |
    CrashFixPC | The Three-toed Sloth

  • Trying to log in and message reads: User Profile Service failed the logon. Profile Cannot be loaded

    When I try to log on by clicking my user icon, I'm getting a message that reads:  The User Profile Service service faied the logon.  User Profile cannot be loaded.

    Hi,
    Check the guide on the link below to see if any of the options ( particularly using windows System Restore ) helps.
    http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loade...
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • HT1926 when i try to download itunes 11 my computer stops the download and displays the message could not access network location #user profile%\start menu\programs\startup\

    when i try to download itunes 11.1 or any updates i get the message could not access network location #user profile%\start menu\programs\startup\. any help

    Let's try the fixit from the following Microsoft document with that one:
    Fix problems with programs that can't be installed or uninstalled

  • Attempting to Manage User Profile service results in error messages

    Hello folks. I've been working on this issue for a bit now, and have searched a number of different ways.  Everything I find as a result says "do an iisreset" as the only solution - I've done multiple iisresets and rebooted the server at least twice.
    I've been working on setting up the User Profile service and User Profile Synchronization service.  After a good bit of troubleshooting, I got the Sync service started successfully; I then decided to attempt to get to the user profile service settings
    to begin setting it up for mysites.  When selecting the service to manage it, I get the generic error in the browser, with the correlation ID which points me to these errors in my logs (as provided by ulsviewer, love that app)
    UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)   
    at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)
    UserProfileServiceAudienceStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)   
    at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)
    UserProfileServiceImportStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxy userProfileApplicationProxy, Guid partitionID)   
    at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)
    So far, I'm finding nothing that points to any further troubleshooting past "do an iisreset" or "check that the FIM services are running". I've done plenty of iisresets and the FIM services are running.
    Are there any suggestions for this that aren't just doing an iisreset, because that has not fixed it for me...

    Ok so I was able to fix the issue. 
    I installed the latest CU package (currently April 2012) available here:
    http://technet.microsoft.com/en-us/sharepoint/ff800847
    after it installed, I rebooted the SP server, then ran the SP Products Configuration Wizard, then rebooted again.
    Next, I removed the User Profile service I had previously created, then recreated everything following the instructions here:
    http://sharepointgeorge.com/2010/configuring-the-user-profile-service-in-sharepoint-2010/  to the letter (Gotta make sure you do iisresets at the right places!).
    After all this, my issues went away and I was able to proceed with setting up MySites.

  • Unable to push user profiles to AD groups with Profile Manager since upgrade to Server v3

    Since upgrading our OS X Mac server from 10.8.5 to 10.9.1, and OS X Server app to v3 (now 3.0.2) I have been unable to push or modify user profiles to AD groups (or AD users) using Profile Manager. This was working fine on OS X 10.8.5. Pushing device profiles is still working OK after the upgrade.
    From what I can see from the logs on the client side and server side, it seems related to a problem with the mdm authtoken.
    In the client console I can see this entry:
    27/01/14 14:30:15.844 mdmclient[38557]: *** ERROR *** [Agent:636102071] Unable to proceed with connection to: https://ourserver.ourdomain/devicemanagement/api/device/mdm_connect (com.apple.mdmconfig.mdm) because don't have valid MDM AuthToken
    On the server, in the php.log I can see the corresponding attempt to authenticate:
    1::Jan 27 14:29:50.930 [158] <192.168.28.171> {require_once (mdm_checkin.php:11)} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv - PUT mdm_checkin
    0::Jan 27 14:29:50.931 [158] <192.168.28.171> checkin: 'UserAuthenticate'
    1::Jan 27 14:29:50.936 [158] <192.168.28.171> {Target_for_incoming_request (target.php:209)} Found target NETWORK LS: <User[156]@ourclientmachine>
    0::Jan 27 14:29:50.937 [158] <192.168.28.171> {LabSession_validate_auth_token (mdm_checkin.php:22)} Failed auth for target NETWORK LS: <User[156]@Device[1697]>, incoming_request={
    0::Jan 27 14:29:50.937 [158] <192.168.28.171>   'MessageType'=>'UserAuthenticate',
    0::Jan 27 14:29:50.937 [158] <192.168.28.171>   'UDID'=>'17aff5c5a40f51acbbd78023d0028c80',
    0::Jan 27 14:29:50.937 [158] <192.168.28.171>   'UserID'=>'A5EA25B7-7CCD-4EF4-B240-F23DED275EEC'
    0::Jan 27 14:29:50.937 [158] <192.168.28.171> }
    1::Jan 27 14:29:50.965 [158] <192.168.28.171> {SendFinalOutput (mdm_checkin.php:145)} Sent Final Output (407 bytes)
    1::Jan 27 14:29:50.965 [158] <192.168.28.171> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - /devicemanagement/mdm/mdm_checkin
    0::Jan 27 14:29:50.965 [158] <192.168.28.171> {SendFinalOutput (mdm_checkin.php:145)} Completed in 34ms | 200 OK [https://ourserver.ourdomain/devicemanagement/api/device/mdm_checkin]
    So I can see there is a failure to authenticate, but don't really know how to troubleshoot this further. Or maybe this is just a bug in the new server app?
    I have tried to remove and re-enroll clients in Profile Manager but no joy there.
    In the client's Keychain I can see an MDM user AuthToken linked to the correct user account.
    Thanks in advance for any help or suggestions

    I just wanted to update my post, as this issue for me is resolved.
    I uninstalled and reinstalled the Server.app on our Mac server, since then I've been able to push profiles to AD Users and Groups. I guess that in my case the Server app got into a bit of a mess when it was upgraded to v3.
    Now the next headache I have is that my AD Groups which are displayed in Profile Manager are not syncing any recent changes. I think I'm probably seeing the same issue as described in this post
    https://discussions.apple.com/message/25420919#25420919

Maybe you are looking for

  • Voice Memo problem

    My Ipod nano was previously in sync under the Windows format. I saved a couple of voice memos and I transferred it to my Macbook Pro. As soon as I disconnected my Ipod nano, my voice memos are gone. I reformatted my Ipod Nano and changed it into a Ma

  • It takes 1 min   to change pages after clicking on and the ferris wheel just turns and turns forever

    Why does it take 1 min or longer to change screens after clicking on one.?

  • Send several pdf attachments has one file

    I sent out an email today with 25 pdf files attached. The person who received it said she had to open each file to see it instead of the whole file being sent has one file. How do you do this?

  • It don't deploy !

    To Igor Machin £º Hi! I use OWB'version 9.2.0,Oracle version 9.2.0. I change all except target module,but I change deployment action to create and replace and delete ,it deploy fail,display "ORA-01017: invalid username/password; logon denied" . Why?

  • As time goes a new software upgrade?

    is that in the latest update when you restart stayed in my MacBookPro blue screen, and as the tube was in a hurry to turn off direct power button, and let me know when it snows out an update that I can not download almost anything you ask me the most