Python ldap write access (acl) from another machine?

i've downloaded and installed:
http://python-ldap.sourceforge.net/
and used this example code:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303336
and i'm using this code to connect to another machine that is running a vanilla install of leopard 10.5.2.
The search works fine, but add and delete return this error:
{'info': 'no write access to parent', 'desc': 'Insufficient access'}
It would appear that the default acl for * doesn't allow for other computers to have write access?
access to *
by set="user/uid & [cn=admin,cn=groups,dc=test,dc=mydomain,dc=com]/memberUid" write
by dn.exact="cn=test.mydomain.com$,cn=computers,dc=test,dc=mydomain,dc=com" write
by sockurl="ldapi://%2Fvar%2Frun%2Fldapi" write
by * read
What I don't understand about acls is: are the 'by' lines all additive? if I was to add a new acl like the one below, will that give other computers, when authenticated as someone in the admin group, write access?
It would appear that the default acl for * doesn't allow for other computers to have write access? or commenting out the dn=exact and sockurl?
access to *
by set="user/uid & [cn=admin,cn=groups,dc=test,dc=mydomain,dc=com]/memberUid" write
by * read
do i add this to /etc/openldap/slapd_macosxserver.conf and restart the server?

Hi,
You can check these few text-book style troubleshooting steps :-
1. Can you PING the system computername from another System ?
2. Can you check the ServerName Parameter in httpD.Conf of your IAS's Apahce & check if it contains computername ?
3. Can you check if you can access http://computername:7777 or http://computername:7778 ( Default Ports ).
4. Can you Telnet to computername at Port 80 ( using some software like Putty ) and issue Http Commands like GET / HTTP/1.1 ( just to check if the port is open ) ?
Regards,
Sandeep

Similar Messages

  • Flex Application Hosting issue unable to access webservice from another machine

    Hi all,
    I am having a flex application which is using webservice of the asp.net.When I host this application on the machine in which the webservice is present then it works fine.But when I am hosting the application on the another machine then the webservice is not being called.If any body have any idea pls suggest.
    Thnx in Advance,
    Shardul Singh Bartwal

    You may need a crossdomain.xml file. Flex security does not allow your SWF to access data on other domains without it.
    In this case even mysub.myCompany.com is considered a different domain from www.myCompany .com.
    These links should help you understand:
    http://livedocs.adobe.com/flex/3/html/help.html?content=data_6.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=deployingoverview_12.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=security2_03.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=security2_04.html
    If this post answers your question or helps, please mark it as such.

  • Some questions about accessing Oracle from another machine with OEM

    I followed this great tutorial on how to get oracle8i installed and working on rh6.2. http://jordan.fortwayne.com/oracle/
    Great job to the writer)))
    Know I need a little more info on where to go after it is up and running...
    I downloaded the client for NT and I would like to access the Linux box using OEM from a Win2000 laptop however I really have no clue what I am doing and how to make this happen can someone please point me to a tutorial simular to the install tutorial I found?
    Thanks
    [email protected]

    You need to install OEM on your Windows box. From there go to your OEM configuration assistant in the start menu. Run it and point it to one of your instances on your DB server. You must provide a user name and password for the DB it will then connect and build a repository for OEM. After that run the OEM console application and connect to OEM using sysman for your login and oem_temp as your password. This should get you going.

  • Is there any way to access backups from another machine?

    In an immense screwage, Apple has misplaced my macbook pro on the way to depot service.
    Given the fact that I do expect them to eventually get it back to me, is there anyway to access the time machine backup for the missing machine?

    See # 17 in Time Machine -- Frequently Asked Questions by Time Machine wizard Pondini.
    http://pondini.org/TM/FAQ.html

  • Connect to oracle xe from another machine

    How i can set oracle xe for connect from another machine
    i can connect with :
    sqlplus system/pass@xe
    listener and tnsnames are fine
    on base machine, but I can't do it from another machine
    i can't do it with html db (from browser), too
    ist it possible and how ?

    Do you have updated the tnsnames.ora file on your client box before you have tried to access the remote machine? Can you please post the error message you receive.
    If you have set the TNSNAMES.ora please try to resolve the remote database with TNSPING.. Can you also please post the results of this?

  • I can't execute my forms from another machine

    After a lot tears, blood and sweat, eventually I achieve to install successfully an IAS (server).
    I probe it and realize that I can execute forms in the Navigator wich is in the IAS Server, but I can't execute it from another machine.
    I now that the web server is Ok because I can see the main page of the web server (runform.htm) but since I introduce the name of the forms it can't find the page.
    ?What am I doing wrong?
    Regards

    If the IP address approach is working and the machine name is not, it may be that you need to have your machine added to your DNS server. The DNS server does the linking of your machine name to a IP address known by the server. If it is defined on the server, then make sure the machine you are trying to access the form from has that DNS server defined in its Network set-up.
    Hope this helps.

  • Schedule boot from another machine

    Few day ago the power button of my macbook was broken and it won't to startup.
    I've boot my system with another macbook with the hd and I've try to install Aurora and Alarm Clock pro and schedule a boot, hoping when remounted the hd in the broken one it will startup...
    What happened is the second macbook (without my hd plug-in and without aurora and alarm installed) is start but my is not...
    Is there a way to schedule a startup from another machine or is impossible?
    thanks to any advice!!!

    Some external CD/DVD reader/writer are capable of booting the computer from an OS X install disc. Although there is alternative method for doing so, you need to be able to boot from your current OS X install disc in order to run Disk First Aid repair on the hard drive.
    If your external CD/DVD reader/writer does not support booting your Mac from an OS X install disc and your Mac has Firewire ports and supports Firewire Target Disk mode, you can connnect another Mac with a Firewire port that includes a working CD/DVD module and also supports Firewire Target Disk mode and install a new OS on your Mac from this Mac.
    http://docs.info.apple.com/article.html?artnum=58583

  • Can you run fcsvr_client from another machine?

    has anyone tried running fcsvr_client from another machine:
    eg: fcsvr_client --host 10.1.1.1 --user Username --pass Password search /projects
    can't seem to figure out what they want for a user and pass. i keep getting the following error:
    CODE = E_LOGIN, DESC = no valid user identified for this action, SRC_FILE = PmsTask_SearchEntity.C, SRC_LINE = 189
    ideas?

    This post here will get were you want: http://discussions.apple.com/thread.jspa?threadID=1502389&tstart=200
    In summary in can access the db only from localhost BUT you CAN use ssh tunneling to access the remote fcsvr computer and get access to the db (in your case fcsvr_client).
    Good luck

  • Prob in accessing apex from remote machine

    hi,
    i've installed APEX successfully in my server
    and its working fine in the server.
    now i would like to access it from client machines...
    but its not connecting..
    when i tried " ping serverIP " it pings successfully...
    can anyone tel me what the prob is???

    Hi,
    This might help
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABBEFAJ
    Check also that your firewall port is open. If you try connect to Apex port 8080 should be open.
    Br,Jari

  • HT201272 I'm having trouble downloading a previously purchase song to my iCloud so I can access it from another device.  The iCloud download button is not there.  Help?

    I'm having trouble downloading a previously purchase song to my iCloud so I can access it from another device.  The iCloud download button is not there.  Help?

    I agree. I don't rely on iCloud as a backup, that is what I have my portable hard drive for. Its 500 GB so I can hold my entire iTunes library several times over on it. I have all my movies on my hard drive, but somehow "The Mist" got deleted off of my hard drive, so I figured "Well, the option to redownload an already purchased movie is available through iCloud, I'll just do that!"
    And permissions and download availability have nothing to do with it, the movie's still there, it still allows me to redownload it. The only problem is when I click download, I get that message.
    And nobody else uses my computer, but I do have multiple accounts authorized on it. Even still though, I am attepmpting to download it through the account I purchased it under. :/

  • Use Apex from another machine

    Dear experts
    Is it possible to use APEX for XE from another machine i.e. in the browser address bar can i type http://192.168.0.12:8080/APEX? It does not work for me. would really appreciate any pointers on this
    Thanks a lot
    Manish Sawjiani

    Sure, this is what XE is supposed to support :).
    You find some more in information here: Re: how can i  publish my application on the internet.
    ~Dietmar.

  • Using Time Machine from another machine to restore Library Folders

    I am using TM from another machine, (which has died) to restore folders onto a working system, some of the folders i need are in the User Library, but how do i display the User Library in TM?
    Thank You
    John

    Hello,
    I have now noticed that the cmd+shift+g method works OK if you are doing a standard restore from the TM on the current system, but does not work when using a TM from another machine. I do not know enough about Unix file structures to specify the correct file under these circumstances, any help woudl be grateful
    Thanks
    John

  • Accessing tables from remote machine

    I using the following code, to update the record from the emp table. This table is created locally in my machine.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn;
    String db = "jdbc:odbc:NewDsn";
    String username = "test";
    String password = "test";
    String tableName = "emp";
    conn = DriverManager.getConnection(db, username, password);
    Statement stmt1 = conn.createStatement();
    String update = "update " + tableName +
    " set salary=salary+1000 where empid>200";
    stmt1.executeUpdate(update);
    I want my application to run on two different machine and the update should be made on a single table.
    Please help me, how the user from other machine can access this emp table created in my local machine?

    I completely agree with RPriya.
    jschell, If you think that it is not correct, could you please put some focus on your statementYou mean you want me to explain how database connections work in general and how jdbc drivers would use them?
    Do you know how a socket works? Do you know that it requires a client and a server?
    How does a socket work if there is no server?
    How do database connections work in C, C++, Perl, Ruby, Python, VB, etc, when absolutely none of those use a java type 4 driver?
    Do you know how the oracle oci driver work? It is not a type 4 driver.
    Do you know how the jdbc-odbc bridge works with oracle? With MS SQL Server? The jdbc-odbc bridge is not a type 4 driver.

  • Re-formatting / erasing a corrupted hard disk from another machine?

    Hi there,
    I have a macbook pro that was running 10.6.3. The hard disk fell over and for some reason the DVD won't be recognised. When I boot my macbook I get a grey screen with a flashing folder with a question mark in it. I tried to boot to disk utility without luck (pressing command + R didn't bring up the DU). How do I go about reformatting / erasing the disk using another machine (I have another macbook pro running 10.7.5)? I assume once that is done then either the DVD will work properly or I can install from the internet?
    Thanks!

    If you are getting the flashing ? mark then either the drive has failed or the cable that goes from the drive to the logic board has failed. In either case that failed part will need to be replaced.
    If the drive failed it has failed and the data on it is irretrievable. You should take the drive out of the older Mac and connect it to the newer Mac with a SATA to USB adapter. If you can read the drive that way then you can copy the data off it and the drive itself hasn't failed, the cable has.
    Your Mac running 10.6.x Snow Leopard doesn't have access to the newer Recovery HD system like Mac's running Lion or Mt Lion.
    But you can use your original OS X reinstall DVD or the retail Snow Leopard DVD you used to upgrade it from an older version of OS X to boot the system and use Disk Utility.

  • Can't import photos from another machine???

    I have downloaded a few albums on another machine and then brought a copy home to put on my iPhoto library but every time I try to import I get an error message saying:
    '+The following files could not be imported (they may be an unrecognized file type or the files may not contain valid data).+'
    All the images are in Jpeg format!

    they are in my iPhoto Library
    How did they get there? iPhoto will not import pics from the active iPhoto Library Folder - a protection against duplication. There is never a need for the user to enter that folder and anytime you do you risk damaging your Library.
    Regards
    TD

Maybe you are looking for