Flippin' 'lpadmin' problem

Anyone who can solve this is really a 'Genius', in the true sense of the word:
I have Mac OSX 10.5.8 on my MacBook Pro. I am printing to Epson 1290, over a network. My printer is hooked up to my iMac OSX 10.4.11 via a USB cable and I use iProof PowerRIP software to print.
I have had problems printing over the last few days - my prints would just enter the print queue on my iMac then disappear. To add insult to injury yesterday the print queue on my MacBook Pro paused. Every time I tried to restart it I got the message: "Type the name and password of a user in the "lpadmin" group to allow AddPrinter to make changes. Name__: Password:_"
I googled the lpadmin problem and found this on Apple's own site:
http://support.apple.com/kb/TS2754
Hurrah, I thought. Solved. I'm version 10.5.8 so this was written for me. But when I tried to follow the instructions it didn't work.
SO I rang Apple today. I was on the phone for an hour. After a lot of faffing around and trying to get the printer to work they reluctantly agreed to try the above article from their website. They don't usually advocate fiddling around with the Terminal. So I did it again with them advising me, and it didn't work again. I was passed on to a senior advisor who tried it and still it didn't work.
The senior advisor then got me to test whether my printer driver was working on the MacBook Pro by hooking it up to the printer directly. It worked. He asked me to do the same by creating a 'test' admin account on my iMac and trying to print - it didn't work.
So his conclusion was that my printer driver on the iMac needing upgrading. I downloaded the latest driver. This kind of worked - it now prints, but I think it isn't compatible with the old RIP software I have, because it prints with a big X across the page. So that's an issue to take up with iProof Systems tomorrow.
In the meantime, I went back to the MacBook Pro and tried printing. Lo and behold the 'lpadmin' prompt appeared again.
I'm now at my wits end. What else can I do? If a senior adviser at Apple can't help, what hope is there for me???!!!! I can't print and I have deadlines looming....

I have been plagued by a similar problem since converting from Tiger to Leopard.
Whenever I change most printer settings or PAUSE or RESUME the printer, a password window pops up that says:
"Type the name and password of a user in the "lpadmin" group to allow PSL20A0136F9.app to make changes."
In Preferences -> System -> Accounts, I have no groups of any kind and if I try to add a group called "lpadmin" it tells me it already exists.
The Apple fix did not work and the one provided by PAHU did. Apple Reps take note, fix TS2754 does not work and the fix provided by PAHU does.
Apple fix TS2754 command for Terminal:
dseditgroup -o edit -p -a(affected_username) -t user _lpadmin
PAHU version command for Terminal:
dseditgroup -o edit -p -a(affected_username) -t group _lpadmin
The only difference is PAHU's version refers to the group _lpadmin as a group instead of a user.

Similar Messages

  • Blog entry didn't show up on blog summary page. ¿Por qué?

    RE: Blog
    Last night I wrote a blog entry, but the first few sentences did NOT show up on the blog summary page. I previously had set the blog entry length to be short (toggled far to the left), but there is a difference between a short length and NO length at all.
    Why do you suppose this happened?
    INFORMATION: Prior to writing the blog entry I was having difficulty with the picture not showing up on the blog entry page, and in trying to edit it and move text around I might have messed up some registration lines, or LINES. Could that have had an effect? I must say that of all the things involved in iWeb, this Blog feature has given me the most problems and made me the angriest. Just thinking about it right now has created a tight knot in my chest.
    Lorna in Southern California

    Go back to your main blog summary page in iWeb. Open
    the Inspector to the RSS tab and slide the text
    excert slider to show ALL (all the way to the right).
    Does ANY of your blog text show up in this
    particular entry?
    .......... Lorna says ................................................
    Well, Inspector Tseng, I toggled to the *Show All* position, and heheheh, none of the blog entry showed on the blog summary page.
    If not, then perhaps you entered
    your text in a different text box....did you add a
    text box to the page? If it does, then maybe you
    have some preceding spaces in the text box? Or
    maybe you inserted a photo into the text box
    inadvertently?
    .......... Lorna says ................................................
    James, last night I was having so many dang blasted flippin cockamamie problems with the picture that I moved a bunch of things around and recall making a new text box and typing into it. Grrrr.
    I am going to return there and copy and paste and delete that page. I feel very bad that I cannot master the blog after so much stupid time. I also think that the blog needs to be more idiot proofed so that normally OK actions in other iWeb scenarios don't end up as yet another disaster on the ash heap of broken iWeb dreams.
    Lorna in Southern California

  • [SOLVED] HP printer paused, cannot resume due "forbidden" error

    I have had similar problem as in thread https://bbs.archlinux.org/viewtopic.php?id=85454 , my HP printer is "paused". The other thread is marked as solved, so I created this new one.
    The printer worked fine before I installed networkmanager, so it must have modified something.
    I have tried the tricks displayed in the above linked thread, but keep getting "forbidden" errors when I am trying to resume the printer. How can bypass the "forbidden" and resume the printer?
    Last edited by raavas (2011-10-27 19:28:22)

    Managed to get this solved. Problem was in the user groups. After adding my username into the lpadmin, problem went away.

  • HP Laserjet 1300 began requiring "lpadmin" password to print. Formerly, no problem.

    My HP Laserjet 1300 printer formerly printed with no problems.  Suddenly, it began requiring "lpadmin password" before continuing to print.  It does this regardless of the originating application (Word, Excel, Entourage, Adobe Acrobat).  I have tried unplugging the printer and restarting my computer (MacBook Pro circa 2009 running OS 10.5.8) without success.  I am wondering if the "lpadmin password" is a remnant from a prior user?  I originally bought this printer as a surplus from a computer consultant who was upgrading a business's printers.  Does anyone know how to circumvent/eliminate the "lpadmin password"?  Thanks, Ken

    Hello joonone, and welcome to the HP Forums.
    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at http://h30499.www3.hp.com/hpeb/ .
    I hope this helps!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Printer setup with lpadmin, access problems to driver settings

    Hello,
    I have been using lpadmin in a script to add printer connnections to our Cups server. After running the script I have configured the printers in the Print & Fax centre, defining duplex units and extra trays where applicable.
    In Mac OS 10.5 it works fine, but when I open the driver option dialog in Mac Os 10.6, set an option and click OK, the option change is not saved. This means that our Snow Leopard users cannot print duplex or on other than the default printer tray.
    If I add a printer manually in the Print & Fax dialog everything works fine, ie the driver option dialog opens when I add the printer, and the changes I make are saved. As several printer have to be set up on several Macs, this manual procedure is not an option.
    Is there some new option for lpadmin in Snow Leopard that I have to use, or am I missing something else? The command line I use looks like this:
    /usr/sbin/lpadmin -p printer -v ipp://cupsserverip:631/printers/printer -E -P /Library/Printers/PPDs/Contents/Resources/HP\ Color\ LaserJet\ 5550.gz
    Regards
    Marten Hedman
    Systems Administrator
    Turku Centre for Biotechnology
    Turku, Finland

    Welcome to the Apple Discussion forums.
    Setting the options using the Print & Fax dialog box seems to be saving the installed options for a test printer I just installed using the lpadmin command. You could also try using the web interface at _http://127.0.0.1:631/printers_. Just click on the printer and then choose set default options from the pop up menu.
    Matt

  • Printing problems with hp laserjet cp1515n [found problem]

    Dear Arch users,
    A couple of weeks ago I installed for the first time an Arch linux on my brand new Dell laptop with an UEFI MB. It took a while until I could understand how UEFI works but eventually I sort it out and got Arch installed. Unfortunatelly there are some small problems to be straiten out. One of them is the fact that printing with my laser printer (see subject line) is not working.
    for the last couple of days I was searching through all post I could find around on the internet, mainly here at the Arch forum. Unfortunatelly I could not find anything nearly describing what I am living on my system. Well here is a brief description of what is happening. After installing Arch, I opted for KDE desktop environment and I made the full instalation. After installing additional software (gimp, inkskape, etc.) I needed to install my printer. At first I couldn't get permission. Than reading the Arch tutorial for CUPS, I saw that the 'lp' permission was not setup properly. Well Have done as described there. Then I tryed to install using the GUI from KDE for installing an usb printer and for my surprise there was not such an option. I intalled than de hp-toolbox, and than it was easy to install the printer. It was automatically recognized and everything was there. The problem was, when I open an archive (text, web page, doesn't matter) and send it to print, the spooler went well theoretically sent to printer and then popped up a notification saying printing finished. Opening the printing cue, I can see that the archive was still there and marked as pending. That was the point where I started to search around for potential solutions or similar solutions.
    After sudying a lot I came to a conclusions that it probably have something to do with permissions. Unfortunately I could not find out where or which permissions to change in order to get something printed. I found some "debugging" and information commands and I am posting the results here;
    # systemctl status cups
    cups.service - CUPS Printing Service                                                                                     
              Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)                                                 
              Active: active (running) since Tue 2013-01-29 13:26:21 BRST; 4h 43min ago                                     
            Main PID: 525 (cupsd)                                                                                           
              CGroup: name=systemd:/system/cups.service                                                                     
                      └─525 /usr/sbin/cupsd -f                                                                               
    Jan 29 17:39:46 XXXX-archs hp[12186]: io/hpmud/musb.c 588: invalid usb_open: Permission denied                           
    Jan 29 17:40:14 XXXX-archs systemd[1]: Started CUPS Printing Service.                                                   
    Jan 29 17:43:27 XXXX-archs systemd[1]: Started CUPS Printing Service.                                                   
    Jan 29 17:44:19 XXXX-archs systemd[1]: Started CUPS Printing Service.
    Jan 29 17:44:26 XXXX-archs systemd[1]: Started CUPS Printing Service.
    Jan 29 17:44:51 XXXX-archs systemd[1]: Started CUPS Printing Service.
    Jan 29 17:45:05 XXXX-archs systemd[1]: Started CUPS Printing Service.
    Jan 29 17:56:35 XXXX-archs systemd[1]: Started CUPS Printing Service.
    Jan 29 17:56:36 XXXX-archs systemd[1]: Started CUPS Printing Service.
    Jan 29 17:56:36 XXXX-archs systemd[1]: Started CUPS Printing Service.
    # systemctl status cups.socket
    cups.socket - CUPS Printing Service Sockets
              Loaded: loaded (/usr/lib/systemd/system/cups.socket; enabled)
              Active: active (running) since Tue 2013-01-29 13:26:10 BRST; 4h 45min ago# /usr/lib/cups/backend/usb
    DEBUG: list_devices
    DEBUG: libusb_get_device_list=10
    DEBUG2: Printer found with device ID: MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,POSTSCRIPT,PCL;MDL:HP Color LaserJet CP1515n;CLS:PRINTER;DES:Hewlett-Packard Color LaserJet CP1515n;MEM:MEM=55MB;COMMENT:RES=600x8; Device URI: usb://HP/Color%20LaserJet%20CP1515n?serial=00BRAS85501Y
    direct usb://HP/Color%20LaserJet%20CP1515n?serial=00BRAS85501Y "HP Color LaserJet CP1515n" "HP Color LaserJet CP1515n" "MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,POSTSCRIPT,PCL;MDL:HP Color LaserJet CP1515n;CLS:PRINTER;DES:Hewlett-Packard Color LaserJet CP1515n;MEM:MEM=55MB;COMMENT:RES=600x8;" ""
    Jan 29 13:26:10 XXXX-archs systemd[1]: Starting CUPS Printing Service Sockets.
    Jan 29 13:26:10 XXXX-archs systemd[1]: Listening on CUPS Printing Service Sockets.
    # lsusb
    Bus 001 Device 003: ID 03f0:4417 Hewlett-Packard EWS UPD
    Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 003 Device 004: ID 0c45:648d Microdia
    Bus 004 Device 004: ID 0cf3:e004 Atheros Communications, Inc.
    # /usr/lib/cups/backend/usb
    DEBUG: list_devices
    DEBUG: libusb_get_device_list=10
    DEBUG2: Printer found with device ID: MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,POSTSCRIPT,PCL;MDL:HP Color LaserJet CP1515n;CLS:PRINTER;DES:Hewlett-Packard Color LaserJet CP1515n;MEM:MEM=55MB;COMMENT:RES=600x8; Device URI: usb://HP/Color%20LaserJet%20CP1515n?serial=00BRAS85501Y
    direct usb://HP/Color%20LaserJet%20CP1515n?serial=00BRAS85501Y "HP Color LaserJet CP1515n" "HP Color LaserJet CP1515n" "MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,POSTSCRIPT,PCL;MDL:HP Color LaserJet CP1515n;CLS:PRINTER;DES:Hewlett-Packard Color LaserJet CP1515n;MEM:MEM=55MB;COMMENT:RES=600x8;" ""
    # lpinfo -v
    network ipps
    network smb
    direct hp
    network socket
    network http
    network ipp
    file cups-pdf:/
    network lpd
    network beh
    network https
    direct ptal
    direct hpfax
    # usb-devices
    T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=03f0 ProdID=4417 Rev=01.00
    S:  Manufacturer=Hewlett-Packard
    S:  Product=HP Color LaserJet CP1515n
    S:  SerialNumber=00BRAS85501Y
    C:  #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=2mA
    I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
    I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
    The out put from the last command (usb-devices) I only copyed the relevant part from the printer in question.
    the couple of last lines of CUPS error.log are;
    E [29/Jan/2013:17:44:48 -0200] [Job 14] Stopping unresponsive job.
    E [29/Jan/2013:17:52:25 -0200] [Client 14] Request for subdirectory "/admin/log/error_log?".
    E [29/Jan/2013:17:52:41 -0200] [Client 14] Request for subdirectory "/admin/log/error_log?".
    E [29/Jan/2013:18:05:47 -0200] [cups-deviced] PID 14408 (dnssd) stopped with status 1!
    E [29/Jan/2013:18:16:37 -0200] [cups-deviced] PID 15151 (dnssd) stopped with status 1!
    I hope somebody could help me out to find where to change permission (if necessary) or point me out to an different road.
    Thanks
    Last edited by camarao (2013-02-08 02:36:36)

    OK here am I again.
    as mentioned before I created an bogus printer with:
    lpadmin -p test -v file:/dev/null
    verified the presence of the printer;
    lpstat -p
    $ lpstat -p
    printer Color_LaserJet_cp1515n disabled since Fri 01 Feb 2013 02:55:59 PM BRST -
            reason unknown
    printer hp930c is idle.  enabled since Thu 31 Jan 2013 11:30:21 PM BRST
    printer test is idle.  enabled since Fri 01 Feb 2013 02:54:57 PM BRST
    At first "test" printer was disabled for an uknown reason.
    tried to use lpadmin -p test to enable the printer as described on the previusly mentioned web site, but couldn't get to enable printer "test". After reading alittle more on the internet I found the command cupsenable <printer> and indeed it changed the printer status.
    tried to print;
    echo test | lp -d test
    result:
    $ echo test | lp -d test
    lp: Destination "test" is not accepting jobs.
    I tried to change the condition of the Color laser printer but did not made any difference with the cups command.
    Conclusion: how can I modify this status to make the printer accept jobs?

  • Samba problems between two linux computers

    I have a laptop with arch with this smb.conf
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = user
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    ; passdb backend = tdbsam
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/local/samba/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    wins support = no
    [homes]
    comment = Home Directories
    browseable = yes
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = yes
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    [Themes]
    path = /home/du/Themes
    available = yes
    browsable = yes
    public = yes
    writable = yes
    and another pc with ubuntu with this smb.conf
    # Sample configuration file for the Samba suite for Debian GNU/Linux.
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options most of which
    # are not shown in this example
    # Some options that are often worth tuning have been included as
    # commented-out examples in this file.
    # - When such options are commented with ";", the proposed setting
    # differs from the default Samba behaviour
    # - When commented with "#", the proposed setting is the default
    # behaviour of Samba but the option is considered important
    # enough to be mentioned here
    # NOTE: Whenever you modify this file you should run the command
    # "testparm" to check that you have not made any basic syntactic
    # errors.
    # A well-established practice is to name the original file
    # "smb.conf.master" and create the "real" config file with
    # testparm -s smb.conf.master >smb.conf
    # This minimizes the size of the really used smb.conf file
    # which, according to the Samba Team, impacts performance
    # However, use this with caution if your smb.conf file contains nested
    # "include" statements. See Debian bug #483187 for a case
    # where using a master file is not a good idea.
    #======================= Global Settings =======================
    [global]
    ## Browsing/Identification ###
    # Change this to the workgroup/NT-domain name your Samba server will part of
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = %h server (Samba, Ubuntu)
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
    # wins support = no
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # This will prevent nmbd to search for NetBIOS names through DNS.
    dns proxy = no
    # What naming service and in what order should we use to resolve host names
    # to IP addresses
    ; name resolve order = lmhosts host wins bcast
    #### Networking ####
    # The specific set of interfaces / networks to bind to
    # This can be either the interface name or an IP address/netmask;
    # interface names are normally preferred
    ; interfaces = 127.0.0.0/8 eth0
    # Only bind to the named interfaces and/or networks; you must use the
    # 'interfaces' option above to use this.
    # It is recommended that you enable this feature if your Samba machine is
    # not protected by a firewall or is a firewall itself. However, this
    # option cannot handle dynamic or non-broadcast interfaces correctly.
    ; bind interfaces only = yes
    #### Debugging/Accounting ####
    # This tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/log.%m
    # Cap the size of the individual log files (in KiB).
    max log size = 1000
    # If you want Samba to only log through syslog then set the following
    # parameter to 'yes'.
    # syslog only = no
    # We want Samba to log a minimum amount of information to syslog. Everything
    # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
    # through syslog you should set the following parameter to something higher.
    syslog = 0
    # Do something sensible when Samba crashes: mail the admin a backtrace
    panic action = /usr/share/samba/panic-action %d
    ####### Authentication #######
    # "security = user" is always a good idea. This will require a Unix account
    # in this server for every user accessing the server. See
    # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
    # in the samba-doc package for details.
    # security = user
    # You may wish to use password encryption. See the section on
    # 'encrypt passwords' in the smb.conf(5) manpage before enabling.
    encrypt passwords = true
    # If you are using encrypted passwords, Samba will need to know what
    # password database type you are using.
    passdb backend = tdbsam
    obey pam restrictions = yes
    # This boolean parameter controls whether Samba attempts to sync the Unix
    # password with the SMB password when the encrypted SMB password in the
    # passdb is changed.
    unix password sync = yes
    # For Unix password sync to work on a Debian GNU/Linux system, the following
    # parameters must be set (thanks to Ian Kahan <<[email protected]> for
    # sending the correct chat script for the passwd program in Debian Sarge).
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    # This boolean controls whether PAM will be used for password changes
    # when requested by an SMB client instead of the program listed in
    # 'passwd program'. The default is 'no'.
    pam password change = yes
    # This option controls how unsuccessful authentication attempts are mapped
    # to anonymous connections
    map to guest = bad user
    ########## Domains ###########
    # Is this machine able to authenticate users. Both PDC and BDC
    # must have this setting enabled. If you are the BDC you must
    # change the 'domain master' setting to no
    ; domain logons = yes
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the location of the user's profile directory
    # from the client point of view)
    # The following required a [profiles] share to be setup on the
    # samba server (see below)
    ; logon path = \\%N\profiles\%U
    # Another common choice is storing the profile in the user's home directory
    # (this is Samba's default)
    # logon path = \\%N\%U\profile
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the location of a user's home directory (from the client
    # point of view)
    ; logon drive = H:
    # logon home = \\%N\%U
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the script to run during logon. The script must be stored
    # in the [netlogon] share
    # NOTE: Must be store in 'DOS' file format convention
    ; logon script = logon.cmd
    # This allows Unix users to be created on the domain controller via the SAMR
    # RPC pipe. The example command creates a user account with a disabled Unix
    # password; please adapt to your needs
    ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
    # This allows machine accounts to be created on the domain controller via the
    # SAMR RPC pipe.
    # The following assumes a "machines" group exists on the system
    ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
    # This allows Unix groups to be created on the domain controller via the SAMR
    # RPC pipe.
    ; add group script = /usr/sbin/addgroup --force-badname %g
    ########## Printing ##########
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    # load printers = yes
    # lpr(ng) printing. You may wish to override the location of the
    # printcap file
    ; printing = bsd
    ; printcap name = /etc/printcap
    # CUPS printing. See also the cupsaddsmb(8) manpage in the
    # cupsys-client package.
    ; printing = cups
    ; printcap name = cups
    ############ Misc ############
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting
    ; include = /home/samba/etc/smb.conf.%m
    # Most people will find that this option gives better performance.
    # See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
    # for details
    # You may want to add the following on a Linux system:
    # SO_RCVBUF=8192 SO_SNDBUF=8192
    # socket options = TCP_NODELAY
    # The following parameter is useful only if you have the linpopup package
    # installed. The samba maintainer and the linpopup maintainer are
    # working to ease installation and configuration of linpopup and samba.
    ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
    # Domain Master specifies Samba to be the Domain Master Browser. If this
    # machine will be configured as a BDC (a secondary logon server), you
    # must set this to 'no'; otherwise, the default behavior is recommended.
    # domain master = auto
    # Some defaults for winbind (make sure you're not using the ranges
    # for something else.)
    ; idmap uid = 10000-20000
    ; idmap gid = 10000-20000
    ; template shell = /bin/bash
    # The following was the default behaviour in sarge,
    # but samba upstream reverted the default because it might induce
    # performance issues in large organizations.
    # See Debian bug #368251 for some of the consequences of *not*
    # having this setting and smb.conf(5) for details.
    ; winbind enum groups = yes
    ; winbind enum users = yes
    # Setup usershare options to enable non-root users to share folders
    # with the net usershare command.
    # Maximum number of usershare. 0 (default) means that usershare is disabled.
    ; usershare max shares = 100
    # Allow users who've been granted usershare privileges to create
    # public shares, not just authenticated ones
    usershare allow guests = yes
    #======================= Share Definitions =======================
    # Un-comment the following (and tweak the other settings below to suit)
    # to enable the default home directory shares. This will share each
    # user's home director as \\server\username
    [homes]
    comment = Home Directories
    browseable = yes
    writable = yes
    # By default, the home directories are exported read-only. Change the
    # next parameter to 'no' if you want to be able to write to them.
    read only = no
    # File creation mask is set to 0700 for security reasons. If you want to
    # create files with group=rw permissions, set next parameter to 0775.
    ; create mask = 0700
    # Directory creation mask is set to 0700 for security reasons. If you want to
    # create dirs. with group=rw permissions, set next parameter to 0775.
    ; directory mask = 0700
    # By default, \\server\username shares can be connected to by anyone
    # with access to the samba server. Un-comment the following parameter
    # to make sure that only "username" can connect to \\server\username
    # The following parameter makes sure that only "username" can connect
    # This might need tweaking when using external authentication schemes
    ; valid users = %S
    # Un-comment the following and create the netlogon directory for Domain Logons
    # (you need to configure Samba to act as a domain controller too.)
    ;[netlogon]
    ; comment = Network Logon Service
    ; path = /home/samba/netlogon
    ; guest ok = yes
    ; read only = yes
    ; share modes = no
    # Un-comment the following and create the profiles directory to store
    # users profiles (see the "logon path" option above)
    # (you need to configure Samba to act as a domain controller too.)
    # The path below should be writable by all users so that their
    # profile directory may be created the first time they log on
    ;[profiles]
    ; comment = Users profiles
    ; path = /home/samba/profiles
    ; guest ok = no
    ; browseable = yes
    ; create mask = 0600
    ; directory mask = 0700
    [printers]
    comment = All Printers
    browseable = yes
    path = /var/spool/samba
    printable = yes
    guest ok = no
    read only = yes
    create mask = 0700
    # Windows clients look for this share name as a source of downloadable
    # printer drivers
    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    browseable = yes
    read only = yes
    guest ok = no
    # Uncomment to allow remote administration of Windows print drivers.
    # You may need to replace 'lpadmin' with the name of the group your
    # admin users are members of.
    # Please note that you also need to set appropriate Unix permissions
    # to the drivers directory for these users to have write rights in it
    ; write list = root, @lpadmin
    # A sample share for sharing your CD-ROM with others.
    ;[cdrom]
    ; comment = Samba server's CD-ROM
    ; read only = yes
    ; locking = no
    ; path = /cdrom
    ; guest ok = yes
    # The next two parameters show how to auto-mount a CD-ROM when the
    # cdrom share is accesed. For this to work /etc/fstab must contain
    # an entry like this:
    # /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
    # The CD-ROM gets unmounted automatically after the connection to the
    # If you don't want to use auto-mounting/unmounting make sure the CD
    # is mounted on /cdrom
    ; preexec = /bin/mount /cdrom
    ; postexec = /bin/umount /cdrom
    [Downloads]
    path = /home/Duccio/Downloads
    available = yes
    browseable = yes
    guest ok = yes
    public = yes
    writable = yes
    Both have static ip
    The problem are 2:
    1- the pc cant see eachothers with nautilus under "network" but..
    2- if i type in nautilus in the address bar from the arch pc "smb://ubuntu_ip" i can see shared folders the shared folder in ubuntu pc /home/Duccio/Downloads is browseable but i cant mount folders, the message is "unable to mount location"
    Another pc with ubuntu wich have dhcp is visible under nautilus network
    Last edited by jacopastorius82 (2010-11-02 21:14:51)

    in laptop pc with arch i have installed somewhat in gnome under System-->administration called "shared folder". Maybe this sort of software override manual configuration in /etc/samba/smb.conf?
    Something like that is probably standing in ubuntu as well i suppose..
    Last edited by jacopastorius82 (2010-11-03 22:13:53)

  • Type an Administrator Name and Password to allow lpadmin to make changes.

    We have a lab full of PowerPC G5 Towers running 10.5 off a PowerPC G5 tower running 10.5 Server. We are using Open Directory and AFP to allow students to login to Network Accounts from Local Workstations. After Archive and Installing two of the G5 Machines and updating them, We encountered the error "Type an Administrator Name and Password to allow lpadmin to make changes." and it freezes up and doesn't allow us to enter the password or username or even move the mouse.

    To use the solution in the link above in this case, here's one way to go about things:
    - Restart while holding down command and s at the same time to boot into single-user mode.
    - Use the following commands to mount the filesystem (these are also listed on the screen when you start up):
    $ /sbin/fsck -fy
    $ /sbin/mount -uw /
    - You're going to need the root password, so if you haven't already set one, type 'passwd', hit return, and set one.
    - Load Directory Services:
    $ launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
    - Run the command mentioned in that other post, entering your root password when prompted:
    $ dseditgroup -o edit -p -a admin -t group _lpadmin
    - You may need to run it twice, because the first time it may say something about upgrading your groups or something like that.
    I hope that helps. It worked for me on multiple machines affected by this problem.
    Greg

  • Using lpadmin -P

    I'm trying to set up printers by using lpadmin in order to streamline the process.  My goal is to make an applescript application that will run a set of terminal commands that set up 3 different network printers.  I would like to use the drivers that came with OSX and the problem I am running into is lpadmin -P wants drivers using the extension .PPD, however all of the OSX printer drivers are archived as .GZ files.  This is where I am stuck, I was hoping to find a way to set up the printers in the GUI and then view and copy the settings in the terminal but couldn't figure out how to do this, lpstat seems like it would do this but I couldn't get it to display all settings.  Any help would you guys could give me would be great.
    Thanks

    Only solution I can think of at the moment it to Untar them...
    IBM Laserprinter 4039.gz
    Became IBM Laserprinter 4039, which is indeed a PPD & would just maybe need that extention added, though it was 3 times the size.
    There must be a way to Untar them in temp files or RAM, but that's beyond me.

  • Printing Problems (Brother HL2140 under XFCE)

    I can't get my printer to work under Arch (I'm using XFCE). It works under Ubuntu fine, and it used to work under Arch before I did a clean install (a couple weeks ago). I've spent too many hours trying to figure this out. Can someone help please? (I've already tried everything on the Arch wiki page for the hl2140 printer.)
    I first installed these packages:
    cups
    brother-hl2140
    system-config-printer
    Then I tried installing a bunch of other "cups" packages.
    After that, I installed these:
    hplip
    brother-lpr-drivers-common
    brother-lpr-drivers-laser1
    brother-cups-wrapper-common
    brother-cups-wrapper-extra
    brother-cups-wrapper-laser1
    Output of lsusb:
    Bus 002 Device 006: ID 04f9:0033 Brother Industries, Ltd
    I'm using system-config-printer. When I try to add the printer, it starts to search for drivers and then crashes. (I run system-config-printer with sudo. I've tried adding my home user to lp and a bunch of other groups, but I can't figure out which one will let me configure printers). Here's the output when it crashes:
    No ID match for device usb://Brother/HL-2140%20series?serial=123456789:
    MFG:Brother;MDL:HL-2140 series;CMD:PJL,HBP;
    (system-config-printer.py:21895): Gdk-WARNING **: system-config-printer.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
    Fail. So I tried using hp-setup, but it doesn't find anything, even though system-config-printer and lsusb do:
    Searching... (bus=usb, search=(None), desc=0)
    error: No devices found on bus: usb
    Searching... (bus=usb, search=(None), desc=0)
    error: No devices found on bus: usb
    I've also tried using the openprinting driver (which worked before I reinstalled Arch). Here's my steps:
    cd ~/Downloads
    wget -o "hl2140.ppd" https://www.openprinting.org/ppd-o-matic.php?driver=hpijs-pcl5e&printer=Brother-HL-2140&show=0
    sudo lpinfo -v
    sudo lpadmin -p 'HL-2140' -E -v 'usb://Brother/HL-2140%20series?serial=123456789' -P "$HOME/Downloads/hl2140.ppd"
    It installs fine, but when I try to print, it says that there's a problem printing it.
    Does anyone have any guidance?
    Last edited by GreenRaccoon23 (2014-10-28 23:10:10)

    PhotonX wrote:Did you try to use the CUPS web interface http://localhost:631/ ?
    Yeah I tried that one too, but still no luck unfortunately. There's no option for my model numer (HL-2140) on there.
    -----edit-----
    Lol wow I figured it out. I was using wget instead of curl. I was using wget -o, which just makes an output log. No wonder cups couldn't use it! Lol I'm finding this way too hilarious that after all that work, it was that little command.
    Last edited by GreenRaccoon23 (2014-10-29 20:53:30)

  • Changing printer settings no longer works - requesting lpadmin password!

    When pressing the _"Pause Printer"_ button, or changing printer settings, I get a dialog box come up saying:
    *Type the name and password of a user in the "lpadmin" group to allow Photosmart C4500 series (HPF615EE).app to make changes.*
    I have typed my username and password in several times, to no avail. I am the only administrator on this computer. Apparently I am not a member of this "lpadmin" group, and have never seen it before in my life!
    What do I do?
    (? Possibly since upgrading to 10.5.7 ?)

    I am having the same problem. When I use the fix posted by John Blanchard, I "A Directory Service error occured"
    My output of the "dscl" command is a little different
    AppleMetaNodeLocation: /Local/Default
    GeneratedUID: ABCDEFAB-CDEF-ABCD-EFAB-CDEF00000062
    GroupMembership: Guest1
    Password: *
    PrimaryGroupID: 98
    RealName:
    Print Administrators
    RecordName: _lpadmin lpadmin
    RecordType: dsRecTypeStandard:Groups
    So what changes do I need to make to John's terminal commands to fix my problem.
    Thanks.
    Len

  • 2009 MacBook Problems!!

    2009 MacBook FREAKING Out after attempted Install
    I've got a 2 core 2009 MacBook, specs say it can install Lion. Well, I downloaded, started the install, then suddenly it restarted. On restart, I get the Apply logo, a file folder image with a question mark, and a flippin "wrong way" type sign (circle with a slash) all flashing in rapid succession on the start up screen!!! First EVER problem I've had in 7 years of Mac use, so I have NO IDEA what to do next.
    Any clues?

    I get the same question mark symbol in 2008 in a imac and when ask in the apple store they told me something wrong with th eHD like it crash or something and advice me to bring the imac to the apple store to change it for new one,so i di dthat and back home with a brand new imac.
    Try restart the computer but if the same happen may you shall ask in the genious bar or wait till someone post a solution.
    If i am you i book appointment in the genious bar but if you haven't apple care then ..

  • Setting up Ex-SATA drive on MBP for FCP....having a small problem

    Hi Forum, it's me again... I just got my new MBP and built up my new Firmtech SATA drive for storage.
    I've tried this question on the macbookpro forum, but no one wants to seem to answer it.
    I'm having a stupid little problem: I can't figure out how to "drag" the file into the Drive window to set up the RAID. The flippin' trackpad (set for dragging and double clicking in Pref's) just highlights the drives in the main image window, and won't allow me to pick up and move the drive to set up the RAID...can anyone advise what I'm doing wrong? I've tried the keeping the finger on the trackpad after second click, just can't seem to get it to drag....and drop.
    is this a "finesse" issue?? Thanks..
    Sorry for the bother.
    M

    Mark,
    Let's try two things:
    1) Make sure that you are trying to drag the correct drive into the RAID. You should be dragging the drives that are indented slightly in the Disk Utility window. Make sure that you select the "drive" that is your firmtek array, then go to the RAID tab, then drag the drives listed below the Firmtec array in the left window.
    2) Sometimes I find it easier to drag using the two handed method. Position the pointer over the drive, click and hold with the button, drag on the pad with your other hand and drop.
    Try these and post back.
    K

  • Apple TV Server Problems (your downloads are ridiculously slow)

    Apple, fix your **** Apple TV servers. Stop ignoring your customers and acknowledge that you have a problem with the servers you're using for movie rentals. Rentals take forever to download and constantly stop to buffer. This did NOT used to happe and is obviously related to server configuration and recent changes you've made. Get up off your ***** and fix this....yesterday!!!

    Amen to that!!!! It seems like the more technology increases the harder it is to do simple task like watch flippin tv or movies without paying a fortune &amp; then waiting two years to watch it!!!

  • "lpadmin" group

    what is the "lpadmin" group referred to during installation on a mac?

    Thanks, the problem is solved (for now) but in case others run into this I'll post some info. I spent four hours being tossed between  Apple and HP yesterday while these "partners" blamed each other. In the end it was a little of both. I have full administrator privs on my Mac but an apple operating glitch duirng the installation process prevented them from being recognized. I had to create a new admin account, delete my existing one, then recreate it. This is a growing problem and Apple needs to walk you through it (even though according to one Apple bad ass "HP needs to take accountability." But HP is not without its headaches either...didn't realize I would need a printer cord for a cordless (wifi) printer. Luckily I managed to hunt one down so I could finish installation. Silly issues resulted in hours of aggravation. 

Maybe you are looking for

  • How To Write A Sql Query to Show 0's

    I never can remember this :-/ What do I have to do to get a SQL Query to return 0 if the Count of a condition is 0?  For example lets say Joe, Jay, Jim could log on, but only Joe & Jim logged in Jay would not be returned in the query below.  What wou

  • DBMS_SCHEDULER.STOP_JOB

    Hi, I have created a external job to execute exe's in unix box. The steps followed are as follows:     DBMS_SCHEDULER.CREATE_JOB (                           job_name=>v_job_name,                           Job_Type => 'EXECUTABLE',                    

  • QBE filter criteria in adf richtable disappears

    Hi, i use jdeveloper 11g (11.1.1.0.2) with ADF BC and have the following Problem: I have a table with enabled builtin filtering. The table is contained in a page fragment of a taskflow. At runtime I am doing the following: 1) I submit a filter criter

  • I lost my pics in iPhoto, it turned into palm trees

    So i was editing my pictures and then it just quit and I lost all my picture that I edited.  Where did they go? In the events they are just palm trees with sunset and says the title but no pictures inside.

  • Trigger workflow?

    Hi experts, pls explain me how to trigger a workflow from an abap program.Which function module is used? pls give me sample code for this