[Samba] Call timed out?

2004-02-17 Thread Stefan G. Weichinger
Hello,

I reported this problem already some months ago, but haven't received
anything that helped.

I try it from a different angle today:

What could cause this message when creating an archive via smbclient?

 ? Call timed out: server did not respond after 2 milliseconds opening remote file

And question two:

What could cause smbclient to hang after that and fail on each
following file with this ? Call timed out ... ?

I can access the first file via smbclient fine. Definitely no 20
seconds delay there ...

Could this be the virus-scanner on the NT-box?
I have to check its logs when I am back there.

--

The numbers: Samba 3.0.1, Suse Linux 9, accessing a
NT4-SP6a-Workstation, which runs NAV2003 Pro.

-- 
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]


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


RE: [Samba] group problem on NT4 domain

2004-02-17 Thread steven.TSE
Thankyou for the reply,

getent passwd, getent group, wbinfo -u and wbinfo -g are also successfully
retrieved NTDOM user or group list,

removed all the highlighted, now the smb.conf:

[global]
workgroup = NTDOM
server string = Central File Server
security = DOMAIN
log file = /var/log/samba/%m.log
wins server = 192.168.100.9, 192.168.100.55
get quota command = /usr/bin/quota
set quota command = /usr/sbin/setquota
idmap uid = 1-2
idmap gid = 1-2
template homedir = /public/home/%U
template shell = /bin/bash
winbind cache time = 5

[finance]
comment = Finance Dept
path = /public/finance
valid users = @NTDOM\Domain Users
write list = NTDOM\steven_tse
force group = ntgroup
create mask = 0666
directory mask = 0777

I still no luck to make it work, all clients computer can not access to
finance but prompt for login.  

result of id NTDOM\steven_tse
uid=10204(NTDOM\steven_tse) gid=1 groups=1,10001,10004

I tried to use valid users = @1, then it works!!

steve



-Original Message-
From: John H Terpstra [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 3:44 PM
To: steven.TSE
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] group problem on NT4 domain


On Tue, 17 Feb 2004, steven.TSE wrote:

 Yes, winbindd is running and nsswitch.conf is configured as:

 passwd: file winbind
 shadow: file
 group: file winbind

What is the output of:

getent passwd
getent group

wbinfo -u
wbinfo -g

See further comments below.

- John T.


 smb.conf
 ===
 [global]
   workgroup = NTDOM
   server string = Central File Server
   security = DOMAIN
   auth methods = winbind

Get rid of auth methods

   password server = bga peh pbe_filpn

Why is it necessary to set password server? If possible remote this
too.

   client lanman auth = No
   client plaintext auth = No

Neither of these should be needed.

   log file = /var/log/samba/%m.log

   min protocol = LANMAN1
   local master = No

The above 2 should not be needed either.

   wins server = 192.168.100.9, 192.168.100.55
   get quota command = /usr/bin/quota
   set quota command = /usr/sbin/setquota
   idmap uid = 1-2
   idmap gid = 1-2
   template homedir = /public/home/%U
   template shell = /bin/bash
   winbind cache time = 5

 [finance]
   comment = Finance Dept
   path = /public/finance
   valid users = '@NTDOM\Domain Users'

Try:
valid users = @NTDOM\Domain Users

   write list = PBE\steven_tse

What do you get if you run as root on this server:

id PBE\steven_tse


   force group = ntgroup
   create mask = 0666
   directory mask = 0777

 I cannot access to shared folder finance, it always prompt for user
login.
 Please help, thankyou

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


[Samba] Re: Re: nmbd multihomed registration request must be directedat aWINS server error

2004-02-17 Thread Dylan Cuthbert
Hmm strange.

My samba PDC server is on another machine with WINS support enabled.  So I
should *not* put the ip address of that server in the wins server field on
my non-PDC samba server then?

When I put the address (well, actually, I put the samba name of the PDC) in
that field, I get those errors every five seconds in the nmbd log.

The file server seems to be working fine without the WINS server specified
so do I actually need to specify it?

-
Q-Games, Dylan Cuthbert.
http://www.q-games.com


John H Terpstra [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Tue, 17 Feb 2004, Dylan Cuthbert wrote:

  mm.. no response, so I'll reply to myself :-)
 
  I think this error seemed to be caused by my entry of a server name into
the
  WINS Server field, even though WINS support was turned off.  Any idea
why?
  Deleting the name seemed to stop the warning/error cropping up.

 The wins server = parameter requires the IP Address of your WINS server.
 Make sure that it is not the IP address of the Samba server if it is your
 WINS server (ie: wins support = yes in smb.conf).

 - John T.

 
  -
  Q-Games, Dylan Cuthbert.
  http://www.q-games.com
 
 
  Dylan Cuthbert [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
   Hi there,
  
   I just got a new machine with Redhat Enterprise Workstation and samba
   3.0.0-14 pre-installed.  I am trying to connect it to my existing
network
   which has a redhat v8 samba v2 PDC controlling 16 or so win2k and
winxp
   machines.
  
   In the nmbd log I get this error 3 times every 5 seconds or so:
  
   nmbd/nmbd_packets.c:process_nmb_request(1448)
 process_nmb_request: Multihomed registration request must be
directed at
  a
   WINS server.
  
   What does this mean?  Multihomed?  The network is as simple as it
gets,
   there is one PDC (and WINS server), and 16 or so clients, and
everybody is
   on the same domain.
  
   As far as I can see this error doesn't cause anything to fail (I can
  access
   shares on the new machine fine) but I felt it best to check in case it
  comes
   back to bite me later on.
  
   Regards
  
   -
   Q-Games, Dylan Cuthbert.
   http://www.q-games.com
  
  
   --
   To unsubscribe from this list go to the following URL and read the
   instructions:  http://lists.samba.org/mailman/listinfo/samba
  
 
 
 

 -- 
 John H Terpstra
 Email: [EMAIL PROTECTED]
 -- 
 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] server signing in Samba

2004-02-17 Thread Jianliang Lu
When we put the parameter server signing = auto in smb.conf, the Windows XP 
clients can no longer connect to the samba (3.0.2), the
net use \\server\ipc$ /u:user password return error 64. If I disabled 
the server signing the connection went ok.

The server signing = auto will make the samba to send the security mode = 
0x7 in netgotiate protocol response, that means security =user 
and security signatures enabled (not mandatory). So I can't understand why 
the XP clients didn't work with this set. From the ethereal the only 
deferents are the negotiate protocol response, the  others (session setup 
andX, tree connect) are same in both cases.

Did anyone ever find the solution?

Jianliang Lu
TieSse s.p.a. Ivrea (To) - Italy
[EMAIL PROTECTED]   [EMAIL PROTECTED]
http://www.tiesse.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Deutsche bersetzung der Samba-3-Dokumentation -- German translation of the Samba-3-docs

2004-02-17 Thread Stefan G. Weichinger

The following text is in german, due to its subject, which has to do
with the german translation of the Samba-3.0-documentation.

---

Hallo, deutschsprachige Samba-user,

die Übersetzung der Samba-3-Dokumentation geht weiter.

Unsere Projektseite liegt auf Berlios, eine kurze Projektbeschreibung
findet man unter

http://gertranssmb3.berlios.de/

