Created attachment 8116 [details] the full output of the rpcclient -L print -U "SPREADSHIRT\administrator" -c 'adddriver hi, i try'd to add a printer via: rpcclient -L print -U "SPREADSHIRT\administrator" -c 'adddriver "Windows NT x86" "Brother HL-2250DN series:/data/samba/drivers/W32X86/BROHL10A.DLL:/data/samba/drivers/W32X86/BRSH2250DN_0000.DSI:/data/samba/drivers/W32X86/BRUIM10 ... and i got the Error: result was WERR_NOMEM i give an atachment wiith an -d 10 debug-level please give me an hint, how can i add drvers to my new print-server in a other way. thanks Ansgar
Could you please add a level 10 debug log of the server?
Created attachment 8120 [details] server log (debug level 10) til uce rpcclient -c adddriver
Created attachment 8122 [details] smb log (debug level 10) til uce rpcclient -c adddriver
Created attachment 8123 [details] client log (debug level 10) til uce rpcclient -c adddriver
Can you send me the driver files or point me to location where I can get them. Please also post your smb.conf using 'testparm'.
(In reply to comment #5) > Can you send me the driver files or point me to location where I can get them. > > Please also post your smb.conf using 'testparm'. testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] workgroup = SPREADSHIRT server string = %h server (Samba, Ubuntu) security = DOMAIN map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 printcap name = cups dns proxy = No wins server = 10.100.21.110 usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d winbind enum users = Yes winbind enum groups = Yes winbind nested groups = No winbind expand groups = 0 winbind refresh tickets = Yes winbind offline logon = Yes winbind normalize names = Yes winbind rpc only = Yes idmap config * : range = 1000000-1999999 idmap config SPREADSHIRT : backend = rid idmap config SPREADSHIRT : range = 10000 - 49999 idmap config * : backend = tdb [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes print ok = Yes browseable = No [print$] comment = Printer Drivers path = /etc/samba/drivers write list = root, SPREADSHIRT\Administrator, @SPREADSHIRT\domain_admins read only = No
Can you send me the driver files or tell where I can find them on the net?
We return a bad error code here, but we fixed that. Just specify the file names without any path components. Like adddriver "Windows NT x86" "Brother HL-2250DN series:BROHL10A.DLL:BRSH2250DN_0000.DSI:..." We will add that information to the rpcclient addriver command help and improve the manpage.