[Samba] Re: Namensauflösung über netbios im gemischten Netzwerk ohne DNS oder WINS Server

2005-03-09 Thread Markus Feldmann
Ich habe mir das mit dem Netbios über TCP Protokoll zu Herzen genommen.
Ich habe also bei beiden debian Rechnern
wins proxy (deaktiviert)
dns proxy (deaktiviert)
wins support (deaktiviert)
wins server (deaktiviert)
Ein Rechner im Lan spielt jetzt immer Master Browser und ein anderer 
Rechner Backup Browser.(unabhängig vom OS)
Da alle die IP-adresse des Master browsers haben, können dort auch alle 
reingucken über
Netzwerkumgebung - Workgrgroup - Rechner

Wie gesagt alle haben die IP Adresse des Master Browsers, nicht aber von 
den anderen clients der Workgroup.
Dies ist auch der Fall wenn ich versuche von einem WinXP Client in einen 
anderen WinXp client reinzugucken, während keiner von beiden 
Master-browser ist, sondern ein debian Rechner Masterbrowser ist.

Wenn ich also von dem debian Rechner(feld-bert) den WinXP 
Rechner(feld-nat) anpinge,
ping feld-bert

bekomme ich mit ethereal folgendes:
No. TimeSourceDestination   Protocol 
Info
 2 6.864711192.168.0.146 192.168.0.255 NBNS 
/*Name query NB FELD-NAT00*/