Unser kleines Übersetzungsteam arbeitet derzeit an der deutschen
Übersetzung der docbook/projdoc/*.xml-Dateien des aktuellen
samba-docs-cvs-Moduls von samba.org.

html-Versionen der bereits übersetzten Dateien findet man unter

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gertranssmb3/gertranssmb3/htmldocs/

Wir brauchen nach wie vor Freiwillige!

Einerseits für die Übersetzung, aber auch für das Korrigieren und
Prüfen der übersetzten Texte.

Bitte kontaktieren Sie die [EMAIL PROTECTED],
wenn Sie an dem Projekt teilnehmen wollen, oder auch andere Vorschläge
für das positive Fortschreiten dieses Projekts haben.

-- 
Mit besten Grüßen,
Stefan G. Weichinger, für das Projekt-Team.


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


Re: [Samba] Deutsche bersetzung der Samba-3-Dokumentation -- German translation of the Samba-3-docs

2004-02-17 Thread Stefan G. Weichinger
Hello,

Dienstag, 17. Februar 2004, 10:24 I wrote:

SGW html-Versionen der bereits übersetzten Dateien findet man unter

SGW http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gertranssmb3/gertranssmb3/htmldocs/

Sorry, it is

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gertranssmb3/gertranssmb3/output/html/

now.

-- 
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]



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


[Samba] Recognizing trusted domain users

2004-02-17 Thread Karel Kulhavy
Hello

I am having a Samba 3.0.2 PDC which trusts another domain (served
by NT4 PDC). I would like to make Samba recognize users from the
trusted domain up to the point that
* Permissions could be granted to them to access shares, directories,
  files
* The users from trusted domain can be added into groups on Samba PDC

How can I accomplish this?

I have brought up the trust (it works) but any attempt to assign a
privilege from usrmgr.exe silently fails and any attempt to add a user
from trusted domain into one of Samba's groups fails with No Such
User.

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


Re: [Samba] Setting password must change for more than one user

2004-02-17 Thread Fabien Chevalier

 Administrators with large LDAP sites soon become very familiar
 with Net::LDAP and perl scripting :-)

 It's really not that hard... ;-)

 (and yes, I know ldap can be a real pain - the benefit is that
 you *can* do this kind of manipulation, directly on the
 backend)

Ok, thanks for the reply
I'll go back and learn a bit more about perl. :-(

Bye the way, wouldn't it be something pdbedit could do?
Maybe in a near future?

Bye,

Fabien

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


[Samba] Security warning with XP clients and 3.0.2a PDC

2004-02-17 Thread Paul
Hi all,

I hope I don't make a prat of myself with my first posting...

I've got a 'niggle' with Windows XP Pro (SP1a) clients and 3.0.2a PDC
(Slackware 9.1, 2.4.22).  Joing a domain, logging on etc is working
perfectly but I'm getting a 'File Download' security warning when I try and
open an executable that's stored on the server. If I agree to open the file
it runs without a problem.

I had this problem with 3.0.1 but upgraded as a precaution.  I have not
experienced this with Windows 2K clients.

I've uploaded a screenshot of the error : http://www.sumlock.com/warning.jpg
smb.conf is attached (please feel free to criticise :-) )

I've been Googling and i've tried altering 'server schannel' but i can't
stop the warning appearing.

Any suggestions for things to try (or even a guaranteed solution ;-) ) would
be very much appreciated.

Thanks

Paul Roegele
Service Manager
Sumlock Bondain (EA) Ltd


--- smb.conf ---
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/02/11 10:12:11

# Global parameters
[global]
 workgroup = CTSLTD

 passdb backend = tdbsam
 passwd program = /usr/bin/passwd
 log file = /var/log/samba/log.%m
 max log size = 50

 server signing = no
 server schannel = yes

 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

 printcap name = cups

 add user script = /usr/sbin/useradd -g domainusers -d /home/%u -s
/bin/false -m %u
 delete user script = /usr/sbin/userdel %u
 add group script = /usr/sbin/groupadd %g
 delete group script = /usr/sbin/groupdel %g
 add machine script = /usr/sbin/useradd -g sambamachines -d /dev/null -s
/bin/false %u

 logon script = start.bat
 logon path = \\%L\profiles\%U

 domain logons = Yes
 os level = 33
 preferred master = Yes
 domain master = Yes
 dns proxy = No
 wins support = Yes

 printing = cups



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


RE: [Samba] group problem on NT4 domain

2004-02-17 Thread steven.TSE
even I can use gid to make it work, but is it possible to use group name
rather than gid?

Thankyou

-Original Message-
From: steven.TSE 
Sent: Tuesday, February 17, 2004 4:13 PM
To: John H Terpstra
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] group problem on NT4 domain


Thankyou for the reply,

getent passwd, getent group, wbinfo -u and wbinfo -g are also successfully
retrieved NTDOM user or group list,

removed all the highlighted, now the smb.conf:

[global]
workgroup = NTDOM
server string = Central File Server
security = DOMAIN
log file = /var/log/samba/%m.log
wins server = 192.168.100.9, 192.168.100.55
get quota command = /usr/bin/quota
set quota command = /usr/sbin/setquota
idmap uid = 1-2
idmap gid = 1-2
template homedir = /public/home/%U
template shell = /bin/bash
winbind cache time = 5

[finance]
comment = Finance Dept
path = /public/finance
valid users = @NTDOM\Domain Users
write list = NTDOM\steven_tse
force group = ntgroup
create mask = 0666
directory mask = 0777

I still no luck to make it work, all clients computer can not access to
finance but prompt for login.  

result of id NTDOM\steven_tse
uid=10204(NTDOM\steven_tse) gid=1 groups=1,10001,10004

I tried to use valid users = @1, then it works!!

steve



-Original Message-
From: John H Terpstra [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 3:44 PM
To: steven.TSE
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] group problem on NT4 domain


On Tue, 17 Feb 2004, steven.TSE wrote:

 Yes, winbindd is running and nsswitch.conf is configured as:

 passwd: file winbind
 shadow: file
 group: file winbind

What is the output of:

getent passwd
getent group

wbinfo -u
wbinfo -g

See further comments below.

- John T.


 smb.conf
 ===
 [global]
   workgroup = NTDOM
   server string = Central File Server
   security = DOMAIN
   auth methods = winbind

Get rid of auth methods

   password server = bga peh pbe_filpn

Why is it necessary to set password server? If possible remote this
too.

   client lanman auth = No
   client plaintext auth = No

Neither of these should be needed.

   log file = /var/log/samba/%m.log

   min protocol = LANMAN1
   local master = No

The above 2 should not be needed either.

   wins server = 192.168.100.9, 192.168.100.55
   get quota command = /usr/bin/quota
   set quota command = /usr/sbin/setquota
   idmap uid = 1-2
   idmap gid = 1-2
   template homedir = /public/home/%U
   template shell = /bin/bash
   winbind cache time = 5

 [finance]
   comment = Finance Dept
   path = /public/finance
   valid users = '@NTDOM\Domain Users'

Try:
valid users = @NTDOM\Domain Users

   write list = PBE\steven_tse

What do you get if you run as root on this server:

id PBE\steven_tse


   force group = ntgroup
   create mask = 0666
   directory mask = 0777

 I cannot access to shared folder finance, it always prompt for user
login.
 Please help, thankyou

 Steve
-- 
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] Kerberos Tickets renewal

2004-02-17 Thread Markus Feilner
Hello List,
I have successfully integrated samba to an Active Directory Domain, and 
it is authenticating against the ADS, but only while the Kerberos 
ticket is valid. After that period it seems to take only the user/group 
list from its (winbind) cache.

By now i can get a kerberos ticket with kinit Administrator or any 
other username that has administrative rights on ADS and all is fine.
But after 8 hours this ticket is no longer valid. How can I renew or 
re-get an (new) ticket automatically? 

I searched many sites and found several solutions, but none worked. 
Probably the best one is about keytabs, which I could generate on The 
Windows System, but kerberos does not seem to use them.

Most of the solutions I found are for MIT kerberos, but I use heimdal 
(as of SuSE 9.0), where e.g. the hints from new zealand's linux wiki
(http://www.wlug.org.nz/ActiveDirectorySamba) don't work. They tell me 
to import the keytab file with
-
% ktutil
  ktutil: rkt mail.keytab
  ktutil: list
  ktutil: wkt /etc/krb5.keytab
  ktutil: q
--
But this does not work - not with ktutil and not with kadmin.
Perhaps i missed something?
Thanks a lot!!!
-- 
Mit freundlichen Grüßen
Markus Feilner
--
Linux Solutions, Training, Seminare und Workshops - auch Inhouse
Feilner IT Linux  GIS Erlangerstr. 2 93059 Regensburg
fon: +49 941 70 65 23  - mobil: +49 170 302 709 2 
web: http://feilner-it.net mail: [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] VFS module programmieren

2004-02-17 Thread Markus Feldmann
# In German :
Hallo,

gibt es da Jemanden der mir den folgenden Text vielleicht ein bischen besser
erklären kann?
Habe dies aus dem Samba Developers Guide.

Warum mach ich das nun?

Ich habe ein Problem:
Ich will das jedes mal wenn ein User versucht einen Ordner in der Freigabe
zu verschieben oder umzubenenner, der nicht leer ist,
eine Fehlermeldung auf dem Client erscheint.
###In English:
Hallo,

is there anybody who can me explain the Text below.
I got this Text from the Samba Developers Guide.

Why do i wanna know this?

Because i have got a problem:
I wanna that everytime an user do drag and drop or rename a folder, which is
not emty,
that this will be prevented and the Client get a warning message.

Samba Developers Guide:
Chapter 12. VFS Modules
Alexander Bokovoy
[EMAIL PROTECTED]

Stefan Metzmacher
[EMAIL PROTECTED]

27 May 2003

Table of Contents

  The Samba (Posix) VFS layer
The general interface
Possible VFS operation layers
  The Interaction between the Samba VFS subsystem and the modules
Initialization and registration
How the Modules handle per connection data
  Upgrading to the New VFS Interface
Upgrading from 2.2.* and 3.0aplha modules
  Some Notes
Implement TRANSPARENT functions
Implement OPAQUE functions
The Samba (Posix) VFS layer
The general interface
Each VFS operation has a vfs_op_type, a function pointer and a handle
pointer in the struct vfs_ops and tree macros to make it easier to call the
operations. (Take a look at include/vfs.h and include/vfs_macros.h.)

typedef enum _vfs_op_type {
SMB_VFS_OP_NOOP = -1,

...

/* File operations */

SMB_VFS_OP_OPEN,
SMB_VFS_OP_CLOSE,
SMB_VFS_OP_READ,
SMB_VFS_OP_WRITE,
SMB_VFS_OP_LSEEK,
SMB_VFS_OP_SENDFILE,

...

SMB_VFS_OP_LAST
} vfs_op_type;

This struct contains the function and handle pointers for all operations.

struct vfs_ops {
struct vfs_fn_pointers {
...

/* File operations */

int (*open)(struct vfs_handle_struct *handle,
struct connection_struct *conn,
const char *fname, int flags, mode_t mode);
int (*close)(struct vfs_handle_struct *handle,
struct files_struct *fsp, int fd);
ssize_t (*read)(struct vfs_handle_struct *handle,
struct files_struct *fsp, int fd, void *data, size_t n);
ssize_t (*write)(struct vfs_handle_struct *handle,
struct files_struct *fsp, int fd,
const void *data, size_t n);
SMB_OFF_T (*lseek)(struct vfs_handle_struct *handle,
struct files_struct *fsp, int fd,
SMB_OFF_T offset, int whence);
ssize_t (*sendfile)(struct vfs_handle_struct *handle,
int tofd, files_struct *fsp, int fromfd,
const DATA_BLOB *header, SMB_OFF_T offset, size_t count);

...
} ops;

struct vfs_handles_pointers {
...

/* File operations */

struct vfs_handle_struct *open;
struct vfs_handle_struct *close;
struct vfs_handle_struct *read;
struct vfs_handle_struct *write;
struct vfs_handle_struct *lseek;
struct vfs_handle_struct *sendfile;

...
} handles;
};

This macros SHOULD be used to call any vfs operation. DO NOT ACCESS
conn-vfs.ops.* directly !!!

...

/* File operations */
#define SMB_VFS_OPEN(conn, fname, flags, mode) \
((conn)-vfs.ops.open((conn)-vfs.handles.open,\
 (conn), (fname), (flags), (mode)))
#define SMB_VFS_CLOSE(fsp, fd) \
((fsp)-conn-vfs.ops.close(\
(fsp)-conn-vfs.handles.close, (fsp), (fd)))
#define SMB_VFS_READ(fsp, fd, data, n) \
((fsp)-conn-vfs.ops.read(\
(fsp)-conn-vfs.handles.read,\
 (fsp), (fd), (data), (n)))
#define SMB_VFS_WRITE(fsp, fd, data, n) \
((fsp)-conn-vfs.ops.write(\
(fsp)-conn-vfs.handles.write,\
 (fsp), (fd), (data), (n)))
#define SMB_VFS_LSEEK(fsp, fd, offset, whence) \
((fsp)-conn-vfs.ops.lseek(\
(fsp)-conn-vfs.handles.lseek,\
 (fsp), (fd), (offset), (whence)))
#define SMB_VFS_SENDFILE(tofd, fsp, fromfd, header, offset, count) \
((fsp)-conn-vfs.ops.sendfile(\
(fsp)-conn-vfs.handles.sendfile,\
 (tofd), (fsp), (fromfd), (header), (offset), (count)))

...

Possible VFS operation layers
These values are used by the VFS subsystem when building the conn-vfs and
conn-vfs_opaque structs for a connection with multiple VFS modules.
Internally, Samba differentiates only opaque and transparent layers at this
process. Other types are used for providing better diagnosing 

security=server has many failings (was: Re: [Samba] Any help will be great. THX.)

