Version 3.0.14a lekuserv ~ # cupsaddsmb -U root -h lekuserv -H lekuserv -v pdfprint Password for root required to access lekuserv via SAMBA: Running command: smbclient //lekuserv/print\$ -N -U'root%!password!' -c 'mkdir W32X86;put /var/spool/cups/tmp/44192f6a87c74 W32X86/pdfprint.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll' Domain=[LEKUSERV] OS=[Unix] Server=[Samba 3.0.14a] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 putting file /var/spool/cups/tmp/44192f6a87c74 as \W32X86/pdfprint.ppd (12676.5 kb/s) (average 12677.7 kb/s) putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (54677.0 kb/s) (average 40679.0 kb/s) putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (669.6 kb/s) (average 3597.1 kb/s) putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (1382.3 kb/s) (average 1533.4 kb/s) putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (1580.0 kb/s) (average 1546.7 kb/s) Running command: rpcclient lekuserv -N -U'root%!password!' -c 'adddriver "Windows NT x86" "pdfprint:pscript5.dll:pdfprint.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,pdfprint.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"' Printer Driver pdfprint successfully installed. Running command: smbclient //lekuserv/print\$ -N -U'root%!password!' -c 'mkdir WIN40;put /var/spool/cups/tmp/44192f6a87c74 WIN40/pdfprint.PPD;put /usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put /usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put /usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put /usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put /usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;' Domain=[LEKUSERV] OS=[Unix] Server=[Samba 3.0.14a] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40 putting file /var/spool/cups/tmp/44192f6a87c74 as \WIN40/pdfprint.PPD (12676.5 kb/s) (average 12677.7 kb/s) putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (1398.2 kb/s) (average 1426.2 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (1580.9 kb/s) (average 1529.1 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (1612.2 kb/s) (average 1536.5 kb/s) putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (1460.2 kb/s) (average 1532.2 kb/s) putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (1400.0 kb/s) (average 1528.6 kb/s) Running command: rpcclient lekuserv -N -U'root%!password!' -c 'adddriver "Windows 4.0" "pdfprint:ADOBEPS4.DRV:pdfprint.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,pdfprint.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,ICONLIB.DLL"' Printer Driver pdfprint successfully installed. Running command: rpcclient lekuserv -N -U'root%!password!' -c 'setdriver pdfprint pdfprint' SetPrinter call failed! result was WERR_ACCESS_DENIED Password for root required to access lekuserv via SAMBA: Version 3.0.21b server ~ # cupsaddsmb -h server -H server -U root -v pdfprint Password for root required to access server via SAMBA: Running command: smbclient //server/print\$ -N -U'root%!password!' -c 'mkdir W32X86;put /var/spool/cups/tmp/44193750d1080 W32X86/pdfprint.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll' Domain=[SERVER] OS=[Unix] Server=[Samba 3.0.21b] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 putting file /var/spool/cups/tmp/44193750d1080 as \W32X86/pdfprint.ppd (969.3 kb/s) (average 969.3 kb/s) putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (6432.9 kb/s) (average 4409.4 kb/s) putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (541.4 kb/s) (average 1952.7 kb/s) putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (1457.8 kb/s) (average 1518.3 kb/s) putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (1475.5 kb/s) (average 1505.5 kb/s) Running command: rpcclient server -N -U'root%!password!' -c 'adddriver "Windows NT x86" "pdfprint:pscript5.dll:pdfprint.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,pdfprint.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"' Printer Driver pdfprint successfully installed. Running command: smbclient //server/print\$ -N -U'root%!password!' -c 'mkdir WIN40;put /var/spool/cups/tmp/44193750d1080 WIN40/pdfprint.PPD;put /usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put /usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put /usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put /usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put /usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;' Domain=[SERVER] OS=[Unix] Server=[Samba 3.0.21b] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40 putting file /var/spool/cups/tmp/44193750d1080 as \WIN40/pdfprint.PPD (99260000.0 kb/s) (average inf kb/s) putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (1229.9 kb/s) (average 1251.2 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (1540.4 kb/s) (average 1437.0 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (1464.5 kb/s) (average 1439.5 kb/s) putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (1373.3 kb/s) (average 1435.8 kb/s) putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (1191.5 kb/s) (average 1428.4 kb/s) Running command: rpcclient server -N -U'root%!password!' -c 'adddriver "Windows 4.0" "pdfprint:ADOBEPS4.DRV:pdfprint.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,pdfprint.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,ICONLIB.DLL"' Printer Driver pdfprint successfully installed. Running command: rpcclient server -N -U'root%!password!' -c 'setdriver pdfprint pdfprint' SetPrinter call failed! result was WERR_ACCESS_DENIED Password for root required to access server via SAMBA: The smb.conf for the Version 3.0.21b # Samba config file created using SWAT # from 192.168.31.94 (192.168.31.94) # Date: 2004/10/28 13:41:57 # Global parameters [global] dos charset = 850 unix charset = ISO8859-15 display charset = ISO8859-15 netbios name = server server string = Samba Server %v interfaces = lo, bond0, 192.168.31.0/24, 127.0.0.0/8 bind interfaces only = Yes # Passwordeinstellungen encrypt passwords = yes null passwords = yes security = user username map = /etc/samba/smbusers map to guest = Bad User password level = 8 username level = 10 unix password sync = yes domains login = no preferred master = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n *passwd:*updated*successfully* name resolve order = wins lmhosts bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 add user script = /usr/sbin/useradd -s /bin/false '%u' delete user script = /usr/sbin/userdel '%s' add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print $3}' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/bin/usermod -G '%g' '%u' delete user from group script = /usr/bin/gpasswd -d '%u' '%g' set primary group script = /usr/sbin/usermod -g '%g' '%u' add machine script = /root/sbin/mkntmachine %u log file = /var/log/samba/%m max log size = 50 os level = 32 dos filemode = Yes dos filetimes = Yes dos filetime resolution = Yes printcap name = cups printing = cups load printers = yes show add printer wizard = yes [homes] comment = Home Directories read only = No create mask = 0640 directory mask = 0700 browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0660 guest ok = Yes printable = Yes browseable = No printer admin = @ntadmin, @wheel, @lp, root use client driver = yes [print$] comment = Printer Drivers path = /var/lib/samba/printers write list = @ntadmin, @wheel, @lp. root force group = ntadmin create mask = 0664 directory mask = 0775 smb.conf of the version 3.0.14a # Global parameters [global] dos charset = 850 unix charset = ISO8859-15 workgroup = LEHMKUHLE server string = Samba Server %v interfaces = 192.168.4.0/24 192.168.3.0/24 192.168.2.0/24 127.0.0.1 bind interfaces only = yes security = USER local master = no wins support = yes dos charset = cp850 display charset = ISO8859-15 name resolve order = wins lmhosts bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 add user script = /usr/sbin/useradd -s /bin/false '%u' delete user script = /usr/sbin/userdel '%s' add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print $3}' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/bin/usermod -G '%g' '%u' delete user from group script = /usr/bin/gpasswd -d '%u' '%g' set primary group script = /usr/sbin/usermod -g '%g' '%u' add machine script = /root/sbin/mkntmachine %u passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* username map = /etc/samba/smbusers password level = 8 username level = 10 # printcap name = cups printing = cups load printers = yes # show add printer wizard = yes [homes] comment = Home Directories read only = No create mask = 0640 directory mask = 0700 browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0660 guest ok = Yes printable = Yes browseable = No printer admin = @wheel, @lp use client driver = yes [print$] comment = Printer Drivers path = /var/lib/samba/printers write list = @wheel, @lp force group = lp create mask = 0664 directory mask = 0775