[Samba] RE: slow to drill into directories

2004-04-13 Thread Illarramendi Amilibia, Aitor
 
>> I too have had this problem.  It wasn't version specific either.  The
>> platforms I am running Samba on are Solaris 9, and (I cringe when I say
>> this) Digital Unix.   I too look forward to anything you all have to say
>> about this one.
>>
>> --john

>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Brian
>> Lavender
>> Sent: Tuesday, March 23, 2004 10:11 PM
>> To: [EMAIL PROTECTED]
>> Subject:  slow to drill into directories
>>
>> I have a samba server configured at a clients office and sometimes when
>> he is drilling down into directories in his "File Explorer" it stalls. I
>> tail'ed the log files and I ran tcpdump, but I can't see anything that
>> stands out. What should I look at? I am running Samba Version
>> 2.2.3a-12.3
>> for Debian.
>> 
>> brian
>>
>> -- 
>> Brian Lavender
 
I'm having the same problem and with Solaris too. Any new clues?

Thanks in advance.
 
Aitor Illarramendi Amilibia 
 Ingeniero de software
Mando y Control 

  
 Carretera de Loeches, 9
28850 - Torrejón de Ardoz, Madrid (ESPAÑA)
Tel: +34-91-626.80.60
Fax: +34-91-626.81.14
[EMAIL PROTECTED]
www.indra.es  
 
"Hay ladrones a los que no se castiga, pero que nos roban lo más preciado: el tiempo" 
Napoleón Bonaparte


---
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la 
previa autorización escrita de Indra. En el caso de haber recibido este correo 
electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante 
reenvío a la dirección electrónica del remitente.

The information in this e-mail and in any attachments is confidential and solely for 
the attention and use of the named addressee(s). You are hereby notified that any 
dissemination, distribution or copy of this communication is prohibited without the 
prior written consent of Indra. If you have received this communication in error, 
please, notify the sender by reply e-mail
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: Re[2]: [Samba] NUA + MYSQL?

2004-04-13 Thread Joel Holder
I am a tard.  The question below was supposed to be:

Does anyone know if it is possible to use ldapsam WITHOUT /etc/passwd
entries if you are also using ldap for posixaccount lookups?





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Joel Holder
Sent: Wednesday, April 14, 2004 12:39 AM
To: Malcolm Baldridge; samba mailing list
Subject: RE: Re[2]: [Samba] NUA + MYSQL?

That's true.  However, using it purely as a authentication db for other
services might work, because our users get /sbin/nologin as their shell
and are chrooted to distinct home dirs for ftp,etc..

Does anyone know if it is possible to use ldapsam with /etc/passwd
entries if you are also using ldap for posixaccount lookups?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Malcolm Baldridge
Sent: Tuesday, April 13, 2004 5:16 PM
To: samba mailing list
Subject: Re: Re[2]: [Samba] NUA + MYSQL?


> why don't you map your users to the nobody or guest account ??
> (is this possible ??)

Sure, but you can kiss away all pretenses of file security between
"users".

> so all users are guests...
> dunno how to do it, but would be a nice work around..

It's easy.  But very unwise.  I highly doubt the original poster wants
all
of his users to have the same security contexts with respect to file
ownership/access.

=MB=
-- 
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
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: Re[2]: [Samba] NUA + MYSQL?

2004-04-13 Thread Joel Holder
That's true.  However, using it purely as a authentication db for other
services might work, because our users get /sbin/nologin as their shell
and are chrooted to distinct home dirs for ftp,etc..

Does anyone know if it is possible to use ldapsam with /etc/passwd
entries if you are also using ldap for posixaccount lookups?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Malcolm Baldridge
Sent: Tuesday, April 13, 2004 5:16 PM
To: samba mailing list
Subject: Re: Re[2]: [Samba] NUA + MYSQL?


> why don't you map your users to the nobody or guest account ??
> (is this possible ??)

Sure, but you can kiss away all pretenses of file security between
"users".

> so all users are guests...
> dunno how to do it, but would be a nice work around..

It's easy.  But very unwise.  I highly doubt the original poster wants
all
of his users to have the same security contexts with respect to file
ownership/access.

=MB=
-- 
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] unable to open file /etc/samba/smbpasswd. Error was Permission denied

2004-04-13 Thread Lawrence Strydom
HI.

I am trying to get domain logons to work with SuSE 9.0 and
samba-2.2.8a-107 with win2k and xp clients.

When using just a workgroup, and user level security, users can access
shares after providing the logon string - no problems.

However, when I activate domain logons = yes and try to join the clienbt
to the domain, I get unkkknown username errors. I checked my log files
and found the following entry:
[2004/04/14 06:47:30, 2]
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2055)
  Returning domain sid for domain RPC ->
S-1-5-21-1122485599-2498461992-3370525754
[2004/04/14 06:47:30, 2]
rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2004/04/14 06:47:30, 0]
rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2004/04/14 06:47:30, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd.
Error was Permission denied
[2004/04/14 06:47:30, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
  unable to open passdb database.
[2004/04/14 06:47:31, 2] smbd/server.c:exit_server(511)
  Closing connections
[2004/04/14 06:47:32, 2] smbd/server.c:exit_server(511)
  Closing connections


OK. Logical thing would be to change permissions on /etc/samba/smbpasswd
so I set it to chmod 666.

NOw here is where it gets weird. As soon as I try to join the client,
the permissions on smbpasswd is reset to 600!?!?

WTF?

Any ideas please?

thanks.

LAurie

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


Re: [Samba] Charset problem

2004-04-13 Thread Boogerman
Thanks pal, I set
unix charset = ISO8859-1
and now it works flawlessly

Thanks a lot,

Gaston DASSIEU BLANCHET

- Original Message - 
From: "Gémes Géza" <[EMAIL PROTECTED]>
To: "Matthias Spork" <[EMAIL PROTECTED]>
Cc: "Boogerman" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 5:55 PM
Subject: Re: [Samba] Charset problem


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Matthias Spork írta:
> | Boogerman schrieb:
> |
> |> I just migrated to Samba 3.0. I'm using Spanish Windows clients, and
> |> when I
> |> create a file with a spanish character in its filename (ie: menú), in
> |> Windows Explorer it looks ok, but when I do "ls" in Linux I get
something
> |> slightly different (ie: menú). This didn't happen in samba 2.x (I was
> |> previously using the now missing option charset="iso-8859-1").
> |>
> |> I tried setting unix charset to UTF-8, ASCII and CP850 without
> |> success. Any
> |> suggestions?
> |
> |
> | Since Samba 3 all filenames will be stored in Unicode.
> |
> | matze
> My Mandrake 9.2 box has an ISO-8859-2 (Hungarian) charset, here  is my
> testparm -s -v | grep charset
> output:
> ~dos charset = CP852
> ~unix charset = ISO8859-2
> ~display charset = LOCALE
>
> I've set just the first two values, the third is at is its default.
>
> That setup works fine for both Unix, Win9x and WinNT clients.
>
> So in your case I would suggest:
> ~dos charset = CP850
> ~unix charset = ISO8859-1
> ~display charset = LOCALE
>
>
> Cheers,
>
> Geza
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFAfFPW/PxuIn+i1pIRAnRUAJ96rdwoIY4IlsT1S/IZR2Md18Tp+ACdH9uZ
> rRg5N5yKU8+cXFPe1qXY4U0=
> =p5OV
> -END PGP SIGNATURE-
>
>

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


[Samba] How to hide shares for users that have no rights

2004-04-13 Thread Vempati Srinivasa Rao
Good morning.
I am using samba 3.0 on RedHat Linux 9.0  and Linux machine is having lot of
users and groups . I am trying to solve a problem. 
I have created, for example, 10 shares ( each share is having different
valid users and groups ) and I can access only 4 of them (I have rights to
read or write only for 4 shares). Well, is it possible to hide to my
browsing the 6 shares that I can not access. 
Thank you very much 
Srinivasa Vempati

My Partial Configuration File looks like this:

#This config file contains all samba shares
[share1]
path=/usr/dir1
comment=Nas Share dir1
valid users = user1, user3, user6
[share2]
path=/usr/dir2
comment=Nas Share dir2
valid users = user2, user4, user6

If I try to access using user1, now i'm seeing all shares on client machine.
because of share2 is not having access permissions to user1, this share
should not be visible. 
Can anybody help to solve this

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


[Samba] [MailServer Notification] To External Recipient: a virus was foun d and action taken.

2004-04-13 Thread System Attendant
ScanMail for Microsoft Exchange took action on the message.  The message
details were: 
Sender = [EMAIL PROTECTED]
Recipient(s) = [EMAIL PROTECTED];
Subject = samba Digest, Vol 16, Issue 19
Scanning time = 04/13/2004 22:06:42
Engine/Pattern = 7.000-1004/1.857.00

Action taken on message:
The message body contained WORM_NETSKY.D virus. ScanMail deleted the message
body.

Warning to recipient. ScanMail has detected a virus.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Help for the Kerberos challenged in the audience, config files

2004-04-13 Thread Brett Stevens
Nsswitch set properly?
Check it and make sure there is a ³passwd files winbind ³and a ³group files
winbind²
Also check that your time is synced correctly.


From: "Edward W. Ray" <[EMAIL PROTECTED]>
Organization: MMICMAN, LLC
Reply-To: <[EMAIL PROTECTED]>
Date: Tue, 13 Apr 2004 19:27:14 -0700
To: "'Brett Stevens'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: RE: [Samba] Help for the Kerberos challenged in the audience,
config files

 The error has changed since the previous e-mail:

[EMAIL PROTECTED] root]# net ads join -U root
root password:
[2004/04/13 19:23:05, 0] libads/kerberos.c:ads_kinit_password(133)
  kerberos_kinit_password [EMAIL PROTECTED] failed: ASN.1 failed
call to system time library
[EMAIL PROTECTED] root]#


Below is my smb.conf:

 
[EMAIL PROTECTED] root]# more /etc/samba/smb.conf
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#=== Global Settings
=
[global]
dns proxy = no
log file = /var/log/samba/log.%m
server string = mail
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
password server = 192.168.1.100 192.168.1.102
winbind gid = 1-2
workgroup = mmicmanhomenet
username map = /etc/samba/user.map
use spnego = yes
ldap ssl = yes
hosts allow = 192.168.1.
encrypt passwords = yes
realm = mmicmanhomenet.local
security = ADS
winbind uid = 1-2
max log size = 50
 
 [netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   read only = yes
;   guest ok = yes
;   writable = no
;   share modes = no
 

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;path = /home/profiles
;browseable = no
;guest ok = yes
 

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
; [printers]
;   comment = All Printers
;   path = /var/spool/samba
;   browseable = no
# Set public = yes to allow user 'guest account' to print
;   guest ok = no
;   writable = no
;   printable = yes
 
# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes
 
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   read only = yes
;   write list = @staff
 
# Other examples. 
#
# A private printer, usable only by fred. Spool data will be placed in
fred's
# home directory. Note that fred must have write access to the spool
directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes
 
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no
 
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes
 
# A publicly accessible directory, read/write to all users. Note that all
files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of
course
# be specified, in which case all files would be owned by that user instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no
 
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In
this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somew

RE: [Samba] Help for the Kerberos challenged in the audience, config files

2004-04-13 Thread Edward W. Ray
 The error has changed since the previous e-mail:

[EMAIL PROTECTED] root]# net ads join -U root

root password:
[2004/04/13 19:23:05, 0] libads/kerberos.c:ads_kinit_password(133)
  kerberos_kinit_password [EMAIL PROTECTED] failed: ASN.1 failed
call to system time library
[EMAIL PROTECTED] root]#


Below is my smb.conf:

 
[EMAIL PROTECTED] root]# more /etc/samba/smb.conf
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#
#=== Global Settings
=
[global]
dns proxy = no 
log file = /var/log/samba/log.%m
server string = mail
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
password server = 192.168.1.100 192.168.1.102
winbind gid = 1-2
workgroup = mmicmanhomenet
username map = /etc/samba/user.map
use spnego = yes
ldap ssl = yes
hosts allow = 192.168.1.
encrypt passwords = yes
realm = mmicmanhomenet.local
security = ADS
winbind uid = 1-2
max log size = 50
 
 [netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   read only = yes
;   guest ok = yes
;   writable = no
;   share modes = no
 

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;path = /home/profiles
;browseable = no
;guest ok = yes
 

# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
; [printers]
;   comment = All Printers
;   path = /var/spool/samba
;   browseable = no
# Set public = yes to allow user 'guest account' to print
;   guest ok = no
;   writable = no
;   printable = yes
 
# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes
 
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   read only = yes
;   write list = @staff
 
# Other examples. 
#
# A private printer, usable only by fred. Spool data will be placed in
fred's
# home directory. Note that fred must have write access to the spool
directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes
 
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no
 
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes
 
# A publicly accessible directory, read/write to all users. Note that all
files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of
course
# be specified, in which case all files would be owned by that user instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no
 
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In
this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
 

[EMAIL PROTECTED] root]# 

 
Below is my krb5.conf:
 
[EMAIL PROTECTED] root]# more /etc/krb5.conf 
[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log
 
[libdefaults]
 default_realm = MMICMANHOMENET.LOCAL
 
[realms]
 MMICMANHOMENET.LOCAL = {
  k

RE: [Samba] Samba & Outlook Express

2004-04-13 Thread mrojava4
Within our school system, we use squirrelmail (a webmail interface) ontop
of IMAP to provide teachers a secure email interface from both school and
home.

Mark

> If you are using roaming profiles the OE mailbox files will follow the
> user no matter which workstation that they login on. The drawback is
> that those files can get rather large depending on email and their
> associated attachments, which will mean longer load and save times. This
> is also true if you were to setup an IMAP server, unless you setup OE to
> only sync the headers and not the full message. The single most
> important advantage with an IMAP server is that messages are managed on
> the server. So if the OE mailbox(es) becomes corrupt deleting the local
> file and re-syncing will restore the messages locally to the user.
>
> HTH,
>
> Marcus O.
>
>
> On Tue, 2004-04-13 at 16:58, Ninja wrote:
>> I will go to explain my situation: I have to set up a little net (max 15
>> clients, with Windows and Linux OS) for a school; they need that in
>> every
>> host of the net if they log in as "FOO" they can use "FOO"'s
>> preferences,
>> and maybe have some restriction for "student user". In particular for a
>> "teacher" they want to be able to read their emails and get access to
>> them
>> in every computer they log in... To make this plain I have use samba as
>> a
>> PDC with roaming profiles, and I use poledit to create different policy
>> files for every groups (I'm still working on it).
>>
>> Because the "teachers" would be little in number and because only a
>> "teacher" would have an email account (with a free provider,probably
>> different), I think that set up an Imap server is not a good solution
>> (also
>> because a teacher maybe would read the email at home)... I think I will
>> use
>> the default setup of Outlook that save a file in the user directory,
>> that is
>> then stored in the server, and setup Outlook to leave on the server the
>> emails
>>
>> What do you think??
>>
>> Thanks to everyone is helping me!!
>>
>> > -Original Message-
>> > From: [EMAIL PROTECTED]
>> > [mailto:[EMAIL PROTECTED] On
>> > Behalf Of Alexander Gretencord
>> > Sent: Tuesday, April 13, 2004 9:21 PM
>> > To: [EMAIL PROTECTED]
>> > Subject: Re: [Samba] Samba & Outlook Express
>> >
>> > On Tuesday 13 April 2004 18:46, Ninja wrote:
>> > > I'm agree with you, but not always you can use an Imap
>> > server, an usually
>> > > who gives you an e-mail account for free gives only an Pop3
>> > server...
>> >
>> > Yes indeed that is mostly true. But why do you use those anyway? As I
>> > understood you, you are trying to set up a PDC with samba (or
>> > even already
>> > have one) so I assume this is for a company. This company can
>> > surely either
>> >
>> > a) afford a service Provider which offers IMAP
>> > b) afford to run its own mailserver
>> > c) run its own IMAP Server off the samba PDC
>> >
>> > In case c) your server must of course fetch all the mail from
>> > the freemail
>> > provider. I do that for my own freemail accounts at home with
>> > fetchmail. It
>> > was born out of the need to read mail in Windows and Linux
>> > while I was still
>> > dual booting so yes this is so easy to setup, I did it as a
>> > linux newbie :)
>> >
>> > As I don't know anything about your organisation I don't know
>> > how feasible
>> > that is for you or how much work it would be to set up fetchmails
>> > configuration in a changing environment but hey this is linux
>> > and we got
>> > scripting languages :)
>> >
>> > If you are just looking for another mail Client, try out
>> > Mozilla Thunderbird,
>> > you can define the profile path. I have never tested storing
>> > it on a samba
>> > share though, as IMAP is the definite answer.
>> >
>> >
>> > Alex
>> > --
>> > 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
>

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


Re: [Samba] samba on distro...

2004-04-13 Thread mrojava4
Take a look at www.k12ltsp.org.

Mark

> Hi,
>
> I have to setup a samba-server (and a bit intranet) for a school.
> There are about 200 client-pc's for about 1000 people.
> Now I wondered which OS would be best for us. Should we pay for a
> distro, or would a free distro be enough? And which distro should we
> use? Please keep in mind that schools like quality and don't like big
> bills! ;-)
>
> thanks in advance for any answer,
> Ivo Dancet
>
> --
> 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 on distro...

2004-04-13 Thread Ivo Dancet
Hi,

I have to setup a samba-server (and a bit intranet) for a school.
There are about 200 client-pc's for about 1000 people.
Now I wondered which OS would be best for us. Should we pay for a 
distro, or would a free distro be enough? And which distro should we 
use? Please keep in mind that schools like quality and don't like big 
bills! ;-)

thanks in advance for any answer,
Ivo Dancet
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Cannot get to Add Printer Wizard

2004-04-13 Thread Dustin Dortch
I have followed directions form both Samba-3 by Example and The Official 
Samba-3 Howto and Reference Guide on setting this up, and it just does not 
work.  I browse to the shared printer, right-click, and click properties.  
It only displays the Computer Name:, Computer Type:, and Domain: fields, 
with no advanced button.  I can get to the print$ share, and I am a printer 
admin.  I am running Samba 3.0.2a on Slackware-current.

Thanks,
Dustin A Dortch
Network+, MCSA/MCSE W2K
[EMAIL PROTECTED]
_
Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! 
http://toolbar.msn.com/go/onm00200414ave/direct/01/

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


RE: [Samba] Samba & Outlook Express

2004-04-13 Thread Marcus White
If you are using roaming profiles the OE mailbox files will follow the
user no matter which workstation that they login on. The drawback is
that those files can get rather large depending on email and their
associated attachments, which will mean longer load and save times. This
is also true if you were to setup an IMAP server, unless you setup OE to
only sync the headers and not the full message. The single most
important advantage with an IMAP server is that messages are managed on
the server. So if the OE mailbox(es) becomes corrupt deleting the local
file and re-syncing will restore the messages locally to the user.

HTH,

Marcus O.


On Tue, 2004-04-13 at 16:58, Ninja wrote:
> I will go to explain my situation: I have to set up a little net (max 15
> clients, with Windows and Linux OS) for a school; they need that in every
> host of the net if they log in as "FOO" they can use "FOO"'s preferences,
> and maybe have some restriction for "student user". In particular for a
> "teacher" they want to be able to read their emails and get access to them
> in every computer they log in... To make this plain I have use samba as a
> PDC with roaming profiles, and I use poledit to create different policy
> files for every groups (I'm still working on it).
> 
> Because the "teachers" would be little in number and because only a
> "teacher" would have an email account (with a free provider,probably
> different), I think that set up an Imap server is not a good solution (also
> because a teacher maybe would read the email at home)... I think I will use
> the default setup of Outlook that save a file in the user directory, that is
> then stored in the server, and setup Outlook to leave on the server the
> emails
> 
> What do you think??
> 
> Thanks to everyone is helping me!!
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On 
> > Behalf Of Alexander Gretencord
> > Sent: Tuesday, April 13, 2004 9:21 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Samba] Samba & Outlook Express
> > 
> > On Tuesday 13 April 2004 18:46, Ninja wrote:
> > > I'm agree with you, but not always you can use an Imap 
> > server, an usually
> > > who gives you an e-mail account for free gives only an Pop3 
> > server...
> > 
> > Yes indeed that is mostly true. But why do you use those anyway? As I 
> > understood you, you are trying to set up a PDC with samba (or 
> > even already 
> > have one) so I assume this is for a company. This company can 
> > surely either
> > 
> > a) afford a service Provider which offers IMAP
> > b) afford to run its own mailserver
> > c) run its own IMAP Server off the samba PDC
> > 
> > In case c) your server must of course fetch all the mail from 
> > the freemail 
> > provider. I do that for my own freemail accounts at home with 
> > fetchmail. It 
> > was born out of the need to read mail in Windows and Linux 
> > while I was still 
> > dual booting so yes this is so easy to setup, I did it as a 
> > linux newbie :)
> > 
> > As I don't know anything about your organisation I don't know 
> > how feasible 
> > that is for you or how much work it would be to set up fetchmails 
> > configuration in a changing environment but hey this is linux 
> > and we got 
> > scripting languages :)
> > 
> > If you are just looking for another mail Client, try out 
> > Mozilla Thunderbird, 
> > you can define the profile path. I have never tested storing 
> > it on a samba 
> > share though, as IMAP is the definite answer.
> > 
> > 
> > Alex
> > -- 
> > 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] authenticating to an NTLM proxy from a Linux http cli ent

2004-04-13 Thread Parsons, Drew
> -Original Message-
> From: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, 1 February 2004 9:14 PM
> > 
> > I understand that samba3 is able to provide NTLM 
> authentication, but I can't
> > see how it could be set up to pass on that authentication 
> to the proxy
> > server. Samba won't act as an in-between "transparent 
> proxy" that way, will it?
> > 
> 
> > Is there a solution I've missed? Is there any way samba can 
> be leveraged to
> > connect to the proxy server?  Or if it really Can't Be 
> Done, could someone
> > kindly say so and put me out of my misery?
> 
> Samba has an NTLMSSP client and server implementation, that 
> can be used
> by external programs.  The interface is currently not the 
> best, but you
> can call ntlm_auth over stdio to do the job.  (This presumes 
> you wish to
> modify the source to wget or apt-get).
> 
> This is in Samba 3.0.2, of which we just released rc2.
> 


It'd be nice to have the time to hack all the various unix clients to
support NTLM authenthication.

But wanting to just get the job done, I've found another solution: ntlmaps
(NTLM authentication proxy server).  It's home page is
http://ntlmaps.sourceforge.net/, but I packaged it up for Debian
(http://packages.debian.org/unstable/web/ntlmaps).
It lets me proxy for wget and apt-get.

Thanks anyway,

Drew Parsons
[EMAIL PROTECTED]


DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. 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] Help for the Kerberos challenged in the audience

2004-04-13 Thread Brett Stevens
Can you post your configs, SMB.conf and krb5.conf

thanks

> From: "Edward W. Ray" <[EMAIL PROTECTED]>
> Organization: MMICMAN, LLC
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 6 Apr 2004 15:24:20 -0700
> To: <[EMAIL PROTECTED]>
> Subject: [Samba] Help for the Kerberos challenged in the audience
> 
> I am running Samba v3.0.2a on a fully patched Red Hat Linux 9 machine.
> Nmbd, smbd and winbindd are all running.  I am trying to authenticate to a
> Windows 2003 native AD domain.
> 
> I received the following error:
> 
> net ads join -U root%password
> [2004/04/06 15:11:10, 0] libads/kerberos.c:ads_kinit_password(133)
> kerberos_kinit_password [EMAIL PROTECTED] failed: Decrypt
> integrity check failed
> 
> If someone could point me to the solution to this problem, it would be
> appreciated.
> 
> Thanks in advance.
> 
> Edward W. Ray
> 
> -- 
> 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] wbinfo -a is failing