2004-02-17 Thread Andrew Bartlett
On Tue, 2004-02-17 at 09:30, [EMAIL PROTECTED] wrote:
 I've just installed Samba 2.2.3a on AIX 5.2.  We're using a NT password
 server to authenticate username/password.  Our NT guru's are complaining 
 that there're seeing several authentication failures events with an account 
 called sambatest which is not a valid userid on our site.  It looks like 
 some type of polling that Samba is doing.
 
 This is part of the errors they are seeing:
 
 Logon Failure:
   Reason: Unknown user name or bad password
   User Name:  sambatestHOSTNAME
   Domain: OURDOMAIN
 
 In my smb.conf file I'm using:
 
 security = SERVER
 
 How can we stop these errors from occurring?
 
 
 We are getting a login screen to login to the network and when we try we get
 the same message over and over.

Some versions of NT are prone to allowing any user to log in, no matter
what the password.  This is fine for NT, as it knows the user is just a
guest, but we can't tell, so 'security=server' fails.  

So we check, and clock up the bad logins.

Instead, you should set 'security=domain' and join the domain per the
documentation (smbpasswd -j -Uadministrator -r PDC should do that)

This uses the native NT logon protocols, which don't suffer from this
kind of bug.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Problems usign samba with Windows XP Pro

2004-02-17 Thread Peytoureau, Patrick
Hello,
 
I have upgraded my computer from W2K to W XP Pro.
I use samba connections to reach an Aix server (4.3.3), on which samba
2.2.8a is installed.
 
Before upgrading my computer, everything worked perfectly, but since, the
first time I try to access a file or directory on a samba network
filesystem, I takes approximately 5 to 6 minutes to make connection. After
that, response time is fine.
Do you have any idea of what could be wrong, or is that a known problem
between samba and  XP ?
 
Thank's in advance,
Patrick


This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Security warning with XP clients and 3.0.2a PDC

2004-02-17 Thread Andrew Bartlett
On Tue, 2004-02-17 at 20:50, Paul wrote:
 Hi all,
 
 I hope I don't make a prat of myself with my first posting...
 
 I've got a 'niggle' with Windows XP Pro (SP1a) clients and 3.0.2a PDC
 (Slackware 9.1, 2.4.22).  Joing a domain, logging on etc is working
 perfectly but I'm getting a 'File Download' security warning when I try and
 open an executable that's stored on the server. If I agree to open the file
 it runs without a problem.
 
 I had this problem with 3.0.1 but upgraded as a precaution.  I have not
 experienced this with Windows 2K clients.
 
 I've uploaded a screenshot of the error : http://www.sumlock.com/warning.jpg
 smb.conf is attached (please feel free to criticise :-) )
 
 I've been Googling and i've tried altering 'server schannel' but i can't
 stop the warning appearing.

That affects logon credential checking, not file shares.

 Any suggestions for things to try (or even a guaranteed solution ;-) ) would
 be very much appreciated.

  server signing = no

Try this as yes.

  server schannel = yes

Good, but not required for this.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Parameter 'dos filemode' - I'm giving up !

2004-02-17 Thread Joerg Redemann
Hi folks,
 
I'm trying to set up a share with samba 2.2.8a (SuSE SLES 8) with ACL
support and winbind where every user with write access to a file should
be able to change the permissions of that file.
 
According to the man page dos filemode = yes should do it - but not for
me. It seems that this param is doing nothing at all.
I'm I dump ?? What could be wrong here ??
 
Here's my config:
 
[testshare]
comment = Test share
path = /shares/test
writable = yes
create mode = 660
directory mode = 770
dos filemode = yes

And yes : the connected user is of course member of the group that had
read/write access.
Everything is working a expected - but not that dos filemode param.
 
Any clues ??
Joerg
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem with NT - Samba User Configuration: Probably very simple

2004-02-17 Thread geralds

Raymond u did not specify which is your domain master that contains the browse 
list.

In my opinion you might have to correct some lines in your samba configuration 
file. I wonder how it looks like
Rgds,
Segie
--  Forwarded Message  --

Subject: [Samba] Problem with NT - Samba User Configuration: Probably very 
simple
Date: Mon, 16 Feb 2004 13:17:54 -
From: Sebuwufu Raymond (UK) [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]

Hi All,
my problem is I am unable to configure an NT user to access a UNIX Tru64
5.1b share from their PC. I am running Samba 2.0.7 and it runs as a domain
member.

Here are the steps I have completed without success:

Assuming ntuser is the NT username used to log into the NT workstation/PC.


1. Created UNIX user username
2. Created UNIX directory /usr/users/username/input
3. Appended following line to a user name mapping file defined in smb.conf
with the parameter username map = ...:
username = ntuser

Note: The user name mapping file already contained an entry for another user
and the one above was appended to the file.

4. Added the following to smb.conf:

[servicename]
comment = 'etc'
path = /usr/users/username/input
valid users = username
public = no
writable = yes
printable = no

5. Restarted the samba daemons.

Can anyone spot what the problem is? Have I missed out a particular step?

In desperation I tried adding username to the samba password file by
running
smbpasswd but it would appear this user is already a member. This I
concluded
from the fact that I typed Enter when first asked for the existing
password
and when I entered the new password twice the following messages were
displayed.

error connecting to #.#.#.#:# (Connection refused)
unable to connect to SMB server on machine #.#.#.#. Error was : code 0.
Failed to change password for statdat

Note the # symbols represent numbers which I have physically replaced with
#.
I believe they are addresses of some sort.

If you know what the problem is please can you let me know as soon as you
can. Your help with be greatly appreciated.

I am hoping this is something very simple that can be quickly knocked on the
head

Many thanks

Raymond


===
This electronic message contains information from the mmO2 plc Group
which may be privileged or confidential. The information is intended to be
 for the use of the individual(s) or entity named above. If you are not the
 intended recipient be aware that any disclosure, copying, distribution or
 use of the contents of this information is prohibited. If you have received
 this electronic message in error, please notify us by telephone or email (to
 the numbers or address above) immediately. Please note that as of June 1st
 we will no longer be accepting email for any btcellnet.net, btcellnet.co.uk
 or cellnet.co.uk addresses.  From this date all mail should be addressed to
 O2.com ===

--
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


R: [Samba] Security warning with XP clients and 3.0.2a PDC

2004-02-17 Thread Jianliang Lu
On Tue Feb 17 11:14:15 GMT 2004, Andrew Bartlett wrote:
 Any suggestions for things to try (or even a guaranteed solution ;-) ) 
would
 be very much appreciated.

  server signing = no

Try this as yes.

How did you get it work? I've tried the server signing = yes or auto, but 
it didn't work.
Could you kindly tell us how to set the XP to get it work? I have tried the 
register for lsa parameter lmcompatibilitylevel and netlogon 
key lmworkstation, but nothing changed!

Thanks in advance.
Jianliang Lu

TieSse s.p.a. Ivrea (To) - Italy
[EMAIL PROTECTED]   [EMAIL PROTECTED]
http://www.tiesse.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


R: [Samba] Security warning with XP clients and 3.0.2a PDC

2004-02-17 Thread Jianliang Lu
On Tue Feb 17 11:14:15 GMT 2004, Andrew Bartlett wrote:
 Any suggestions for things to try (or even a guaranteed solution ;-) ) 
would
 be very much appreciated.

  server signing = no

Try this as yes.

How did you get it work? I've tried the server signing = yes or auto, but 
it didn't work.
Could you kindly tell us how to set the XP to get it work? I have tried the 
register for lsa parameter lmcompatibilitylevel and netlogon 
key lmworkstation, but nothing changed!

Thanks in advance.
Jianliang Lu

TieSse s.p.a. Ivrea (To) - Italy
[EMAIL PROTECTED]   [EMAIL PROTECTED]
http://www.tiesse.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] User shell folders

2004-02-17 Thread Keith Edmunds
I'm setting up roaming profiles (Samba 3, Win2K). The profile is stored
in a subdirectory of the user's home directory, .profile.

Chapter 24 of the (excellent) Samba Howto Collection discusses changing
the registry entries (\user shell folders) to point to a network
location to avoid downloading all the profile files at every login and
logout. I have replaced the %USERPROFILE% there with:

%LOGONSERVER%\%USERNAME%\.profile

...in other words, the precise location of the roaming profile, so in
fact no copying at all should be needed. This seems to work, but is
there any danger I should be aware of in setting 'user shell folders' to
the location of the roaming profile?

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


[Samba] Samba 3.02 with dos filenames

2004-02-17 Thread Jason C. Waters
I have a directory that holds information in a shared directory.  Its 
f:\applications.  The program thinks its under f:\applic~1 (which is the 
same directory, it works on a windows share).  I've tried everything to 
get this to work.  I've set the mangled names = yes and mangled case = 
yes, on that share,  but nothing seems to work.  What am I missing?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] RE: winbind/wbinfo not pulling info from W2K AD PDC

2004-02-17 Thread Gibbs, Simon
A bit of success! I've change the security parameter in smb.conf to domain and the 
windbind pipe is created OK and running wbinfo -u -g -t -p and getent is all good. 
Obviously this doesn't give me full AD support but it's better than nothing.
I can only think that because we have multiple DC's for different domains on our WAN 
winbindd wasn't starting correctly as it was in the process of still scanning them - 
looking at log.winbindd at one point it didn't come back for close to 4 hours after 
the process was started.
Does anyone know if there is any way to configure samba/winbind to only connect to the 
local AD domain rather than hunting down all the DC's in every domain.
Thanks

 --
 From: Gibbs, Simon
 Sent: Friday, February 13, 2004 13:51 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  winbind/wbinfo not pulling info from W2K AD PDC
 
 I've had a further look at this now and a hunt through some mail lists and I think 
 it must have something to do with the windbind pipe in /tmp/.windbind/pipe. From 
 what I understand it's the pipe that passes the windbind info onto other processes - 
 although I may be wrong?
 Looking at my setup the pipe file isn't being created when starting winbind and 
 after a full reboot and starting winbind it doesn't get created.
 Does anyone know why the pipe file isn't being created or a way to force the 
 creation of the file??
 I've checked permissions for the /tmp/.winbind directory and they're 755 and 
 root:root.
  
 Thanks again.
-- 
 From: Gibbs, Simon
 Sent: Friday, February 13, 2004 13:51 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  winbind/wbinfo not pulling info from W2K AD PDC
 
 Hi list,
 
 I have samba-3.0.2-2 rpm installed on Redhat Enterprise Linux 3 AS kernel version.
 I've been using the Samba 3  How-To and messages on various mailing lists to join 
 Samba to an AD domain and authenticate using winbind/pam.
 So far Samba has successfully become a member of the AD domain and can browse file 
 servers using smbclient but I haven't been able to get winbind working - 
 specifically wbinfo -u, wbinfo -g and wbinfo -t return errors.
 Below is a dump of the install/configuration process so far and the relevant config 
 files.
 Any help on this is much appreciated as I've spent 3 days trying to get it to work 
 and it refuses to for love nor money!
 
 
 




The information contained in this email message may be confidential. If you are not 
the intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited. Although this message and any attachments are 
believed to be free of viruses, no responsibility is accepted by Informa for any loss 
or damage arising in any way from receipt or use thereof.  Messages to and from the 
company are monitored for operational reasons and in accordance with lawful business 
practices. 
If you have received this message in error, please notify us by return and delete the 
message and any attachments.  Further enquiries/returns can be sent to [EMAIL 
PROTECTED]

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


Re: [Samba] Unable to join ADS domain

2004-02-17 Thread Joe Howell
I started from the HOWTO but have not had any success getting net ads join to work.  
At this point, I'm willing to take any examples I can find.  Thanks for the heads-up 
on the encryption, though; that's the first time I've heard that.
 
What's really bugging me is that, although I have no problem getting a ticket, and I 
know that I'm getting it from the AD domain controller, I don't understand why I get 
absolutely nothing from the net ads join.  No errors, no response at all, and no 
errors in the eventlog on the DC.  I know that I'm generating some traffic to/from the 
DC but I'm not sure what yet.

Andrew Bartlett [EMAIL PROTECTED] wrote:
On Thu, 2004-02-12 at 08:20, Joe Howell wrote:
 Great site with wonderful information. Unfortunately, it still don't work.
 
 John Simovic wrote:have a look at www.wlug.org.nz/ActiveDirectorySamba

Actually, this is another case where some good intentions have created a
most misleading site. (The ktpass stuff is just bogus)

The correct documentation is in the Samba HOWTO collection.

http://www.samba.org/samba/docs/man/

and the main Samba documentation page:

http://www.samba.org/samba/docs/

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED]
Student Network Administrator, Hawker College [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


 ATTACHMENT part 2 application/pgp-signature name=signature.asc


Joe Howell
Shelter Insurance Companies
Columbia, MO

-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.2/LDAP and Adding a Workstation to the Domain

2004-02-17 Thread Norm Dressler
Hi all,

I recently migrated my Samba 2.2.8 network to 3.0.2 and the new Samba
LDAP schema.

Everything is working great so far.  In my old config I didn't have any
member workstations because I had only recently upgraded from a much
older version and that version didn't support Windows 2000/XP.

Now I want to get back to user profiles and login scripts.  I have tried
to join the domain from a Windows 2000 workstation and no matter what
user ID and password I enter I'm getting Unknown User ID or Wrong
Password.  I know the accounts I'm using exist and I'm using the right
passwords.

I've searched around and I can't find anything that relates to my
problem.  Any help would be appreciated.

Norm




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


[Samba] After Install now what? Urgent

2004-02-17 Thread Paul Stanard
I have gone through the ./configure the make ...and the make install...could you 
send me a link as to what to do next to get samba configured to my network?


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re[2]: [Samba] Samba 3.02 with dos filenames

2004-02-17 Thread Collen
Hmm had the same over here..
i got it kinda working for me with these smb.conf things..

mangle case = yes   ( dunno why i use this one, but it's there)
mangling method = hash  (gues hash2 should do the trick as well..)
mangle prefix = 6   (or 5 ??)

the 6/5 stands for the number of original filename letters 12345~1.zip
btw
don't forget to shutdown en restart your samba server, otherwise it
woun't work..

l8r
Collen

Tuesday, February 17, 2004, 3:29:05 PM, you wrote:

T Hi Jason,

T Tuesday, February 17, 2004, 3:02:59 PM, you wrote:
JCW I have a directory that holds information in a shared directory.  Its
JCW f:\applications.  The program thinks its under f:\applic~1 (which is the
JCW same directory, it works on a windows share).  I've tried everything to
JCW get this to work.  I've set the mangled names = yes and mangled case =
JCW yes, on that share,  but nothing seems to work.  What am I missing?

T Old DOS-alike programs should see the long filenames as f:\applic~1,
T but if they are working than do not make any problem with it.

From command line (I believe that a program that uses that
T ininformation was made by a program) there are two ways to reach a
T long-named directory, eg: c:\progra~1\program\run.exe or c:\program
T files\program\run.exe (note the double quotation marks: they're
T required if You use long-named dir/file names). They are equals!
T Search the problem only if You have something wrong in function.

T BYE: TeeCee :o)

T Sorry for my English ,-)




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


Re: [Samba] After Install now what? Urgent

2004-02-17 Thread Keith Edmunds
On Tue, 17 Feb 2004 06:35:26 -0800 (PST)
Paul Stanard [EMAIL PROTECTED] wrote:

 I have gone through the ./configure the make ...and the make
 install...could you send me a link as to what to do next to get samba
 configured to my network?

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


Re: [Samba] touble with install

2004-02-17 Thread Anne Ramey
Kernel 2.4.18  (not quite the latest)
gcc-3.2.3
Anne

On Feb 17, 2004, at 8:20 AM, Michael Aldrich wrote:

Have you updated your compiler? What is the kernel  gcc version?

-Original Message-
From: Anne Ramey [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 3:35 PM
To: Michael Aldrich
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] touble with install
Linux.  White-dwarf linux ( a home-grown version)
Samba 3.0.2a
On Feb 16, 2004, at 2:27 PM, Michael Aldrich wrote:

Is this on a Linux platform?
System  Samba versions?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Anne Ramey
Sent: Monday, February 16, 2004 2:32 PM
To: [EMAIL PROTECTED]
Subject: [Samba] touble with install
I did
./configure
make
make install
I got no errors, but it doesn't seem to have installed everything I
need.  Swat won't start.  It didn't put an smb.conf file in /etc/samba
(it didn't even create this folder) or /usr/local/samba/lib/.  When I
run testparm, I get Segmentation fault as my only output.  Even if I
create an smb.conf and run testparm on that file I get the exact same
thing.  Please help...
Thanks,
Anne
--
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


FW: [Samba] Samba 3.0.2/LDAP and Adding a Workstation to the Domain

2004-02-17 Thread Norm Dressler

Well, the log shows that I'm getting an Access Denied on the
SAMR_OPEN_DOMAIN rpc... does that point anyone to my problem?

2004/02/17 09:36:47, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: SAMR_OPEN_DOMAIN
[2004/02/17 09:36:47, 3] lib/util_seaccess.c:se_access_check(251)
[2004/02/17 09:36:47, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is
S-1-5-21-3107105797-2022331017-1334135658-18780
  se_access_check: also S-1-5-21-3107105797-2022331017-1334135658-512
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-1441
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-512
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-513
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-1207
[2004/02/17 09:36:47, 2]
rpc_server/srv_samr_nt.c:access_check_samr_object(93)
  _samr_open_domain: ACCESS DENIED  (requested: 0x0211)



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Keith Edmunds
Sent: Tuesday, February 17, 2004 9:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba 3.0.2/LDAP and Adding a Workstation to the
Domain


On Tue, 17 Feb 2004 09:13:54 -0400
Norm Dressler [EMAIL PROTECTED] wrote:

 Now I want to get back to user profiles and login scripts.  I have
 tried to join the domain from a Windows 2000 workstation and no matter
 what user ID and password I enter I'm getting Unknown User ID or Wrong
 Password.  I know the accounts I'm using exist and I'm using the right
 passwords.

Increase the logging setting in smb.conf, and check the logs. I had the
same problem recently, and found a rogue invalid users = root in
smb.conf. Simple, but I wasted a couple of hours on it.

Keith



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


[Samba] Winbind and interdomain trusts

2004-02-17 Thread Karel Kulhavy
If I install winbind on my Samba PDC and Samba trusts NT4 domain,
will I be able to add members from the trusted domains into groups
on Samba or ACL's on Samba?

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


[Samba] Win98 Print queue will not empty

2004-02-17 Thread Matthew Daubenspeck
I am having issues with Samba printing using lprng and Win98 clients.
The jobs print just fine, but the last completed job always remains in
the Win98 printer queue until it is either manually deleted, or another
job comes along. Any ideas on how to change this?

I am using Samba Version 3.0.2a. In globals, I have:

printing = lprng
printcap name = lprng
load printers = yes

And the printer is:

[techlaser]
path = /tmp
guest ok = no
browsable = yes
writeable = no
printable = yes
printer name = techlaser

-- 
  Matthew Daubenspeck
  http://www.oddprocess.org

09:52:49 up 42 days, 1:07, 1 user, load average: 0.08, 0.03, 0.00
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread zynkx
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] + or \ as winbind separator?

2004-02-17 Thread Karel Kulhavy
Hello

Samba HOWTO Section 21.5 example 21.5.1:
# separate domain and username with '+', like DOMAIN+username
 winbind separator = +

page cccxxiv: The only obvious indication that Winbind is being user is
that user and group names take the form DOMAIN\{}user and
DOMAIN\{}group.

What is then the winbind separator? Is it '+' or is it '\'? Or should I
choose it according to my taste?

Are the {} meant seriously or is it just some bug resulting from the
problems with LaTeX?

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


[Samba] Samba PDC and Win2k Client

2004-02-17 Thread L.R.Rodriguez
I'll ask again, since its been a few days.

Quick Summary:
I am trying to join some Win2k (Service Pack 4) machines to a NT4 style 
domain with a Samba PDC. One machine successfully joins the Samba 
domain. One fails.

Current configuration:
SambaPDC:
  - FreeBSD 4.9-RELEASE
  - Samba 2.2.8a (from binary package)
Host1 (Silv):
  - Windows 2000 SP4 (5.00.2195)
Host2 (Plaid):
  - Windows 2000 SP4 (5.00.2195)
All machines are on the same network switch.
There are no other machines on the switch.
All connections are 100/Full Duplex..
All machines are in the 192.168.x.y subnet
SambaPDC is is running bind9 with a fake zone (.error) for all machines 
and forwards all other DNS queries.
All machines use SambaPDC for DNS resolution.
Digital Sign'n'Seal is disabled on both client machines.

smb.conf:
  [global]
 workgroup = SAMBAPDC
 hosts allow = 192.168.
 log file = /var/log/log.%m
 log level = 2
 max log size = 5
 security = user
 encrypt passwords = yes
 smb passwd file = /usr/local/private/smbpasswd
 domain master = yes
 preferred master = yes
 domain logons = yes
Each machine has a user account (silv$, plaid$) in the 
passwd/master.passwd files. Each machine has an account in the smbpasswd 
file, created with 'smbpasswd -a -m [machine name]'. When I add 'silv' 
to the domain and reboot, I can log in to the domain. When I add 'plaid' 
to the domain and reboot, I cannot log in to the domain. I get the 
following error: The system cannot log you on to the domain because the 
system's computer accout in the domain is missing or the password is 
incorrect. I should stress that at no point during the process of 
adding 'plaid' to the domain did the I get an error on 'plaid'. On 
SambaPDC, in the logfile for plaid, 'log.plaid', I see these two errors:

[2004/02/14 17:39:11, 2] 
rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2004/02/14 17:39:11, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.

I am at a loss. 'Silv' and 'plaid' should not be acting differently 
here. Can anyone suggest any courses of further investigation?

Also, sometimes when I try to log in to 'Silv', it seems to have 
developed the same error as 'Plaid'. When I remove and add it back to 
the domain, however, it functions properly for while, before screwing up 
again.

Thanks,

L.R.Rodriguez

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


RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITHSAMBA

2004-02-17 Thread Kristyan Osborne
I think we all have your email now??!?!!?!?!?

-
Kristyan Osborne - IT Technician / Community Manager
Longhill High School
01273 391672 / 304086

--
Computers are like airconditioners: They stop working properly if you open windows.
Win95:   A 32-bit patch for a 16-bit GUI shell running on top of an
 8-bit operating system written for a 4-bit processor by a
 2-bit company who cannot stand 1 bit of competition.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
]On Behalf Of zynkx
Sent: 17 February 2004 15:00
To: [EMAIL PROTECTED]
Subject: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER
WITHSAMBA


hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]   
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes  

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
-- 
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] Re: Bad performance with samba3

2004-02-17 Thread Fabien Chevalier
Le Mardi 17 Février 2004 16:01, Raphael Berghmans a écrit :
 On Tue, 2004-02-17 at 16:00, Fabien Chevalier wrote:
  Le Mardi 17 Février 2004 15:46, Raphael Berghmans a écrit :
   Hi,
  
  
   Since our files server has been migrated from NT4 to Samba
   3, several users complains that the time to open a Word or
   xls file is very long (about 30 seconds).
  
   Which could be the reasons of this bad performance ?
  
   Which parameters have to be modified ?

 Samba-3.0.0 - with 600 silmuntaneous smbd process
 IBM xseries 4-processor 2.8 Ghz, 1Gb RAM + 2Gb Swap, 1
 Gigabit-Ethernet + SAN 400 Gb (fiber Channel 2Gbits/s)

 And most of the smb.conf options keep the default value.

Are you using LDAP?
What is the memory usage of your system?

Bye,

Fabien

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


RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITHSAMBA

2004-02-17 Thread Anders Norrbring


How many dozens of times are you going to post the same message? 


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:samba-
 [EMAIL PROTECTED] On Behalf Of zynkx
 Sent: den 17 februari 2004 16:00
 To: [EMAIL PROTECTED]
 Subject: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER
 WITHSAMBA
 
 hi all and thanks in advance for reading this
 
 i have worked with samba for a while, sharing drives on
  my linux boxes and all went well until now.
 
 now, i tried to share a printer.
 
 1 i setup a printer in a box with cups. the printer is
 working fine in that host printing everything as it is
 told.
 
 2 i tried to share the printer to:
  2.1 one windows wrokstation in the lan
  2.2 two linux boxes on the lan
 
 with the following config file:
 [global]
workgroup = PRINTSERVER
netbios name = NEPTUN
server string = neptun print server
log file = /var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192
 SO_SNDBUF=8192
printcap name = lpstat
printing = cups
 [printers]
comment = All Printers
printer = hp_670C
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j
use client driver = yes
 
 i then made the client configuration on the windows
 workstation, and windows is printing well to my linux
 printing server with samba. it shares drives and the
 printer without any kind of problem.
 
 the problem is that i cannot print form my linux boxes
 to that shared printer...
 
 on linux boxes i made the following
 
 1 configured one printer queue with cups linking the
 smbspool to /usr/lib/cups/backend/
 
 ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
 
 2 loaded the driver for hp 670c in cups
 
 3 tried to print a test page and i did it successfully
 
 now... the only thing is that i am only able to print
 test pages... and i can't figure out the command line
 options to print from my linux print clients to my
 linux print server...
 
 windows is doing fine though.
 
 other thing is that when I:
 
 smbclient //neptun/printers
 
 i can mount the share but it does not print.
 
 
 
 
 -
 Email Enviado utilizando o serviço MegaMail
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 __ NOD32 1.626 (20040217) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.nod32.com


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


Re: [Samba] Unable to join ADS domain

2004-02-17 Thread giuseppe panei
Then the m$ documentation that recall ksetup and ktpass 
http://www.microsoft.com/windows2000/techinfo/planning/security/kerbsteps.asp
is bad ? It is my last resource :-).

I am attempting from many time to join my linux box to a win2k ads domain.
I can browse winXp/2k hosts, I get ticket, but the from client hosts i must 
input the password.

I must have a *.keytab file on my computer?

regards

Giuseppe Panei







On Sunday 15 February 2004 12:12 am, Andrew Bartlett wrote:
 On Thu, 2004-02-12 at 08:20, Joe Howell wrote:
  Great site with wonderful information.  Unfortunately, it still don't
  work.
 
  John Simovic [EMAIL PROTECTED] wrote:have a look at
  www.wlug.org.nz/ActiveDirectorySamba

 Actually, this is another case where some good intentions have created a
 most misleading site.  (The ktpass stuff is just bogus)

 The correct documentation is in the Samba HOWTO collection.

 http://www.samba.org/samba/docs/man/

 and the main Samba documentation page:

 http://www.samba.org/samba/docs/

 Andrew Bartlett

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


[Samba] Re: Bad performance with samba3

2004-02-17 Thread Raphael Berghmans
On Tue, 2004-02-17 at 16:22, Fabien Chevalier wrote:
 Le Mardi 17 Février 2004 16:01, Raphael Berghmans a écrit :
  On Tue, 2004-02-17 at 16:00, Fabien Chevalier wrote:
   Le Mardi 17 Février 2004 15:46, Raphael Berghmans a écrit :
Hi,
   
   
Since our files server has been migrated from NT4 to Samba
3, several users complains that the time to open a Word or
xls file is very long (about 30 seconds).
   
Which could be the reasons of this bad performance ?
   
Which parameters have to be modified ?
 
  Samba-3.0.0 - with 600 silmuntaneous smbd process
  IBM xseries 4-processor 2.8 Ghz, 1Gb RAM + 2Gb Swap, 1
  Gigabit-Ethernet + SAN 400 Gb (fiber Channel 2Gbits/s)
 
  And most of the smb.conf options keep the default value.
 
 Are you using LDAP?
 What is the memory usage of your system?

testparm -v :

dos charset = CP850
unix charset = UTF-8
display charset = LOCALE
workgroup = LSJ.STJOSEPH
realm = 
afs username map = 
netbios name = SISINF71
netbios aliases = 
netbios scope = 
server string = Linux Files Server
interfaces = 
bind interfaces only = No
security = DOMAIN
auth methods = 
encrypt passwords = Yes
update encrypted = No
client schannel = Auto
server schannel = Auto
allow trusted domains = Yes
hosts equiv = 
min passwd length = 5
map to guest = Never
null passwords = No
obey pam restrictions = No
password server = *
smb passwd file = /etc/samba/smbpasswd
private dir = /etc/samba
passdb backend = smbpasswd
algorithmic rid base = 1000
root directory = 
guest account = nobody
pam password change = No
passwd program = 
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map = 
password level = 0
username level = 0
unix password sync = No
restrict anonymous = 0
lanman auth = Yes
ntlm auth = Yes
client NTLMv2 auth = No
client lanman auth = Yes
client plaintext auth = Yes
preload modules = 
log level = 2
syslog = 1
syslog only = No
log file = /var/log/samba/log.%m
max log size = 1000
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
smb ports = 445 139
protocol = NT1
large readwrite = Yes
max protocol = NT1
min protocol = CORE
unicode = Yes
read bmpx = No
read raw = Yes
write raw = Yes
disable netbios = No
acl compatibility = 
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts wins host bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = Yes
use spnego = Yes
client signing = auto
server signing = No
client use spnego = Yes
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
kernel change notify = Yes
lpq cache time = 10
max smbd processes = 0
paranoid server security = Yes
max disk size = 0
max open files = 1
read size = 16384
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
use mmap = Yes
hostname lookups = No
name cache timeout = 660
load printers = Yes
printcap name = /etc/printcap
disable spoolss = No
enumports command = 
addprinter command = 
deleteprinter command = 
show add printer wizard = Yes
os2 driver map = 
mangling method = hash2
mangle prefix = 1
mangled stack = 50
stat cache = Yes
machine password timeout = 604800
add user script = 
delete user script = 
add group script = 
delete group script = 
add user to group script = 
delete user from group script = 
set primary group script = 
add machine script = 
shutdown script = 
abort shutdown script = 
logon script = 
logon path = \\%N\%U\profile
logon drive = 
logon home = \\%N\%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = No
local master = No
domain master = No
browse list = Yes
enhanced browsing = Yes
dns proxy = Yes
wins proxy = No
wins server = 
wins support = No
wins hook = 
wins partners = 
kernel oplocks = Yes

RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITHSAMBA

2004-02-17 Thread Michael Aldrich
has everyone received this 20 times?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of zynkx
Sent: Tuesday, February 17, 2004 10:00 AM
To: [EMAIL PROTECTED]
Subject: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER
WITHSAMBA


hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.

2 i tried to share the printer to:
 2.1 one windows wrokstation in the lan
 2.2 two linux boxes on the lan

with the following config file:
[global]
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
   printcap name = lpstat
   printing = cups
[printers]
   comment = All Printers
   printer = hp_670C
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though.

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.




-
Email Enviado utilizando o serviço MegaMail
--
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] Samba 3.0.2 uid filtering

2004-02-17 Thread Ric Tibbetts
All;
I'm running Samba 3.0.2 w/winbind on an LDAP server (for various reasons).
However, our NT PDC managers input the user IDs oddly. They come out looking like:

-rwxr--r--   1 NORTHGRUM+tibberi 10   45766615 Feb 17 10:05 Fonts.zip

Is there an (easy) way to filter those, to get rid of the NORTHGRUM+?
Our NT admins add that as a way of identifying the network the user is on.

Thanks!

-Ric






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


Re: [Samba] Deutsche bersetzung der Samba-3-Dokumentation -- German translation of the Samba-3-docs

