Linux Domain and Network Printer Problem

  1. I decided to install Linux on my laptop. The first problem I have encountered is adding my Linux OS to my Windows Domain, I have everything setup on the server end possibly on my laptop.  Here is what I am using right now, i am currently using a Dell Latitude D530 with Zorin OS 7, which is a ubuntu based Linux Operating System
  • The error log I saved:
  • '20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_anchors = DIR:/var/lib/likewise/trusted_certs
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_cert_match = &&<EKU>msScLogin<PRINCIPAL>
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_eku_checking = kpServerAuth
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_win2k_require_binding = false
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_identities = PKCS11:/usr/lib/likewise-open/libpkcs11.so
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' default_keytab_name = /etc/krb5.keytab
    '
    20140111042100:VERBOSE:Found krb5 stanza '[domain_realm]
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' .dmott-latitude-d530 = DMOTT-LATITUDE-D530
    '
    20140111042100:VERBOSE:Found krb5 stanza '[realms]
    '
    20140111042100:VERBOSE:Found krb5 compound statement ' DMOTT-LATITUDE-D530 = {
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' auth_to_local = RULE:[1:$0\$1](^DMOTT-LATITUDE-D530\\.*)s/^DMOTT-LATITUDE-D530/DMOTT-LATITUDE-D530/
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' auth_to_local = DEFAULT
    '
    20140111042100:VERBOSE:Found krb5 compound end ' }
    '
    20140111042100:VERBOSE:Found krb5 stanza '[appdefaults]
    '
    20140111042100:VERBOSE:Found krb5 compound statement ' pam = {
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' forwardable = true
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' validate = true
    '
    20140111042100:VERBOSE:Found krb5 compound end ' }
    '
    20140111042100:VERBOSE:Found krb5 compound statement ' httpd = {
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' reverse_mappings = (.*)@DMOTT-LATITUDE-D530 DMOTT-LATITUDE-D530\$1
    '
    20140111042100:VERBOSE:Found krb5 compound end ' }
    '
    20140111042100:INFO:Reading nsswitch file /etc/nsswitch.conf
    20140111042100:ERROR:Unexpected file: /etc/lsb-release
    20140111042100:ERROR:Unexpected file: /etc/lsb-release
    20140111042100:INFO:Reading krb5 file /tmp/likewisetmpAQZy9o/etc/krb5.conf
    20140111042100:VERBOSE:Found krb5 stanza '[libdefaults]
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' default_realm = DMOTT-LATITUDE-D530
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' default_tgs_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' default_tkt_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' preferred_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' dns_lookup_kdc = true
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_kdc_hostname = <DNS>
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_anchors = DIR:/var/lib/likewise/trusted_certs
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_cert_match = &&<EKU>msScLogin<PRINCIPAL>
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_eku_checking = kpServerAuth
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_win2k_require_binding = false
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' pkinit_identities = PKCS11:/usr/lib/likewise-open/libpkcs11.so
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' default_keytab_name = /etc/krb5.keytab
    '
    20140111042100:VERBOSE:Found krb5 stanza '[domain_realm]
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' .dmott-latitude-d530 = DMOTT-LATITUDE-D530
    '
    20140111042100:VERBOSE:Found krb5 stanza '[realms]
    '
    20140111042100:VERBOSE:Found krb5 compound statement ' DMOTT-LATITUDE-D530 = {
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' auth_to_local = RULE:[1:$0\$1](^DMOTT-LATITUDE-D530\\.*)s/^DMOTT-LATITUDE-D530/DMOTT-LATITUDE-D530/
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' auth_to_local = DEFAULT
    '
    20140111042100:VERBOSE:Found krb5 compound end ' }
    '
    20140111042100:VERBOSE:Found krb5 stanza '[appdefaults]
    '
    20140111042100:VERBOSE:Found krb5 compound statement ' pam = {
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' forwardable = true
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' validate = true
    '
    20140111042100:VERBOSE:Found krb5 compound end ' }
    '
    20140111042100:VERBOSE:Found krb5 compound statement ' httpd = {
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042100:VERBOSE:Found krb5 name value pair ' reverse_mappings = (.*)@DMOTT-LATITUDE-D530 DMOTT-LATITUDE-D530\$1
    '
    20140111042100:VERBOSE:Found krb5 compound end ' }
    '
    20140111042100:ERROR:Unexpected file: /etc/lsb-release
    20140111042100:ERROR:Unexpected file: /etc/lsb-release
    20140111042100:INFO:Found config file /etc/ssh/ssh_config
    20140111042100:INFO:Found binary /usr/bin/ssh
    20140111042100:INFO:Reading ssh file /etc/ssh/ssh_config
    20140111042100:INFO:Testing option GSSAPIAuthentication
    20140111042100:INFO:Testing option GSSAPIDelegateCredentials
    20140111042100:INFO:Running module join
    20140111042101:ERROR:Unexpected file: /etc/lsb-release
    20140111042303:INFO:Adding skula (fqdn skula.skull) to /etc/hosts ip 127.0.1.1, removing skula, skula.skull, skula, skula.skull
    20140111042303:INFO:Reading krb5 file /tmp/likewisetmpSINKUa/etc/krb5.conf
    20140111042303:VERBOSE:Found krb5 stanza '[libdefaults]
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_realm = DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_tgs_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_tkt_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' preferred_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' dns_lookup_kdc = true
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_kdc_hostname = <DNS>
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_anchors = DIR:/var/lib/likewise/trusted_certs
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_cert_match = &&<EKU>msScLogin<PRINCIPAL>
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_eku_checking = kpServerAuth
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_win2k_require_binding = false
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_identities = PKCS11:/usr/lib/likewise-open/libpkcs11.so
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_keytab_name = /etc/krb5.keytab
    '
    20140111042303:VERBOSE:Found krb5 stanza '[domain_realm]
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' .dmott-latitude-d530 = DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 stanza '[realms]
    '
    20140111042303:VERBOSE:Found krb5 compound statement ' DMOTT-LATITUDE-D530 = {
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' auth_to_local = RULE:[1:$0\$1](^DMOTT-LATITUDE-D530\\.*)s/^DMOTT-LATITUDE-D530/DMOTT-LATITUDE-D530/
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' auth_to_local = DEFAULT
    '
    20140111042303:VERBOSE:Found krb5 compound end ' }
    '
    20140111042303:VERBOSE:Found krb5 stanza '[appdefaults]
    '
    20140111042303:VERBOSE:Found krb5 compound statement ' pam = {
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' forwardable = true
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' validate = true
    '
    20140111042303:VERBOSE:Found krb5 compound end ' }
    '
    20140111042303:VERBOSE:Found krb5 compound statement ' httpd = {
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' reverse_mappings = (.*)@DMOTT-LATITUDE-D530 DMOTT-LATITUDE-D530\$1
    '
    20140111042303:VERBOSE:Found krb5 compound end ' }
    '
    20140111042303:INFO:Reading nsswitch file /etc/nsswitch.conf
    20140111042303:ERROR:Unexpected file: /etc/lsb-release
    20140111042303:ERROR:Unexpected file: /etc/lsb-release
    20140111042303:INFO:Reading krb5 file /tmp/likewisetmpU6alfc/etc/krb5.conf
    20140111042303:VERBOSE:Found krb5 stanza '[libdefaults]
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_realm = DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_tgs_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_tkt_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' preferred_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' dns_lookup_kdc = true
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_kdc_hostname = <DNS>
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_anchors = DIR:/var/lib/likewise/trusted_certs
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_cert_match = &&<EKU>msScLogin<PRINCIPAL>
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_eku_checking = kpServerAuth
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_win2k_require_binding = false
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' pkinit_identities = PKCS11:/usr/lib/likewise-open/libpkcs11.so
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' default_keytab_name = /etc/krb5.keytab
    '
    20140111042303:VERBOSE:Found krb5 stanza '[domain_realm]
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' .dmott-latitude-d530 = DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 stanza '[realms]
    '
    20140111042303:VERBOSE:Found krb5 compound statement ' DMOTT-LATITUDE-D530 = {
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' auth_to_local = RULE:[1:$0\$1](^DMOTT-LATITUDE-D530\\.*)s/^DMOTT-LATITUDE-D530/DMOTT-LATITUDE-D530/
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' auth_to_local = DEFAULT
    '
    20140111042303:VERBOSE:Found krb5 compound end ' }
    '
    20140111042303:VERBOSE:Found krb5 stanza '[appdefaults]
    '
    20140111042303:VERBOSE:Found krb5 compound statement ' pam = {
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' forwardable = true
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' validate = true
    '
    20140111042303:VERBOSE:Found krb5 compound end ' }
    '
    20140111042303:VERBOSE:Found krb5 compound statement ' httpd = {
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' mappings = DMOTT-LATITUDE-D530\\(.*) $1@DMOTT-LATITUDE-D530
    '
    20140111042303:VERBOSE:Found krb5 name value pair ' reverse_mappings = (.*)@DMOTT-LATITUDE-D530 DMOTT-LATITUDE-D530\$1
    '
    20140111042303:VERBOSE:Found krb5 compound end ' }
    '
    20140111042303:ERROR:Unexpected file: /etc/lsb-release
    20140111042303:ERROR:Unexpected file: /etc/lsb-release
    20140111042303:INFO:Found config file /etc/ssh/ssh_config
    20140111042303:INFO:Found binary /usr/bin/ssh
    20140111042303:INFO:Reading ssh file /etc/ssh/ssh_config
    20140111042303:INFO:Testing option GSSAPIAuthentication
    20140111042303:INFO:Testing option GSSAPIDelegateCredentials
    20140111042303:INFO:Running module join
    20140111042304:ERROR:Unexpected file: /etc/lsb-release

  • In short I get the error "DNS_ERROR_BAD_PACKET A bad packet was received from a DNS server. Potentially the requested address does not exist." when I try just SKULL. 

  • When I try with SKULL.LOCAL I get "Lsass Error Network name not found.. Failure to lookup a domain name ending in ".local" may be the result of configuring the local system's hostname resolution (or equivalent) to use Multi-cast DNS. Please refer to the Likewise manual at http://www.likewise.com/resources/documentation_library/manuals/open/likewise-open-guide.html#ConfigNsswitch for more information."

