[Samba] Problem on APW Drivers Install

2004-07-01 Thread Renaud . Leroy
I'm using this doc and i want to install drivers dor ARM350U (Sharp) on my
samba server.

http://us1.samba.org/samba/docs/man/howto/printing.html#id2548605


Required permissions
In order to add a new driver to your Samba host, one of two
conditions must hold true: 
*   The account used to connect to the Samba
host must have a UID of 0 (i.e., a root account). 
*   The account used to connect to the Samba
host must be named in the printer adminlist. 
Of course, the connected account must still have write
access to add files to the subdirectories beneath [print$]. Remember that
all file shares are set to read-only by default. 

I'm connecting from a XP SP1 Test Workstation, under id in the printer admin
group...
I'm not very familiar with Windows Stuff.. but i ask the Win Admin in which
group am i..



So..

I change on the samba server the rights at /var/lib/samba3/printers/W32X86
to 777

This directory is in my smb.conf, used to store drivers ( [print$] ).
 
Open Network Neighborhood or My Network Places and browse for the Samba
host. Once you have located the server, navigate to its Printers and Faxes
folder. You should see an initial listing of printers that matches the
printer shares defined on your Samba host... 

*   Running a GUI (Printer Properties and Add Printer Wizard)
from any Windows NT/200x/XP client workstation. 
The latter option is probably the easier one (even if the process may seem a
little bit weird at first). 



Open the Windows Explorer, open Network Neighborhood, browse to the Samba
host, open Samba's Printers folder, right-click on the printer icon and
select Properties You are now trying to view printer and driver
properties for a queue that has this default NULL driver assigned. This will
result in the following error message: 
Device settings cannot be displayed. The driver for the specified printer is
not installed, only spooler properties will be displayed. Do you want to
install the driver now? 





(the error message is the same ,but in French)


Do not click on Yes! Instead, click on No in the error dialog. 
I click on NO...  







Only now you will be presented with the printer properties window. From
here, the way to assign a driver to a printer is open to us. You now have
the choice of: 
*   Select a driver from the pop-up list of installed drivers.
Initially this list will be empty. 
*   Click on New Driver to install a new printer driver (which
will start up the APW). 
I navigate in the tabs  and i can't see any options to select a driver from
the pop-up list or a « New driver » ...

Maybe is this a problem of rights of my account ?
On   the Windows Domain ? 

Thanks for your help by advance.







Could it be something like this.. ?

Windows 200x/XP Local Security Policies
Local Security Policies may not allow the installation of unsigned drivers.
Local Security Policies may not allow the installation of printer drivers
at all.



Win XP-SP1
Win XP-SP1 introduced a Point and Print Restriction Policy (this restriction
does not apply to Administrator or Power User groups of users). In Group
Policy Object Editor, go to User Configuration - Administrative Templates
- Control Panel - Printers. The policy is automatically set to Enabled and
the Users can only Point and Print to machines in their Forest . You
probably need to change it to Disabled or Users can only Point and Print to
these servers to make driver downloads from Samba possible. 


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] NUT?

2004-07-01 Thread Renaud . Leroy


I try for 3 days now to installdrivers on my samba server, for win clients
will (never) be able to install drivers from SAMBA print server.


I try all methods without succes (see my posts) no answer from anyone at
all...


The alst method i try today is with cupsaddsmb:


root#cupsaddsmb -v -a

i got a Warning: No PPD File for printer HP_Laserjet5P - skipping etc
same for all the other printers !

I CAN print from printers, and in the dir /etc/cups/ppd i got all the
required files !


HP_Laserjet5P.ppd  ...and all..



If someone can help, it would be appreciated..

Sorry for my bad english.

R
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Help on rpcclient setdriver

2004-06-30 Thread Renaud . Leroy
I want to install a driver on a print server, i'm looking at this doc:
http://us1.samba.org/samba/docs/man/howto/CUPS-printing.html#id2563056



i did: 

root#rpcclient3 -U'adm%passwd' NT-SERVER -c 'getdriver printer 3'

[Windows NT x86]
Printer Driver Info 3:
Version: [3]
Driver Name: [SHARP AR-M350U PCL5e]
Architecture: [Windows NT x86]
Driver Path: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5K.DLL]
Datafile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5K.DLL]
Configfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5U.DLL]
Helpfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5.HLP]
 

Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5L.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5P.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5C.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5J.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5Q.EXE]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5X.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5S.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5WU.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5WK.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5Z.EXE]


i try next:

[EMAIL PROTECTED] -Uadm%passwd -c 'adddriver Windows NT x86 \
SHARP AR-M350U PCL5e:tiger5k.dll: \
tiger5k.dll:tiger5u.dll:tiger5.hlp:   \
NULL:RAW:tiger5l.dll,tiger5p.dll,  \
tiger5c.dll,tiger5j.dll,tiger5q.exe,   \
tiger5x.dll,tiger5s.dll,tiger5wu.dll, \
tiger5wk.dll,tiger5z.exe' \
172.21.161.10


i've got an error:

params.c:Parameter() - Ignoring badly formed line in configuration file: 
added interface ip=172.21.161.10 bcast=172.21.161.255 nmask=255.255.254.0
error connecting to 172.21.160.10:445 (No route to host)
error connecting to 172.21.160.10:139 (No route to host)
Error connecting to 172.21.160.10 (No route to host)
cli_full_connection: failed to connect to 172.21.160.1020 (172.21.160.10)
Cannot connect to server.  Error was NT_STATUS_UNSUCCESSFUL


i though printer wasn't recognise.. but not  :/

rpcclient3 -Uadm%passwd  172.21.160.13 -c 'enumprinters' | grep -i 'printer'
name:[\\172.21.160.13\PRINTER]
description:[\\172.21.160.13\PRINTER,SHARP AR-M350U PCL5e,...]





What's wrong ?  please (except me)  













--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Help on rpcclient3 adddriver

2004-06-30 Thread Renaud . Leroy

I've a more 'normal' error, first error posted was due to a bad IP :/


now when i do:

rpcclient3 -Uadm%passwd -c 'adddriver Windows NT x86 \
SHARP AR-M350U PCL5e:tiger5k.dll: \
tiger5k.dll:tiger5u.dll:tiger5.hlp: \
NULL:RAW:tiger5l.dll,tiger5p.dll, \
tiger5c.dll,tiger5j.dll,tiger5q.exe,\
tiger5x.dll,tiger5s.dll,tiger5wu.dll,\
tiger5wk.dll,tiger5z.exe' 172.21.161.10


i've got... :


params.c:Parameter() - Ignoring badly formed line in configuration file: 
added interface ip=172.21.161.10 bcast=172.21.161.255 nmask=255.255.254.0
result was DOS code 0x0013  --wtf it is 0_0








I want to install a driver on a print server, i'm looking at this doc:
http://us1.samba.org/samba/docs/man/howto/CUPS-printing.html#id2563056



i did: 

root#rpcclient3 -U'adm%passwd' NT-SERVER -c 'getdriver printer 3'

[Windows NT x86]
Printer Driver Info 3:
Version: [3]
Driver Name: [SHARP AR-M350U PCL5e]
Architecture: [Windows NT x86]
Driver Path: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5K.DLL]
Datafile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5K.DLL]
Configfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5U.DLL]
Helpfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5.HLP]
 

Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5L.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5P.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5C.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5J.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5Q.EXE]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5X.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5S.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5WU.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5WK.DLL]
Dependentfiles: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\TIGER5Z.EXE]


i try next:

[EMAIL PROTECTED] -Uadm%passwd -c 'adddriver Windows NT x86 \
SHARP AR-M350U PCL5e:tiger5k.dll: \
tiger5k.dll:tiger5u.dll:tiger5.hlp:   \
NULL:RAW:tiger5l.dll,tiger5p.dll,  \
tiger5c.dll,tiger5j.dll,tiger5q.exe,   \
tiger5x.dll,tiger5s.dll,tiger5wu.dll, \
tiger5wk.dll,tiger5z.exe' \
172.21.161.10


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] net rpc join || smbpasswd

2004-06-29 Thread Renaud . Leroy
Hi !

I'm trying to join my samba3 print server to an existing NT4 domain.
I'm on mdk 9.1 prosuite and samba3 rpms.

I did urpmi samba3-server  samba3-winbind without problem.


I'm using this doc:
http://us1.samba.org/samba/docs/man/howto/FastStart.html#id2509604

when i do:

net rpc join -S THE_PDC -U AN_ ADMIN

i got:

bash:net:command not found 


---


Do i have to use smbpasswd -j DOMAIN -r PDC -UAdmin_count%the_passwd
???



thanks by advance

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] net rpc

2004-06-29 Thread Renaud . Leroy
It was net3 rpc  !!!

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba