RE: [Samba] Print Problem - printcap file cups

2003-06-11 Thread Gareth Blades
When I compiled 2.2.8a cups support was not compiled in even though I
specifically specified it and there were no errors. If you type 'ldd
/usr/local/samba/bin/smbd' you can see what libraries are linked against it
and cups should be there.
Make sure you have the cups-devel RPM package installed otherwise cups
support wont get built in.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 g]On Behalf Of Gorm Jensen
 Sent: Wednesday, June 11, 2003 14:58
 To: [EMAIL PROTECTED]
 Subject: [Samba] Print Problem - printcap file cups


 I am using samba-2.2.7-3.7.2 on a redhat 7.2 server with an attached
 printer which is run by CUPS.  It worked OK until I upgraded to
 samba-2.2.7-3.7.2.  Now I can print locally on the server machine, but
 not from the windows machines on the LAN.

 The error message on the windows box is  Unable to create a print
 job. Another error, produced daily when samba is re-initialized
 during log rotation is Unable to open printcap file cups for read!
 The samba log also shows printing/pcap.c:pcap_printer_fn(372)

 There is no file called cups, so I tried adding world-read
 permission to some of the likely config files.  No joy.  Searches of
 the samba archive and google did not show anything useful.


 Any help would be appreciated.

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




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


[Samba] Cups printing works but status is always Access Denied

2003-06-10 Thread Gareth Blades
I have a RedHat 9 installation running XFS.
Cups 1.1.17-13 is installed

I have compiled and installed Samba 2.2.8a and everything appears to be
working apart from a minor printing problem.
After I have installed a printer on my Win2K workstation I can print via
samba to the cups printer using the windows PCL print driver and it works
fine.
However the printer status is always 'Access denied, unable to connect'.

I get the following entries in the log file for my machine :-

[2003/06/10 12:28:24, 0] printing/print_cups.c:cups_printername_ok(388)
  Unable to get printer status for
::{2227a280-3aea-1069-a2de-08002b30309d} - client-error-not-found
[2003/06/10 12:28:24, 0] smbd/service.c:make_connection(252)
  gb-desktop (192.168.1.250) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}

My samba configuration :-

[global]
workgroup = ASCOT
netbios name = DIBBLER
server string = SAMBA-LDAP PDC Server
encrypt passwords = Yes
passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
unix password sync = Yes

log file = /var/log/samba/%m.log
log level = 5 ; remember to lower the log level in real life :-)
max log size = 0


socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain logons = Yes
os level = 80
preferred master = False
domain master = True
dns proxy = No
wins support = Yes

; SAMBA-LDAP declarations
ldap suffix = dc=ASCOT.WEBSCREEN-TECHNOLOGY,dc=COM
ldap admin dn = cn=Manager,dc=ASCOT.WEBSCREEN-TECHNOLOGY,dc=COM
ldap port = 389
ldap server = 127.0.0.1
ldap ssl = No

load printers = yes
printing = cups
printcap name = cups

; Deactivate opportunistic locks (wised)
; opLocks = False
; encoding to french
; character set = iso8859-1

; using smbldap-tools to add machines
add user script = /usr/local/sbin/smbldap-useradd.pl -w %u
; users and groups allowed to be 'Domain Admins'
domain admin group =  @Domain Admins 

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[netlogon]
comment = Network Logon Service
path = /usr/local/samba/netlogon
guest ok = Yes

[profiles]
path = /data/profiles
writeable = yes
browseable = no
create mode = 0644
directory mode = 0755
guest ok = yes

[samba]
path=/data/samba
writable= yes
force create mode   = 660
force directory mode= 770
create mode = 660
directory mode  = 770
mangle case = yes
case sensitive  = no
default case= lower
preserve case   = yes
short preserve case = no
valid users = @users
force group = users

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
public = yes
guest ok = yes
writable = no
printer admin = root


--
Gareth Blades
Webscreen Technology
Index House
St Georges Lane
Ascot, Berkshire
SL5 7EU, UK
Tel +44 (0) 1344 636339
http://www.webscreen-technology.com


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


[Samba] 2.2.8a with XFS and LDAP - What should and wont work?

2003-06-10 Thread Gareth Blades
I have Samba 2.2.8a running on RH9 with XFS setup and most things appear to
be working but there are a couple of things not behaving as expected.

My account has been created on the server as a member of the Admisistrators
and Domain Admins groups.
I have the following line in by smb.conf file:-
domain admin group =  @Domain Admins 

Working
---
Printing
Changing permissions on files/directories that I own
Adding machines to the domain automatically (using my account)

Not Working
---
Creating user accounts via the Win2K tools (I know from the Samba-Ldap-PDC
howto that this wont work)
I cannot take ownership of a file even if the file has the domain admins
group as full control.
I cannot change permissions of a file even if the domain admins group has
full control (which includes the change permissions right)

Should I be able to do the last two?

Thanks


--
Gareth Blades
Webscreen Technology
Index House
St Georges Lane
Ascot, Berkshire
SL5 7EU, UK
Tel +44 (0) 1344 636339
http://www.webscreen-technology.com


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


RE: [Samba] Exchange Replacement (OT)

2002-04-16 Thread Gareth Blades

According to the news article it needs to run on Solaris 8 and have access
to an Oracle 8i database server.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dirk Allaert
 Sent: Tuesday, April 16, 2002 01:05
 To: Samba
 Subject: Re: [Samba] Exchange Replacement (OT)


 Maybe Sendmail Calendar Server is a worthy replacement, just read about
 it myself. We are using sendmail on our mail servers anyway, we might
 give it a try.

 http://serverwatch.internet.com/icom_cgi/print/print.cgi?url=http:
//serverwatch.internet.com/news/2002_04_15_b.html


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




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



RE: [Samba] Setting Printer properties using 2.2.3a NT printer properties

2002-04-12 Thread Gareth Blades

This is a known bug in 2.2.3a.

Download the latest 2.2 branch from CVS and use that instead.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Dan Horth
 Sent: Friday, April 12, 2002 04:13
 To: [EMAIL PROTECTED]
 Subject: [Samba] Setting Printer properties using 2.2.3a  NT printer
 properties
 
 
 Hi - I've managed to successfully set up our printer as per the 
 Printing HOW-TO, I'm able to print to the printer and upload 
 drivers using the Win NT print properties window.
 
 The problem I'm having is that I can't set any properties for the 
 printer (ie. change the base model from HP 4050 to HP 4050 TN, 
 set default paper trays / paper trey assignments).
 
 Basically whatever settings I make are lost as soon as I close 
 the printer properties window - all settings revert to default 
 when I reopen window.
 
 What I'm trying to do is have a couple of shares set up for the 
 printer - once set to print to tray 1, one set to print to tray 2, etc.
 
 I'm logged in with admin (root) privileges - and as I said I can 
 upload drivers, etc. fine... and this is picked up by users 
 installing the printer on their machines - just that they all 
 come in as default setup.
 
 I've found references to similar problems on the list archives, 
 but no solutions offered. can anyone give me any insights / 
 pointers to tests / documentation that will help me track down 
 the problem.
 
 thanks in advance, dan.
 -- 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 


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



RE: [Samba] Registry Settings....

2002-04-08 Thread Gareth Blades



They 
could be added as part of a login script.

Depending what you intend to modify a policy file could also be 
used.

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Angel 
  GabrielSent: Monday, April 08, 2002 03:08To: 
  [EMAIL PROTECTED]Subject: [Samba] Registry 
  Settings
  How can I create a file that could automatically 
  import registry settings into my windows machine, ie. default user on a 2000 
  machine? Thanks in advance!