Create User and Password with PHP

I have a PHP script that can create a user in eDirectory using the
ldap_add function. I can successfully add the user, but I don't know how
to set the password. How can I accomplish this with PHP? I know I can
use the ICE utility, but I would prefer not to. Can I do this with the
native functions that are builtin to PHP?
blntskul
blntskul's Profile: http://forums.novell.com/member.php?userid=10433
View this thread: http://forums.novell.com/showthread.php?t=370448

Found it. It's the 'userpassword' attribute.
blntskul
blntskul's Profile: http://forums.novell.com/member.php?userid=10433
View this thread: http://forums.novell.com/showthread.php?t=370448

Similar Messages

  • Share files on LAN without user and password with Samba

    Greetings!
    My smb.conf file. I can not see anything wrong here.
    [global]
    workgroup = home
    netbios name = bok
    security = share
    guest account = nobody
    map to guest = bad user
    log file = /var/log/samba/%m.log
    max log size = 50
    [data]
    comment = Data
    public = yes
    path = /home/esk/smb
    available = yes
    browsable = yes
    read only = yes
    guest ok = yes
    guest only = yes
    Trying to mount with no luck..
    esk@localbok:~$ sudo mount -t cifs -o guest //192.168.1.11/data /mnt/samba/
    retrying with upper case share name
    mount error(6): No such device or address
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs
    Can see the share on the server with smbclient -L 192.168.1.11 -U%
    data Disk Data
    IPC$ IPC IPC Service (Samba 3.5.5)
    Domain=[HOME] OS=[Unix] Server=[Samba 3.5.5]
    Server Comment
    BOK Samba 3.5.5
    Workgroup Master
    HOME BOK
    And finally trying to connect with smbclient //192.168.1.11 -U%
    params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
    No such file or directory
    smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
    Domain=[HOME] OS=[Unix] Server=[Samba 3.5.5]
    Server not using user level security and no password supplied.
    tree connect failed: NT_STATUS_BAD_NETWORK_NAM
    I'm out of ideas, guys. Would really appreciate if someone could have a look. Cheers

    Not sure what is wrong, but you have a lot of options. This is a partial config for what I use and it works great
    [global]
    netbios name = server
    workgroup = workgroup
    server string = Server
    security = share
    #hosts allow = 10.20.1. 127.
    guest account = samba
    #log file = /var/log/samba/%m.log
    [public]
    comment = Public Stuff
    path = /home/public
    create mask = 0660
    directory mask = 0770
    writeable = yes
    guest ok = yes

  • Issue with create user and issue with Java Development tab

    I have two issues with EP,
    1. When i login with Super Admin user, i am unable to Create any user from User Admin tab. Do i have to change the settings of the Super Admin? or is there any criteria for creating the user?
    2. How to assign any user the Java Development tab. Though i login with a super admin user i am unable to see the Java Development role and when tried to assign the role, there were no searches for that Java....

    Hi Adi,
    by default the super administrater has got all permissions. Thus you should be able to create portal users when using a user assigned to the portal group Administrators.
    In order to help you with your first question we need more information. Please describe the malfunction in detail. Have a look into the log files and post related error messages.
    Regarding your second question: You will find the java development role in PCD
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.pct.pdk/Roles/com.sap.pct.pdk.JavaDeveloper.
    If not, then you haven't installed the PDK business package in your portal.
    Go to service.sap.com, choose downloads and search the package (PDK should do it). Download the package, and deploy on your portal using SDM.
    Best regards,
    Martin

  • Create user and password

    I change my password yesterday and cannot log on any more to my oracle 10.2.0
    any help

    user10770624 wrote:
    reason given is ORA-28000 the account is locked how do I unlock it
    >reason given is ORA-28000 the account is locked how do I unlock it
    alter user <username> identified by <your_desired_password> account unlock;HTH
    Aman....

  • Facebook login does not add user and password to the account

    Hi
    PROBLEM
    Facebook login button does not create user and password for login.
    We wish we could ONLY use facebook login button to allow users the account creation on our campus.
    So we disabled the user creation webform.
    And only out facebook login buttons that students can only login to our campus using their fb account in the hope that they dont share it (hopefuly)
    AND
    This is a problem BECAUSE if I publish events and capture leads ALL those users have problems creating their user account latter.
    CASE IS
    1.- A person comes to my website and leaves a comment. This creates a register with their email and name.
    2.- Days later this same user comes back and clicks a facebook user login/ account creatio.
    2.1 The page now shows that user name as it comes from Facebook. BUT NO USER AND PASSWORD information added to that person's register in the CRM.
    So
    If some one leaves a comment, register to our mailing list FIRST
    and SECOND tries to create his account afterward. IT DOESNT WORK
    Any ideas?
    Thank you so much in advance.
    P.S.
    This is the web page. If you 1) Leave first a comment and 2) click on fb login/create account button the profile renders unusable. I have to delete it so you can create your user
    http://www.zuiliuniversity.com/nivel-2-curso-especializado-proyecto-de-marketing-digital

    if you are only using 2 snmp commands  to let the switch pull the config from your tftp server, than there are some commands missing ...
    have a look here to get a documentation about this process:
    https://supportforums.cisco.com/docs/DOC-1860
    http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a0080094aa6.shtml

  • Cannot erase user and password in safary

    Hallo, I need some support. In Safary setting i have user and password with empty webpage and I cannot erase this data. After erasing and reopen, data are still there. Thanks for support

    You may want to enable Private Browsing. Tap "Private" to enable/disable Private Browsing. If the top of page is black, Private Browsing is enabled.
    http://i1224.photobucket.com/albums/ee374/Diavonex/547958b4a8c01ac084dd6649e8386 a0f_zps12fa0cca.jpg

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

  • I tried to upgrade the ios on the phone and I was asked for my icloud user and password. I don't remember these exactly and I tried several times with different options but unsuccessfully. I also forget my email used to configurate the phone.

    How i said on the question. I tried to upgrade the ios on the phone and I was asked for my icloud user and password. I don’t remember these exactly and I tried several times with different options but unsuccessfully. I also forget my email used to configurate the phone. I have the phone box and the bill. I sent you an email with my problem and attachments with the box informations, the bill and the reset request. What to do? You said to me:
    Your request comes from an unrecognized email domain. Apple accepts email requests only from email domains for Apple-authorized carriers.
    Please re-submit your request using your official carrier domain.
    but this email is authorized, what to do??
                                                                                                              respectfully, Beba

    If you have forgotten then these links are the only way to resolve
    http://www.apple.com/support/appleid/
    As long as you have owned the iPhone from new and your Apple id is the one used to activate when new
    OR have you recently purchased the iPhone secondhand ?

  • WebService in XI with user and password

    Hello,
    I´ve created a webservice in XI. When I call this webservice without user and password from an external tool (soapUI 1.7.5), the following error appears:
    +Logon Error Message
    Der Aufruf der URL http:... wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.+
    (means: the call failed because of missing authorization)
    Ok, but where can I implement the user and passwort, that this webservice can be called automatically from an other application?
    Thanks for your assistence.
    Kind regards
    Martin

    Hi Huber,
    <b>but where can I implement the user and passwort, that this webservice can be called automatically from an other application?</b>
    open the WSDL  ....and in the left side (bottom) u can see option of user name and password...but i guess its not possible to login automaticaly.
    u have to provide the username and password evrytime....
    regards
    biplab

  • Link to folder with user and password

    Hi all!
    From my action I want to redirect to a file in order to download it but the problem is that this file is in a web folder with user/password
    How can I redirect to it to downlad it directly without introducing user and password manually by the customer?
    Thanks!
    T

    Do you understand where this user/password restriction comes from? It look like just a HTTP based authentication. A Servlet can access the local file system directly without issueing a new HTTP request for that. Or is that file located at another server?

  • URL in sender SOAP channel with user and password

    Hi Expert,
    I have developed SOAP to proxy scenario.The serder WSDL is generated by using sender agreement. In the WSDL we are using default below URL.
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    But the client requirement is that he want SAP user and password also in above url.
    Is this possible in sender SOAP channel?
    Any body can please help me for above issue?
    Thanks.
    Edited by: darshana-PI on Feb 1, 2012 5:26 PM

    Thanks prateek,
    we have used HTTP plain adapter for this and used below link to call that interface in PI. And its working.
    http://server:port/sap/xi/adapter_plain?service=<xxx>&namespace=<xxx>&interface=<xxx>&sap-user=<xxx>&sap-password=<xxx>&qos=BE
    I can understand the security related problem, but that was the requirement for end application.
    Thanks,
    Darshana.

  • Proxy settings with user and password

    How can I configure the proxy settings if our proxy requests user and password.

    We have a proxy configuration that requieres the input of an user and a password. If we try to update the Creator, we get the error 'Unable to connect to the Update Center Server. Check proxy settings ...'.
    If I remember well, the first time I tried the update feature, I think I got a pop up window to input the user and the password for the proxy. But now I get always the error message. If we shut down the proxy it works fine.
    Today I tried the 'GoogleSearch' demo application and the same problen occures.
    Thanks for information
    Guenther

  • Linking to an OBIEE report without showing the user and password

    Hi!
    we are trying to access to an obiee report from an external portal (coded with php).
    The idea is that the user clicks on a link an gets the report in pdf format. For that purpose we are using this url:
    http://ttivobiee01:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criteria"."Key"&P3=1402&NQuser=user&NQPassword=pass&format=pdf
    But this url is expossing OBIEE's user and password.
    In order to avoid this security issue we tried to do an wget of the url but it doesn't return the report. Instead we get an html, which seams to download the report chunk by chunk (using javaScript).
    The question is, is there any way that we could let our portal ussers access to an obbie report without expossing the user and password?
    I have been looking into oracle forums and have found this: OBIEE Go URL with password protected
    but we couldn't use this aproach due to security issues.
    Thanks!
    Nuria

    Hi!
    We have finally done this (and it works!)
    <?php
    $urlInforme='http://obi:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criterios"."Clave oficial"&P3=1402&NQuser=user&NQPassword=pass&format=pdf';
    $ch = curl_init($urlInforme);
    $ckfile = tempnam ("./", "CURLCOOKIE");
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEJAR, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $output = curl_exec ($ch);
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEFILE, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $fp = fopen("salida.pdf", "w");
    curl_setopt($ch, CURLOPT_FILE, $fp);
    $output = curl_exec ($ch);
    curl_close($ch);
    fclose($fp);

  • External Web Service - User and password in HTTP header

    Hi!
    How is it possible to add user and password in the HTTP header in a external web service call? 
    I have created a "Portal Service from WSDL file - Client side" with the wizard in SAP Developer Studio.  I following the Java Development Guide - Web Service Security, and use the <i>secured service connection</i>.  I have also created a new <i>System Landscape</i>, but should the new system be based on HTTP, my own PAR or what?
    How can I check that the user and password is added to the HTTP header or the SOAP envelope? Do I have to scan http traffic with a proxy as Paros or can I find the request sent from SAP EP in the logs?
    Cheers
    Asle

    Hello All,
    I have been struggling a bit while putting a reasonable security framework on a jax-rpc style web service. I'm using JWSDP1.2 to set up the webservice. I've tried to outline my problem below. Please correct me where I'm wrong.
    I've been through the Sun's WS tutorials, but they are not really clear on security. However, from them I surmised that there are two decent authentication techniques. HTTP Basic and mutual authentication (MA) . Both have their drawbacks though. HTTP Basic suffers from poor encryption while MA is a bit difficult to set up on both client and server sides. Another problem with MA is that there is no central repository for users/passwords.
    OK, what I would really like to do is use my own user database to verify users/passwords i.e. use a HTTP Basic like authentication (but at application level) but run it over SSL for encryption. It seems simple, but is it possible?
    Also, I have noted that when I use HTTP Basic on the service side, and use a java client, then setting username/password has no effect. In other words, I can always access the web-service, even with wrong username/password.
    Sorry for the long post. Hope someone can help. Thanks.

  • I can not login into the Folio Builder, I introduce my user and password and keeps logging in...

    I've introduced my user and password, the Folio Builder tries to login but gets stuck logging in with the wheel spinning.
    I've tried to uninstall and install Indesign CS6 again several times but nothing different happened...
    Could you help me please?
    Thanks.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    You can check if there are entries in the password manager with an empty user name.
    Make sure that you haven't saved multiple (uppercase, lowercase) versions of that name and password.
    Remove saved Password(s):
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    If you click "Never" then you create an exception that needs to be removed.