2004-02-17 Thread John H Terpstra
Hi All,

I'd like to see the translation of the Samba documentation into German
project get some help from any of you folks who speak German as well as
English. Stefan and his team would appreciate anything you can do to help
accellerate the translation. If you feel inclined to helping out please
contact Stefan directly at the above email address.

Thanks.

Cheers,
John T.

On Tue, 17 Feb 2004, Stefan G. Weichinger wrote:


 The following text is in german, due to its subject, which has to do
 with the german translation of the Samba-3.0-documentation.

 ---

 Hallo, deutschsprachige Samba-user,

 die Übersetzung der Samba-3-Dokumentation geht weiter.

 Unsere Projektseite liegt auf Berlios, eine kurze Projektbeschreibung
 findet man unter

 http://gertranssmb3.berlios.de/

 Unser kleines Übersetzungsteam arbeitet derzeit an der deutschen
 Übersetzung der docbook/projdoc/*.xml-Dateien des aktuellen
 samba-docs-cvs-Moduls von samba.org.

 html-Versionen der bereits übersetzten Dateien findet man unter

 http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gertranssmb3/gertranssmb3/htmldocs/

 Wir brauchen nach wie vor Freiwillige!

 Einerseits für die Übersetzung, aber auch für das Korrigieren und
 Prüfen der übersetzten Texte.

 Bitte kontaktieren Sie die [EMAIL PROTECTED],
 wenn Sie an dem Projekt teilnehmen wollen, oder auch andere Vorschläge
 für das positive Fortschreiten dieses Projekts haben.



-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] my god.... ??????

2004-02-17 Thread zynkx
what did just happen here

unix is user friendly. it's just selective when 
choosing 
friends.

-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] ???

2004-02-17 Thread zynkx

why did my email show up all this times?
:(
sorry all...

unix is user friendly. it's just selective when 
choosing 
friends.

-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread Greg Folkert
On Tue, 2004-02-17 at 10:00, zynkx wrote:
 hi all and thanks in advance for reading this
 
OKAY, I read it the first 300 times, it wasn't funny then either.
-- 
[EMAIL PROTECTED]
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

RE: [Samba] Samba 3.0.2/LDAP and Adding a Workstation to the Domain

2004-02-17 Thread Norm Dressler
A further follow-up --

Part of my problem was the the Administrator user did not have a
GIDNumber of 200 (Domain Admins).

The workstation is now being added to my LDAP but then I'm getting an
error The user name could not be found.

[2004/02/17 11:01:07, 3]
rpc_server/srv_samr_nt.c:_samr_create_user(2229)
  _samr_create_user: Running the command `/usr/sbin/smbldap-useradd.pl
-w -d /dev/null -g machines -c 'Machine Account' -s
/bin/false vmw-win2000$' gave 0

Any help would be appreciated.

Norm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Norm Dressler
Sent: Tuesday, February 17, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: FW: [Samba] Samba 3.0.2/LDAP and Adding a Workstation to the
Domain



Well, the log shows that I'm getting an Access Denied on the
SAMR_OPEN_DOMAIN rpc... does that point anyone to my problem?

2004/02/17 09:36:47, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: SAMR_OPEN_DOMAIN
[2004/02/17 09:36:47, 3] lib/util_seaccess.c:se_access_check(251)
[2004/02/17 09:36:47, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is
S-1-5-21-3107105797-2022331017-1334135658-18780
  se_access_check: also S-1-5-21-3107105797-2022331017-1334135658-512
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-1441
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-512
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-513
  se_access_check: also S-1-5-21-2409148434-2038783532-1251894419-1207
[2004/02/17 09:36:47, 2]
rpc_server/srv_samr_nt.c:access_check_samr_object(93)
  _samr_open_domain: ACCESS DENIED  (requested: 0x0211)



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Keith Edmunds
Sent: Tuesday, February 17, 2004 9:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba 3.0.2/LDAP and Adding a Workstation to the
Domain


On Tue, 17 Feb 2004 09:13:54 -0400
Norm Dressler [EMAIL PROTECTED] wrote:

 Now I want to get back to user profiles and login scripts.  I have
 tried to join the domain from a Windows 2000 workstation and no matter
 what user ID and password I enter I'm getting Unknown User ID or Wrong
 Password.  I know the accounts I'm using exist and I'm using the right
 passwords.

Increase the logging setting in smb.conf, and check the logs. I had the
same problem recently, and found a rogue invalid users = root in
smb.conf. Simple, but I wasted a couple of hours on it.

Keith



--
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] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA

2004-02-17 Thread Rashkae
I'll give you the benefit of the doubt, and assume that the message
flood was an accident, and the annoying 'loud' subject line is just
ignorance of netiquette.

Your question is more appropriate to cups than to Samba.

Use smbclient print filename to send a file to a remote printer.
However, the file has to be in a language your printer understands if
your sending to a RAW queue.  (Postscript should work well if you are
sending to a printer queue configured by CUPS with a driver for your
printer.)

If you have a GUI enviroment with KDE installed, try using kprinter as
a frontend to cups.  That's the best Linux printing solution I've
found for Linux Desktops.

Failing that, make sure you read the CUPS documentation,
(http://localhost:631) and the printing documents in the Samba howto
collection.

And lastly, if these two computers are on the same LAN, configure cups
on the server to broadcast and accept connections remotely, and let
CUPS take care of the network sharing.  Again, refer to the CUPS
documentation.  CUPS's implementation of IPP (Internet Printing
Protocol) makes Windoze printer sharing look like a dinossaur left
over from the early 80's.  (Oh wait... that's about right, isn't it?)


On Tue, Feb 17, 2004 at 03:00:28PM +, zynkx wrote:

 hi all and thanks in advance for reading this
 
 i have worked with samba for a while, sharing drives on
  my linux boxes and all went well until now.
 
 now, i tried to share a printer.
 
 1 i setup a printer in a box with cups. the printer is
 working fine in that host printing everything as it is
 told.
 
 2 i tried to share the printer to:
  2.1 one windows wrokstation in the lan
  2.2 two linux boxes on the lan
 
 with the following config file:
 [global]
workgroup = PRINTSERVER
netbios name = NEPTUN
server string = neptun print server
log file = /var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192
 SO_SNDBUF=8192
printcap name = lpstat
printing = cups
 [printers]   
comment = All Printers
printer = hp_670C 
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j
use client driver = yes  
 
 i then made the client configuration on the windows
 workstation, and windows is printing well to my linux
 printing server with samba. it shares drives and the
 printer without any kind of problem.
 
 the problem is that i cannot print form my linux boxes
 to that shared printer...
 
 on linux boxes i made the following
 
 1 configured one printer queue with cups linking the
 smbspool to /usr/lib/cups/backend/ 
 
 ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
 
 2 loaded the driver for hp 670c in cups
 
 3 tried to print a test page and i did it successfully
 
 now... the only thing is that i am only able to print
 test pages... and i can't figure out the command line
 options to print from my linux print clients to my
 linux print server...
 
 windows is doing fine though. 
 
 other thing is that when I:
 
 smbclient //neptun/printers
 
 i can mount the share but it does not print.
 
 
 
 
 -
 Email Enviado utilizando o servi?o MegaMail
 -- 
 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] Samba PDC and Win2k Client

2004-02-17 Thread Jason C. Waters
Set your log level to 10 and then try to rejoin the domain from the 
failing machine.  Then post your log file

L.R.Rodriguez wrote:

I'll ask again, since its been a few days.

Quick Summary:
I am trying to join some Win2k (Service Pack 4) machines to a NT4 
style domain with a Samba PDC. One machine successfully joins the 
Samba domain. One fails.

Current configuration:
SambaPDC:
  - FreeBSD 4.9-RELEASE
  - Samba 2.2.8a (from binary package)
Host1 (Silv):
  - Windows 2000 SP4 (5.00.2195)
Host2 (Plaid):
  - Windows 2000 SP4 (5.00.2195)
All machines are on the same network switch.
There are no other machines on the switch.
All connections are 100/Full Duplex..
All machines are in the 192.168.x.y subnet
SambaPDC is is running bind9 with a fake zone (.error) for all 
machines and forwards all other DNS queries.
All machines use SambaPDC for DNS resolution.
Digital Sign'n'Seal is disabled on both client machines.

smb.conf:
  [global]
 workgroup = SAMBAPDC
 hosts allow = 192.168.
 log file = /var/log/log.%m
 log level = 2
 max log size = 5
 security = user
 encrypt passwords = yes
 smb passwd file = /usr/local/private/smbpasswd
 domain master = yes
 preferred master = yes
 domain logons = yes
Each machine has a user account (silv$, plaid$) in the 
passwd/master.passwd files. Each machine has an account in the 
smbpasswd file, created with 'smbpasswd -a -m [machine name]'. When I 
add 'silv' to the domain and reboot, I can log in to the domain. When 
I add 'plaid' to the domain and reboot, I cannot log in to the domain. 
I get the following error: The system cannot log you on to the domain 
because the system's computer accout in the domain is missing or the 
password is incorrect. I should stress that at no point during the 
process of adding 'plaid' to the domain did the I get an error on 
'plaid'. On SambaPDC, in the logfile for plaid, 'log.plaid', I see 
these two errors:

[2004/02/14 17:39:11, 2] 
rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2004/02/14 17:39:11, 0] 
rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.

I am at a loss. 'Silv' and 'plaid' should not be acting differently 
here. Can anyone suggest any courses of further investigation?

Also, sometimes when I try to log in to 'Silv', it seems to have 
developed the same error as 'Plaid'. When I remove and add it back to 
the domain, however, it functions properly for while, before screwing 
up again.

Thanks,

L.R.Rodriguez

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


RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVERWITHSAMBA

2004-02-17 Thread Anders Norrbring

Around 60 would be my guess...


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:samba-
 [EMAIL PROTECTED] On Behalf Of Michael Aldrich
 Sent: den 17 februari 2004 16:26
 To: zynkx; [EMAIL PROTECTED]
 Subject: RE: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER
 SERVERWITHSAMBA
 
 has everyone received this 20 times?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf
 Of zynkx
 Sent: Tuesday, February 17, 2004 10:00 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER
 WITHSAMBA
 
 
 hi all and thanks in advance for reading this
 
 i have worked with samba for a while, sharing drives on
  my linux boxes and all went well until now.
 
 now, i tried to share a printer.
 
 1 i setup a printer in a box with cups. the printer is
 working fine in that host printing everything as it is
 told.
 
 2 i tried to share the printer to:
  2.1 one windows wrokstation in the lan
  2.2 two linux boxes on the lan
 
 with the following config file:
 [global]
workgroup = PRINTSERVER
netbios name = NEPTUN
server string = neptun print server
log file = /var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192
 SO_SNDBUF=8192
printcap name = lpstat
printing = cups
 [printers]
comment = All Printers
printer = hp_670C
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j
use client driver = yes
 
 i then made the client configuration on the windows
 workstation, and windows is printing well to my linux
 printing server with samba. it shares drives and the
 printer without any kind of problem.
 
 the problem is that i cannot print form my linux boxes
 to that shared printer...
 
 on linux boxes i made the following
 
 1 configured one printer queue with cups linking the
 smbspool to /usr/lib/cups/backend/
 
 ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb
 
 2 loaded the driver for hp 670c in cups
 
 3 tried to print a test page and i did it successfully
 
 now... the only thing is that i am only able to print
 test pages... and i can't figure out the command line
 options to print from my linux print clients to my
 linux print server...
 
 windows is doing fine though.
 
 other thing is that when I:
 
 smbclient //neptun/printers
 
 i can mount the share but it does not print.
 
 
 
 
 -
 Email Enviado utilizando o serviço MegaMail
 --
 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
 
 __ NOD32 1.626 (20040217) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.nod32.com


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


Re: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITHSAMBA

2004-02-17 Thread giuseppe panei
Only 40 . 
Giuseppep


On Tuesday 17 February 2004 04:25 pm, Michael Aldrich wrote:
 has everyone received this 20 times?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf
 Of zynkx
 Sent: Tuesday, February 17, 2004 10:00 AM
 To: [EMAIL PROTECTED]

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


Re: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITHSAMBA

2004-02-17 Thread Siavush Randjbar-Daemi
yes, you might as well replacing Printing with Spamming and Linux 
Printer with Samba Mailing List...
Michael Aldrich wrote:

has everyone received this 20 times?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of zynkx
Sent: Tuesday, February 17, 2004 10:00 AM
To: [EMAIL PROTECTED]
Subject: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER
WITHSAMBA
hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
my linux boxes and all went well until now.
now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is
told.
2 i tried to share the printer to:
2.1 one windows wrokstation in the lan
2.2 two linux boxes on the lan
with the following config file:
[global]
  workgroup = PRINTSERVER
  netbios name = NEPTUN
  server string = neptun print server
  log file = /var/log/samba/log.%m
  max log size = 50
  security = share
  encrypt passwords = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  printcap name = lpstat
  printing = cups
[printers]
  comment = All Printers
  printer = hp_670C
  path = /var/spool/samba
  browseable = no
  guest ok = yes
  writable = no
  printable = yes
  create mode = 0700
  print command = lpr -P %p -o raw %s -r
  lpq command = lpstat -o %p
  lprm command = cancel %p-%j
  use client driver = yes
i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.
the problem is that i cannot print form my linux boxes
to that shared printer...
on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/
ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...
windows is doing fine though.

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.



-
Email Enviado utilizando o serviço MegaMail
--
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] ???

2004-02-17 Thread Fabien Chevalier
Le Mardi 17 Février 2004 17:01, zynkx a écrit :
 why did my email show up all this times?

 :(

 sorry all...

Haven't you caught some kind of new virus?

:-)

Fabien Chevalier

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


[Samba] ldap, quickie...

2004-02-17 Thread Torben Thomsen
Hi,
I'm a bit confused over the whole dn concept  various 
documentation states that I should create new samba-entries with
dn: uid=user,ou=user-org,dc=domain
and other states that i should do it with
dn: cn=user,ou=user-org,dc=domain

Right now i have a few entries, created both ways... and since i'm not 
quite home in ldap, I haven't yet testet how each dn works... or if 
there is a difference at all...

Perhaps it's a stupid question, but it just confuses me

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


Re: [Samba] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITHSAMBA

2004-02-17 Thread zynkx
i am embareced.. 
believe me


 Cópia giuseppe panei [EMAIL PROTECTED]:

 Only 40 . 
 Giuseppep
 
 
 On Tuesday 17 February 2004 04:25 pm, Michael
 Aldrich wrote:
  has everyone received this 20 times?
 
  -Original Message-
  From:
 [EMAIL PROTECTED]
 
 [mailto:samba-bounces+maldrich=i-
[EMAIL PROTECTED]
 Behalf
  Of zynkx
  Sent: Tuesday, February 17, 2004 10:00 AM
  To: [EMAIL PROTECTED]
 
 -- 
 To unsubscribe from this list go to the
 following URL and read the
 instructions: 
 http://lists.samba.org/mailman/listinfo/samba
 



unix is user friendly. it's just selective when 
choosing 
friends.

-
Email Enviado utilizando o serviço MegaMail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Automatic Folder Creation

2004-02-17 Thread Norman Zhang
Hi,

Samba creates home folders automatically for new users that connects to 
it. Is there a way to get Samba to create a username folder in another 
parition with 777 permission (similiar to home)?

e.g.,

/home/My Domain/nzhang (default creation)

/sharepartition/nzhang (wish to have)

Regards,
Norman




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


Re: [Samba] Deutsche bersetzung der Samba-3-Dokumentation -- German translation of the Samba-3-docs

2004-02-17 Thread rruegner
Hi,
as i had a really hard time trough the year change,
and now i have to install a very large Ldap Samba
Network ,during the next month, i will push my work in the translation after
thats done.
But we really need more volunteers.
The translation isnt hard work if many people
would just translate just a few sentences a day
My thanks go to Stefan who really invested much work in organisation of the
cvs and other stuff to the projekt.
Perhaps we will meet us at the samba xp

Best Regards

- Original Message - 
From: John H Terpstra [EMAIL PROTECTED]
To: Stefan G. Weichinger [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 4:55 PM
Subject: Re: [Samba] Deutsche Übersetzung der Samba-3-Dokumentation -- 
German translation of the Samba-3-docs


 Hi All,

 I'd like to see the translation of the Samba documentation into German
 project get some help from any of you folks who speak German as well as
 English. Stefan and his team would appreciate anything you can do to help
 accellerate the translation. If you feel inclined to helping out please
 contact Stefan directly at the above email address.

 Thanks.

 Cheers,
 John T.

 On Tue, 17 Feb 2004, Stefan G. Weichinger wrote:

 
  The following text is in german, due to its subject, which has to do
  with the german translation of the Samba-3.0-documentation.
 
  ---
 
  Hallo, deutschsprachige Samba-user,
 
  die Übersetzung der Samba-3-Dokumentation geht weiter.
 
  Unsere Projektseite liegt auf Berlios, eine kurze Projektbeschreibung
  findet man unter
 
  http://gertranssmb3.berlios.de/
 
  Unser kleines Übersetzungsteam arbeitet derzeit an der deutschen
  Übersetzung der docbook/projdoc/*.xml-Dateien des aktuellen
  samba-docs-cvs-Moduls von samba.org.
 
  html-Versionen der bereits übersetzten Dateien findet man unter
 
 
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gertranssmb3/gertranssmb3/htmldocs/
 
  Wir brauchen nach wie vor Freiwillige!
 
  Einerseits für die Übersetzung, aber auch für das Korrigieren und
  Prüfen der übersetzten Texte.
 
  Bitte kontaktieren Sie die [EMAIL PROTECTED],
  wenn Sie an dem Projekt teilnehmen wollen, oder auch andere Vorschläge
  für das positive Fortschreiten dieses Projekts haben.
 
 

 -- 
 John H Terpstra
 Email: [EMAIL PROTECTED]
 -- 
 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] A bit OT: LDAP and AD interoperability with LDAP as master

2004-02-17 Thread Adrian Gschwend
Hi all,

First, sorry for posting this mail in a Samba-list, I first posted it to
[EMAIL PROTECTED] which should be a general LDAP discussion list and also to
OpenLDAP mailinglist. So far I didn't got a single reply in any of those
lists but that's probably because this issue is much more AD-related than
plain LDAP. And we know that beside MS the Samba developers know most
about AD :-) So here we go, maybe anyone got some ideas:

We completely redesign our NOS-Setup at our University at the moment. So
far we have four different network operating systems: Solaris, Linux,
Windows AD and Windows with NDS (Novell Directory Server). We now plan to
have an LDAP server on top and the NOS should connect to the LDAP Server.
This should be the base for single sign on for every service. Because we
want to keep the top OS-Independent AD on top is *not* an option, we
decided to go for OpenLDAP on Linux/BSD as master server. The LDAP-Server
gets feeded via some kind of meta-database.

Setting up the Linux and Solaris clients to use LDAP is not really a
problem. Connecting AD to LDAP looks much more complicated, after one week
of testing and experimenting it gets quite annoying ;)

What we are looking for:
In our best-case scenario AD would simply delegate all requests for userid
and passwords to another LDAP server which in our case would be OpenLDAP
and not another AD server (with AD it should work if I understand that
correctly). We tried to connect AD and OpenLDAP via a crossRef Object,
according to Carter's OpenLDAP book (Chapter 9) this should be quite easy.
Unfortunately it doesn't work so far, AD never connects our LDAP server
according to the logfiles. However, the link is not using TLS at the
moment so that might be a problem.

Even if we get that to work I'm still not sure if we can delgate
user/password requests like this. Has anyone successfuly implemented
something like this? Is it possible after all or would I need a
combination of Kerberos/LDAP to do this? I searched about every source I
could find (Mailinglist archives, newsgroups, google...) but I couldn't
find anyone who implemented something like this. If a user is changing the
password in AD we also would like to change that directly in OpenLDAP, so
the next login on the Unix box would use the new password without big
delay. I found a solution in the MS Knowledge Base about how to do it vice
versa but the question is can I trigger a script from AD when the
pwd-changes?

In worst case we would have to sync the user databases between LDAP and AD
but that sucks, especially if you want to change the password on one
system... I found solutions like http://acctsync.sourceforge.net/ in the
net but I would prefer our approach a lot :)

BTW, pGina is not an option btw because we would loose authorisation for
all the other AD services like this.

Any feedback/experiences about this subject is very much appreciated.

cu

Adrian

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


Re: [Samba] + or \ as winbind separator?

2004-02-17 Thread John H Terpstra
On Tue, 17 Feb 2004, Karel Kulhavy wrote:

 Hello

 Samba HOWTO Section 21.5 example 21.5.1:
 # separate domain and username with '+', like DOMAIN+username
  winbind separator = +

 page cccxxiv: The only obvious indication that Winbind is being user is
 that user and group names take the form DOMAIN\{}user and
 DOMAIN\{}group.

 What is then the winbind separator? Is it '+' or is it '\'? Or should I
 choose it according to my taste?

Whatever you choose.


 Are the {} meant seriously or is it just some bug resulting from the
 problems with LaTeX?

A problem with translation if you try to use the same source to produce
both HTML and PDF. It is easy to fix this for PDF only production, but
then HTML production breaks.

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba PDC and Win2k Client

2004-02-17 Thread John H Terpstra
On Tue, 17 Feb 2004, L.R.Rodriguez wrote:

 I'll ask again, since its been a few days.

 Quick Summary:
 I am trying to join some Win2k (Service Pack 4) machines to a NT4 style
 domain with a Samba PDC. One machine successfully joins the Samba
 domain. One fails.

Have you also disabled schannel support on both machines?

- John T.


 Current configuration:
  SambaPDC:
- FreeBSD 4.9-RELEASE
- Samba 2.2.8a (from binary package)
  Host1 (Silv):
- Windows 2000 SP4 (5.00.2195)
  Host2 (Plaid):
- Windows 2000 SP4 (5.00.2195)
  All machines are on the same network switch.
  There are no other machines on the switch.
  All connections are 100/Full Duplex..
  All machines are in the 192.168.x.y subnet
  SambaPDC is is running bind9 with a fake zone (.error) for all machines
 and forwards all other DNS queries.
  All machines use SambaPDC for DNS resolution.
  Digital Sign'n'Seal is disabled on both client machines.

  smb.conf:
[global]
   workgroup = SAMBAPDC
   hosts allow = 192.168.
   log file = /var/log/log.%m
   log level = 2
   max log size = 5
   security = user
   encrypt passwords = yes
   smb passwd file = /usr/local/private/smbpasswd
   domain master = yes
   preferred master = yes
   domain logons = yes

 Each machine has a user account (silv$, plaid$) in the
 passwd/master.passwd files. Each machine has an account in the smbpasswd
 file, created with 'smbpasswd -a -m [machine name]'. When I add 'silv'
 to the domain and reboot, I can log in to the domain. When I add 'plaid'
 to the domain and reboot, I cannot log in to the domain. I get the
 following error: The system cannot log you on to the domain because the
 system's computer accout in the domain is missing or the password is
 incorrect. I should stress that at no point during the process of
 adding 'plaid' to the domain did the I get an error on 'plaid'. On
 SambaPDC, in the logfile for plaid, 'log.plaid', I see these two errors:

  [2004/02/14 17:39:11, 2]
 rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
samr_io_userinfo_ctr: unknown switch level 0x1a
  [2004/02/14 17:39:11, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.

 I am at a loss. 'Silv' and 'plaid' should not be acting differently
 here. Can anyone suggest any courses of further investigation?

 Also, sometimes when I try to log in to 'Silv', it seems to have
 developed the same error as 'Plaid'. When I remove and add it back to
 the domain, however, it functions properly for while, before screwing up
 again.

 Thanks,

 L.R.Rodriguez



-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Unable to join ADS domain

2004-02-17 Thread John H Terpstra
On Tue, 17 Feb 2004, giuseppe panei wrote:

 Then the m$ documentation that recall ksetup and ktpass
 http://www.microsoft.com/windows2000/techinfo/planning/security/kerbsteps.asp
 is bad ? It is my last resource :-).

To say the least, this documentation does not help much.

What version of Samba are you using?
Did you build this yourself or use pre-packages binaries? If prepackaged,
where did you get them?

- John T.


 I am attempting from many time to join my linux box to a win2k ads domain.
 I can browse winXp/2k hosts, I get ticket, but the from client hosts i must
 input the password.

 I must have a *.keytab file on my computer?

 regards

 Giuseppe Panei







 On Sunday 15 February 2004 12:12 am, Andrew Bartlett wrote:
  On Thu, 2004-02-12 at 08:20, Joe Howell wrote:
   Great site with wonderful information.  Unfortunately, it still don't
   work.
  
   John Simovic [EMAIL PROTECTED] wrote:have a look at
   www.wlug.org.nz/ActiveDirectorySamba
 
  Actually, this is another case where some good intentions have created a
  most misleading site.  (The ktpass stuff is just bogus)
 
  The correct documentation is in the Samba HOWTO collection.
 
  http://www.samba.org/samba/docs/man/
 
  and the main Samba documentation page:
 
  http://www.samba.org/samba/docs/
 
  Andrew Bartlett



-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] logon.bat and home dir

2004-02-17 Thread Ivo Dancet
I recently set up a samba PDC 2.2.8 for testing purposes only. 
Everything runs well enough now.
There is one thing I can't seem to get to work. I made a logon.bat logon 
script for sharing a share called 'databank' on T: and it works 
correctly, but trying to get the windows mount the home folder too 
results in no mounting. That is: no databank and no home folder (on T: 
and Y:).
My script is in Dos-formatting and contains:
	net use T: \\samba\databank
	net use Y: /home

I tried a lot of things, and I allways get the same result: databank: no 
problem, home: problems.

Using the dos-prompt it is no problem, if I say 'net use Y: /home' it 
mounts.

Using only the second line in 'logon.bat' isn't solving anything...

client: win 98
server: mandrakelinux 9.2
network browsing not possible for now (something to do with this?)
Am I doing something wrong?

Any help very welcome!

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


Re: [Samba] Samba 3.02 with dos filenames

2004-02-17 Thread Jason C. Waters
Nothing, still doesn't work.  Any other ideas?  What does your smb.conf 
look like?  Maybe something else in my global section is conflicting 
with this.

Collen wrote:

Hmm had the same over here..
i got it kinda working for me with these smb.conf things..
mangle case = yes   ( dunno why i use this one, but it's there)
mangling method = hash  (gues hash2 should do the trick as well..)
mangle prefix = 6   (or 5 ??)
the 6/5 stands for the number of original filename letters 12345~1.zip
btw
don't forget to shutdown en restart your samba server, otherwise it
woun't work..
l8r
Collen
Tuesday, February 17, 2004, 3:29:05 PM, you wrote:

T Hi Jason,

T Tuesday, February 17, 2004, 3:02:59 PM, you wrote:
JCW I have a directory that holds information in a shared directory.  Its
JCW f:\applications.  The program thinks its under f:\applic~1 (which is the
JCW same directory, it works on a windows share).  I've tried everything to
JCW get this to work.  I've set the mangled names = yes and mangled case =
JCW yes, on that share,  but nothing seems to work.  What am I missing?
T Old DOS-alike programs should see the long filenames as f:\applic~1,
T but if they are working than do not make any problem with it.
 

From command line (I believe that a program that uses that
   

T ininformation was made by a program) there are two ways to reach a
T long-named directory, eg: c:\progra~1\program\run.exe or c:\program
T files\program\run.exe (note the double quotation marks: they're
T required if You use long-named dir/file names). They are equals!
T Search the problem only if You have something wrong in function.
T BYE: TeeCee :o)

T Sorry for my English ,-)



 

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


[Samba] Samba3/ADS: share permissions vs ACLs

2004-02-17 Thread [EMAIL PROTECTED]
Hello,

I'm struggling with permissions management in samba 3.0.2, ads member mode, on SuSE 9. 
I have
essentially two questions:

1) What is the precendence of the various permissions (Filesystem, share, ACL, 
smb.conf, user vs.
group in each) that Samba observes, and how do they effect each other?

2) Should I be able to set share-level permissions on a samba share from a Win2k 
machine by
working in the Share Permissions tab of MMC?


More info:

I am currently able (after much struggle) to successfully save filesystem ACLs from 
MMC on a Win2k
machine, logged in as the domain Administrator. I can do it from the Security tab in 
the share
propterties. However, I cannot make any changes to the Share Permissions tab, which 
simply lists
Everybody with full control. After much reading and googling, I remain unsure if 
this is normal
or not. And I honestly don't know which is the preferred method, share perms vs ACLs.

Of the filesystem ACL's I can set, only user entries seem to be observed. Group 
entries are not
taking effect for members of those groups. Winbind appears properly configured, at 
least, getent
passwd works.

An example:

Domain user bob is a member of Corp Admins, among many other groups. groups bob 
returns them
all. Trying to connect or list as 'bob' generates a log message: chdir (/home/share1) 
failed

/home/share1/ is owned by administrator.root, perms rwxrwx---+

Add group Corp Admins with full perms to the security tab of MMC.
   - bob cannot connect or list files.

Create write list, admin users,  valid users in smb.conf, and add 
MYDOMAIN\@Corp Admins
to each.
   - bob cannot connect or list files.

Change ownership of /home/share1 to administrator.Corp Admins
   - bob cannot connect or list files.

Finally, remove all prior changes, then add 'bob' with all rights for this folder, 
subfolders and
files, to the Security tab of MMC.
   - bob CAN connect, list, delete files.


Installation details:

SuSE 9.0
Samba 3.0.2 installed from rpms at ftp.sernet.de/pub/samba/suse9/
ADS mode, existing Win2k domain
wbinfo -u/-g, getent passwd all work**.
I'll post my smb.conf if it would help. It's pretty plain.


Thanks in advance for any pointers thrown my way!

-- Seb


(**) that is, until winbind dies, which is each night. It's still running, but not 
serving names,
until restarted again. I'm still investigating that one.


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.2 uid filtering

2004-02-17 Thread John H Terpstra
On Tue, 17 Feb 2004, Ric Tibbetts wrote:

 All;
 I'm running Samba 3.0.2 w/winbind on an LDAP server (for various reasons).
 However, our NT PDC managers input the user IDs oddly. They come out looking like:

 -rwxr--r--   1 NORTHGRUM+tibberi 10   45766615 Feb 17 10:05 Fonts.zip

 Is there an (easy) way to filter those, to get rid of the NORTHGRUM+?
 Our NT admins add that as a way of identifying the network the user is on.

To answer your specific question, you must take into account the fact that
there can be a user 'tibberi' in more than one domain. The only way Samba
can provide unambiguous resolution of the user is by showning the domain
context that the user is in. Any other solution can result in flawed
operation.

Secondly, could it be that your group ID is not translating to the group
name because your system is running nscd (the name service caching
daemon)? If it is, you really ought to disable it as it will interfere
with winbind operations.

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Automatic Folder Creation

2004-02-17 Thread John H Terpstra
On Mon, 16 Feb 2004, Norman Zhang wrote:

 Hi,

 Samba creates home folders automatically for new users that connects to
 it. Is there a way to get Samba to create a username folder in another
 parition with 777 permission (similiar to home)?

 e.g.,

 /home/My Domain/nzhang (default creation)

 /sharepartition/nzhang (wish to have)

Check /etc/defaults/useradd

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


  1   2   >