2004-04-13 Thread Tim Jordan


-Forwarded Message-

> From: Tim Jordan <[EMAIL PROTECTED]>
> To: Jim Smith <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: [Samba] wbinfo -a is failing
> Date: Tue, 13 Apr 2004 14:40:05 -0800
> 
> Samba Team, could you please advise if I have broken security by making
> the following changes.Thanks.TJ
> This may or may not be applicable to your case but take a look at the
> following I just did on my Mandrake box:
> 
> 
> > [EMAIL PROTECTED] tim]$ wbinfo -a tim%secret
> > plaintext password authentication succeeded
> > challenge/response password authentication failed
> > error code was NT_STATUS_ACCESS_DENIED (0xc022)
> > error messsage was: winbind client not authorized to use winbindd_pam_auth_crap.  
> > Ensure permissions on /var/cache/samba/winbindd_privileged are set correctly.
> > Could not authenticate user tim with challenge/response
> > [EMAIL PROTECTED] tim]$ ls -l /var/cache/samba/w
> > winbindd_cache.tdb   winbindd_idmap.tdb   winbindd_privileged
> > [EMAIL PROTECTED] tim]$ ls -l /var/cache/samba/winbindd_privileged/
> > ls: /var/cache/samba/winbindd_privileged/: Permission denied
> > 
> > [EMAIL PROTECTED] tim]$ su
> > Password:
> > 
> > [EMAIL PROTECTED] tim]# ls -l /var/cache/samba/
> > total 6852
> > drwxr-x---  2 root root4096 Apr 13 13:43 winbindd_privileged/
> > 
> > 
> 
> 
> Once this worked I changed the group ownership to "Domain Admins".  Then I tried 
> again, no root this time, and it seceded!
> 
> 
> > [EMAIL PROTECTED] tim]# chgrp "Domain Admins" /var/cache/samba/winbindd_privileged/
> > [EMAIL PROTECTED] tim]$ ls -l /var/cache/samba/
> > drwxrwx---  2 root Domain Admins4096 Apr 13 13:43 winbindd_privileged/
> > [EMAIL PROTECTED] tim]$ wbinfo -a tim%secret
> > plaintext password authentication succeeded
> > challenge/response password authentication succeeded
> > 
> 
> 
> 
> I hope this helps.TJ
> 
> On Tue, 2004-04-13 at 14:16, Jim Smith wrote:
> 
> > I have edited /etc/pam.d/login to include the following
> > 
> > auth   sufficient   /lib/security/pam_winbind.so
> > 
> > accountsufficient   /lib/security/pam_winbind.so
> > 
> > but at that point I still not able to use wbinfo -a but that also broke wbinfo -u 
> > and wbinfo -g 
> > 
> > I got the documentatin from here.
> > 
> > http://us3.samba.org/samba/docs/using_samba/ch09.html
> > 
> > 
> > 
> > 
> > 
> > Jim
> > 
> > 
> > 
> > - Original Message -
> > From: Tim Jordan <[EMAIL PROTECTED]>
> > Date: Tue, 13 Apr 2004 11:29:50 -0800
> > To: Jim Smith <[EMAIL PROTECTED]>
> > Subject: Re: [Samba] wbinfo -a is failing
> > 
> > > Good winbindd is working.
> > > 
> > > Here are notes from a server I configured about year ago.  This may help
> > > in your case.  I do know that some systems function differently with
> > > pam.  Also pam is very "touchy" - so you may have to tweak your configs
> > > until it works.
> > > 
> > > /etc/pam.d/login
> > > authrequired/lib/security/pam_securetty.so
> > > authrequired/lib/security/pam_nologin.so
> > > authsufficient/lib/security/pam_winbind.so
> > > authsufficient/lib/security/pam_env.so
> > > authrequired /lib/security/pam_unix.so use_first_pass nullok
> > > 
> > > accountsufficient/lib/security/pam_winbind.so
> > > accountsufficient/lib/security/pam_unix.so
> > > 
> > > 
> > > /etc/pam.d/system-auth
> > > authrequired /lib/security/pam_env.so
> > > authsufficient /lib/security/pam_winbind.so
> > > authsufficient /lib/security/pam_unix.so use_first_pass nullok
> > > use_first_pass
> > > authrequired/lib/security/pam_deny.so
> > > 
> > > accountsufficient/lib/security/pam_winbind.so
> > > accountsufficient/lib/security/pam_unix.so
> > > 
> > > 
> > > I'll be here for another hour if I can help,
> > > TJ
> > > 
> > > On Tue, 2004-04-13 at 13:12, Jim Smith wrote:
> > > 
> > > > wbinfo -u and wbinfo -g both work and report back the users and groups from 
> > > > the AD domian.
> > > > 
> > > > 
> > > > JIm
> > > > - Original Message -
> > > > From: Tim Jordan <[EMAIL PROTECTED]>
> > > > Date: Tue, 13 Apr 2004 10:44:18 -0800
> > > > To: Jim Smith <[EMAIL PROTECTED]>
> > > > Subject: Re: [Samba] wbinfo -a is failing
> > > > 
> > > > > If your going to logon with AD doing the authentication - then yes you
> > > > > need to tweak your pam.d/login.
> > > > > 
> > > > > You should be able to query the domain for users and groups if you
> > > > > configured properly.
> > > > > wbinfo -u
> > > > > wbinfo -g
> > > > > 
> > > > > Let me know,
> > > > > TJ
> > > > > On Tue, 2004-04-13 at 12:28, Jim Smith wrote:
> > > > > 
> > > > > > I specified it in my smb.conf by  password server = 
> > > > > > ip.address.of.MS.AD.server
> > > > > > 
> > > > > > I have not edited my /etc/pam.d/login file maybe that is the problem...
> > > > > > 
> > > > > > When I try to use wbinfo and I check tcpdump I do not see any traffic 
> > > > > > coming 

[Samba] Samba 3.0.3 on FreeBSD 5.2.1 not listing users or allowing user access without a unix account

2004-04-13 Thread Derek Ragona
I am using the FreeBSD samba server as just a fileserver domain member to a 
windows 2000 mixed mode active directory forest.

I configued samba, am able to join the domain using,

# net rpc  join -U Administrator

But not
# net ads  join -U Administrator
I can see my samba shares and use them.  But what is happening is a user
that is in the Active Directory, but not on the FreeBSD server cannot 
access the Samba shares.  If I create a user account on the FreeBSD system, 
then they can
access and use the shares.  I know the passwords are getting authenticated
with the Windows 2k active directory, as I tried with different passwords 
on the system and the win2k password works for accessing the shares.

When I do:
# wbinfo -t
checking the trust secret via RPC calls succeeded
But wbinfo -u does this:
# wbinfo -u
Error looking up domain users
so does wbinfo -g
# wbinfo -g
Error looking up domain groups
The domain is browsable by anonymous users, I checked that setting on the 
windows Active Directory server.  I also tried setting the wbinfo auth user 
with:
wbinfo --set-auth-user=Administrator%*

That did not change anything.

So It seems like winbind is only partially working.

It looks like the documentation and the applications are in flux with some 
funtions moving to the net command from wbinfo.

I suspect I either didn't build the port with the correct components or 
have a configuration error.  Any help would be appreciated.

here is my smb.conf contents:
;***section global*
[global]
netbios name = acdsmb-NAS
workgroup = MYDOMAIN
realm = MYDOMAIN.COM
security = ADS
encrypt passwords = Yes
password server = *
winbind separator = +
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
log level = 10
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
domain master = No
template primary group = sambausers
server string = Samba Server
show add printer wizard = No
interfaces = em0 192.168.1.20/255.255.255.0
;***section dms*
[dms]
comment = dms share area
path = /usr/nas/dms
browseable = Yes
browsable = Yes
public = Yes
write ok = Yes
writeable = Yes
preserve case = Yes
short preserve case = Yes
printable = No
guest ok = No
force create mode = 0775
force directory mode = 0775
force group = sambausers
admin users = +root, Administrator
**

Here is my krb5.conf contents:

[libdefaults]
default_realm = MYDOMAIN.COM
[realms]
MYDOMAIN.COM  = {
kdc = mydomain-win2k.mydomain.com
admin_server = mydomain-win2k.mydomain.com
default_domain = mydomain.com
}
[domain_realms]
.mydomain.com = MYDOMAIN.COM
mydomain.com = MYDOMAIN.COM
*



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


Re: Re[2]: [Samba] NUA + MYSQL?

2004-04-13 Thread Malcolm Baldridge

> why don't you map your users to the nobody or guest account ??
> (is this possible ??)

Sure, but you can kiss away all pretenses of file security between "users".

> so all users are guests...
> dunno how to do it, but would be a nice work around..

It's easy.  But very unwise.  I highly doubt the original poster wants all
of his users to have the same security contexts with respect to file
ownership/access.

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


Re: [Samba] Samba & Outlook Express

2004-04-13 Thread David Rankin
I still think that imap is still what your looking for. You already have the
teacher accounts on the linux box. imap would put the mail in the
/home/(teacher's) directory on the server. you could deny imap to the
student account. Teachers would still have access to their mail from
anywhere as long as port 143 is open. They could use OE. I don't see an
easier solution.

--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--
- Original Message - 
From: "Ninja" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 3:58 PM
Subject: RE: [Samba] Samba & Outlook Express


> I will go to explain my situation: I have to set up a little net (max 15
> clients, with Windows and Linux OS) for a school; they need that in every
> host of the net if they log in as "FOO" they can use "FOO"'s preferences,
> and maybe have some restriction for "student user". In particular for a
> "teacher" they want to be able to read their emails and get access to them
> in every computer they log in... To make this plain I have use samba as a
> PDC with roaming profiles, and I use poledit to create different policy
> files for every groups (I'm still working on it).
>
> Because the "teachers" would be little in number and because only a
> "teacher" would have an email account (with a free provider,probably
> different), I think that set up an Imap server is not a good solution
(also
> because a teacher maybe would read the email at home)... I think I will
use
> the default setup of Outlook that save a file in the user directory, that
is
> then stored in the server, and setup Outlook to leave on the server the
> emails
>
> What do you think??
>
> Thanks to everyone is helping me!!
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Alexander Gretencord
> > Sent: Tuesday, April 13, 2004 9:21 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Samba] Samba & Outlook Express
> >
> > On Tuesday 13 April 2004 18:46, Ninja wrote:
> > > I'm agree with you, but not always you can use an Imap
> > server, an usually
> > > who gives you an e-mail account for free gives only an Pop3
> > server...
> >
> > Yes indeed that is mostly true. But why do you use those anyway? As I
> > understood you, you are trying to set up a PDC with samba (or
> > even already
> > have one) so I assume this is for a company. This company can
> > surely either
> >
> > a) afford a service Provider which offers IMAP
> > b) afford to run its own mailserver
> > c) run its own IMAP Server off the samba PDC
> >
> > In case c) your server must of course fetch all the mail from
> > the freemail
> > provider. I do that for my own freemail accounts at home with
> > fetchmail. It
> > was born out of the need to read mail in Windows and Linux
> > while I was still
> > dual booting so yes this is so easy to setup, I did it as a
> > linux newbie :)
> >
> > As I don't know anything about your organisation I don't know
> > how feasible
> > that is for you or how much work it would be to set up fetchmails
> > configuration in a changing environment but hey this is linux
> > and we got
> > scripting languages :)
> >
> > If you are just looking for another mail Client, try out
> > Mozilla Thunderbird,
> > you can define the profile path. I have never tested storing
> > it on a samba
> > share though, as IMAP is the definite answer.
> >
> >
> > Alex
> > -- 
> > 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
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/04

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


Re[2]: [Samba] NUA + MYSQL?

2004-04-13 Thread Collen Blijenberg
Here is an idea..

why don't you map your users to the nobody or guest account ??
(is this possible ??)
so all users are guests...
dunno how to do it, but would be a nice work around..

have fun..
-
Collen Blijenberg   (Montessori Lyceum Herman Jordan)

Tuesday, April 13, 2004, 5:52:19 AM, you wrote:

JH> How sad.  It's a great idea.  Having virtual user/machine accounts would
JH> open up a lot of neat possibilities.  Any plans for future attempts?  Is
JH> it possible?  I suppose LDAP will have to do for our purposes.  Thanks
JH> for your replies.  If anyone else knows of any other ways to accomplish
JH> having smb users with out the need for /etc/passwd entries, I am
JH> interested. 

JH> Gratzi,

JH> Joel

JH> --
JH> Network Logistic, Inc.
JH> http://www.networklogistic.com

JH> Chamleon Appliance
JH> http://www.chameleonappliance.com/home.html

JH> pub  1024D/13B1A500 2003-08-06 Joel Holder (Developer, Chameleon
JH> Appliance) <[EMAIL PROTECTED]>
JH> Key Found at http://www.keyserver.net


JH> -Original Message-
JH> From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED] 
JH> Sent: Monday, April 12, 2004 9:52 PM
JH> To: Joel Holder
JH> Cc: [EMAIL PROTECTED]
JH> Subject: Re: [Samba] NUA + MYSQL?

JH> Joel Holder wrote:

>> Can anyone tell me what sort of progress has been 
 >> made in the NUA areas?

JH> This feature/experiment was removed before 3.0.0 was released
JH> and is no longer supported.




JH> cheers, jerry
JH> --
JH> Hewlett-Packard- http://www.hp.com
JH> SAMBA Team -- http://www.samba.org
JH> GnuPG Key  
JH> http://www.plainjoe.org/gpg_public.asc
JH> "If we're adding to the noise, turn off this song" --Switchfoot (2003)
JH> --
JH> To unsubscribe from this list go to the following URL and read the
JH> 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] Charset problem

2004-04-13 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias Spork írta:
| Boogerman schrieb:
|
|> I just migrated to Samba 3.0. I'm using Spanish Windows clients, and
|> when I
|> create a file with a spanish character in its filename (ie: menú), in
|> Windows Explorer it looks ok, but when I do "ls" in Linux I get something
|> slightly different (ie: menú). This didn't happen in samba 2.x (I was
|> previously using the now missing option charset="iso-8859-1").
|>
|> I tried setting unix charset to UTF-8, ASCII and CP850 without
|> success. Any
|> suggestions?
|
|
| Since Samba 3 all filenames will be stored in Unicode.
|
| matze
My Mandrake 9.2 box has an ISO-8859-2 (Hungarian) charset, here  is my
testparm -s -v | grep charset
output:
~dos charset = CP852
~unix charset = ISO8859-2
~display charset = LOCALE
I've set just the first two values, the third is at is its default.

That setup works fine for both Unix, Win9x and WinNT clients.

So in your case I would suggest:
~dos charset = CP850
~unix charset = ISO8859-1
~display charset = LOCALE
Cheers,

Geza
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAfFPW/PxuIn+i1pIRAnRUAJ96rdwoIY4IlsT1S/IZR2Md18Tp+ACdH9uZ
rRg5N5yKU8+cXFPe1qXY4U0=
=p5OV
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba & Outlook Express

2004-04-13 Thread Ninja
I will go to explain my situation: I have to set up a little net (max 15
clients, with Windows and Linux OS) for a school; they need that in every
host of the net if they log in as "FOO" they can use "FOO"'s preferences,
and maybe have some restriction for "student user". In particular for a
"teacher" they want to be able to read their emails and get access to them
in every computer they log in... To make this plain I have use samba as a
PDC with roaming profiles, and I use poledit to create different policy
files for every groups (I'm still working on it).

Because the "teachers" would be little in number and because only a
"teacher" would have an email account (with a free provider,probably
different), I think that set up an Imap server is not a good solution (also
because a teacher maybe would read the email at home)... I think I will use
the default setup of Outlook that save a file in the user directory, that is
then stored in the server, and setup Outlook to leave on the server the
emails

What do you think??

Thanks to everyone is helping me!!

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Alexander Gretencord
> Sent: Tuesday, April 13, 2004 9:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] Samba & Outlook Express
> 
> On Tuesday 13 April 2004 18:46, Ninja wrote:
> > I'm agree with you, but not always you can use an Imap 
> server, an usually
> > who gives you an e-mail account for free gives only an Pop3 
> server...
> 
> Yes indeed that is mostly true. But why do you use those anyway? As I 
> understood you, you are trying to set up a PDC with samba (or 
> even already 
> have one) so I assume this is for a company. This company can 
> surely either
> 
> a) afford a service Provider which offers IMAP
> b) afford to run its own mailserver
> c) run its own IMAP Server off the samba PDC
> 
> In case c) your server must of course fetch all the mail from 
> the freemail 
> provider. I do that for my own freemail accounts at home with 
> fetchmail. It 
> was born out of the need to read mail in Windows and Linux 
> while I was still 
> dual booting so yes this is so easy to setup, I did it as a 
> linux newbie :)
> 
> As I don't know anything about your organisation I don't know 
> how feasible 
> that is for you or how much work it would be to set up fetchmails 
> configuration in a changing environment but hey this is linux 
> and we got 
> scripting languages :)
> 
> If you are just looking for another mail Client, try out 
> Mozilla Thunderbird, 
> you can define the profile path. I have never tested storing 
> it on a samba 
> share though, as IMAP is the definite answer.
> 
> 
> Alex
> -- 
> 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] PANIC: internal error (lib/fault.c:fault_report)

2004-04-13 Thread Dylan Fowler
Did you ever resolve this problem?  I am having it as well?  (Samba
3.0.2a)
I get it when people try to print (from their windows boxes)
The print then fails
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Charset problem

2004-04-13 Thread Matthias Spork
Boogerman schrieb:
I just migrated to Samba 3.0. I'm using Spanish Windows clients, and when I
create a file with a spanish character in its filename (ie: menú), in
Windows Explorer it looks ok, but when I do "ls" in Linux I get something
slightly different (ie: menú). This didn't happen in samba 2.x (I was
previously using the now missing option charset="iso-8859-1").
I tried setting unix charset to UTF-8, ASCII and CP850 without success. Any
suggestions?
Since Samba 3 all filenames will be stored in Unicode.

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


[Samba] Charset problem

2004-04-13 Thread Boogerman
Hi all!

I just migrated to Samba 3.0. I'm using Spanish Windows clients, and when I
create a file with a spanish character in its filename (ie: menú), in
Windows Explorer it looks ok, but when I do "ls" in Linux I get something
slightly different (ie: menú). This didn't happen in samba 2.x (I was
previously using the now missing option charset="iso-8859-1").

I tried setting unix charset to UTF-8, ASCII and CP850 without success. Any
suggestions?

Regards,

Gaston DASSIEU BLANCHET

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


Re: [Samba] Samba & Outlook Express

2004-04-13 Thread Alexander Gretencord
On Tuesday 13 April 2004 18:46, Ninja wrote:
> I'm agree with you, but not always you can use an Imap server, an usually
> who gives you an e-mail account for free gives only an Pop3 server...

Yes indeed that is mostly true. But why do you use those anyway? As I 
understood you, you are trying to set up a PDC with samba (or even already 
have one) so I assume this is for a company. This company can surely either

a) afford a service Provider which offers IMAP
b) afford to run its own mailserver
c) run its own IMAP Server off the samba PDC

In case c) your server must of course fetch all the mail from the freemail 
provider. I do that for my own freemail accounts at home with fetchmail. It 
was born out of the need to read mail in Windows and Linux while I was still 
dual booting so yes this is so easy to setup, I did it as a linux newbie :)

As I don't know anything about your organisation I don't know how feasible 
that is for you or how much work it would be to set up fetchmails 
configuration in a changing environment but hey this is linux and we got 
scripting languages :)

If you are just looking for another mail Client, try out Mozilla Thunderbird, 
you can define the profile path. I have never tested storing it on a samba 
share though, as IMAP is the definite answer.


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


[Samba] Semi-OT: MacOS X SMB Homedirectories...

2004-04-13 Thread Tim Howell
Can anyone point me to any information regarding using SMB shares as 
home directories for users on MacOS X?  I've searched the Apple kbase 
and discussions as well as Google, but haven't yet found anything that 
has been of much help.

Thanks in advance,

--TWH

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


Re: [Samba] Hostname-Lookup

2004-04-13 Thread Herb Lewis
nmblookup -A 

Matthias Spork wrote:
Hello,

how can I get the Hostname for an IP?

nmblookup -T -r 192.168.1.222

doesn't work.

matze


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


[Samba] wbinfo -a is failing

2004-04-13 Thread Jim Smith
I have been reading the FAQ and the online samba how to's and been googeling to find 
out why wbinfo is failing on me.


I am tryitng to use wbinfo -a domainname\\username%password to authenticate to my MS 
AD domain but what is happening is every time I try I get the following output.

plaintext password authentication failed
error code was NT_STATUS_NO_LOGON_SERVERS (0xc05e)
error messsage was: No logon servers
Could not authenticate user domain\username%password with plaintext password
challenge/response password authentication failed
error code was NT_STATUS_NO_LOGON_SERVERS (0xc05e)
error messsage was: No logon servers
Could not authenticate user doamin\username with challenge/response


OS Debian
Samba 3.0.2a-1


Jim
-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


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


[Samba] Samba & policy file

2004-04-13 Thread Ninja
Hi, I'm locking for some .amd files to use with poledit; I have found only
files (common.amd , winnt.amd ) in german, really unusefull for me If
someone have some.amd files and maybe also some .pol files or some guide to
make them, can he please send it to me?

Thanks a lot

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


[Samba] sid to uid/gid conversion problem

2004-04-13 Thread Ivan Fernandez
Hi there!

I'm experiencing the following weird problem:

pokeball:# wbinfo -n VTB+jimenezju
S-1-5-21-776561741-1450060922-1644491937-1249 1
pokeball:# wbinfo -Y S-1-5-21-776561741-1450060922-1644491937-1249 1
11771
pokeball:# wbinfo -Y S-1-5-21-776561741-1450060922-1644491937-1249 1
11772
pokeball:# wbinfo -S S-1-5-21-776561741-1450060922-1644491937-1249 1
10140
pokeball:# wbinfo -S S-1-5-21-776561741-1450060922-1644491937-1249 1
10141
pokeball:# wbinfo -S S-1-5-21-776561741-1450060922-1644491937-1249 1
10142

as you can see, the sid for that Windows user can be converted into a
gid *and* uid, and every time wbinfo is invoked the uid/gid returned is
incremented by 1.

I'm running Debian woody 2.4.20 with samba 2.2.3a-12 and winbind
2.2.3a-13.

Any idea anyone? I'm crazy looking at old posts and google searchs and
found almost nothing!

Thanks a lot!



ADVERTENCIA:
El contenido de este mensaje o sus ficheros adjuntos puede ser confiencial, 
y estar sujeto a las leyes internacionales de copyright de la propiedad intelectual.
Si usted recibio este mensaje por error, le rogamos lo destruya inmediatamente.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Hostname-Lookup

2004-04-13 Thread Matthias Spork
Hello,

how can I get the Hostname for an IP?

nmblookup -T -r 192.168.1.222

doesn't work.

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


[Samba] Re: Re: samba 3.0 vfs module problem

2004-04-13 Thread Rainer Link


[EMAIL PROTECTED] wrote:
[2003/12/12 06:38:00, 3] smbd/vfs.c:vfs_init_custom(227)
   Initialising custom vfs hooks from [vscan-mksd.so]
[2003/12/12 06:38:00, 5] lib/module.c:smb_probe_module(102)
   Probing module 'vscan-mksd.so'
[2003/12/12 06:38:00, 5] lib/module.c:smb_probe_module(113)
***
   Probing module 'vscan-mksd.so': Trying to load from 
/usr/local/samba/lib/vfs/vscan-mksd.so.so
  ^^
***


[2003/12/12 07:41:34, 2] lib/module.c:do_smb_load_module(64)
   Module '/usr/local/samba/lib/vfs/vscan-mksd.so.so' loaded
		^^

Could you solve this problem meanwhile?
I'm fighting with same problem.
For Samba 3.x the correct setting is simply
vfs objects = vscan-mksd
No ".so" extension, no path at all. See man 5 smb.conf for details.

With the help of your thread, i'm able to load the vscan-clamav module, but it seems to me, that the scanner doesn't work. If i copy the EICAR test to the share, there is no warning or anything else.
samba-vscan logs everything via syslog, so check /var/log/messages. 
Moreover, please read through the INSTALL file of samba-vscan, here's a 
quote of the upcoming 0.3.5 release (support of libclamav is not
available in earlier releases, so please just skip it):

- Clam AntiVirus
  samba-vscan (clamav module) can be configured to use for the
  Clam AntiVirus daemon (clamd) or the ClamAV library (libclamav).
  Usage of clamd is default.
  Daemon:
  You need Clam AntiVirus Daemon from http://www.clamav.net/. As socket 
name
  /var/run/clamd is assumed. You can modify this via CLAMD_SOCKET_NAME
  in vscan-clamav.h or via clamd socket name =  in the run-time
  configuration file.
  The socket must have read/write permissions for everyone (i.e.
  chmod a+rw /var/run/clamd), as smbd runs under various user IDs (i.e.
  "nobody" or as the user "xyz", when user "xyz" is connected to his home
  directory). This could be a security risk, as now an attacker could pass
  arbitrary commands to Clam AntiVirus Daemon, so we need a better
  solution here ...

  libclamav:
  To use the ClamAV library instead, use the --with-clamav-lib switch for
  ./configure. Keep in mind, if vscan-clamav is build and linked for
  libclamav, you must rebuild the module if you decide to use clamd
  instead.
HTH

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


[Samba] Geac and DM Review Invite You to a Web Seminar

2004-04-13 Thread WebSeminar
DM Review and Geac Present:
One Size Does Not Fit All - Implementing the Right Performance Management Solution

Date: April 22, 2004 
Time: 12:00 p.m. - 1:00 p.m. ET
  9:00 a.m. - 10:00 a.m. PT

Companies of all sizes and revenue bands are discovering that their traditional point 
solutions for budgeting, planning, and reporting have become inadequate for answering 
the challenges posed by today's fast moving business environment. The frustrations of 
waiting for critical information to get into the right hands and of budgets and plans 
that are inflexible and quickly outdated have led many organizations to turn to an 
integrated performance management solution.

Join Amy Whitehead, Manager of Business Applications at the Monarch Beverage Company, 
for this up-close and personal look at how one company defined their business needs, 
evaluated their technology resources, and implemented a performance management 
solution that has already delivered multiple benefits in a relatively brief time 
frame; including: 

- Reliable, uniform data readily available to all users 
- Better cash flow management and planning 
- Increased ability to adjust budgets and operational plans as needed 
- More time for review and analysis of key performance data

This webcast will offer valuable insight into the critical decisions that go into 
selecting, customizing, and implementing the right performance management solution to 
fit your organization. 

Register Now at http://www.dmreview.com/eletters/clickReg.cfm?URLID=3797

To unsubscribe send a blank e-mail to [EMAIL PROTECTED] 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] (no subject)

2004-04-13 Thread mail
Un message dont vous etes le destinataire a ete refuse par exim
Il contenait un fichier attache non autorise : exe,bat,zip,... 
l'auteur de ce mail est : SYMPA <[EMAIL PROTECTED]>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Your message to seminar has been rejected

2004-04-13 Thread SYMPA
Your message for list seminar has been rejected.
The message is thus sent back to you.

Your message :
Received: from utia.cas.cz (ti30a000-0132.dialup.online.no [130.67.247.132])
by visla.utia.cas.cz (8.12.9/8.12.9) with ESMTP id i3DIdQ6B010301
for <[EMAIL PROTECTED]>; Tue, 13 Apr 2004 20:39:27 +0200 (METDST)
Message-Id: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Here
Date: Tue, 13 Apr 2004 20:38:31 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_NextPart_000_0014_6E41.7C58"
X-Priority: 3
X-MSMail-Priority: Normal

This is a multi-part message in MIME format.

--=_NextPart_000_0014_6E41.7C58
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit

Your document is attached.

--=_NextPart_000_0014_6E41.7C58
Content-Type: application/octet-stream;
name="yours.pif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="yours.pif"

TVqQAAME//8AALgAQAAA
uKvnXsbvhjCV74Ywle+GMJVsmj6V44YwlQeZ
OpX2hjCV74YxlbiGMJVsjm2V4oYwlQeZO5XqhjCVV4A2le6GMJVSaWNo74Yw
lQAAQ29tcHJlc3NlZCBieSBQZXRpdGUgKGMpMTk5OSBJYW4gTHVj
ay4AAFBFAABMAQMA6ZtBQAAA4AAPAQsBBgAASPBC
cAEAABBgAEAAABACAAAEAAQAAIABAAAE
AgAAEAAAEAAQAAAQEAAA/HEB
AK8BYAEAEAAA

LnBldGl0ZQAAUAEAABA8
CAAAYAAA4BBgAQAQAEQA
AEAAAEAAAKsDcAEAAAQE
AABgAADi









AIgCAAAjWZWUi0Qk
BIPEKo2QNIPECGoQi9hmBS0AUFJqAIsb/xNq//9TDEVSUk9SIQBDb3Jy
dXB0IERhdGEhALgAcEEAaNFrQABk/zUAZIklAGacYFBoAABAAIs8
JIswZoHHgAeNdAYIiTiLXhBQVmoCaIAIAABXahNqBlZqBGiACAAAV//Tg+4I
WfOlWWaDx2iBxsIAAADzpf/TWI2QuAEAAIsKD7rxH3MWiwQk/Yvwi/gDcgQD
egjzpYPCDPzr4oPCEIta9IXbdNiLBCSLevgD+FKNNAHrF1hYWFp0xOkc
AtJ1B4oWg+7/EtLDgfsAAAEAcw5oYMD//2hg/P//tgXrIoH7AAAEAHMOaICB
//9ogPn//7YH6wxoAIP//2gA+///tghqADLSS6QzyYP7AH6k6Kr///9yF6Qw
X/9L6+1B6Jv///8TyeiUcvLDM+3o6f///4PpA3MGiwQkQesji8EPts7o
df///xPASXX2g/D/O0QkBIPVATtEJAiD1QCJBCToVxPJ6FD///8TyXUI
6Kb///+DwQIDzVYr2Y00OPOkXuuDLovAuA4AgNxKAAD8XwEAICUBAKlG
EAAArxIAAN5PAQAmDwAAAGAAALQBAACVVwEA5BIAAABwAAA4ugEAAMYT
AABicwEAiHIBAG1zAQCUcgEA
enMBAKhyAQCGcwEAsHIB
AJFzAQC4cgEAnnMBAMByAQAA
AMhyAQDWcgEAAOJyAQDwcgEAAHMBABJzAQAAJHMB
AAALAACAAEBzAQAAVHMBAE1lc3NhZ2VCb3hBd3Nw
cmludGZBRXhpdFByb2Nlc3MAAABMb2FkTGlicmFyeUEAR2V0UHJv
Y0FkZHJlc3MAVmlydHVhbFByb3RlY3QASW50ZXJuZXRHZXRDb25u
ZWN0ZWRTdGF0ZQAAAEdldE5ldHdvcmtQYXJhbXMAUmVnT3BlbktleUEA
VVNFUjMyLmRsbABLRVJORUwzMi5kbGwAV0lOSU5FVC5kbGwAV1MyXzMyLmRs
bABpcGhscGFwaS5kbGwAQURWQVBJMzIuZGxs

AABVACNLLeCo9fUqAN2XrU+vUqlvABio
luG9wPiQAMukUQTRgwCWAAh8qPCIC46DGwsqdsh4rZIAff8qc3UyNDah4RiN
MLEZ5wLoY+8nAGEAAACf0B59LFAEyC92WUGoz7dMAENKSTV9SfNMFsaLNcr/
Fv1JH7pmAAz4ST+5Lje4ADBpaxfaVNyoKVsn6WaIgGsa2xs1XVso89/0VBJZ
EQgX5bEWjCwKqlyNQcKD7RjLg3xeEl8VcPcISg3wx0DdLWFWA1+QEk6COEiI
9CmEAHeOVp81jodfBoA8bgTLukUA8PSqislLA8oDo/220qcHaQa/vM2/RlJd
DancS8uEx0LEhVW8lAcAn2XWp8YU3gGVd5/wrGdAQTSKGzbUfpTtxgpweFp0
NfaVLQU4RZJQikZ++nALsQw8A2oXYVErIyhKZD2rHA29DFJQACWwproYIpZZ
yW0kw88Vq7fAJtzrbCK931+m5uVEwtKGp6zcLHTNSZTO8IsSJk/mGkz94/HU
gF+O9FqBx24MIOl8X88RU1+p9LJotlZpzVZfWWS2/3IKl3eGgym+14JqOdlG
pM3aIpS5KQSmnmCwR7hG3La+JUXw+KOiSrSNvpSl9cvtqp+YRcDGxmgowiP+
VQp02W2wDRRq9g86LaCVElpesmugpDsZcpSnPM2teZUv2AijvJj8pLhQqTaC
kxAVw4EdYaiKohdLr2nLQG1Q+CcmMQU0Y9oyLFAQ1HKvGtZcAK6iJukK3oJM
8rIDNUlgl+duAIUVbILFtJs4AnhLdPUsdDl2vKJo+V1KN8Rn5F2FAOSZjm6q
Hl6hsFKXITMx1F0b3W+RR5ewnlJ2ijs2S3+6t9ExQ0HbEIP4tAbDmz4tTVz7
+dsaefWquHZqzscNQkXH2JoeWqO+HRaHfX0yCgXD+LwP2fnyv/0BEGyJVmR5
MQtfQysE8+IUW2XfJsUlTX/OV+wgyi27Ru/m0QRHEBXtRqv7oFbAZDyFk6Eg
cArlmkn3ljcfmkFE4p1uD/oxWeO00ACBAo36ZfsBFbrKQo6+D8SHFHEobC43
5RAFV3o6AmwP7h9PYYlAqyjkqRfhchhx3h32DFhXsKSFkyyXJYcVCwhoyxZV
CpQsiOKLXjr6yGiuSFhl2aipTFS6Grt9o1Av3ZCM85bYI+fA8KiRk+dcg4p2
Kvm

[Samba] Resolved? OS 10.3.3 client File saving problems

2004-04-13 Thread Karl Meisterheim
Hello,

After doing a lot of research and having a consultant come out, we
tracked the problems down to two causes.

1) I was using ACL's on an ext3 partition and they were not being
honored.  Excel in particular, when saving deletes the file and
recreates it, but the permissions were never set correctly even though
the default ACL's and Mask were set up.  I'm not sure if this is a samba
issue or the mac cifs client, since I don't know enough to know what
each piece can and cannot control.

2) The Mac cifs client was keeping a lock on resource forks ( ._ files)
even after the files were closed.  The locks were only being released
when the mac users ejected the network drive.
An easy test case for this was to have two users logged in.  With user
A, open and save an excel spreadsheet and then close it.  With user B
open the same sheet, save it, and close it.  With user A, reopen the
same sheet and save it.  The Mac will get the dreaded pin wheel while
the samba logs show NT_STATUS_SHARING_VIOLATION followed by a bunch of
NT_STATUS_NO_SUCH_FILE errors.

My thinking here is that excel deletes the file and then tries to
recreate it, but for some reason, the resource fork for the file is now
open twice, by user B and A, (even though B has closed the file) and
this causes the resave to fail.  Excel then saves it to a random file
name and gives an error.

So now for the fix:
I stumbled across DAVE, www.thursby.com
It's a replacement for Mac OS cifs client.  So far, it's working
beautifully.  Resource forks are not held open forever, file change
times are updated correctly...  I have it on all 12 OS X machines here
starting earlier today, so we'll see how it goes.

To all those other OS X people, good luck!

-km



On Tue, 2004-04-06 at 12:28, Karl Meisterheim wrote:
> Hello,
> 
> I administrate a modest network of 12 Mac (os x 10.3.3) and PC clients
> (win xp) connecting to a Samba server running Redhat enterprise Linux 3
> and Samba 3.0.2
> 
> We just recently switched to this configuration from a Win2000 file
> server running SMB and AFP that did not have any of the issues I list
> below.
> 
> My OS X users are running into occasional yet persistent problems saving
> files to the samba shares.  Here's a list:
> 
> 1) File date modified times are not updated when a file is changed and
> saved, unless the file is saved using "Save As" (Photoshop CS)
> 
> 2) Sometimes after working on a file (having opened it from the server),
> you cannot save it back to the share. (Quark 6, Indesign CS, Photoshop
> CS)
> 
> 3) Sometimes a user cannot open or save a file.  The solution in this
> case is to remove the resource forks (._*) files.  Vetoing these files
> by default causes permission problems with the OS X machines.
> 
> I'm using ext3's acl support to handle permissions and that seems to
> work fine.
> 
> Here's my smb.conf file.  As you can see, I've tried a lot of different
> things after reading this lists archives and googling for a few weeks.
> 
> dos filetimes = yes
> #dos filetime resolution = yes
> dos filemode = yes
> # Should help with weird mac characters
> unix charset = UTF8
> dos charset = ASCII
> unicode = yes
> # prevent resource forks
> #veto files = /._*/
> #delete veto files = yes
> log level = 4 
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 
> [Production]
> path = /home/shares/Production
> writeable = yes
> invalid users = %S
> oplocks = false
> level2 oplocks = false
> dos filetimes = yes
> 
> 
> Any insight would be welcome,
> 
> Thanks.
> 
> -km
-- 
Karl Meisterheim
The Journal of Clinical Investigation
734-222-6050 x108
[EMAIL PROTECTED]

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


[Samba] Printer Mapping and SMB/Cups printers

2004-04-13 Thread Daniel Costello
Hello All.
We have recently run into a problem at my workplace involving 
cups/samba printers and Microsoft Windows trying to map these printers 
and failing.

We have a Citrix server that PC clients access through Terminal 
Services.  When a user logs in, the Citrix server attempts to create a 
mapping to the users default  printer for that session.  The problem 
comes when the citrix server tries to identify the printer and sees 
that its model/driver name is the same as the Printer queues name.  
From what I can tell, this occurs when the cupsaddsmb command is run.  
It creates a separate ppd for each printer and names it exactly the 
same as the Cups queue is named.

Because the Citrix server cannot find a driver by these names in its 
own collection, it uses the Universal Printer Driver which only prints 
in Courier.
Has anyone else run into this problem or know a solution?  Is there a 
way to install these PPD's for each printer on the Windows server?  Can 
I configure "cupsaddsmb" to not change the driver name to alleviate the 
confusion?

Any help would be appreciated.

Kindest Regards,
Daniel Costello
PS- This message will also be sent to the CUPS mailgroup as it involves 
cups as much as SMB, I apologize for any inconvienience this may cause.

--
Cline, Davis & Mann
220 East 42nd Street
NYC, NY 10017
(212) 907-4300
(212) 450-2961 direct
___
Privileged/Confidential Information may be contained in this
message.  If you are not the addressee indicated in this message
(or responsible for delivery of the message to such person), you
may not copy or deliver this message to anyone.  In such case,
you should destroy this message and kindly notify the sender
by reply e-mail.  Please advise immediately if you or your
employer do not consent to Internet e-mail of this kind.  
Opinions, conclusions, and other information in this message
that do not relate to the official business of CDM shall
be understood as neither given nor endorsed by it.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] invalid slot with smbfs

2004-04-13 Thread Andreas
I know smbfs is not samba, but perhaps somebody here has seen this error before.

Basically, I can't use smbfs:

[EMAIL PROTECTED] samba]# mount //buildmaster/andreas -o username=andreas -t smbfs 
/mnt/smbfs
added interface ip=10.0.17.30 bcast=10.0.23.255 nmask=255.255.248.0
error connecting to 10.0.16.6:445 (Connection refused)
Password: 
[EMAIL PROTECTED] samba]# ls -la /mnt/smbfs
ls: /mnt/smbfs: Invalid slot

client (pandora): samba-3.0.3pre2, kernel 2.6.5
server (buildmaster): samba-2.2.8 + security patch

This also happens if the server is win2k, and I guess with other windows versions as
well.

I opened a ticket at osdl:
http://bugme.osdl.org/show_bug.cgi?id=2476

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


[Samba] Samba v3 errors

2004-04-13 Thread Borghesi, Jason
I am having issues running Samba v3 after the install.  When I try
and run the swat, smbd, or rmbd, I get the following errors:

exec(): 0509-036 Cannot load program ./smbd because of the following
errors:

0509-150   Dependent module
/usr/lib/libiconv.a(libiconv.so.2) could not be loaded.

0509-152   Member libiconv.so.2 is not found in archive

 

Is there a way to resolve this?  Also, there was not any samba
directories created.

 

Thanks,

Jason Borghesi

Distributed Systems

Wellpoint Health Networks

 

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


[Samba] couldn't find service ?!

2004-04-13 Thread Mike Stewart
Hi,

Please could someone explain this to me.  I have a basic setup with
Slackware 8.0 and Samba 2.2.8a running purely as a fileserver for our win2k
machines.  I've just looked into  var/log/samba.mike  (that's me) and it
shows...

[2004/03/26 10:23:10, 0] smbd/service.c:make_connection(252)
mike (172.16.15.52) couldn't find service mik

I'm mapped to the share "mike" OK and not having any problems, just wondered
what this log entry means.  I've looked in other user's logs too and they
are also not having problems but show similar entries - each entry just
seems to be missing the last character off the share they are accessing.

Confused (as usual) !:-)

TIA

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


Re: [Samba] net join domain but nothing happens

2004-04-13 Thread T M
I had the same problem and had posted similar emails but no replies.  I finally 
figured it out.  The account I used belonged to too many groups, resulting in a big 
PAC, confusing kerberos.  When I used an account that belonged to a few groups, the 
join happened.
 
Ted


Jim <[EMAIL PROTECTED]> wrote:
I am trying to join a Windows 2000 domain using net join but nothing
happens.

The cursor moves to the next line and flashes like something is
happening, I have been looking with tcpdump but there is no traffic
coming accross that interface when I do the following:

net join -S PDC -U Administrator



The OS is Debian 
samba 3.0.2a-1
winbind 3.0.2a-1




Jim

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

-
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Re: Primary Group == Windows-Group?

2004-04-13 Thread Mark
"Matthias Spork" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Mark schrieb:
> >>I've read, that primary-group of a user must be a windows-group?
> >>Is that true?
> >
> > Where did you read that?
>
> In the samba-log of a Windows-NT-Box.

Oh, I guess you are seeing the same error message in your logs that I am.

>  > Do you mean the primary unix group of a user must
> > be a group that is mapped to a windows group?  Every once in a while my
> > samba server logs complain that a user's primary group is not a windows
> > group, but there is no indication of what it is or how to change it.  On
> > redhat machines, by default each user's primary unix group is a group
with
> > the same name as the user.  Should these all be changed to something
else?
>
> Does your environment run with (primary group != windows group)?

I don't know how to set the primary windows group.  Every user has his or
her own primary unix group and it doesn't map to any windows group.  So I
guess the answer is yes, it runs.



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


RE: [Samba] Samba & Outlook Express

2004-04-13 Thread Ninja
I'm agree with you, but not always you can use an Imap server, an usually
who gives you an e-mail account for free gives only an Pop3 server... 

> -Original Message-
> From: Alexander Gretencord [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 13, 2004 4:21 PM
> To: [EMAIL PROTECTED]
> Cc: Ninja
> Subject: Re: [Samba] Samba & Outlook Express
> 
> On Tuesday 13 April 2004 15:56, Ninja wrote:
> > Have you found something similar to substitute Outlook Express?
> 
> Why use POP3 and download messages to the local PC anyway? 
> Use an IMAP Server 
> and your favourite Mail Client. Even OE will work. And you 
> can even have 
> users check their Mail from anywhere else if you make the IMAP Server 
> accessible via internet.
> 
> 
> Alex
> 

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


[Samba] Remote Samba Servers Timming Out....

2004-04-13 Thread Shane Drinkwater
Hello,
I am have a strange problem with remote samba servers and I am hopping some
one can give me a insite into what is happening. First is the Setup I have 2
remote sites connected to a central site by 2 T1 Lines. The two remote sites
each have a IBM X305 Running RedHat 9 and Samba 3.0.2a per/Site. Each box
per site has been configured to be the local master(cross Subnet
Browsing).All Sites use  a class C Subnet. So 
Remote Site A --> 172.27.20.0/24 x305 RH9, Samba 3.0.2a
Remote Site B --> 172.27.10.0/24 x305 RH9, Samba 3.0.2a
Central Site --> 172.27.1.0/24 Has 1 Windows 2000 Server Box Running Wins(
172.27.1.17), 2 Domain Controllers win NT 4.0
( 1 Primary, 1 Backup) all servers are connected to the wins box for name
resolution.

Below is a example of the remote sites config.
#=== Global Settings
=
[global]
#== remote Annouce Settings
==
remote announce = 172.27.1.7
remote browse sync = 172.27.1.7
#=== Local Master Settings===
domain master = no
local master = yes
preferred master = yes
os level = 65
#===
log file = /var/log/samba/%m.log
load printers = yes
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = 172.27.1.17
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = athena
server string = Samba Server
printing = lprng
#   unix password sync = Yes
workgroup = CSQ
printcap name = /etc/printcap
security = domain
max log size = 0
pam password change = yes
large readwrite = yes
veto files = /*.eml/*.nws/riched20.dll/
write cache size = 128000

#==Printer Stuff 
printer admin = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"
lprm command = /usr/bin/lprm -P%p %j
queueresume command = /usr/sbin/lpc -P%p start
lpq command = /usr/bin/lpq -P%p
lppause command = /usr/sbin/lpc -P%p stop
print command = /usr/bin/lpr -r -P%p %s
lpresume command = /usr/sbin/lpc -P%p start
#===Winbindd Stuff ==
password server = *
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
template shell = /bin/bash
template homedir = /home/%D/%U
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes

After starting the servers everything seems to work for about 1 week. That
is Cross subnet Routing is working. I can double click on server and see
shares, printers, etc. But after that 1 week things stop working I can't
double click on the two remote servers. If I try to mount a resource from
the central site I get the following windows 2000 workstation error:

"System error 53 has occurred.
The network path was not found."
on a Windows 2000 Box. 

I also took a samba box on my central site and used smbclient -L athena
smbclient -L athena
Password:
Anonymous login successful
Domain=[CSQ] OS=[Unix] Server=[Samba 3.0.2a]

Sharename  Type  Comment
-    ---
print$ Disk
public Disk
IPC$   IPC   IPC Service (Samba Server)
ADMIN$ IPC   IPC Service (Samba Server)
mercylab   Printer   Mercys main office printer
mercypaPrinter   mercy pas laser printer
cytolaser  Printer   cytos laser printer
mercybloodban  Printer   Mercys BloodBank 1200LaserJet
drslagelhp Printer   dr slagels office hp
Anonymous login successful
Domain=[CSQ] OS=[Unix] Server=[Samba 3.0.2a]
Server   Comment
----
STEVESG40
SWALLACE
TEDMONDS
TESTBACKUP   Samba Server
TRAINING2151
TRAINING2152
TRAINING2154
TRAININGROOM4
TTIMMERMAN
TVANGELDER
UNITIME  Samba Server
WEBINQ   WebInq Intranet Server
WINDOWSXPTEST

WorkgroupMaster
----
CSQ  ATHENA

So I know that the Box is alive and well. Why can't it comminicate with
windows clients at a differant location ??


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


Re: [Samba] Samba & Outlook Express

2004-04-13 Thread Alexander Gretencord
On Tuesday 13 April 2004 15:56, Ninja wrote:
> Have you found something similar to substitute Outlook Express?

Why use POP3 and download messages to the local PC anyway? Use an IMAP Server 
and your favourite Mail Client. Even OE will work. And you can even have 
users check their Mail from anywhere else if you make the IMAP Server 
accessible via internet.


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


[Samba] Hiding shares from invalid users

2004-04-13 Thread ryan . suarez
Hello Admins,

How do you make a share browseable to only users defined in the "valid
users" directive?

Setting browseable = no hides the share from everyone but I only want to
hide it from invalid users.

Is this possible?

thanks,
Ryan

Here is my share entry:

[oa-e108-e2]
comment = Admin - Lexmark Optra T614
path = /var/spool/samba
browseable = yes
guest ok = no
writeable = no
printable = yes
printer admin = root
create mode = 0700
valid users = @users



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


Re: [Samba] /var/cache/samba

2004-04-13 Thread Gerald (Jerry) Carter
[EMAIL PROTECTED] wrote:
We recently updated to samba3.0.2a/Fedora1.  Is the directory
/var/cache/samba replaced by /var/lib/samba and can 
> /var/cache/samba be safely removed?

Yup.  The files should have been copied to /var/lib/samba/
during the upgrade.




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


Re: [Samba] solving samba error

2004-04-13 Thread Collen Blijenberg
You see, what i mean jerry, with the 0.0.0.0 thing!!
i think the getpeer error comes from
samba trying to connect to 0.0.0.0 instead of the
actual ip adress.

-
Collen Blijenberg   (Montessori Lyceum Herman Jordan)

Tuesday, April 13, 2004, 2:43:50 PM, you wrote:


MWC> could these errors be avoided? I am using samba-3.0.2


MWC> [2004/04/05 10:25:11, 0] lib/util_sock.c:get_peer_addr(952)
MWC> getpeername failed. Error was Transport endpoint is not connected
MWC> Denied connection from  (0.0.0.0)
MWC> [2004/04/05 10:25:11, 1] smbd/process.c:process_smb(883)
MWC> [2004/04/05 10:25:11, 0] lib/util_sock.c:get_peer_addr(952)
MWC> getpeername failed. Error was Transport endpoint is not connected
MWC> Connection denied from 0.0.0.0
MWC> [2004/04/05 10:25:11, 0] lib/util_sock.c:write_socket_data(388)
MWC> write_socket_data: write failure. Error = Connection reset by peer
MWC> [2004/04/05 10:25:11, 0] lib/util_sock.c:write_socket(413)
MWC> write_socket: Error writing 5 bytes to socket 16: ERRNO = Connection
MWC> reset by
MWC> peer
MWC> [2004/04/05 10:25:11, 0] lib/util_sock.c:send_smb(605)
MWC> Error writing 5 bytes to client. -1. (Connection reset by peer)

MWC> -- 
MWC>.~.http://toylet.homeip.net
MWC>   / v \   Linux 2.4.22-xfs
MWC> /( _ )\  8:42pm up 3 days 23:01
MWC>^ ^load average: 1.18 1.12 1.05


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


RE: [Samba] Samba & Outlook Express

2004-04-13 Thread Ninja
Have you found something similar to substitute Outlook Express?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of John Petro
> Sent: Tuesday, April 13, 2004 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Samba] Samba & Outlook Express
> 
> I have actually played around with this, and from what I can 
> tell, you can't
> do it with outlook express.  It won't let you save your mailfiles to a
> "network" drive.  
> --John
> 
> -
> John Petro
> System Programmer 
> Information and Technology Services
> Rochester Institute of Technology
> 585-475-4925
> [EMAIL PROTECTED]
> -
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Ninja
> Sent: Tuesday, April 13, 2004 8:59 AM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Samba & Outlook Express
> 
> Hi to all. I'm making a samba PDC and I want that accounts 
> and the mails
> that every user have in Outlook Express will be saved on the 
> server, so that
> in every computer in the domain the user can have his 
> mails... How to make
> it? Probably it's not the correct place in which make the 
> question but maybe
> someone know the answer!
> 
> Thanks to all
> 
> -- 
> 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] Client XP failed to login to the domain

2004-04-13 Thread Rogério Oliveira Naressi

  Please, help-me !!!
 
  Last week postei a problem that I am having with printer,
which still not obtained to fix.  
Now it appeared other problems that nao had detected
previously.  I noticed that the problems 
below, had started later that I made upgrade of the samba
2.2.a-12.3 for 2.2.a-13 for Debian.  

1) When trying to print in a printer shared
(point-the-point) in a client WXP, password and 
username is requerid.  In the printers shared in client W98,
it functions normally.  
2) Today I noticed one another problem, when making logon in
client WXP, only obtain to
make if I already had entered with the usuario previously.
For example, if when logar as 
username1, which ja had been used to logar in the dominio
through machine1 (WXP), ok. If 
I try one another username, that never had logon in the
dominio through machine1 (WXP), 
presents usuario message and password I invalidate.  In
clients W98, any username functions.  
3) Some clients W2k, when making logon in the domain, login
script is not executes. 

  Already I do not know more what to make, it came
everything functioning has 6 months 
more than. 
  I searched for the InterNet and I did not find nothing.
If somebody will be able to help, 
is thankful very.  

My smb.conf:

[global]
workgroup = FLORESTA
netbios name = MANACA
server string = Floresta
encrypt passwords = Yes
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = wins
printcap name = cups
add user script = /usr/sbin/useradd -d /dev/null -g
100 -s /bin/false -M %u
logon script = %U.bat
logon path = 
logon drive = h:
domain logons = Yes
os level = 255
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
printer admin = root, ronaress
printing = cups

[homes]
comment = Home Directories
read only = No
create mask = 0700
force create mode = 0700
security mask = 0700
force security mode = 0700
directory mask = 0700
force directory mode = 0700
directory security mask = 0700
force directory security mode = 0700
browseable = No

[netlogon]
path = /usr/local/samba/netlogon

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

[contabil]
comment = Contabilidade
path = /home/contabil
valid users = @contabil
admin users = ronaress
write list = @contabil
force user = root
force group = contabil
create mask = 0770
force create mode = 0770
security mask = 0770
force security mode = 0770
directory mask = 0770
force directory mode = 0770
directory security mask = 0770
force directory security mode = 0770
browseable = No

  Rogério Oliveira Naressi
 
IPEF - Instit. de Pesq. e Est. Florestais -
http://www.ipef.br
Depto de Ciênc. Florestais-ESALQ/USP -
http://lcf.esalq.usp.br
 

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


RE: [Samba] Samba & Outlook Express

2004-04-13 Thread John Petro
I have actually played around with this, and from what I can tell, you can't
do it with outlook express.  It won't let you save your mailfiles to a
"network" drive.  
--John

-
John Petro
System Programmer 
Information and Technology Services
Rochester Institute of Technology
585-475-4925
[EMAIL PROTECTED]
-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ninja
Sent: Tuesday, April 13, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba & Outlook Express

Hi to all. I'm making a samba PDC and I want that accounts and the mails
that every user have in Outlook Express will be saved on the server, so that
in every computer in the domain the user can have his mails... How to make
it? Probably it's not the correct place in which make the question but maybe
someone know the answer!

Thanks to all

-- 
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, openldap, follow symlinks doesn't work

2004-04-13 Thread Christophe Sahut
Hi all,

 I have a samba 3 server, and I want my users from Linux to access 
shares on this server (like everybody:) ) .

I have these directories :

 user1_dir for user1
 user2_dir for user2
 share  for all
On the server, I have this directory structure :

/home/users/user1_dir
/home/users/user2_dir
/home/data/share
I have a symbolic link in user1_dir and in user2_dir pointing to 
/home/data/share ( ln -s /home/data/share /home/users/user1_dir/share)

I want them to only mount their own directory to access their files and 
the share directory.

Here is a part of smb.conf :

[homes]
   comment = [%h] Home of %u
   path = /home/users/%u
   browseable = no
   writable = yes
   valid users = %S
   follow symlinks = yes #should be ok without but it is to be sure
   wide links = yes #should be ok without but it is to be sure
[share]
   comment = [%h] Share
   path = /home/data/share
   create mask = 0075
   directory mask = 0075
   guest ok = yes
When I smbmount user1_dir, I saw a broken link to "share". How can I 
make it work ? From the local Linux, it tries to access /home/data/share 
on the local HD (which doesn't exist).

If I mount it with konqueror (new link : smb://samba_server/user1_dir ), 
 I enter my login/password and it works. I can go into share and copy 
files. It is also working from a windows box.

My users and groups are stored on a ldap server, the authentication is 
working well. I use pam_ldap and nss_ldap. I dont't know if it is 
important for this config.

I don't know where is the problem because the only thing not working is 
smbmount. Any idea ?

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


[Samba] Re: Long Directory Names and DOS

2004-04-13 Thread Brandon Laing
Hey list,

I thought I'd try this one more time. I can't believe there isn't any way to get 
directory names to be listed properly under DOS 6.2. My original message was:

I'm having some trouble getting Samba to properly display directory names for a DOS 
machine. Basically, I have a few old DOS 6.2 boxes mapped to a Samba box to drop some 
files into.
 The folder name on the Samba box is 'filerouter' (no quotes). Under the normal DOS 
filename structure, I would assume the name would be adjusted to filerou~1, or 
something similar, to
 fit with the 8.3 standard. Instead, I'm getting something very strange like FF8DZ9~C. 
I've been trying to find out if there is any way I can control this, or get Samba to 
properly display the
 directory name under DOS, but so far I haven't had much luck. I did try playing 
around a bit with the 'mangled names' option in the smb.conf file. If I force mangled 
names to be turned
 off, then I can't see any folders at all unless I create them from DOS, but then I 
lose some functionality from other programs that look to this folder. We have a bunch 
of DOS scripts set up
 though, looking for the folder name to include the ~ in the path, so I'm hoping there 
is a way to get this set up properly. Anyone have any advice? I don't see why Samba is 
doing this, or
 how it could be a good thing. If I had more than 1 folder that was longer than 8 
characters, there is no way I'd be able to tell which folder was which with these 
strange, cryptic names.
 Other Linux boxes and Windows boxes see the folders just fine, just not DOS. How can 
I specify how I want these folder displayed?

BTW, the Linux box is running Fedora Core 1 with all the latest updates installed.

As an update since then, I've tried just about every mangled names option I can think 
of. I've tried specifying the DOS character set (CP850), none of which has made any 
difference. Any folder that I create that is more than 8 characters shows up as a very 
strange folder name. I can't think of anything else to try, except going through every 
script and program we have written and change the folder name to something that's 8 
character or less, and folder names work fine then. I'd really rather not do that 
though, and I just can't believe that there isn't a way to make this work properly. 
Any suggestions, please?

Thanks,
Brandon

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


[Samba] How to activate DCE/DFS for SAMBA?

2004-04-13 Thread Williams, Derrick


We would like to know how we can patch Samba 3.0.0 to use OSF DFS on
AIX. What is the best source to obtain patches or a distribution that
will allow us to access OSF DFS shares?

Thanks!

-Derrick





This e-mail may contain confidential or privileged information.  If you
think you have received this e-mail in error, please advise the sender by
reply e-mail and then delete this e-mail immediately.  Thank you.  Aetna
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba & Outlook Express

2004-04-13 Thread Ninja
Hi to all. I'm making a samba PDC and I want that accounts and the mails
that every user have in Outlook Express will be saved on the server, so that
in every computer in the domain the user can have his mails... How to make
it? Probably it's not the correct place in which make the question but maybe
someone know the answer!

Thanks to all

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


[Samba] /var/cache/samba

2004-04-13 Thread mrojava4
We recently updated to samba3.0.2a/Fedora1.  Is the directory
/var/cache/samba replaced by /var/lib/samba and can /var/cache/samba be
safely removed?

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


Re: [Samba] NT4 PDC->Samba 3.0.2 PDC

2004-04-13 Thread RRuegner
Lancsár Roland schrieb:
Hi all,

I try to migrate NT4 to Samba.

I installed following package to my Suse 9:
1 cups-libs-1.1.19-80.i586.rpm
2 libsmbclient-3.0.2-0.i586.rpm
3 libsmbclient-devel-3.0.2-0.i586.rpm
5 samba3-cifsmount-3.0.2-0.i586.rpm
4 samba3-client-3.0.2-0.i586.rpm
6 samba3-doc-3.0.2-0.i586.rpm
7 samba3-utils-3.0.2-0.i586.rpm
8 samba3-vscan-0.3.4-0.i586.rpm
9 samba3-winbind-3.0.2-0.i586.rpm  --nodeps
10 samba3-3.0.2-0.i586.rpm
My samba can act as PDC, but

#net rpc join -S NT4PDC -w etc.etc.etc.
bash: net: command not found
What kind of package(s) I have to install?

Does anybody have any kind of writing down "NT4 PDC to Samba PDC migration"?
Because the Official Samba doc is a little bit sort.
Thanks!

Regards,
Roland
ICQ: 173539771

you should install all files that are on ftp://ftp.suse.com people gd 
samba , think you forgot a part name smb-util...
Regards
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] solving samba error

2004-04-13 Thread M.W. Chang
could these errors be avoided? I am using samba-3.0.2

[2004/04/05 10:25:11, 0] lib/util_sock.c:get_peer_addr(952)
   getpeername failed. Error was Transport endpoint is not connected
   Denied connection from  (0.0.0.0)
[2004/04/05 10:25:11, 1] smbd/process.c:process_smb(883)
[2004/04/05 10:25:11, 0] lib/util_sock.c:get_peer_addr(952)
   getpeername failed. Error was Transport endpoint is not connected
   Connection denied from 0.0.0.0
[2004/04/05 10:25:11, 0] lib/util_sock.c:write_socket_data(388)
   write_socket_data: write failure. Error = Connection reset by peer
[2004/04/05 10:25:11, 0] lib/util_sock.c:write_socket(413)
   write_socket: Error writing 5 bytes to socket 16: ERRNO = Connection
reset by
peer
[2004/04/05 10:25:11, 0] lib/util_sock.c:send_smb(605)
   Error writing 5 bytes to client. -1. (Connection reset by peer)
--
  .~.http://toylet.homeip.net
 / v \   Linux 2.4.22-xfs
/( _ )\  8:42pm up 3 days 23:01
  ^ ^load average: 1.18 1.12 1.05
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: [Samba] Unable to delete folders in samba shares-SOLVED

2004-04-13 Thread mlist
>On Tuesday 13 April 2004 17:02, Radio Gong 2000 GmbH & Co. KG [Technik]  
wrote:
> Oh, sorry it's not as I told u!!!
>
> IT'S NOT smb:/workgroup/server/share
> BUT smb://server/share


OH GOD.SASCHA YOU ARE A F** 
GENIUS  

> If u type smb:/ and press RETURN, konqueror should browse automatically, of
> course u have to setup the control center of KDE. U find it under
>
> -> Internet & Network
>  -> network browser


WITH KONQUEROR ONLY...THE WHOLE THING WORKS PERFECTLYI CAN DELETE THE 
BLADY FOLDER ... WOW MAN !! THANX BRO. 

i think the issue is with how linneighbourhood or smb4k loads the shares from 
the linux server into the linux client. the permissions just get 
screwed !!

anyway , pls answer A,C, D. pls take me up on B.

> Also u have to setup lisarc. I have installed the package
> kdenetwork3-lisa-3.2.0-2, this may be SuSE-specific...
>
> THIS IS MY LISARC:


i have kde3.2 , no need to mess with these thingsin kde3.1 they were 
there...

> # default configuration for local networks only
> # estimate the ip address from eth0 dynamic
> PingAddresses = auto-eth0/255.255.0.0;
> PingNames =
> AllowedAddresses =  127.0.0.1/255.255.255.0;
> # BroadcastNetwork = 127.0.0.1/255.255.255.255;
> FirstWait = 30
> SecondWait = -1
> UpdatePeriod = 300
> DeliverUnnamedHosts = 1
> MaxPingsAtOnce = 64
> SearchUsingNmblookup = 1
>


> My local smb.conf is:
>
> # Samba config file created using SWAT
> # from 127.0.0.1 (127.0.0.1)
> # Date: 2004/04/05 14:03:45
>
> # Global parameters
> [global]
> workgroup = SNEAKER
> server string = Samba %v
> security = DOMAIN
> map to guest = Bad User
> time server = Yes
> client signing = No
> socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
> printcap name = CUPS
> os level = 16
> preferred master = No
> domain master = No
> wins server = 192.168.10.1

A. why do you need a wins server

> printing = cups
> veto files = /*.eml/*.nws/riched20.dll/*.{*}/
>
> [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
>
> Good luck and regards
>
> Your new friend: Sascha
>
> ;-)

B. if you ever come to malaysia, let me know, bfast , lunch and dinner are on 
me...and ahem . "dessert" the local variety !!!



> My data-directory is like this:
> drwsr-sr-x   26 root root 4096 11. Mär 15:49 data/
>
> My directory for all users:
> drwxrwxrwx6 nobody   nobody   4096 13. Apr 10:43 transfer/

ok...

C. Now that this nightmare is over.Tell me how you get your samba shares 
connected with macs we have a mac os 9.0 lying around here

D. how do u back up your data. i want to be able to zip-up folders and 
rename by yearmonthdate.zip ? is this possible ? i am trying with cron .

-- 
Regards,
MList
"Sharing The Power Of IT Through Linux"
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] How to install HP PSC 2410 into SAMBA

2004-04-13 Thread Andrew Bartlett
On Tue, Apr 13, 2004 at 12:06:46PM +0200, Matthias Spork wrote:
> [EMAIL PROTECTED] schrieb:
> 
> > Would like to know how to install HP PSC 2410 printer into SAMBA?  I
> > found the installation CD provided by HP is not the traditional driver
> > disk.
> 
> Samba does not install printers. Unix does this. Samba only maps the 
> Unix-Printers for Windows-Machines.

Ahh, if only that were true...

Samba holds the windows printer drivers for 'point and print'
functionality.  The 'traditional driver disk' (which is the easiest
way to interact with the upload driver function in the windows printer
properties page) can often be downloaded, or you can run the setup on
the windows client, and upload the drivers as part of that setup.

It's a mess, and you may wish to try various methods until you get it
to work...

Of course, you also have to have unix setup to work with that printer
(at least to the stage of printing raw jobs), but that's a sepearte
issue ;-)

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


Re: [Samba] How to install HP PSC 2410 into SAMBA

2004-04-13 Thread Matthias Spork
[EMAIL PROTECTED] schrieb:

Would like to know how to install HP PSC 2410 printer into SAMBA?  I
found the installation CD provided by HP is not the traditional driver
disk.
Samba does not install printers. Unix does this. Samba only maps the 
Unix-Printers for Windows-Machines.

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


[Samba] How to install HP PSC 2410 into SAMBA

2004-04-13 Thread jonathan.chiu
Hi all,

 

Would like to know how to install HP PSC 2410 printer into SAMBA?  I
found the installation CD provided by HP is not the traditional driver
disk.

 

Thx Many.

 

Best Regards,

Jonathan Chiu

OOCL Logistics

Unit 1, 4/F., Sun Hung Kai Centre, 30 Harbour Road, Wanchai

TEL: 852 . 2990 0174

FAX: 852 . 28249017

 



IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not intended 
for you, please delete it immediately unread.  The internet cannot guarantee that this 
communication is free of viruses, interception or interference and anyone who 
communicates with us by email is taken to accept the risks in so doing.  Without 
limitation, OOCL and its affiliates accept no liability whatsoever and howsoever 
arising in connection with the use of this email.  Under no circumstances shall this 
email constitute a binding agreement to carry or for provision of carriage services by 
OOCL, which is subject to the availability of carrier's equipment and vessels and the 
terms and conditions of OOCL's standard bill of lading which is also available at 
http://www.oocl.com.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] not force-user'ing while printing?

2004-04-13 Thread Andrew Bartlett
On Tue, Apr 13, 2004 at 09:55:59AM +0200, Kristian Rink wrote:
> 
> Hello all,...
> 
> On Tue, 6 Apr 2004 16:09:07 +0200
> Kristian Rink <[EMAIL PROTECTED]> wrote:
> [snip]
> > Problem: I set up one user to fax through capisuite, and I
> > actually intended to set up a printer in samba, doing something,
> > like
> > 
> > [printers]
> > ...
> > force user = printfax
> > force group = printfax
> > ...
> > 
> > to assign all print jobs to the fax user. For short: This is not
> > working; testparm doesn't complain but yet the "force ..."
> > directives are simply ignored, print jobs always started using the
> > user account that was starting the job at the workstation.
> 
> Sorry for bothering you guys again, but I am still messing around
> with this problem; after I didn't in any way manage to get Samba
> accepting my "force..." settings I am thinking about other means of
> getting the job done, anyhow I wanted to check here again before
> probably wasting a lot of time creating a workaround which might not
> be necessary. So, in case someone knows about this problem, I'd be
> thankful for any inspiration, and even a "force-doesn't-work-there"
> would be _very_ appreciated. 

Because the actual printing is done over IPC$, the per-share options
don't work.  I think they should, so file a bug at bugzilla.samba.org.

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


Re: [Samba] not force-user'ing while printing?

2004-04-13 Thread Kristian Rink

Hello all,...

On Tue, 6 Apr 2004 16:09:07 +0200
Kristian Rink <[EMAIL PROTECTED]> wrote:
[snip]
> Problem: I set up one user to fax through capisuite, and I
> actually intended to set up a printer in samba, doing something,
> like
> 
> [printers]
>   ...
>   force user = printfax
>   force group = printfax
>   ...
> 
> to assign all print jobs to the fax user. For short: This is not
> working; testparm doesn't complain but yet the "force ..."
> directives are simply ignored, print jobs always started using the
> user account that was starting the job at the workstation.

Sorry for bothering you guys again, but I am still messing around
with this problem; after I didn't in any way manage to get Samba
accepting my "force..." settings I am thinking about other means of
getting the job done, anyhow I wanted to check here again before
probably wasting a lot of time creating a workaround which might not
be necessary. So, in case someone knows about this problem, I'd be
thankful for any inspiration, and even a "force-doesn't-work-there"
would be _very_ appreciated. 

Thanks and bye,
Kris






-- 
Kristian Rink   -- Programmierung/Systembetreuung
planConnect GmbH * Strehlener Str. 12 - 14 * 01069 Dresden
0176 24472771 * [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] Possible security issue with Samba 3.02 and MySQL database

2004-04-13 Thread Andrew Bartlett
On Mon, Apr 12, 2004 at 09:37:38PM -0700, Mark wrote:
> 
> I have been doing some testing with Samba and using MYSQL as the passdb
> backend (no it is not the security issue mentioned in the samba how-to)
> 
> I found what I believe is is a serious security issue and I am not sure 
> if this security issue is an operating system issue or a Samba issue 
> that should be looked at by the Samba team. Is there such a place as to 
> report such security concerns to the Samba team off list?

[EMAIL PROTECTED] is the correct off-list address to raise 'security
issues' with the Samba team.

(Note for others: 'how to configure samba' is not a security issue,
nor is 'how to configure samba securely'.  What we mean here is
'sombody can beak into the system' type security issues).

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