[Samba] Re: Samba+CUPS+Drivers autodownload

2003-06-09 Thread Dragan Krnic
 Your problem is trivial, Matt, but you're not doing
..
:-)

I eventually found the problem. Another admin had 
helpfully changed the share =  setting from user
to share for some reason which I'm currently trying 
to extract out of him. Changing it back to user and
everything works okay with just your bugfixes (or 
equivalent).

I guess you mean changed security = user to
security = share. Duh! Short of peeking in
smb.conf you can infer that kind of error
only with server logs :-)

Glad you found the bugger, erm, the bug.




Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba+CUPS+Drivers autodownload

2003-06-05 Thread Dragan Krnic
I'm still trying to set my Samba box up to allow the 
Adobe PS drivers to be automatically downloaded.

Thanks to a couple of replies, I've tried three 
courses of action, none of which have been 
successful. These are:

Your problem is trivial, Matt, but you're not doing
the right thing to find out how trivial it is. By
opting -v in your cupsaddsmb call in you are
seeing only the client's point of view on the problem. 
There is much more going on on the server side, which
rpcclient cannot show because its crystal ball is
as usual dusted over and it doesn't get much of
diagnostic from the rpc_server, just go/no-go.

Do yourself a favour and proceed as follows:

0. insert the option debug timestamps = Yes in your
   smb.conf and let it take effect. smb restart or

   psj smbd | \
   while read pid pid rest;
   do kill -HUP $pid; 
   done

   would do.

1. cd to the samba log dir and clean up your host's
   (WINS name for localhost) file, e.g.

   cd /var/log/samba
yourhost.log

2. increase debugging level liberally, e.g.

   smbcontrol smbd debug 

3. do your 
   cupsaddsmb -v -U root oki7200

4. reduce debugging level to normal

   smbcontrol smbd debug 1

5. try to make sense of so much static noise in
   yourhost.log. If you need help, gzip and
   mail the file to someone (I volunteer).

Cheers
Dragan



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba+CUPS+Drivers autodownload

2003-05-30 Thread Dragan Krnic
 Samba built with this change will not report
 NT_STATUS_UNSUCCESSFUL when you execute adddriver
 subcommand of rpcclient.

I found reference to this in one of your posts and in 
Samba's bugzilla database. I've tried commenting out 
this code, rebuilding, installing, etc. but I still 
get the error.

Unfortunately, many conditions can lead to the
same symptoms. Omitting a mandatory field in the
third parameter, mixing files from different levels,
versions and OS's, improper path permissions, etc.

You should increase the logging level drastically,
e.g. smbcontrol smbd debug 999 execute the command,
reduce the logging level and pore over the logs. 

 The other bug prevents rpcclient's enumdrivers
 subcommands from completing and can be fixed by 
..
This fix is in the CVS version I checked out. Their 
fix is slightly different, but I can see it does the 
same thing.

 Another problem is building a fixed version of 
 Samba. Somehow, the Linux vendors refrain from 
..
I'm running on Slackware, so there's a Slackbuild 
script in the source tree that explains how Samba was 
built. At the moment I'm just doing a standard
./configure build as I just want to see if this 
printing will work smoothly.

As of the current CVS checkout I made yesterday, and 
trying your commenting-out fix, I still get the 
errors.

Might it be, that your edits get somehow ignored
by the build script? Dumb question, perhaps.



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba