How to authenticate with CUPS ?

Hello.
At my university there is a print service and it's theoretically possible to send print jobs from home. In order to do this I have to set up a new printer as a 'windows printer via samba'. The problem is, that I have to authenticate, but I simply don't know how to send authentication information using CUPS.
There is a manual from the central computer service of my university. It uses Ubuntu to set up the printer connection and they can authenticate, but I don't know how I can accomplish this with Arch.
Manual (written in german):
http://www.univie.ac.at/ZID/uprint-linux/
Moreover the connection should be secure. Does cups support a secure authentication?
Greetings,
hauntergeist

Ok, I figured out how to send a username and a password via CUPS to authenticate to the printer. It works like this
smb://username:password@workgroup/server/printersharename
smb://username:password@server/printersharename
and can be found here, at the Samba docs.
I went to my university, logged into the wireless network and tested it. I was able to print my first page via u:pring! Hooray! \o/
The problem, that I still can't access http://localhost:631/ remains. Damnit, why does it always redirect me to www.localhost.com, which doesn't exist, when I am in the university's network?!?
The next thing I want to try is to print a test page from my dormitory to prove that I can print via CUPS and VPN.
Security issue: I think that the username and password are sent as clear text to the printer, so sending a print job via the a normal, non-vpn Internet connection to the printer is unsecure.
VPN should be secure, isn't it?
Greetz,
haunted

Similar Messages

  • How to authenticate with Sharepoint using rest service and jquery

    Hi ,
    I have a requirement where i need to authenticate with  sharepoint from ios and android app using rest services and jquery.
    Can anyone help me in this .
    Thanks in Advance.
    Regards,
    Srinath 

    Hi,
    According to your post, my understanding is that you want to access SharePoint data from IOS and Android app.
    The following materials for your reference:
    How can I authenticate SharePoint REST calls from Android App?
    http://stackoverflow.com/questions/24673373/how-can-i-authenticate-sharepoint-rest-calls-from-android-app
    Calling RESTful services from your Android app
    http://www.techrepublic.com/blog/software-engineer/calling-restful-services-from-your-android-app/
    SharePoint 2013 REST API in iOS
    http://omicron-llama.co.uk/2012/12/13/sharepoint-2013-rest-api-in-ios/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to authenticate with MSISDN using REST style in openSSO

    I need authenticate with MSISDN using the REST style in openSSO.
    So, can anybody tells how to implement it? I am aware of implementing with username password by calling the URL as /opensso/identity/authenticate. If i want to authenticate using MSISDN how we have do it using REST in openSSO 8.0.

    Hi Vijay,
    I hope there is something related to MSISDN in the administrator Guide and Administrator Reference. Administrator reference contains the MSDN attribute lists. I found that in the Developer's guide, there is a documentation related to customising authentication modules where we can specify MSISDN authentication module. I guess there is a msisdn.xml file which can be can be configured.
    I am a new bee on this front. But I guess, we will find it out together. To what extent you have done to configure. Could you give me little detail about it. ;)
    Your message too short for the forum.
    Manila

  • How to Authenticate with sharepoint using rest services

    I have a requirement where i need to authenticate with  sharepoint from ios and android app using rest services and jquery.
    Can anyone help me in this .

    You can use OAuth for authentication.
    http://msdn.microsoft.com/en-us/library/office/fp142382%28v=office.15%29.aspx

  • How to authenticate with UTL_SMTP to smtp-msa server

    Hi all,
    I'm trying to create a package which send html mails.
    This package use utl_smtp package to send mails and it works fine with a standard smtp server like smtp.orange.fr (I'm in France). Now I would like to use another smtp server (smtp-msa.orange.fr) but this one needs an authentication. How can I do this with my Oracle package ?
    My database where stored package is a 11g database.
    Thank you.
    Sis2b.

    I saw something like:
    utl_smtp.command(l_connection, 'AUTH LOGIN');
    utl_smtp.command(l_connection, utl_encode.base64_encode(utl_raw.cast_to_raw('mymaillogin')));
    utl_smtp.command(l_connection, utl_encode.base64_encode(utl_raw.cast_to_raw('mypassword')));
    But when I try to use it, I have that error:
    begin
    ERREUR Ó la ligne 1 :
    ORA-20000: send_html_email:ORA-20000: html_email:ORA-29279: erreur permanente
    SMTP : 535 5.7.0 Error: authentication failed: authentication failure
    ORA-06512: Ó "SUPER.MAIL_PKG", ligne 32
    ORA-06512: Ó ligne 2
    I don't know why ...
    An idea please ?
    sis2b.

  • How to authenticate with certificate?

    I wanna try to build a more secure LAN. I want every client (wired/wireless) to connect the network used a certificate not a user/password pair.
    But now, as i am a newbie, I don't know what to choose between TACACS+ and RADIUS. Because I have a Mac mini, maybe RADIUS is more suitable, but i don't know how to establish the CA.
    Any help or suggestion will be appreciated!

    We most typically do this in the context of implementing a product like Cisco's Identity Services Engine (ISE). ISE uses 802.1x and has the ability to check clients for things like a certificate during the authentication / posture assessment / remediation process.
    It also acts as a RADIUS server and can dynamically push out Change of Authorization (CoA) to the authenticator (i.e switch or Wireless controller) in order to control things like client VLAN assignment and any access-lists you may want to apply.
    On the client side, a supplicant is used to interact with the authenticator. You can use native supplicants from OS X or Windows etc. but we generally recommend use of Cisco's AnyConnect Secure Mobility client with its Network Access Module (NAM) as it's much more full-featured for that purpose.
    You could also do 802.1x with certificate authentication and use a different backend authentication server (like a regular Cisco ACS or Microsoft Network Policy Server) but you would just get more basic authentication vs. the rich functionality ISE gives (albeit ISE costs a lot more ;) ).
    Have a look at this Youtube video for an example of setting up certificate authentication on ACS: 
         https://www.youtube.com/watch?v=U7qWJ7bIMHA

  • How to authenticate with OD on Network Accounts outside of a LAN

    Does anybody have a solution for allowing a mac computer client to connect and authenticate against my mac mini OD server outside of its LAN. This is so they can access their network accounts. On the laptop at a friends house using snow leopard, I added successfully the network account server which is running at home to their system. When I log out the user accounts appear however upon passwod authentication, the screen just shakes its head.
    What can be done so that my friend can be able to log in.
    I could sure use some help from all you lovely people out there. Thank You for your time and God Bless.
    Joe

    Have you considered enabling the account to be Mobile Accounts? that way even when the network is down, say on an airplane or where ever, they could sitll log into their computers?
    Have you tried turning off the firewall? or DMZ the Mac Server? (incase of a port issue) if it works, then you know where to look.
    I assume you have: 389, 636, 625, 2336, 4120, 749, 88, 4511
    Along the same lines, do you know if they're directly online; or behind a firewall from where ever they're trying to conenct?
    Is the OD set to accept all kind of authetication? or only specific porticals? KDC vs Hash, extra. if some login methods are disabled, have you tried enabling them?
    Also you could try looking at the secure.log to see if it's spitting out an error message.
    you could also try turning on debugging, and seeing what shows up in the log. Mac OS X Server v10.5, 10.6: Enabling Directory Service debug logging

  • How can I authenticate with card which status is 'OP_READY' ?

    Hello~
    I'm doing personalization of smart card.
    I'm able to personalize the card which status is 'INITIALIZED'.
    However...
    According to spec , server follow below process to authenticate with card which status is 'OP_READY'. In that process, select CM is ignored.
    Reset Card->Generate Server_Challenge->Intialize session
    During that process, I wonder about a few things.
    1) When I receive a card from suppliers , what is the status of card?
    Is it 'OP_READY' or "INITIALIZED' ?
    If it is 'OP_READY' , I have to establish a secure session using ISK
    to change the status to 'INITIALIZED'.
    How can I authenticate with card using ISK?
    Any comments would be greatly appreciated

    Hello there,
    If you can Authenticate (by that I mean send an Initialise Update command and External Authenticate command) successfully the ISD keys are already on the card. If you cannot Authenticate then you will need to load these onto the card and this is done with the Put Key command. You need to load 3 keys - these are 16 byte keys usually all with the same value e.g. 41 42 ...........4F. Once these keys are on the card you need to set the SCP option (which should be 0105) and then you will be able to Authenticate. You will then be able to send a Set Status command to change the life cycle state of the card (either with the apdu or from an applet using the setCardContentState() method).
    I'm guessing that your JCOP card probably has the ISD keys on already and has the SCP option set so there is no need for any additional keys to be loaded at this stage.
    Hope this helps,
    Stephanie

  • URL is not change after successful authenticate with ISE 1.1.1

    Hi,
    I have setup Cisco Identity Service Engine (1.1.1) with Wireless LAN Controller (7.2.110)
    Everything is complete unless the URL redirect. My guest client can join the Guest SSID and also can authenticate to ISE.
    But after they success to authenticate with ISE, the URL in the browser doesn't change to the pre-configure. It still be something like https://ise-ip:8443/guestportal/redir.html . Anyway the content in the browser is changed to the URL that being configured such as http://www.google.com/
    How can I do with this situation cause everything is working fine but only the browser URL that is not change to the preconfigure one.
    Thanks,
    Pongsatorn

    Hi,
    This is the user experience when using central web authentication:
    http://www.cisco.com/en/US/products/ps11640/products_configuration_example09186a0080ba6514.shtml#final
    Here is the process when you use local web authentication:
    http://www.cisco.com/en/US/docs/security/ise/1.1/user_guide/ise_guest_pol.html#wp1295223
    Hope this helps,
    Tarik Admani
    *Please rate helpful posts*

  • SGD 4.3 authenticate with AD(Users login n get different set of application

    Hi SGD Forum users,
    First of all, happy new year and happy holiday to all of you from new SGD user :-).
    We are planing to Demo SGD 4.3 to one of our customer by early next week.
    So, what the customer would like to see with the demo:
    1) From SunRay client, user1 launch Firefox browser and type the sgd web page.
    - Enter username and password ( Username and password must authenticate with AD ).
    - After successfully authenticate, user1 will get his webtop page.
    - In the webtop page, user1 only have two(2) applications to launch. First application is MS Office Word and Second application is Full Virtual XP desktop( 192.168.5.205 ).
    2) From SunRay client, user2 launch Firefox browser and type the sgd web page.
    - Enter username and password ( Username and password must authenticate with AD ).
    - After successfully authenticate, user2 will get his webtop page.
    - In the webtop page, user2 only have two(2) applications to launch. First application is MS Office Excel and Second application is Full Virtual XP desktop( 192.168.5.206 ).
    3) From SunRay client, user "manager" launch Firefox browser and type the sgd web page.
    - Enter username and password ( Username and password must authenticate with AD ).
    - After successfully authenticate, user "manager" will get his webtop page.
    - In the webtop page, user "manager" only have four(4) applications to launch. First application is MS Office Word, Second application is MS Office Excel, Third application is MS Office Powerpoint and Fourth application is Full Virtual XP desktop( 192.168.5.207 ).
    Note: The above mentioned users( user1, user2 and manager ) launch a different MS Office applications and different Virtual XP desktop servers.
    Here are my SGD 4.3 demo setup:
    - Install Solaris 10 06/06 OS for Sparc.
    - Install latest patches.
    - Create a local zone.
    - Install SRSS 3.1 and patches in Global zone.
    - Install SGD 4.3 in the local zone.
    - My colleague install 2x MS Server 2003( AD and DNS server )
    - My coleague install ESX( VM Server ) and created 3x Virtual XP Desktop( 192.168.5.205, 192.168.5.206 & 192.168.5.207 ).
    In my SGD, Array Manager, i had successfully set "Enabling the Active Directory login authority" as mentioned in the SGD Administrator Guide. I also login successfully to SGD server using user1, user2 and manager( Created in AD server ). So, my SGD server successfully communicated with AD server.
    When i test login user1 or user2 or manager to SGD server, they get same webtop with same applications. If i am not wrong, these behaviour is due to LDAP Profile under "o=Tarantella System Objects". If i put any application in LDAP Profile's Links tap, all the user whose authenticated with AD will be able to launch it.
    The customer requirement is, all the users authenticate with AD and the users should launch different applications and different Virtual XP Desktop as i mentioned earlier.
    Is it possible to perform the SGD demo as customer requirement ? If yes, can you guide and help me on how-to create different profile for each AD authenticated users.
    Thanks in advance.
    # Yours Sincerely,
    # Mohamed Ali Bin Abdullah.

    Hi Wai,
    Sorry not including full details of the person object in my previous posting.
    Here are the details of person object:
    General
    - Name: user1
    - Description:
    - Surname: esuria
    - Username: user1
    - Email: [email protected]
    - Locale: Automatic
    - Keyboard Map: Use XPE setting
    - Windows NT Domain: BIA
    - Bandwidth: None
    - Webtop Theme: Standard
    - Inherit parent's webtop content: NO
    - Shared between users(quest): NO
    - May log in to Secure Global Desktop: YES
    - Profile Editing: Use Parent setting
    - Clipboard Access: Use Parent Setting
    - Serial Port Mapping: Use Parent Setting
    Links
    o=BIA/cn=MS XP Desktop 192.168..5.205
    Thats the setting of user1 person object which i had created in my SGD but when user1 authenticated with AD, the user1 still sees LDAP Profile applications.
    What else, do i need to set in SGD and AD server side ?
    Thanks in advance.

  • How to authenticate CXF-Webservice against external LDAP in WebLogic?

    Hi there,
    I'm trying to integrate our Camel-application into WebLogic 12c. All the incoming endpoints are CXF-based webservices. These are secured by "UsernameToken Timestamp" with the WSS4JInInterceptor configured like this:
    <bean id="wss4jInInterceptor" class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
              <constructor-arg>
                   <map>
                        <entry key="action" value="UsernameToken Timestamp" />
                        <entry key="passwordType" value="PasswordDigest" />
                        <entry key="passwordCallbackClass"
                             value="de.mycompany.camel.cxf.UserTokenCallbackHandler" />
                   </map>
              </constructor-arg>     
    </bean>
    My problem is: WSS4JInInterceptor expects the UserTokenCallbackHandler to return the password of the user delivered in the header <wsse:Username>. Is there any way to retrieve this from an external LDAP configured in WebLogic? I've already managed to retrieve the users, groups etc with JMX (javax.management.MBeanServerConnection and weblogic.security.providers.authentication.LDAPAuthenticatorMBean), but I can't figure out how to authenticate the user against the LDAP, i. e. retrieve the password.
    Or am I heading in a completely wrong direction and this is not the way to achieve authentication for CXF-Webservices in WebLogic?
    Please give me a hint (code-snippets preferred ;-) ) how to solve this.
    Regards,
    Frank

    I have run into the exact same situation ? Did you ever get around this ? If so, how ? Please let me know.

  • How to interact with database?

    Hi,
    I am exploring sampleportal application in Weblogic Portal8.1 SP4. There in login portlet they are using login.jsp file which uses examples.login.DirectorBacking class for login form authentication. DirectorBacking class uses default com.bea.p13n.security.Authentication class’s authenticate method for authentication. I could not understand the basic functionality of Authentication class as how it interacts with the database.
         Can we use simple JDBC for the login authentication in login.jsp ?

    U can define several authentication realms - which could be RDBMS, LDAP etc.
    Does that answer your question?

  • How to authenticate Username and password in MVC using Azure Active Directory

    Need a sample application where in need to authenticate user entered logindetails using Azure Active directory.

    Hi,
    Kindly go through beneath article which helpful to understand the procedure.
    How to Authenticate Web Users with Azure Active Directory Access Control
    http://azure.microsoft.com/en-in/documentation/articles/active-directory-dotnet-how-to-use-access-control/
    Developing ASP.NET Apps with Windows Azure Active Directory
    http://www.asp.net/identity/overview/getting-started/developing-aspnet-apps-with-windows-azure-active-directory
    Adding Sign-On to Your Web Application Using Azure AD
    https://msdn.microsoft.com/en-us/library/azure/dn151790.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • CAD login failure with CUPS integration

    OK so here we go,
    UCCX System version: 8.5.1.10000-37
    Cucm System version: 8.6.2.20000-2
    CUPS System version: 8.6.4.11900-1
    So we've integrated UCCX desktop with CUPs fine, CAD user goes to login gets error asking for Presence creds.
    CUPS and CUCM are Ldap authenticated integrated.
    I've manually tested logging users into Jabber desktop and Cups user (web login) and both login fine with the same ldap user ( CAD uses this login too)
    If I click cancel on CAD login agent logs in fine to CAD, however if I try login to chat gets rejected even though creds are the same.
    Have manually input creds into CAD when prompted for Presence login (still gets rejected)
    Weird how creds work for Jabber but not getting passed through, have restarted all servers in cluster.
    Any input welcome.
    Thanks in advance,
    Liam

    Hi Liam
    This is a particularly poorly implemented feature.
    Basically pre 9.0 I think it doesn't do any authentication to CUPS. What you need is an entry in the 'Incoming ACL' (in the system/security/incoming acl menu I think) for the IP address of each PC that will use this feature. My understanding is this basically bypasses authentication.
    In 9.0(2) that i upgraded to this week, it supports digest auth. The description from the admin guide is that you must set the digest creds on the CUCM end user to match the user's login password. Well... that's just great security isn't it? 'Please may I have your AD password so I can add a feature to your CAD? Oh, and tell me every time you change it so I can update it'....
    There are also a host of bugs I found - you can't search for contacts in Web CDA to add them to contact lists in larger ADs, it doesn't seem to show the status of any internal or external contacts properly, and upgrading to 9.0(2) only made it slightly better.
    I get the feeling not many people have used this, or there wouldn't be so many issues...
    Aaron

  • Active directory.....Need how it works with WEBSHOP(B2B)

    Hi ,
    Can someone throw light on how webshop(B2B) would be configured to authenticate with Active Directory.
    Any pointers, even though very basic also would help us a lot.
    Thanks in advance
    Regards,
    PV

    Hello PV,
    There is no direct AD support in Webshop. Reason is simple. Webshop uses JCo for connecting to CRM and uses hence its capabilities are limited to what JCo can do. Webshop has support (through JCo) for SAP Logon Tickets / SSO2 cookies. Single Sign On with SSO2 cookies is supported through JCo.
    SAP Portal is generally used as the user authentication gateway and can use Active Directory as data store. It also generates SSO2 cookies for authenticated users. If [SSO has been defined and established between the Portal and the CRM backend|http://help.sap.com/saphelp_crm60/helpdata/en/14/252f4069702d22e10000000a1550b0/content.htm], these SSO2 cookie is enough to logon to the CRM system.
    Now, if you view this from a CRM UME perspective, it is possible to have [LDAP as the data source for UME|http://help.sap.com/saphelp_crm60/helpdata/en/12/7678123c96814bada2c8632d825443/content.htm].
    Hope this is enough information for a good start.
    Easwar Ram
    http://www.parxlns.com

Maybe you are looking for

  • Need help in understanding why so many gets and I/O

    Hi there, I have a sql file somewhat similar in structure to below: delete from table emp;-- changed to Truncate table emp; delete from table dept;--changed to Truncate table dept; insert into emp values() select a,b,c from temp_emp,temp_dept where t

  • Is there a way to only view photos that are not already in an album?

    Not much more to say than, what is in the subject. I have gotten behind on organizing my photos in to albums, and I would love a method to view ONLY the pictures that have yet to be added to album. Especially useful would be if that un-albumed pictur

  • Can't add songs to iTunes 10.4.1

    Previously, I was able to add songs to iTunes by directly dragging files from any location to any iTunes playlist or the general Music section and this would automatically add the new songs to my library. After the 10.4.1 update, I can no longer drag

  • Firefox 4 does not function with Robo Form. This is a must program for me. Do I need to go back to using IE?

    I downloaded and installed Firefox 4. While many new features are excellent, Firefox no longer recognizes or accepts Robo Form Software. This is a must program for me.

  • My Mac Mini screen has a blue tint

    I got my Mac Mini around a week ago, one equipped with intel core duo. When I originally turned it on, the screen was fine until a popup came up and said that Mini's with intel processors that a firmware update was required. I followed the instructio