[Samba] printer offline

2004-09-16 Thread Braam Greyling
Hi,

I have a samba pdc as a file and domain server and another computer
which is only a print server. 

The print server is set up to allow domain logons via the pdc.
It runs Linux with cups and samba. Samba is compiled for Cups

Problem is, from a win98 or any machine, I can see the printer but it is
marked offline. Nothing i do, seems to make it online.

How can I force Samba to make cups printer online ?

Regards
Braam



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


[Samba] standalone file and print server inside SAMBA network problem

2004-09-14 Thread Braam Greyling
Hi,


I have an existing Samba network consisting of a SAMBA PDC with win98
and XP clients (there is also some linux machines on the network
connecting via NIS/NFS.

Everything is running nicely.

Now I want to add a samba print server to the domain.
All this server needs to do is share a printer for the domain.

For some reason I cannot get this printer server to share anything.
Not even it's home directories.
I have tried various options, used testparm etc.

When I browse the network with a win98 machine and I go to the
printserver, it asks for a network password.
No matter what password you type in there is accepted.

Please help.

Specs:
Both servers running SuSE9.0 with Samba 
With smbstatus on printserver I get

Samba version 2.2.8a-SuSE
Service  uid  gid  pid machine
--



Here is the smb.conf from the printserver

# Networking configuration options
#  hosts allow = XXX.XXX.XXX.65/24
#  hosts deny = 0.0.0.0/0
#  bind interfaces only = yes

   workgroup = PRLWIN
   os level = 2
   time server = no
   unix extensions = Yes
   encrypt passwords = yes
   map to guest = alluser
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
   wins support = yes
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/
   #security = domain
   server string = printserver
   netbios name = printserver
   #add user script =
   domain master = false
   domain logons = yes
   local master = yes
   interfaces = eth0
   preferred master = auto
   password server = XXX.XXX.XXX.66
;;   ldap server = 127.0.0.1

   printing = cups
   printcap name = cups
   load printers = yes

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

[homes]
   comment = Home Directories
#   valid users = %S
   browseable = yes
   read only = yes
   create mask = 0777
   directory mask = 0777
   guest ok = yes
   printable = yes





Here follows the PDC smb.conf (the ip is XXX.XXX.XXX.66

global]
   workgroup = PRLWIN
   security = domain
   encrypt passwords = yes
   server string = Samba Server
   add user script = /usr/sbin/useradd -c Machine -d /dev/null -s
/bin/false  %m$
   domain master = yes
   domain logons = yes
   local master = yes
   preferred master = yes
   os level = 85
;;   ldap server = 127.0.0.1

# If you want Samba to act as a wins server, please set
# 'wins support' to yes.
   wins support = yes

   netbios name = SAMBASERVER

; where to store user profiles?
   logon path = \\%N\profiles\%u


; where is a user's home directory and where should it
; be mounted at?
   logon drive = Z:
   logon home = \\%L\%u
;logon home = \\homeserver\%u
; specify a generic logon script for all users
; this is a relative **DOS** path to the [netlogon] share
;logon script = logon.cmd
; necessary share for domain controller

# This is a simple measure against Nimba Worm. Cf.
README.Win32-Viruses
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/

   printing = cups
   printcap name = cups
   load printers = yes




[netlogon]
   comment = Network Logon Service
   path = /var/lib/samba/netlogon
   read only = yes
   write list = ntadmin
   browseable = yes
   guest ok = no
   printable = no


[netlogon]
   comment = Network Logon Service
   path = /var/lib/samba/netlogon
   read only = yes
   write list = ntadmin
   browseable = yes
   guest ok = no
   printable = no

; share for storing user profiles
[profiles]
   comment = Network Profiles Service
   browseable = yes
   path = /var/lib/samba/profiles
   read only = no
   create mask = 0600
   directory mask = 0700
   guest ok = no
   printable = no


[homes]
   comment = Home Directories
   path = /home/%U
   read only = No
   create mask = 0640
   directory mask = 0750
   browseable = no
   guest ok = no
   printable = no





-- 

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


[Samba] standalone file and print server inside SAMBA network problem

2004-09-14 Thread Braam Greyling
The lines should be
When I browse the network with a win98 machine and I go to the
printserver, it asks for a network password.
No matter what password you type in there is NOT accepted.


note the NOT accepted, huge apologies for typo


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


[Samba] windows packet drop problem

2003-02-26 Thread Braam Greyling
Hi all,

I replaced a window$ 2000 server with a SuSE 8.0 installation running 
Samba. 

info xxx.xxx.xxx.xxx = our.internal.ip.addresses

The Server have the following duties:

1. Provides DHCP for the internal network xxx.xxx.xxx.64 to 
xxx.xxx.xxx.128 netmask 255.255.255.192  

2. the server also acts as the file and login server for the internal 
windows and linux network. 

The default gateway of the internal network is xxx.xxx.xxx.65 which 
is running on an old FreeBSD firewall. 

My problem is:
When I use one of the internal windows 98SE or XP pc's , it seems 
like packets are dropped.
For instance when I ping an address outside the firewall, let's say 
xxx.xxx.xxx.7, I get good response times but after a few pings, some 
of the pings stays unanswered. 
Even when I fixed the IP of the windows PC, the packets were still 
dropped. 

BUT, when I use a linux PC on the internal network, (was not log on 
to the samba server) with a fixed IP, xxx.xxx.xxx.123 no packets are 
dropped. 

I do not think it is a problem with the SuSE DHCP as it occurs with a 
fixed IP windows pc also. Unless there is some setting I have to make 
on the windows machines. 

Hope you can help. 

Regards
Braam


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