This is the only couple of problems I am having with this portion, I tried using a static DNS Server, Static IP... I even tried to do some research on this problem and still didn't budge anywhere. I also edited the resolv.conf file which lead no where. I want to expand my networking into linux as I gain more knowledge of the Windows Side of Networking

     2. The next problem is adding my Network Printer. The configuration of my printer setup is with a Windows Print Server, I have installed all the required components on Windows Server 2008, which I don't know on the client side of things, but the error I get is "Bad device-uri "lpd://ADMINISTRATOR1/HP Deskjet D1400 series"." That is the only error I am getting right now. I went through Windows Firewall, and it has been allowed for LDP Service.

Any help will help me break ground on a little bit of Linux/Windows Networking.

Have you tried to install the printer using vanilla TCP direct to the printer instead of going through you MS DNS server?

I know that you are trying to get it to work in the domain, but just to troubleshoot it I would start simple and see where it all starts to break down. 

Not sure about the service error on the server, maybe pull the code and KB it... I have never had a problem with MS print servince, so you may have a printer firmware problem??? (shot in the dark....)

I don't understand much about what you said. I'm still a dimwit with this stuff. I also don't mean what you get by pulling the code then KB it?

It's cool, we've all got to start off somewhere. The two methods I mentioned are some of the basics of troubleshooting, basically starting at the bottom and going after low hanging fruit.

KB is the Microsoft Knowledge Base, if you click the details for your error it should have an event code, enter that code in to the knowledge base an it should give you some basic suggestions (and 80% of the time a easy solution).

As far as starting from the bottom on installing the printer you want to take out as many variables as possible. Trying to get some linux distro to connect to a MS domain and then access services is a system full of hundreds of variables. Try just giving your laptop the ip of the printer and connect to it directly, this has way less complication to it. If that works, you can try the next step which would be to try and get a windows client to access the printer, then move on to the linux box.

Suggestion for an easy fix: it's a HP printer, those are great in linux (if there is one thing HP does right...)

You'll find the HP configuration utility in your repos, install it, it will normally also pull in the deps you need for operation through a Microsoft environment.

When you fire the utility up, take the second or third configuration option, which is JetDirect or Active Domain, and it will probably find the printer for you.

Chances are, that if it's a missing dependency, it'll be corrected afterwards.