I had followed the exact steps to configure form authentication in shrepoint 2007 from here but i am unable to login with the user. I checked that my connection string is right, providers are also current so what should be the issue ?
I have another question regarding same topic.let say i have configured the membership database in my sql server database by using the asp.net configuration application.
say I have created a user "XYZ". certainly this will inserted into the membership database. but, will this user ("XYZ") also added in Active directory users ? or not.
If not then while creating the user in sharepoint site (from people and group) How it will resolve the "XYZ" user which i entered in membership database?
because as i explained i have created user "lalit" from asp.net configuration database , i found this user in membership database. where as i have given connection string to that site, of my membership database. and when I went to add new user for the site through People and group option (from site settings) , I got error message "No user match found" something like this. So i created user in active directory with name " lalit" then it resolved. but why should i need to create the "lalit" as user to active directory ? Or why then need to create the membership database if active directory users are there ...?
You need to use the provider as a prefix, for example, if your provider membership name is MOSSProvider, when you add a user to a group, you have to add it as "MOSSProvider:username", also you must have configured your site with FAB. Check Alternate Access Mapping operation for doing that.
Related
I have a user who is a manger and want to grant access to the following area so they can continue editing a profile field:
Home / Site administration / Users / Accounts / User profile fields
When the user tries to access the area, they get an access is denied error.
I tried viewing the Define roles for the Manager, but couldn't find the correct one for that page.
Is this even possible?
I am on version 3.6.3.
The user needs the moodle/site:config capability which will give them access to pretty much everything.
You could try creating a new capability or using an existing capability, then editing this line in /admin/settings/users.php
$ADMIN->add('users', new admin_externalpage('profilefields', new lang_string('profilefields','admin'), "$CFG->wwwroot/user/profile/index.php", array('moodle/site:config', 'newcapabilityhere')));
We have a requirement to create new AD users through perl using NET::LDAPS.
The new user needs to be a copy of an existing user.
On the Active Directory GUI (dsa.msc), we would simply select the existing user and create a copy with new username and details. This copies all attributes including groups the user is a member of.
Is there similar code using LDAP that would copy all attributes of an existing user into a new user(including groups).
Alternatively, do we need to first create the AD user and then add the user to existing groups. In this case, how do we find out the groups that the existing user is a member of?
No, you have to update the directory manually. Keep in mind that perl-ldap is a library for the protocol LDAP and not for Active Directory which is just one application for LDAP.
And, by the way, it's Net::LDAPS, not Net::LDAP. The latter will only work on case-insensitive file systems.
I installed openfire on CentOs and it uses external database for authentification and user list.
I managed groups based on a user table and a friend listing so that each user is also a group that is is an administrator and populated with users that are (friends).
External users and authentication works fine.
The issue is that the buddy list is only populated when is check "enable contact list group sharing openfire" on group administration.
I want to make this option always enabled so that user can see each other in their buddy list.
this is an existing issue openfire issue
Are there any possible solutions or alternatives.
Edit:
In other words, I want to avoid adding the following three lines to the ofGroupProp table:
name sharedRoster.displayName groupname
name sharedRoster.groupList
name sharedRoster.showInRoster onlyGroup
I create a lot of users (~350) using User CSV Uploader (/alfresco/service/api/people/upload) and then as site maneger i tried to invite some of this users, but i can't find them.
Steps:
create a list of users (using CSV template) - OK
upload the list - OK
check if the users exist - OK
as site manger and alfresco_administrator when i go to http//mydomain/share/page/site/mysite/invite and search for user (let's say TESTUSER) the user is listed and is allowed to be invited
as site manager (not alfresco_administrator) when i go to http//mydomain/share/page/site/mysite/invite and search for user TESTUSER the user is not listed
The user TESTUSER exist and was created using CSV upload.
I creat manualy another user TESTUSER2 and i follow steps 3,4 and 5. In this case this user TESTUSER2 is listed in both case.
My question is: There is a possibility to "reindex" all user or i need to create ~300 users manualy.
Right now LDAP or AD is not an option.
Alfresco 4.2c/Centos 6.4/SOLR (full reindex after 2 days)
Thank You!
Geo
are you able to find the persons via people finder /share/page/people-finder?
If not, are you able to find the persons when appending [hint:useCQ] (forces usage of DB instead of SearchIndex) to your people search term?
If you find the persons using this hint, then your Solr Index is not in sync.
I need to find out if a customer (during checkout) is also currently logged in as a Zen Cart administrator. The purpose is for allowing certain actions to be available for an administrator placing an order on behalf of a customer (say, by telephone).
My first idea was to check $_SESSION['admin_id'].
However this does not seem to be set, instead $_SESSION['customer_id'] is.
I think this is because different session names are chosen in the admin and customer areas (zenAdminId vs zenid).
How can I find out if this customer would be logged in as an admin, had they been in the admin area at the same time?
I am working on the checkout step prior to sending off to a hosted payment service provider.
Edit: the merchant is logged in as an admin and is entering the customer's details, which are different to those of the admin account, into the checkout screens. It is a customer-not-present/MOTO setup.
You are correct - $_SESSION['customer_id'] is set. And there's nothing in the customer's table which indicates if this person is an admin. However, if they use the same email address for their customer account and for their admin account, you can look up their email in the customers table with $_SESSION['customer_id'], then match that against the admin_email field in the emails in Use this to look up table "admin."
It is worth noting that if your admin cookie isn't restricted by path SESSION_USE_ROOT_COOKIE_PATH=True that you can simply check for the cookie zenAdminID. You can read the contents of this cookie by querying zen_sessions, the sesskey being the value in zenAdminID.
You have to base64_decode the value from the result to get the session. It gives a serialised object, although unfortunately you are unable to use unserialize on it. You can load it as the current $_SESSION but this would overwrite your current one.
I simply did this to get the admin_id:
preg_match('/admin_id\|s:1:"([0-9]+?)"/', $admin_session, $admin_matches);
$admin_matches[1] giving the admin id value.