Secury LDAP with User Login
Hi There,
We have a LDAP directory with +1000 names addresses bla bla bla.
But i just find out that it isnt protected with a password. Is it possible to protect the LDAP directory with the users from the open directory?
gr maarten
Hi Mark,
Give this a try:
$start = (Get-Date -Hour 00 -Minute 00 -Second 00).AddDays(-1)
$end = (Get-Date -Hour 23 -Minute 59 -Second 59).AddDays(-1)
$messages = Get-MessageTrackingLog -Server MyServer -EventID SEND -start $start -end $end
$out = @()
foreach ($msg in $messages) {
$props = @{
UPN = (Get-User $msg.Sender).UserPrincipalName
TimeStamp = $msg.Timestamp
EventId = $msg.EventId
MessageId = $msg.MessageId
Recipients = ($msg | Select -ExpandProperty Recipients) -join ','
TotalBytes = $msg.TotalBytes
MessageSubject = $msg.MessageSubject
Sender = $msg.Sender
$out += New-Object PsObject -Property $props
$out | Sort MessageId -Unique | Export-Csv .\msgTracking.csv -NoTypeInformation
Don't retire TechNet! -
(Don't give up yet - 12,700+ strong and growing)
Similar Messages
-
Active LDAP with Anonymous login
hello all,
We are using LDP as a method to authenticate users.
How can we set up the Active LDAP with Anonymous login .
Thanks in advance.It's not clear what you want to do.
Do you want to set up LDAP for authentication?
Or
Do you want to set up a custom authentication scheme that tries to authenticate via LDAP and if unsuccessful, logs the user in as an anonymous user? -
Hai,
How to find the list of queries currently running in the Database with User Login Information.
Since my database application is running slow, to find the slow queries.Try the below query
SELECT r.start_time [Start Time],r.session_id [SPID],
DB_NAME(database_id) [Database],
s.host_name,
s.program_name,
s.login_name,
SUBSTRING(t.text,(r.statement_start_offset/2)+1,
CASE WHEN statement_end_offset=-1 OR statement_end_offset=0
THEN (DATALENGTH(t.Text)-r.statement_start_offset/2)+1
ELSE (r.statement_end_offset-r.statement_start_offset)/2+1
END) [Executing SQL],
r.status,command,wait_type,wait_time,wait_resource,
last_wait_type
FROM sys.dm_exec_requests r
OUTER APPLY sys.dm_exec_sql_text(sql_handle) t
inner join sys.dm_exec_sessions s
on s.session_id = r.session_id
WHERE r.session_id !=@@SPID -- don't show this query
AND r.session_id > 50 -- don't show system queries
ORDER BY r.start_time
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
Hi
When am trying to download acrobot standard its prompting with user login password and its not getting downloaded.When you (or someone) first switched on your computer, you (or someone) had to choose a password. This protects your computer, and you need it to install most software or change the system. We can't help you if you forget it, sorry.
-
Fllooded with user login alarms
Hello: Now that I have snmp somewhat setup - with lots of
help from this forum - I am getting flooded with user login
alerts (alarms). The biggest offender is our FAXserve_User
account which logs in and out every 15 seconds as part of
its "scanning for new work" process. I really don't care
about know every user loggin / out event.
What is the best way to disable this behavior (short of
deleting the alarm type)?
Thanks for your help, CHris.On Mon, 31 Jul 2006 13:03:51 GMT, Chris Mosentine wrote:
> What is the best way to disable this behavior (short of
> deleting the alarm type)?
either change it, delete it, or configure the mibs on the server correctly.
Honestly alarms is the best ROI on this part of the product and the part of
the product which is switched off the fastested again.
The reason: To many alarms ;-)
If you read through the docs you will find how to configure when and what
the server will report on. You need to do that based on your environment.
Also you need to configure the alarms corespondigly.
And thats be major part. And thats also the most complicated part as all
environment are different. Some environments don't need login alarms, some
do .. yaddayaddayadda..
Marcus Breiden
If you are asked to email me information please change -- to - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.edu-magic.net -
Share my Entourage calender on one computer with users/login accts ???
Hi, I've been searching the forums, and only see answers on this topic for people on work networks/exchange. My issue is for a single home iMac with three users with separate login accts.
My problem is that I have a new iMac and I got office2004 and I would like all the members of my family to use this computer and share the "ENTOURAGE CALENDER" so we can all see who is doing/going what and when.
I can't seem to figure this out and I need some help!!!! Can anyone explain how I can achieve this simply to me?
I would greatly appreciate it.
Thanks,
-Doug
iMac20 intel duo Mac OS X (10.4.8) Office 04 for Mac, Entourage Calender
iMac20 intel duo Mac OS X (10.4.8)There is no way to do that without a server being involved. I would recommend using Google Calendar to achieve something similar.
-
Applications only for root are displayed even with user login
I am using MBP Pro with OSx 10.7.3. I use admin account. Recently I enabled root account and then disabled it back again. Since then I am seeing applications only for root and not for admin even with admin login. If I go to /Users/<admin username>/Library/Preferences, I can see that the applications has relevant files over there. When I looked more carefully I observed that, I am able to see the applications installed for the root only and not for the admin user. Is there any way to corrrect this?
This particular discussion group is for Classic Mac OS. Your question would be better suited in the OS X Lion group (https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion).
-
Solaris 9 10 - pam.conf - LDAP - su - user login - DS 6.3.1
We are trying to configure our Solaris clients to use LDAP for authentication. We have modified the nsswitch.conf and pam.conf. The pam.conf looks like this:
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_cred.so.1
login auth binding pam_unix_auth.so.1 server_policy debug
login auth required pam_ldap.so.1 use_first_pass debug
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_cred.so.1
rlogin auth binding pam_unix_auth.so.1 server_policy
rlogin auth required pam_ldap.so.1 use_first_pass debug
dtlogin auth requisite pam_authtok_get.so.1
dtlogin auth required pam_dhkeys.so.1
dtlogin auth binding pam_unix_cred.so.1
dtlogin auth binding pam_unix_auth.so.1 server_policy
dtlogin auth required pam_ldap.so.1 use_first_pass debug
rsh auth sufficient pam_rhosts_auth.so.1
rsh auth binding pam_unix_auth.so.1 server_policy
rsh auth required pam_ldap.so.1 use_first_pass debug
ppp auth requisite pam_authtok_get.so.1
ppp auth required pam_dhkeys.so.1
ppp auth binding pam_unix_auth.so.1 server_policy
ppp auth required pam_dial_auth.so.1
ppp auth required pam_ldap.so.1 use_first_pass debug
dtsession auth requisite pam_authtok_get.so.1
dtsession auth required pam_dhkeys.so.1
dtsession auth binding pam_unix_auth.so.1 server_policy
dtsession auth required pam_ldap.so.1 debug
other auth requisite pam_authtok_get.so.1 debug
other auth sufficient pam_dhkeys.so.1 debug
other auth binding pam_unix_cred.so.1
other auth binding pam_unix_auth.so.1 server_policy debug
other auth required pam_ldap.so.1 use_first_pass debug
passwd auth required pam_passwd_auth.so.1 debug server_policy
cron account required pam_projects.so.1
cron account required pam_unix_account.so.1
dtlogin account requisite pam_roles.so.1
dtlogin account required pam_projects.so.1
dtlogin account binding pam_unix_account.so.1 server_policy
dtlogin account required pam_ldap.so.1 debug
ppp account requisite pam_roles.so.1
ppp account required pam_projects.so.1
ppp account required pam_unix_account.so.1 server_policy
other account requisite pam_roles.so.1
other account required pam_projects.so.1
other account binding pam_unix_account.so.1 server_policy
other account required pam_ldap.so.1 debug
ppp session required pam_unix_session.so.1
other session required pam_unix_session.so.1
other session required pam_mkhomedir.so.1 skel=/etc/skel umask=0022
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 sufficient pam_authtok_store.so.1 server_policy debug
other password required pam_ldap.so.1 debug
The issue we are having is that the DS is configured to force a password change after an administrator reset. If we change the lines:
other account binding pam_unix_account.so.1 server_policy
other account required pam_ldap.so.1 debug
to
other account binding pam_ldap.so.1 debug
other account required pam_unix_account.so.1 server_policy
we get the prompt to change the password. But at that point a non-root user can not su to any other user.
Does anyone have any ideas? Also, we are trying to configure a Linux client to do the same thing, but can't get the system-auth file correct either.
Edited by: jason.hershcopf on Apr 2, 2009 6:32 PMHi Jason,
Wondering if you got an answer for this. I am having similiar issues with LDAP on Solaris 10.
Any feedback will be of great help.
Thanks! -
JSP-MySQL user login with username, password and registration
Hi everyone:
i need to create a simple jsp client login with username and password. There is also a registration link for those not register yet.
I m using tomcat and MySQL and have already create a client login with username and password page.(record already in database).
I m now have no idea on how to create a registration link, ie update the database. please help..the examples i search through google were build by Jboss, strut, ApacheGeronimo which i m not familiar with.
Is it any "package" or "wizard" available in creating the login and registration page? Most of the webpage has build with user login and registration part, may i know how they "create" them?
Please help.. Thanks in advance!hi,
You can use tomcat5.5 for this. you can get help from the following link.
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
If ur registrantion page is RegistrationPage.jsp then u can write it:
<a href="RegistrationPage.jsp">Registration Page </a">For Registration page u have to use session & for u can search this in javaworld.com site. MAy from this u will get ur solution -
Production site is not functioning due to an User Login Password expire.
Hi All,
SQL Server 2005
We have an issue with user login password expire. Generally we create logins without password expire but the user is unable to login to the server and getting password expire error.
a) What would be the reasons behind this scenario.
b) How to resolve this issue.
c) How can we avoid this issue in future.
I'm really grateful to your valuable suggestions on this. Thank You.
Regards,
Kalyan.
----Learners Curiosity Never Ends----Hi,
In addition, you can use
ALTER LOGIN (Transact-SQL) to configure the enforcement of password policy options of a SQL Server login.
When CHECK_POLICY is changed to OFF, CHECK_EXPIRATION will also be set to OFF. The following combinations of policy options are not supported:
If MUST_CHANGE is specified, CHECK_EXPIRATION and CHECK_POLICY must be set to ON. Otherwise, the statement will fail.
If CHECK_POLICY is set to OFF, CHECK_EXPIRATION cannot be set to ON. An ALTER LOGIN statement that has this combination of options will fail.
More information, please see policy enforcement section in the following TechNet article:
http://technet.microsoft.com/en-us/library/ms161959.aspx
Thanks.
Tracy Cai
TechNet Community Support -
Retrieving Last used User Login Name in OIM 11g R2
In my scenario, i want to retrieve the last used user login in OIM for user profile, to create next User Login based on last one retrieved ?
Is there any API method available in User Management to get this value or Any customized DB query that will help ?
Setup used is OIM 11g R2 PS1.Thanks Rajiv for Input !
Still i have some doubts in my scenario. Actually i have to create new User Login in sequence based on last User Login of Last user created . This is no based on User ID. Also, whatever already existing users with user login are present , they will be uploaded in OIM for first time through trusted reconcilation.
After reconcilation is done, then hereafter while creating next user i have to update its user login attribute in sequence of latest user login used and check for its uniqueness.Suppose, in case while bulk data import in OIM for first time , the users are not in sequence of User Login attribute, then it will be difficult to get the latest user login. Is there any way to get last user created based on User Login and not on User Id ?
Hope i have given clear picture of my scenario. -
Problem with users in portal - login conflict with LDAP.
Hi.
Let me describe our problem:
We've a EP5 portal with LDAP conected to a central LDAP server, users access with the same user and password to all the different systems.
The problem happens to users who have theyr passwords expired. We already set to 0 the password expiration days to avoid future problems but that didn't applied to the already expired ones.
This affected users cannot change the password due to problems with the connection rights to LDAP server.
We're trying to find the place there it's set that the user is in some kind of "password expired" status, directly in a database table if neccesary, to change the status manually, as system does not allow os to set it by user administration in portal.
Any suggestions would be appreciated.Restoring expired Portal passwords
Solved -
Sun comm 7 vmware appliance ,can not login with user sample
Dear Expert ,
I just download sun communication suite 7 (vmware appliance) :
1.Unzip all part SunJava_Comms_Suite7u0_VM-part-1 until SunJava_Comms_Suite7u0_VM-part-5
2. Open vmware and open it
3. change the password
4. reboot
5.Click firefox on desktop ,i see sample username and password
6. I try login with 2 sample user (login from http://chimaera.varrius.org/iwc )but i got meessage "The server has encountered an error. Please try again later"
I am try start stop app server on /opt/SUNWappserver/domains/domain1/bin
My question , how to solve this issue ?
thanks
hadiHi Share,
Thanks for reply , here the log
[#|2010-02-01T22:55:21.822-0800|INFO|sun-appserver2.1|com.sun.comms.iss.common.InitContext|_ThreadID=10;_ThreadName=main;|Retry creating InitialContext|#]
[#|2010-02-01T22:55:51.823-0800|WARNING|sun-appserver2.1|com.sun.comms.iss.common.InitContext|_ThreadID=10;_ThreadName=main;_RequestID=8bb98af7-fdbc-41e5-a151-c04e3584e529;|Retry creating InitialContext failed
javax.naming.CommunicationException: chimaera.varrius.org:389 [Root exception is java.net.ConnectException: Connection refused]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:207)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.sun.comms.iss.common.InitContext.getInitialContext(InitContext.java:57)
at com.sun.comms.iss.common.ServiceProxy.<init>(ServiceProxy.java:171)
at com.sun.comms.iss.common.ServiceProxy.getInstance(ServiceProxy.java:263)
at com.sun.comms.iss.rest.RestServlet.initAccountStates(RestServlet.java:419)
at com.sun.comms.iss.rest.RestServlet.<init>(RestServlet.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.noelios.restlet.ext.servlet.ServerServlet.createApplication(ServerServlet.java:285)
at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:704)
at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:819)
at javax.servlet.GenericServlet.init(GenericServlet.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:292)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:325)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:208)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1020)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4948)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5355)
at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1762)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1247)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:971)
at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
at com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:497)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1247)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:549)
at org.apache.catalina.startup.Embedded.start(Embedded.java:952)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:872)
at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:792)
at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:89)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:446)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.<init>(Socket.java:372)
at java.net.Socket.<init>(Socket.java:186)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:349)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:184)
... 67 more
thanks
hadi -
I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.
You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.
-
How to read the data from a file in another computer with user name and password login
How to read read the data from a file in anohter computer which need to login with user name and password?
duplicate post: http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2061478
duplicate post: http://forums.ni.com/t5/LabVIEW/do-need-to-enter-the-user-name-and-password-when-TCP-ip/m-p/2061612
duplicate post http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2060682
Maybe you are looking for
-
How to make a search button in a view?
Hi experts, Can anyone tell me how to make a button for a search dialog to search a poste (just like which in ppome) in a view? Thanks!
-
Proxy To file scenario : need the output in hierarchial structure
Hi all, I am doing a proxy to file scenario. Now I am getting the output as : <documents> <document> <header> <delivery_number></delivery_number> <tax_number/> u2026 </header> <data> u2026 </data> </document> <document> <header> u2026 </header> <da
-
Can we call a workflow form a JSP and/or form a Java Class?
Is it possible to call a workflow form a JSP and/or form a Java Class?
-
Dynamic table (rich prog)
how can i use this prog to download tables with ';'between every field any idea? report z_dynamic. type-pools : abap. field-symbols: <dyn_table> type standard table, <dyn_wa>, <dyn_field>. data: dy_table type ref to data
-
I am running out on space on my MacBook Pro. When I check my iTunes library it states 90.18 GB used but when I go into "About this Mac" under storage I see the audio space used is 124 GB. That's quite a difference - 34 GB. Does anyone know why the di