Maybe you are looking for

  • How to export animated gif with transparent background and glow effect?

    I've been having issues lately with creating animated gifs in flash. I finally figured out a way to export a gif with a transparent background but I'm now having an issue with it again because I'm using a glow effect. When the gif is exported the glo

  • BAPI_SAG_CHANGE to modify scheduling agreement

    Hi, I need to change item condition values on a scheduling agreement, i'd like to use the bapi BAPI_SAG_CHANGE. Does anyone know how to do it? I'm using sap ecc 6.0 Thanks!

  • Send String[][] type to pl/sql procedure from function in App.module

    Hi, I use jdveloper 11.1.1.3.0 I have a pl/sql procedure. the input type argument is 2-dimensional array(TAR) : types: create or replace TYPE ARRAYWEB as varray(160) of VARCHAR2(200); create or replace TYPE TAR as table of ARRAYWEB; Procedure: PROCED

  • Assign to a specific participant

    Hello, I'm new to Oracle BPM suite. I have designed my process. what i'd like to do now, is for example an activity would be assigned to a participant and not to a role. which means an activity would be shown in the task list of a specific participan

  • E75 Email setting

    My Marketing Manager bought a E75, he wishes to setup our company email in his mobile unit, I check the tutorial or guideline online which are for personal email such as yahoo.com & Gmail.com and corporate email is for Microsoft Exchange; my problem