Frame 2 (94 bytes on wire, 94 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.0.146 (192.168.0.146), Dst Addr: 
192.168.0.255 (192.168.0.255)
User Datagram Protocol, Src Port: 32874 (32874), Dst Port: 137 (137)
   Source port: 32874 (32874)
   Destination port: 137 (137)
   Length: 58
   Checksum: 0x832d (incorrect, should be 0x7b0a)
NetBIOS Name Service

No. TimeSourceDestination   Protocol 
Info
 3 7.135141192.168.0.146 192.168.0.255 NBNS 
/*Name query NB FELD-NAT00*/

Frame 3 (94 bytes on wire, 94 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.0.146 (192.168.0.146), Dst Addr: 
192.168.0.255 (192.168.0.255)
User Datagram Protocol, Src Port: 32874 (32874), Dst Port: 137 (137)
   Source port: 32874 (32874)
   Destination port: 137 (137)
   Length: 58
   Checksum: 0x832d (incorrect, should be 0x7b0a)
NetBIOS Name Service

No. TimeSourceDestination   Protocol 
Info
 4 7.405104192.168.0.146 192.168.0.255 NBNS 
/*Name query NB FELD-NAT00*/

Frame 4 (94 bytes on wire, 94 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.0.146 (192.168.0.146), Dst Addr: 
192.168.0.255 (192.168.0.255)
User Datagram Protocol, Src Port: 32874 (32874), Dst Port: 137 (137)
   Source port: 32874 (32874)
   Destination port: 137 (137)
   Length: 58
   Checksum: 0x832d (incorrect, should be 0x7b0a)
NetBIOS Name Service


Man kann sehen das ich 3 Namensanfragen zu feld-nat verschickt habe, 
darauf bekomme ich keine Antwort
von feld-nat, ich habe noch c.a. 30 sek gewartet.
Da diese Anfragen an den Port 137 gehen, habe ich auf feld-nat mir die 
Ports nochmal angeguckt:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumente und Einstellungen\adminnetstat -an
Aktive Verbindungen
 Proto  Lokale Adresse Remoteadresse  Status
 TCP0.0.0.0:7  0.0.0.0:0  ABHÖREN
 TCP0.0.0.0:9  0.0.0.0:0  ABHÖREN
 TCP0.0.0.0:13 0.0.0.0:0  ABHÖREN
 TCP0.0.0.0:17 0.0.0.0:0  ABHÖREN
 TCP0.0.0.0:19 0.0.0.0:0  ABHÖREN
 TCP0.0.0.0:1350.0.0.0:0  ABHÖREN
 TCP0.0.0.0:4450.0.0.0:0  ABHÖREN
 TCP0.0.0.0:18350  0.0.0.0:0  ABHÖREN
 TCP127.0.0.1:1025 0.0.0.0:0  ABHÖREN
 TCP127.0.0.1:1062 127.0.0.1:18350HERGESTELLT
 TCP127.0.0.1:18350127.0.0.1:1062 HERGESTELLT
 TCP192.168.0.130:139  0.0.0.0:0  ABHÖREN
 UDP0.0.0.0:7  *:*
 UDP0.0.0.0:9  *:*
 UDP0.0.0.0:13 *:*
 UDP0.0.0.0:17 *:*
 UDP0.0.0.0:19 *:*
 UDP0.0.0.0:445*:*
 UDP0.0.0.0:500*:*
 UDP0.0.0.0:1026   *:*
 UDP0.0.0.0:4500   *:*
 UDP127.0.0.1:123  *:*
 UDP192.168.0.130:123  *:*
 UDP192.168.0.130:137  *:*
 UDP192.168.0.130:138  *:*
C:\Dokumente und Einstellungen\admin
In der vorletzten Zeile steht noch was mit einem Port 137, aber es wird 
dort nicht gelauscht.
Gibt es diesen lasuchenden Port nur bei Linux?
Deshalb hiernochmal, die ports von feld-bert:

feld-bert:/home/markus# netstat -an
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 0.0.0.0:901 0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:37  0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:9   0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:874 0.0.0.0:*   LISTEN
tcp0  0 

[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 

Re: [Samba] Username/Password not passed to Samba

2004-01-30 Thread Markus Feldmann
Hallo
maybe you must do this.
look on picture.
Default is that WinXP sends not your username and your pasword but he sends
his Computer Authentification.

Your Properties must look like this in the picture. And you should more
watch in your smbd.log file.

mfg Markus F.

- Original Message - 
From: Peter Ulrich Kruppa [EMAIL PROTECTED]
To: Daniel Auman [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 12:58 PM
Subject: Re: [Samba] Username/Password not passed to Samba


 On Wed, 28 Jan 2004, Daniel Auman wrote:

  Hi all,
 
  Using Samba 3.0.0beta3 on FreeBSD 4.9 and a WinXP SP1 client.  I was
able to
  join the domain with the WinXP machine, but I cannot log-on.  The
Windows
  error message is about the domain server not found,
  ^^^
 This sounds like a very fundamental problem: Are you sure you set
 your WINS server correctly on your XP box and can you ping it?
 (You shouldn't have been able to join the domain at all without
 that, but sometimes strange things happen).

 Uli.
  no machine account, etc.
  I set the log level to 3 and received the following output when I tried
to
  log-on:
 
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
  [2004/01/27 20:00:00, 3] smbd/uid.c:push_conn_ctx(287)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
  [2004/01/27 20:00:00, 3] auth/auth.c:check_ntlm_password(216)
check_ntlm_password:  Checking password for unmapped user
  [EMAIL PROTECTED] with the new password interface
  [2004/01/27 20:00:00, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
  [2004/01/27 20:00:00, 3] smbd/uid.c:push_conn_ctx(287)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
  [2004/01/27 20:00:00, 3] smbd/uid.c:fetch_sid_from_gid_cache(651)
fetch sid from gid cache 65534 -
  S-1-5-21-2504064135-877026010-4157169575-132069
  [2004/01/27 20:00:00, 3] smbd/uid.c:fetch_sid_from_gid_cache(651)
fetch sid from gid cache 65534 -
  S-1-5-21-2504064135-877026010-4157169575-132069
  [2004/01/27 20:00:00, 3] auth/auth.c:check_ntlm_password(265)
check_ntlm_password: guest authentication for user [] succeeded
  [2004/01/27 20:00:00, 3] smbd/password.c:register_vuid(201)
User name: nobody Real name: Unprivileged user
  [2004/01/27 20:00:00, 3] smbd/password.c:register_vuid(219)
UNIX uid 65534 is UNIX user nobody, and will be vuid 566
  [2004/01/27 20:00:00, 3] smbd/process.c:process_smb(878)
Transaction 30179 of length 90
  [2004/01/27 20:00:00, 3] smbd/process.c:switch_message(673)
switch message SMBtconX (pid 41343)
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
  [2004/01/27 20:00:00, 3] lib/access.c:check_access(314)
check_access: no hostnames in host allow/deny list.
  [2004/01/27 20:00:00, 2] lib/access.c:check_access(325)
Allowed connection from  (192.168.1.10)
  [2004/01/27 20:00:00, 3] smbd/service.c:make_connection_snum(536)
Connect path is '/tmp' for service [IPC$]
  [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(267)
  [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(268)
se_access_check: user sid is
S-1-5-21-2504064135-877026010-4157169575-501
se_access_check: also S-1-5-21-2504064135-877026010-4157169575-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-2504064135-877026010-4157169575-132069
  [2004/01/27 20:00:00, 3] smbd/vfs.c:vfs_init_default(201)
Initialising default vfs hooks
  [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(267)
  [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(268)
se_access_check: user sid is
S-1-5-21-2504064135-877026010-4157169575-501
se_access_check: also S-1-5-21-2504064135-877026010-4157169575-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-2504064135-877026010-4157169575-132069
  [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
  [2004/01/27 20:00:00, 3] smbd/service.c:make_connection_snum(692)
gdccdarryl (192.168.1.10) connect to service IPC$ initially as user
nobody
  (uid=65534, gid=65534) (pid 41343)
  

[Samba] Client Software for Windows

2004-01-26 Thread Markus Feldmann
Hallo,

is there a Client Software for Windows that offers a possibility to
take a different Username to mount Samba shares at the Startup of Windows,
like the Netware Client for WIndows.

For Example:
In our Manufacture all Clients have got one User, this is Administrator.
But to mount a share from our Linux Server it should be a different User.
Therefor the Worker shall only write a other Username in the Login-Window at
Startup although the Workstation shall take the local Profil from the
Administrator.
This is like the Netware Client for Windows if you know this.

The Reason for this is that every Worker may work on any Workstation he want
to
and we do not want to create 20 Profils on every Windows Client.

mfg Markus F.


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


Re: [Samba] Sometimes unable to browse w2k shares

2004-01-05 Thread Markus Feldmann
Hallo rmi,

it seems that some machine have got problems with his protokolls.
Or maybe it has got to many protokolls.
Check whether you have a Computer with 2 Nic(Networkcards).
You should have got a Wins or DNS Server.
The Wins Server is very easy.
This could help.

mfg Markus F.

- Original Message - 
From: rmi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 05, 2004 11:31 AM
Subject: [Samba] Sometimes unable to browse w2k shares


Lo folks,

Plz i need some advice, im totally clueless at the moment where to look and
what to do.
I have one samba 3.0.1 PDC and ten win 9x clients and two XP pro clients and
one w2k print server with some shares.

It all worked good until i joined the w2k server into the domain. The first
couple of hours after joining all shares and all printer were available on
the win2k server. But then all of a sudden i couldnt see any shares from the
w2k server on the netwerk.When i try to browse the w2k server shares via 9x
clients i get a unknown error 31.
Even the ./smbclient -L //w2k/share -U aap doesnt let me see shares.

Sometimes after an hour orso the shares are again available, or else i have
to stop and start samba.
What could be wrong, Does any1 have any suggestions?

Thx in advance

rmi

===
smb.conf
==
[global]
workgroup = GENERAL
netbios aliases = C001
server string = Samba Server
password server =
passdb backend = tdbsam
username map = /usr/local/samba/lib/username.map
log level = 5
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
show add printer wizard = No
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
logon path =
domain logons = Yes
os level = 40
preferred master = Yes
domain master = Yes
dns proxy = No
ldap ssl = no
template homedir = /opt/oc/home/%D/%U

[homes]
comment = Home Directories
read only = No
veto files = /.??*/
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[oc_data]
comment = OCH Data
path = /opt/oc/oc_data
valid users = @oc_med
admin users = @symas
read list = @oc_med
write list = @oc_med
read only = No
create mask = 0770
security mask = 0770
directory mask = 0770
directory security mask = 0770
veto files = /lost+found/
hide files = /lost+found/

[netlogon]
path = /opt/oc/netlogon
guest ok = Yes
-- 
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] What is LDAP for?

2003-11-09 Thread Markus Feldmann
Hallo i am wanna know can i speed up samba with LDAP?
What for special Feature have LDAP ?
Knows anybody a good Handbook in German for me?


mfg M.F

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


[Samba] Spaem Mails abschalten

2003-10-17 Thread Markus Feldmann
Hallo liebe Samba Freunde,

Nichts persönlich gegen irgendjemanden hier, aber irgendjemand der meine
MailAdresse hat hat einen Virus Namens Worm/Gibe.C.1 . Bitte tut mir einen
gefallen. Alle bitte Antivir und Ad-aware installieren. Auch der Betreiber
dieser Subscribe Liste, denn der hat auch meine E-Mail Adresse.


mfg Markus F.


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


Re: [Samba] Problems printing from Windows 2000

2003-10-13 Thread Markus Feldmann
Hallo first you should copy and paste the importent part of the error_log
file in your mail.
Therefor you should run the cupsd in debug modus(normally this is in info
modus).
The error_log is in /var/log/cups/ .
To change from info to debug modus look in the /etc/cups/cups.conf .

mfg Markus

- Original Message -
From: Gerald (Jerry) Carter [EMAIL PROTECTED]
To: Des Dougan [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 8:25 PM
Subject: Re: [Samba] Problems printing from Windows 2000


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Des Dougan wrote:
 | I run a small network at home, with a Linux server, which shares files
 | and a printer. I also have a Linux PC (RH 9, KDE 3.1, CUPS 1.1.17) from
 | which I am trying to share a Lexmark 3200 inkjet.
 |
 | Samba (2.2.7a-security-rollup-fix) seems to be generally configured OK -
 | I can print to the Lexmark from a Windows 98 system, and from another PC
 | running Mandrake 9.1. However, I am unable to print from two Windows
 | 2000 PCs. I can see the printer, view its properties (although I can't
 | change any). However, any time I try to print, it spools 96 bytes and
 | then the PC goes to 100% CPU and requires to be restarted.
 |
 | I have been working on the assumption that it is a security/rights
 | problem, but I've exhausted all the various checks I have researched.
 |
 | Can anyone shed any light on what might be happening here?

 Look at the network traffic.  See the the client has gone
 into a loop sending the same request to the Samba box over and over.





 cheers, jerry
 ~ --
 ~ Hewlett-Packard- http://www.hp.com
 ~ SAMBA Team -- http://www.samba.org
 ~ GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ~ You can never go home again, Oatman, but I guess you can shop there.
 ~--John Cusack - Grosse Point Blank (1997)

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQE/iu4QIR7qMdg1EfYRAkdAAJsFUws1GLUi6xFrvMy7J+BE5iGJpgCeKSII
 Osi5BrmlbtwxyCWaLazOZv4=
 =k7tW
 -END PGP SIGNATURE-

 --
 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] print_job: resource name '...' no good!

2003-10-12 Thread Markus Feldmann
Das Problem kann behoben werden in dem man nochmal die genaue Schreibweise
in der smb.conf überprüft.
Hilfreich wäre es auch in /etc/cups/cups.conf (Suse 8.1)
LogLevel debug
einzustellen, um genauere Informationen zu erhalten. Und natürllich dann
cups neustarten.
Diese können in der /var/log/cups/error_log nach gelesen werden.

Auch gross und Klein Schreibung beachten, obwohl ich hier nicht genau weiss
ob dies was aus macht, besser ist es jedenfalls.
Und die Leerzeichen in dem print command nicht vergessen. Hinzu kommt noch,
wenn man von
einem Client aus auf dem Samba Server druckt sollte man -oraw mit in den
print command ein-
fügen.

Wie z.b bei mir:

[HP_DJ_5550_LPT2]
comment = HP DeskJet 5550, Foomatic + hpijs
path = /var/tmp
printer admin = markus, bernard
read only = No
create mask = 0600
printable = Yes
print command = lpr -r -oraw -P %p %s
printer name = HP_DJ_5550_LPT2
oplocks = No
mfg Markus

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


Re: [Samba] novell netware server - samba...

2003-08-29 Thread Markus Feldmann
Hallo,

I do not know many about Novell but in our company we also have a Novell
Server with Tobbit ... .
The main Different is that under Linux you do not have a so fantastic
Directory Service.
I heard that Tobbbit will come out in a few time.
Samba is very mighty and i think it is a good Server and you can do enough
to integrate it. I hope you have got enough knowledge to install and
configure it :-), but there are many Forums in the Inet and many email-lists
to ask someone for help.
 I would take Suse Linux 8.2 Pro or maybe a still configured Server-Version
http://www.suse.de/de/business/products/server/sles/prices_x86.html
I am not sure whether this Version is still configured. But when it is, it
would better for you. :-)
There is no risk for any Virus on the Linux Server that i know.
The only Problem is on the side of the client, this is most a MS-Client .
But therefor you can get Antivir to check for a Virus in the email server
befor the client get the email.
And i know there is a Programm named winex this is like an emulator. More
than an emulator.
My advice to you is to intigrate a Linux Server step by step in your
company.
A good administration tool is VNC and Webmin.
PDC under Linux is no Problem i think.
Linux is one of the securiest Server Plattform.
There are many Documentaion for Linux, look at
http://www.suse.de/de/business/products/books/3_935922_64_7/index.html
http://www.suse.de/de/business/products/books/3_935922_41_8/index.html
http://www.suse.de/de/business/products/books/3_935922_15_9/index.html
http://www.suse.de/de/business/products/books/3_935922_63_9/index.html
and so on. IF you buy Linux you will get 2 books.
Another good Book is Linux (Michael Kofler).


doesnt seem to be made for user/group administration.
Yes thats the greatest feature of Novel .


mfg Markus

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 11:46 PM
Subject: [Samba] novell netware server - samba...



 hi!
 our company is currently using novell netware 5.1 file server. now the
 hard
 and software is about to be upgrated. but because of the high licence
 costs,
 we are in search for a better/cheaper solution and the idea to use samba
 came up.
 we are going to use symantec antivirus so we need to set up redhat on
 the
 new file server...
 samba should be configured as a primary domain controller.
 then all 250 users - all files and directories need to be copied into
 the
 same structure with all the same rights from the novell server to the
 samba
 server.
 i guess i´ll have to this on my own, or is there any tool that can
 migrate
 from novell to samba? :)

 well, i´m in search for any good tutorials that explain how to set up
 samba
 as a primary domain controller.
 set the firewall/security options to a maximum.
 and great tools to create new users/shares/groups/ admin rights and
 whatsoever for samba. maybe also for remote administration... because
 swat
 doesnt seem to be made for user/group administration.

 thanks a lot

 regards nadine m.
 --
 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] here is another interesting link

2003-08-29 Thread Markus Feldmann
This link is about Novell Directory Services for Linux

http://www.novell.de/presse/releases/2003/03-06/03-06-04.html

I hope it will help.
It is in german. :-(

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


Re: [Samba] change password on w2k workstation

2003-08-27 Thread Markus Feldmann
Hallo Daniel,

mabe you should use Yast to change it.
1.)Remember thta you can not use all
letters for the Password for example do not use the Letters äöü,./%$§! and
so on.
2.)Look at man passwd for more info.
And the next point is that the User must exist.
3.)Did you configured this User as root?
I hope so.

mfg Markus

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


[Samba] samba und netzlaufwerke unter winxp

2003-08-27 Thread Markus Feldmann
Hallo,

Ich habe ebendfalls das Problem, dass ich mich extra anmelden muss bei
meinem Linux-Server. Hast Du da eine Lösung gefunden.

 
From: Marcel Stein [EMAIL PROTECTED]
Subject: samba und netzlaufwerke unter winxp
Date: Thu, 26 Jun 2003 20:04:56 +0200
Message-ID: [EMAIL PROTECTED]

Ich habe einen samba zu laufen und greife vom client winxp darauf zu. 


Nun habe ich ein Netzlaufwerk erstellet auf die samba Freigabe und 


das automatisch dort durch xp eingeloggt wird. 


Das macht er aber nicht beim anmelden. Muss also unter xp 


die Netzlaufwerkverbindung anklicken und Benutzername und Passwort eingeben. 


Möchte aber das es automatisch geschied. 


 


Marcel 


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


[Samba] Cannot print

2003-08-25 Thread Markus Feldmann
Halllo, 

I wanna make a print-server but it didn´t work.
Here is may smb.conf


 Samba config file created using SWAT
 from 0.0.0.0 (0.0.0.0)
 Date: 2003/08/20 14:17:46

 Global parameters
[global]
netbios name = FELD-SERVER
security = SERVER
encrypt passwords = Yes
min passwd length = 0
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 1
unix extensions = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
character set = ISO8859-15
os level = 0
preferred master = False
local master = No
domain master = False
guest account = 
printing = cups
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
level2 oplocks = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

[mldonkey_incoming]
comment = Hier werden die gedownloadeten Dateien gespeichert.
path = /home/admin/incoming
username = admin
read only = No

[HP_Laser_4p_LPT1]
comment = HP LaserJet 4 Plus, Foomatic + ljet4
path = /var/tmp
guest account = admin
read only = No
create mask = 0600
guest ok = Yes
printable = Yes
printer name = HP_Laser_4p_LPT1
oplocks = No

[HP_DJ_5550_LPT2]
comment = HP DeskJet 5550, Foomatic + hpijs
path = /tmp
guest account = admin
read only = No
create mask = 0600
guest ok = Yes
printable = Yes
printer name = HP_DJ_5550_LPT2
oplocks = 
No
And here is may smbusers 
file-
 This file allows you to map usernames from the clients to the server. Unix_name = 
SMB_name1 SMB_name2 ... Cf. section 'username map' in the manual page of smb.conf for 
more information.;root = administrator adminnobody = guest pcguest smbguestadmin = 
gastThe
 client i use is a WinXP Machine. I think XP will always connect to my Smb Printer as 
gast User therfor i did created admin = gast. Is there any logfile where i can see 
the Debug message ?And the Linux Machine is a Suse 8.1 Distribution.The Printed file 
didn´t exist in the /tmp dir and on my client machine it says Acces denied, no 
connection available. mfg Markus F.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] can not print to my Print-server

2003-08-21 Thread Markus Feldmann
Halllo, 

I wanna make a print-server but it didn´t work.
Here is may smb.conf


 Samba config file created using SWAT
 from 0.0.0.0 (0.0.0.0)
 Date: 2003/08/20 14:17:46

 Global parameters
[global]
netbios name = FELD-SERVER
security = SERVER
encrypt passwords = Yes
min passwd length = 0
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 1
unix extensions = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
character set = ISO8859-15
os level = 0
preferred master = False
local master = No
domain master = False
guest account = 
printing = cups
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
level2 oplocks = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

[mldonkey_incoming]
comment = Hier werden die gedownloadeten Dateien gespeichert.
path = /home/admin/incoming
username = admin
read only = No

[HP_Laser_4p_LPT1]
comment = HP LaserJet 4 Plus, Foomatic + ljet4
path = /var/tmp
guest account = admin
read only = No
create mask = 0600
guest ok = Yes
printable = Yes
printer name = HP_Laser_4p_LPT1
oplocks = No

[HP_DJ_5550_LPT2]
comment = HP DeskJet 5550, Foomatic + hpijs
path = /tmp
guest account = admin
read only = No
create mask = 0600
guest ok = Yes
printable = Yes
printer name = HP_DJ_5550_LPT2
oplocks = 
No
And here is may smbusers 
file-
 This file allows you to map usernames from the clients to the server. Unix_name = 
SMB_name1 SMB_name2 ... Cf. section 'username map' in the manual page of smb.conf for 
more information.;root = administrator adminnobody = guest pcguest smbguestadmin = 
gastThe
 client i use is a WinXP Machine. I think XP will always connect to my Smb Printer as 
gast User therfor i did created admin = gast. Is there any logfile where i can see 
the Debug message ?And the Linux Machine is a Suse 8.1 Distribution.The Printed file 
didn´t exist in the /tmp dir and on my client machine it says Acces denied, no 
connection available. mfg Markus F.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba