Re: [Samba] Samba and NT 4.0

2002-04-29 Thread Rasmus Nielsen

Hi

The best way is to add a unix user and group named pcguest and then set 
guest account = pcguest in the global options and read list = pcguest in 
your share, this will make any pc on your lan able to read from the share, 
if you want write access, then just put writ list = pcguest and  read only 
= No guest ok = Yes

Male sure all your computers are in the same workgroup as the samba server 
and that you don't have any ip restictions in your smb.conf blocking your 
NT boxes. Also if your running any kind of firewalls on your NT's, this 
might couse the 'no service' problem.

regards
Rasmus Nielsen

At 15:40 28-04-2002 -0700, Keith wrote:
Good Afternoon all!

Hey I have been having one heck of a time getting my NT boxes to access my
Samba Server. At this point I get a message saying there is no service
responding at the remote network. I have tried everything at this point and
am at my wit's end. Does anyone have a smb.conf file that is working for
them at this point in the same environment? Is there something else that
could be the issue? I want to set up a network environment where no
passwords are needed to go from the NT boxes to the Samba Server. Are
passwords a must?

What else should I be looking at? My main goal is to get the FTP server that
is running on the NT environment to map to the web directories on my Linux
box.

Any and all help is appreciated.

Keith Kasin
www.selectdatasystems.com - web hosting and database services.






--
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] Windows 98 HDD shared from Samba

2002-04-29 Thread Eirik Thorsnes

The permissions on the mounted directory changes during mount,
you have to specify the permissions next to your defaults parameter in
/etc/fstab

I suggest you put all your users that should have access to this drive
into a group,
and then put:

gid=that group's gid number,umask=002
next to the default parameter

See man mount

Eirik Thorsnes


Gagneet Singh wrote:

Hi!
  I have two hard drives on my machine which I am using as a file server.
The first HDD contains the RH Linux 7.2 distribution and the second contains
Windows 98, the previous OS that I was using on the machine.
  I have created a mount in the '/etc/fstab' file and the drives on the
second disk are visible over the intranet, when I try to access it on the
network.
  The main problem comes when I have to save anything on that drive. It
gives an 'Access Denied' message and I am unable to write anything to this
drive. The '/etc/fstab' and '/etc/samba/smb.conf' files are given below:


# Samba config file created using SWAT
# from LinuxServer (127.0.0.1)
# Date: 2002/04/23 20:04:13

# Global parameters
[global]
   workgroup = LACME
   netbios name = LINUXSERVER
   server string = Samba Server
   encrypt passwords = Yes
   password level = 8
   username level = 8
   log file = /var/log/samba/%m.log
   max log size = 0
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   domain logons = Yes
   dns proxy = No
   wins support = Yes
   admin users = gagneet
   create mask = 0765
   hosts allow = 192.168.1.
   printing = lprng

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

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

[gagneet]
   comment = Gagneet's Account
   path = /home/gagneet
   username = gagneet
   valid users = gagneet
   read only = No
   guest ok = Yes
   hosts allow = 192.168.1.53
   hide unreadable = Yes
   fstype = vfat

[wp]
   comment = Windows Partion Account
   path = /mnt/wp
   username = gagneet
   valid users = gagneet
   read only = No
   create mask = 0777
   directory mask = 0777
   inherit permissions = Yes
   guest ok = Yes
   hosts allow = 192.168.1.53
   fstype = vfat
   dos filemode = Yes
***

***

LABEL=/ /   ext3defaults1 1
LABEL=/boot /boot   ext3defaults1 2
none/dev/ptsdevpts  gid=5,mode=620  0 0
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/hdb3   swapswapdefaults0 0
/dev/cdrom  /mnt/cdrom  iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0/mnt/floppy autonoauto,owner,kudzu 0
0
/dev/hdc1  /mnt/wp/drivec  vfatdefaults0 0
/dev/hdc5  /mnt/wp/drived  vfatdefaults0 0
/dev/hdc6  /mnt/wp/drivee  vfatdefaults0 0


  Please advice on how to access my Windows drive with writeable
permissions. I have given the /mnt/wp folder full permissions with 'chmod
777 /mnt/wp'.

Gagneet Singh
Email : [EMAIL PROTECTED]


  





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



Re: [Samba] samba2.2.1a nmbd couldn't be started at suse(7.0) linux(2.2.16) running on s390 platform

2002-04-29 Thread dj

On Fri, 26 Apr 2002, Li, Lily wrote:

 I'm trying to install samba on suse linux at s390 platform, I tried three
 options, none of them works
 1) Option1, install samba2.2.1a general release
 I encountered a problem while running /usr/local/samba/bin/nmbd -D, here is
 the log file for you
 /usr/local/samba/var/log.nmbd
 
 ---
 [2002/04/26 09:04:17, 0] nmbd/nmbd_subnetdb.c:create_subnets(242)
   create_subnets: No local interfaces !
 [2002/04/26 09:04:17, 0] nmbd/nmbd.c:main(835)
   ERROR: Failed when creating subnet lists. Exiting.
 
 ---

 The system is suse 7.0 linux 2.2.16 on IBM s390 platform, the samba i am
 using is 2.2.1a general release, there is network interface named iucv0, the
 output of ifconfig -a is the follwing

 ---
 iucv0 Link encap:Serial Line IP
   inet addr:10.4.30.204  P-t-P:10.0.30.254  Mask:255.0.0.0
   UP POINTOPOINT RUNNING NOARP  MTU:1492  Metric:1  Outfill:1492
 Keepalive:1492
   RX packets:93067 errors:0 dropped:0 overruns:0 frame:0
   TX packets:63776 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:100

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:3924  Metric:1
   RX packets:219 errors:0 dropped:0 overruns:0 frame:0
   TX packets:219 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
 ---

 2) I tried also samba1.9.18p1 for mvs, but get an error at make stage
 collect2: ld returned 1 exit status
 3) Use the build-in smb, which is old 2.0.7 version, the smb.conf is
 different from 2.2.1, I could start smbd, nmbd, but couldn't see it from my
 desktop network place. my desktop ip is 10.0.20.201, netmask 255.0.0.0, the
 linux host ip is 10.4.30.204, netmask is 255.0.0.0, linux is ping'able from
 desktop.

Hello Lily,

I've had simular problems setting up a Samba server. I'm also using SuSE
Linux 7.0 on a Linux/390 system. Only my link to the rest of the network
was thru escon channels.

The problem with me was the configuration of the escon link ip parameters.
Because it is a point-to-point link the netmask defaulted to
255.255.255.255, which is a broadcast address.  Once I changed that it
worked.

But since your ifconfig seems to contains a correct netmaks I'm a bit
stomped. Try asking on the linux-390 maillinglist. You will find more info
about this mialinglist here :

http://www.marist.edu/htbin/wlvindex?linux-390

There is also another problem with point-to-point links and Samba. The smb
protocols use network broadcasts a lot. And as you will see as you
compare the ifconfig of a normal ethernet link and a point-to-point link,
you will see that the p-t-p links don't support broadcasts.

So if you intend to run Samba on a mainframe and have a network that
doesn't contains other SMB services like a WINS and PDC, you will need to
run Samba of a image/LPAR that has direct access to a broadcast capable
device (ethernet, tokenring).

Regards,
Tim

-- 
===
Tim Verhoeven
Linux  Open Source Specialist
GSM : 0496 / 693 453  + e-business solutions
Email : [EMAIL PROTECTED]   + consulting
URL : www.sin.khk.be/~dj/ + Server consolidation
===


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



Re: [Samba] Problem linking with SSL on RedHat 7.2

2002-04-29 Thread Urban Widmark

On Sun, 28 Apr 2002, Neil Aggarwal wrote:

 Hello:
 
 I am trying to compile sambe with SSL on my RedHat 7.2 machine.

Are you sure you want SSL? As I understand, it is useless with windows
clients as they don't support it.

No idea why it doesn't build, perhaps you should use the openssl packages
that came with RH7.2.

/Urban


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



[Samba] RE: Problems with SSL

2002-04-29 Thread Dr Michael Kyobe



Please help,

I have a problem with samba. When I type 
smbclient -L localhost i get the message 
:

SSL: Error error setting CA cert location: error: 
::lib(0) : func(0) : reaction (0)

I use redhat 7.0 and samba 2.0.7. my linux box is 
connected to 2 Windows 2000 machines. I can access samba shares from Windows 
client.

Please help. I do not have SSL configured anywhere 
in my smb.conf and I do not intend using it for now. How do I get rid of 
this? I would like to access window shares from my linux box apparently 
this SSL problem blocks it.

Please help

Mike



[Samba] Samba 2.2.3a nmbd failures

2002-04-29 Thread Brian Ruth

We have Samba 2.2.3a running on Solaris 8 serving some 200 users. It's
configured as a logon server, and serves logons for Win9x clients.

Since upgrading to 2.2.3a, however, we've experienced problems with nmbd.
It'll work fine for a couple of days, and will then stop responding to
logins; clients just get an error message saying that no server is available
to authenticate the logon. Killing the nmbd process and restarting it usually
recovers the situation. The nmbd log file (log level 2) doesn't appear to
offer much clue; it lists the processing of a logon normally, without
mentioning any problems.

This is a bit of a show-stopper for us! We also have a test machine running
Linux and 2.2.3a, which is set up almost identically except that it uses
encrypted passwords and serves logons for a few Win2000 and XP clients; that,
however, suffers in the same way - it'll run for a couple of days, and then
needs to have nmbd restarted. On both machines the source was built using the
following arguments to configure:

./configure --libdir=/etc/samba --mandir=/usr/local/man
--localstatedir=/var/samba --with-privatedir=/etc/samba/private
--with-lockdir=/var/samba/locks

It sounds like there may be some problem with the login code in 2.2.3a.
I've seen one other mention of this problem on the list archive, but no
others, so I guess it's not that common. Does anyone know if using the CVS
version is likely to improve the problem?

Thanks,

Brian.

-- 
Brian Ruth ([EMAIL PROTECTED])
Department of Anatomy, University College London.


 


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



[Samba] samba-smbpasswd 2 samba-ldap migration

2002-04-29 Thread Thomas Stegbauer

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi ignacio,

i have only a short question:

we have to migrate a samba 2.2.2 with /etc/private/smbpasswd backend to
samba 2.2.3a (maybe 2.2.4 if it is released until then :)

now the import2_smbpasswd.pl creates no samba_account, but
smbPasswordEntrys.

so my idea is:
migrate the /etc/passwd with the padl migration tools and do than a
smbpasswd -a username (for each user).

after that, i write a short script (bash, cause i am not so familiar
with perl.) and replace all ntPassword and lmPassword entries in the
ldapserver.

so the only unknow thing to me is:
how does the rid-calculation works?

after moving the MACHINE.SID from the old server to the new one,
everything should work fine again?
if the rid's stay the same?

are i am correct?

greetings
thomas

- --
# Thomas Stegbauer
# Tronicplanet Datendienst GmbH
# http://www.keyserver.de:11371/pks/lookup?op=getsearch=0xFF837A1A
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE8zQ+yzrK/xv+DehoRArv7AKCpbLAuocm94L5iM6UAt4zW3V3w3wCfZ7WN
PINApZRxz70+/6cuWBu9/o4=
=OcmV
-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] DHCP graphical mode?

2002-04-29 Thread Alexandre Miguel Fernandes Mendonça

**
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique [EMAIL PROTECTED]

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com
***

Hi!
Is there some graphical mode to reserve the ip's in dhcp?

Thanks!

Alex

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



[Samba] DHCP graphical mode?

2002-04-29 Thread Alexandre Miguel Fernandes Mendonça

**
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique [EMAIL PROTECTED]

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com
***

 Hi!
 Is there some graphical mode to reserve the ip's in dhcp? (like dhcp
 manager in windows, for example)
 
 Thanks!
 
 Alex

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



[Samba] authorise_login: rejected invalid user nobody

2002-04-29 Thread Mark Cooke

Hi,

I'm using samba-2.2.3a and winbind to authenticate against out NT PDC,
but for some reason I cannot login ( I used to be able to), but now all I 
get in the system logs for my machine is:

[2002/04/29 10:47:35, 0] smbd/password.c:authorise_login(872) \
authorise_login: rejected invalid user nobody

As I mentioned this used to work fine and the other people I setup can log 
in fine.
I came into work this morning and tried to login using samba and ssh, but 
both bring up this error in the /etc/samba/trinity.log (trinity being my 
machine's hostname)

I don't have a uiser called nobody, as from what I see, if it cannot find 
me, then it will try to login in with the user nobody's id.

running getent passwd and gentent group revels that I'm listed in the groups.
Restarting smb and winbind doesn't help either and also a reboot of my 
workstation doesn't help  in this instance.

Doing a web search didn't revel much (but that could of been the words I 
was searching for)


-
--
Mark Cooke
Internet Operations Technician
MM Group Ltd
Tel: 8141 (Internal)
Tel: (0117) 9168141 (External)
Email: [EMAIL PROTECTED]
http://www.mmgroup.co.uk


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



[Samba] Silence is golden

2002-04-29 Thread Marlow, Robin

Hello,
We now have our samba server up  running. But it's on an old
machine with an awfully loud harddrive. Pre-samba most of the time the box
was idle  the harddrive managed to go into standby - thus sparing us from
the din. When samba is running (even if no users are accessing shares) there
are accesses every 5  mins or so - keeping the drive spinning continuously.

I've redirected the log files to /dev/null  set log level = 0   syslog
only = 0. But it is still happening.  Apart from killing syslogd - has
anyone any ideas?

Cheers,

Robin.

p.s.  i'm not really bothered about logging from samba. i trust it!

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



[Samba] Glitch in source/utils/status.c (2.2.3a 2.2.4-pre)

2002-04-29 Thread Pierre Belanger

FYI,

Non-initialized variable fname in file

  source/utils/status.c

line 649

  printf(Opened status file %s\n, fname);

I changed the line to:

  printf(Opened status file %s\n, lock_path(connections.tdb));

But I don't think that's right cuz it outputs:

  Opened status file /connections.tdb

I am not even sure if the status file = connections.tdb,
I guess it does... does it? ;)

Pierre B.

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



Re: [Samba] Silence is golden

2002-04-29 Thread Pierre Belanger

Marlow, Robin wrote:
 
 Hello,
 We now have our samba server up  running. But it's on an old
 machine with an awfully loud harddrive. Pre-samba most of the time the box
 was idle  the harddrive managed to go into standby - thus sparing us from
 the din. When samba is running (even if no users are accessing shares) there
 are accesses every 5  mins or so - keeping the drive spinning continuously.
 
Your machine is old, what about the harddrive? If it's old too you
should
keep it running otherwise it might break quite earlier.

 I've redirected the log files to /dev/null  set log level = 0   syslog
 only = 0. But it is still happening.  Apart from killing syslogd - has
 anyone any ideas?
 
When you stop samba, the drive does go off?

I guess you're running Linux... 

1- Have you tried to do a strace on your Samba processes to see what
they
   are doing?
2- You can perhaps do a few ls -lu in a few directories, like the
locks
   directory, the logs, etc.
   The -u shows the last access time on each of your files. You can
even
   cd in the samba directory and do : ls -lRu | grep Apr 29 12 which
would
   show file changed on Apr 29 between 12:00pm and 12:59pm...
   Depending on your Linux distribution, etc. Files might be hanging
   around in /var/..., /etc, /everywhere ...

By the way, if this is a server ... spend 200$ and get another hard
drive,
you'll get 80GB at that price ;)

Pierre B.

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



[Samba] script to check samba

2002-04-29 Thread Moeller Daniel (QI/EES3) *

On Apr. 1st, [EMAIL PROTECTED] wrote:

Another question is: Is there a way to test for a logon using
smbclient or 
similar tool? I'd like to be able to get a job in cron to test
whether 
it's working and alert me before the windows users start to
complain.

Some time ago I wrote such a tiny script to check our Samba servers:

#!/bin/sh
#
# script to check Samba availiability
# Daniel Moeller ([EMAIL PROTECTED]), 29. Apr. 2002
#
# change these parameters
HOST=yourServer
USER=user
PASSWD=passwd
WDOMAIN=Windows-domain
MAILADR=[EMAIL PROTECTED]
#
/usr/local/samba/bin/smbclient -L \\$HOST -U $USER%$PASSWD -W $WDOMAIN 
/dev/null
rc=$?
if [ $rc != 0 ]; then
/usr/bin/mailx -s Samba on $HOST has problems $MAILADR  EOF
Attention!
 
Samba-Server on $HOST is not operating properly. User $WDOMAIN\$USER got an
error!
 
Mail has been generated by script /usr/local/samba/bin/smbtest on $HOST
EOF
fi
# end

If you wish to reply, please eMail me directly, as I'm currently not
subscribed to the mailing list.

Mit freundlichen Grüßen / Kind regards / Saludos cordiales

Daniel Möller
Robert Bosch GmbH
SC Operation, QI/EES3


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



Re: [Samba] DHCP graphical mode?

2002-04-29 Thread Tarjei Huse

use: www.webmin.net = a very good linux admin progam.
TH

Alexandre Miguel Fernandes Mendonça wrote:
 
 **
 Este email assim como os ficheiros que possa ter em anexo são confidenciais
 e para uso exclusivo da pessoa ou organização para o qual foi enviado.
 Se recebeu este email por engano por favor notifique [EMAIL PROTECTED]
 
 Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
 não tendo sido encontrados virus.
 
 www.mimesweeper.com
 ***
 
  Hi!
  Is there some graphical mode to reserve the ip's in dhcp? (like dhcp
  manager in windows, for example)
 
  Thanks!
 
  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] 2.2.4-pre - smbclient get NT_STATUS_LOGON_FAILURE

2002-04-29 Thread THIBADEAU,DAN (HP-Roseville,ex1)


I just downloaded the latest SAMBA_2_2 CVS release (at about 3am PST Monday,
April 29).

I have set it up with domain security and joined the Windows domain.  From
other windows machines, and even other samba servers (using 2.2.3a) I'm able
to connect and authenticate just fine.

However, if I execute the following command locally:

smbclient -L MYSERVER -U dan_thibadeau -W nt_domain

I get the error NT_STATUS_LOGIN_FAILURE.  If I run a backup copy of
smbclient from version 2.2.3a on the local machine as above it works fine.

I don't know if it is related, but in the log file (debug 3) I also notice:

[2002/04/29 04:52:30, 2] lib/util_sock.c:(871)
  error connecting to 15.1.2.3:445 (Invalid argument)
[2002/04/29 04:52:30, 3] lib/util_sock.c:(843)
  Connecting to 15.1.2.3 at port 139
[2002/04/29 04:52:30, 0] rpc_client/cli_netlogon.c:(406)
  cli_net_sam_logon_internal: NT_STATUS_WRONG_PASSWORD


I have full log if needed.  I ran it several times.  I know I didn't type my
password wrong.

Dan Thibadeau

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



Re: [Samba] 2.2.4-pre - smbclient get NT_STATUS_LOGON_FAILURE

2002-04-29 Thread Gerald Carter

On Mon, 29 Apr 2002, THIBADEAU,DAN (HP-Roseville,ex1) wrote:

 
 I just downloaded the latest SAMBA_2_2 CVS release (at about 3am PST Monday,
 April 29).
 
 I have set it up with domain security and joined the Windows domain.  From
 other windows machines, and even other samba servers (using 2.2.3a) I'm able
 to connect and authenticate just fine.
 
 However, if I execute the following command locally:
 
   smbclient -L MYSERVER -U dan_thibadeau -W nt_domain
 
 I get the error NT_STATUS_LOGIN_FAILURE.  If I run a backup copy of
 smbclient from version 2.2.3a on the local machine as above it works fine.

Works fine here.  What happens in the smbd log?







cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--


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



[Samba] Solaris8(IA)+Samba 2.2.3a+Winbind

2002-04-29 Thread Naag Mummaneni

Hi,

I compiled and installed Samba-2.2.3a on Solaris 8(IA).Now I am 
trying to configure Winbind to enable logon to our Win2k Domain 
 from the Samba box.I copied the libnss_winbind.so to the /lib 
folder  created .so.1  .so.2 links.I also made changes in the 
smb.conf file as given below.I am able to connect to the shares on 
the Samba Server using the Domain authentication.Now I changed the 
/etc/nsswitch.conf to contain the entries of winbind for passwd  
group.I could also get all the list of user  group names with 
wbinfo -u  -g.But getent passwd doesnt return anything except the 
local passwd database users.I could complie the pam_winbind.so 
file with some Incompatible pointer type warnings and placed the 
pam_winbind.so file in the /usr/lib/security along with an entry 
in the /etc/pam.conf file .But I couldnt logon to my Solaris box 
with a domain user name.I examined the log.winbindd file  found 
that the username which is getnag on the domain is being 
truncated to etnag.Please find my configuration files below..I 
hope someone will definitely help me.

# 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 many any basic syntactic errors.
#
#=== Global Settings 
=
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = SCLINDIA

# server string is the equivalent of the NT Description field
server string = PLUTO

# This option is important for security. It allows you to 
restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the loopback interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes

# you may wish to override the location of the printcap file
;   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV 
spool
# system
;   printcap name = lpstat

# It should not be necessary to specify the print system type 
unless
# it is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = bsd

# Uncomment this if you want a guest account, you must add this to 
/etc/passwd
# otherwise the user nobody is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
log file = /usr/local/samba/var/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = domain

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] 
[My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
password server = SCLPDC

# Note: Do NOT use the now deprecated option of domain 
controller
# This option is no longer implemented.

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba 
documentation.
# Do not enable this option unless you have read those documents
   encrypt passwords = yes

# Using the following line enables you to customise your 
configuration
# on a per machine basis. The %m gets replaced with the netbios 
name
# of the machine that is connecting
;   include = /usr/local/samba/lib/smb.conf.%m

# Most people will find that this option gives better 
performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list 
them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24

# Browser Control Options:
# set local master to no if you don't want Samba to become a 
master
# browser on your network. Otherwise the normal election rules 
apply
;   local master = no

# OS Level determines the precedence of this server in master 
browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master 

RE: [Samba] Oplock breaks.

2002-04-29 Thread Ladner, Eric (Eric.Ladner)

Can do.. I'll turn off and report in a week if it helps.

Thanks,

Eric

-Original Message-
From: Joel Hammer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 28, 2002 1:15 PM
To: Pablo Alcaraz; [EMAIL PROTECTED]
Subject: Re: [Samba] Oplock breaks.


I get the impression from this message board that oplocks are a bad idea,
overall. They are only really good, they say, for serving static files to
clients. I would turn them off unless you have a good reason to use them.

Joel

On Sun, Apr 28, 2002 at 11:13:15AM -0300, Pablo Alcaraz wrote:
 I get this errors too in Samba on Linux kernel 2.4.16 with/without acl
 of bestbits.
 
 The problem is whith clients accessing from wondows 2000 workstation
 using a Visual Basic 16 bits application to Foxpro 2.5 files.
 
 Any Idea?
 
 Pablo
 
 Ladner, Eric (Eric.Ladner) wrote:
 
   Got anohter one
  
  
  
   [2002/04/26 10:49:36, 0] smbd/oplock.c:oplock_break(758)
 oplock_break: receive_smb error (Error 0)
 oplock_break failed for file budget/2003Budget/RefinerySchedule.pdf
   (dev = 4005, inode = 60589, file_id = 2168).
   [2002/04/26 10:49:36, 0] smbd/oplock.c:oplock_break(843)
 oplock_break: client failure in break - shutting down this smbd.
  
   They seem to always come in pairs and result in an error on the client
   side.  The file is not saved.
  
  
  
   Should I turn off oplocks altogether?
  
   -Original Message-
   *From:* Ladner, Eric (Eric.Ladner)
   [mailto:[EMAIL PROTECTED]]
   *Sent:* Thursday, April 25, 2002 11:39 AM
   *To:* '[EMAIL PROTECTED]'
   *Subject:* [Samba] Oplock breaks.
  
   (HP-UX 11.0 - smbd version 2.2.3a)
  
  
  
   Any idea what causes this:
  
  
  
   [2002/04/25 07:55:21, 0] smbd/oplock.c:oplock_break(758)
 oplock_break: receive_smb error (Error 0)
 oplock_break failed for file nalco/TMPfpd8cv4jv7.shtml (dev =
   4005, inode = 60549, file_id = 2501).
   [2002/04/25 07:55:21, 0] smbd/oplock.c:oplock_break(843)
 oplock_break: client failure in break - shutting down this smbd.
  
   At the same time, the user got one of those The local device name
   is already in use messages.
  
  
  
   We've started seeing a lot of these in the last few weeks or so.
  
  
  
   Thanks,
  
  
  
   Eric Ladner
  
   Chevron Products Co.
  
 
 
 
 
 -- 
 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] 2.2.4-pre Makefile install issue.

2002-04-29 Thread William Jojo



Cool, but the install-sh still does not support multiple paths on the
command line with the -d option. The rest of my last email addressed
that. :)


Bill


On Fri, 26 Apr 2002, Gerald Carter wrote:

 On Fri, 26 Apr 2002, William Jojo wrote:
 
  
  
  Just checked out CVS 2.2.4-pre this morning and noticed that some new
  directories under $prefix are being used:
  
  var/run and var/run/samba ?
 
 just fixed about an hour ago.  Try again.  Sorry.
 pid files should stay in ${prefix}/var/locks by default.
 You can override this locationwith the pid directory
 parameter.
 
 
 
 
 cheers, jerry
  -
  Hewlett-Packard http://www.hp.com
  SAMBA Team   http://www.samba.org
  --http://www.plainjoe.org
  Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
  --I never saved anything for the swim back. Ethan Hawk in Gattaca--
 
 
 -- 
 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] Silence is golden

2002-04-29 Thread Joel Hammer

As I recall, samba is supposed to reread the smb.conf every so often, too.
Joel

On Mon, Apr 29, 2002 at 11:24:24AM +0100, Marlow, Robin wrote:
 Hello,
   We now have our samba server up  running. But it's on an old
 machine with an awfully loud harddrive. Pre-samba most of the time the box
 was idle  the harddrive managed to go into standby - thus sparing us from
 the din. When samba is running (even if no users are accessing shares) there
 are accesses every 5  mins or so - keeping the drive spinning continuously.
 
 I've redirected the log files to /dev/null  set log level = 0   syslog
 only = 0. But it is still happening.  Apart from killing syslogd - has
 anyone any ideas?
 
 Cheers,
 
   Robin.
 
 p.s.  i'm not really bothered about logging from samba. i trust it!
 
 -- 
 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] Error Joining NT Domain w/win2k system

2002-04-29 Thread Greg Flowers

I am running samba 3.0alpha17 as an NT PDC on solaris 2.8. When I
attempt to join the domain with a win2k system, I receive the following
error msg:

The following error occurred attempting to join the domain ENG-2K:
There is no user session key for the specified logon session.

I am using a valid user ID, with correct password that has permissions
to join domain, and have reset the machine account password.
Thanks
greg
-- 
Greg Flowers   Phone: (334)844-2280
===
Information Technology Specialist IIMCP 2126883
Network Services, College of Engineering, Auburn University

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



[Samba] Samba and Groups

2002-04-29 Thread Marc Mongeon

All,

I've just installed and configured a Samba server for the first time.
I am trying to make some sense of the way Unix groups are trans-
lated to their Windows counterparts.  I created two Samba users
on the server:  root and marc.  I set up a Win2000 server and
joined it to the Samba domain (WINTEST).  I created a share
on the Win2000 server and opened the dialog to set permissions.
In this dialog, I see the root and marc accounts; I see some
built-in groups like Everyone, Authenticated Users, etc.; and,
I see several Unix groups:  dip, src, shadow, utmp...  However,
not all Unix groups are shown, and I don't see any rhyme or reason
to those that are.  I have given no group directives of any kind
in the Samba config file.

It seems that there should be some sort of group file that satisfies
the analogy:  group file is to /etc/groups as smbpasswd is to
/etc/passwd.  In searching on the web, I found some info about
a domain group map configuration directive that should be valid
for post-2.0.x installations.  I've installed version 2.2.3a, and there is
no mention in the documentation of this directive.  Has it ceased
to exist?

Thanks in advance for your help.  Any advice you can give me
is very much appreciated.

Marc


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



RE: [Samba] Printing troubles

2002-04-29 Thread Van Sickler, Jim

Do you also have LPRng installed on this box?  Did you have to
reinstall it?  If so, look to see if the links between
lpr, lpd, lpc, lprm, etc. in the LPRng install dir
(/usr/local/bin, /usr/local/sbin on my OBSD box) and
/usr/bin, /usr/sbin.  If they weren't, I think you get
similar problems.

Jim

 -Original Message-
 From: Damian Gerow [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 24, 2002 2:20 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Printing troubles
 
 
 Our print server (linux 2.2.19, Debian unstable, with the 
 2.2.3a-6 package) 
 had a bit of trouble yesterday, and after getting everything 
 back up and 
 working, printing is now broken.  I can print from the 
 commandline, but not 
 through samba.
 
  From a 2000 client, I can see the printer shares, but can't 
 ever actually 
 print to them (Could not start print job.)  If I open the server in 
 Network Neighbourhood, and browse the 'Printers' share, I get 
 errors on the 
 samba server (signal 11 in smbd), and can no longer access the server 
 without restarting samba -- Remote Procedure call failed.
 
 I can post the logs if need be, as well as the printer config, just 
 wondering if anyone has any ideas beforehand.  I did a quick 
 check through 
 the archives, but couldn't find anything.
 
 
 -- 
 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] XP connection problem (start-up only)

2002-04-29 Thread Bradley W. Langhorst

I can't read your mesage



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



[Samba] can't set time on nt client for synchro

2002-04-29 Thread root

hello

i can't set time on my nt client with my logon.bat script
cause they don't have exec privilège that's ok
but how i do that ?

urgent!!
thanks
[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] Problem linking with SSL on RedHat 7.2

2002-04-29 Thread Neil Aggarwal

Urban:

 Are you sure you want SSL? As I understand, it is useless with windows
 clients as they don't support it.

I am sure that we want to use SSL.  We want to be able to access our
repositories remotely, but do not want to have the data compromised.

Regarding the windows clients, they can support it using an stunnel
wrapper, which is what we are going to do.

 No idea why it doesn't build, perhaps you should use the openssl packages
 that came with RH7.2.

Here is what I did:
make clean
./configure --with-ssl --with-sslinc=/usr/include/openssl
make

I still get these messages:
Linking bin/smbd
smbd/ssl.o: In function `sslutil_init':
smbd/ssl.o(.text+0x23f): undefined reference to `SSL_library_init'
smbd/ssl.o(.text+0x256): undefined reference to `RAND_egd'
smbd/ssl.o(.text+0x3ce): undefined reference to
`SSL_CTX_use_certificate_chain_file'
smbd/ssl.o(.text+0x577): undefined reference to
`SSL_CTX_set_tmp_rsa_callback'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

Any ideas?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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



[Samba] Delays with windows 2000

2002-04-29 Thread Egidijus Antanaitis

Installation: Linux RedHat 6.2, Samba 2.2.3a in windows 2000 domain
environment. Authentification is done through winbind. Every time I
initially connect to samba share from windows 2000 client, I must wait about
three seconds, windows 98 doesn't have this problem. Why does windows 2000
workstation feel this delay? I put windows 2000 workstation in /etc/hosts,
but it didn't help. Samba's logs don't show anything weird also. Thanks for
any ideas.

My smb.conf:

[global]
workgroup = L.B.S
server string = Samba server
hosts allow = 10.0.0. 127.
log file = /var/log/samba/log.%m
max log size = 50
security = domain
password server = ERGO
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
name resolve order = wins lmhosts bcast
wins server = 10.0.0.27
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
[test]
path = /tmp
writable = yes
public = yes

samba was compiled with:
--with-fhs \
--with-quotas \
--with-smbmount \
--with-pam \
--with-pam-smbpass \
--with-ufs \
--with-acl-support \
--with-winbind \
--with-utmp \

Egidijus




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



RE: [Samba] can't set time on nt client for synchro

2002-04-29 Thread Van Sickler, Jim

What is the command line you're using to set the time?

net time \\samba1 /set /yes

works for me...

Jim

 -Original Message-
 From: root [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 8:22 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] can't set time on nt client for synchro
 
 
 hello
 
 i can't set time on my nt client with my logon.bat script
 cause they don't have exec privilège that's ok
 but how i do that ?
 
 urgent!!
 thanks
 r
[EMAIL PROTECTED]
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


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



RE: [Samba] Printing troubles

2002-04-29 Thread Van Sickler, Jim

Source upgrade - I don't think there's a 2.2.3a
package for OpenBSD 3.1 yet;  I don't think
I've got the expertise to build it for them...;-(

Jim

 -Original Message-
 From: Damian Gerow [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 9:17 AM
 To: Van Sickler, Jim
 Subject: RE: [Samba] Printing troubles
 
 
 At 12:14 PM 4/29/2002, Van Sickler, Jim wrote:
 I'm going to look into CVS'ing my current 2.2.3a box.
 I have several oddities that hopefully will be fixed
 with the updated code.
 
 Fingers crossed
 
 Are you doing a source upgrade, or building a package?
 

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



[Samba] Engineering Forums

2002-04-29 Thread John Haestad


Hi Samba,

A quick note to see if you are still interested in joining our free Civil Engineering 
technical forums.

  WaterTalk (water supply)
  StormTalk (stormwater management)
  Sewertalk (sanitary sewer modeling)


Visit: http://www.haestad.com/forums/05

Best Regards,

John Haestad
President  CEO
Haestad Methods


--
This email intended for [EMAIL PROTECTED] only.

Haestad Methods, Inc. provides the highest quality software, textbooks, and continuing 
education to Civil Engineers and Water Resources Professionals.

Our software maps, manages, and models your city water, city sewer, and your 
roadway and urban drainage systems.

When it pours, we reign

If you were sent this mail in error, you may remove yourself by responding to this 
mail with the word remove in the subject line.

Haestad Methods
+1-203-755-1666 voice
+1-203-597-1488 fax
11546-1013683
--


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



[Samba] Problem with printer sharing using Samba PDC + Printer Server NT

2002-04-29 Thread Luiz Alfredo Baggiotto

Hello

We have one Samba 2.2.3a running as PDC of our domain. There are also a winNT 4
machine used as a Printer Server (we prefer to use another machine to print services).
After one printer instalation, on printer server, I try to configure permissions in the
Security tab, Permissions button. I click in Add button and the first option 
appears
as a blank line, but I include it anyway. Then, in the field correspondent to the added
users, appears my domain name(?!?!). I confirm the inclusion them with Print
permission, but in the list of users, instead of the domain name appears
Unix_group.35214085 and the users of the domain can´t access the printer shared!
I was read anything about the Unix_group. occurs when the smbpasswd file
doesn´t match with /etc/passwd file. Is it correct in this case? Are anything to do?
Thanks in advance and best regards

==
Administraçao da Rede
FACIN / PUCRS
 Ramal  4184
Prédio 30 -  Sala 145


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



Re: [Samba] Delays with windows 2000

2002-04-29 Thread Chris Smith

Maybe I'm misunderstanding the Samba docs, but wouldn't you need host
to be in the name resolve order for Samba to use hosts, or DNS for
name resolution?
Since Win2k/XP are DNS/hosts centric OS's that only use WINS/lmhosts for
backward compatibility one should be able to have a WINS free network if
all the MS OS's are 2k/XP and if Samba can resolve via DNS/hosts (maybe
I'm assuming too much on Samba's part).


On Mon, 2002-04-29 at 11:53, Egidijus Antanaitis wrote:
 Installation: Linux RedHat 6.2, Samba 2.2.3a in windows 2000 domain
 environment. Authentification is done through winbind. Every time I
 initially connect to samba share from windows 2000 client, I must wait about
 three seconds, windows 98 doesn't have this problem. Why does windows 2000
 workstation feel this delay? I put windows 2000 workstation in /etc/hosts,
 but it didn't help. Samba's logs don't show anything weird also. Thanks for
 any ideas.
 
 My smb.conf:
 
 [global]
 workgroup = L.B.S
 server string = Samba server
 hosts allow = 10.0.0. 127.
 log file = /var/log/samba/log.%m
 max log size = 50
 security = domain
 password server = ERGO
 encrypt passwords = yes
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 name resolve order = wins lmhosts bcast
 wins server = 10.0.0.27
 winbind separator = +
 winbind uid = 1-2
 winbind gid = 1-2
 winbind enum users = yes
 winbind enum groups = yes
 [test]
 path = /tmp
 writable = yes
 public = yes
 
 samba was compiled with:
 --with-fhs \
 --with-quotas \
 --with-smbmount \
 --with-pam \
 --with-pam-smbpass \
 --with-ufs \
 --with-acl-support \
 --with-winbind \
 --with-utmp \
 
 Egidijus
 
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba




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



RE: [Samba] Printing troubles

2002-04-29 Thread Van Sickler, Jim

So much for easy cvs...I'm behind a firewall/proxy.
The cvs login goes okay, then aborts with
no route to host.  Any idea how to make this
work?

Jim

 -Original Message-
 From: Damian Gerow [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 9:17 AM
 To: Van Sickler, Jim
 Subject: RE: [Samba] Printing troubles
 
 
 At 12:14 PM 4/29/2002, Van Sickler, Jim wrote:
 I'm going to look into CVS'ing my current 2.2.3a box.
 I have several oddities that hopefully will be fixed
 with the updated code.
 
 Fingers crossed
 
 Are you doing a source upgrade, or building a package?
 

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



[Samba] Authenticating to a Windows 2000 Server

2002-04-29 Thread Jeff . Pleau

Hi everyone

I am having a problem with Samba 2.2.2 on Solaris 8/SPARC.  I have
configured Samba and have successfully joined my 2K domain (according to
smbpasswd), but I can't authenticate usernames.  From the log file, I think
the problem is that Samba did not join the domain properly.  I haven't had
any problems with my RedHat 7.2 setups running the same smb.conf structure
and same version of Samba.  When I look at the event log on my 2K DC, there
is a failed netlogon for the machine that I am trying to run Samba on.  I
have deleted the computer account from the DC and rejoined the domain, it
hasn't helped.  Anyone have any ideas?  I have included the log output from
when I try to conenct to the share from a Windows client.

thanks
Jeff

[2002/04/29 13:18:23, 0] rpc_client/cli_netlogon.c:cli_net_auth2(160)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2002/04/29 13:18:23, 0] rpc_client/cli_login.c:cli_nt_setup_creds(72)
  cli_nt_setup_creds: auth2 challenge failed
[2002/04/29 13:18:23, 0]
smbd/password.c:connect_to_domain_password_server(1371)
  connect_to_domain_password_server: unable to setup the PDC credentials to
machine OTTDC1. Error was : NT_STATUS_ACCESS_DENIED.
[2002/04/29 13:18:23, 0] smbd/password.c:domain_client_validate(1591)
  domain_client_validate: Domain password server not available.
[2002/04/29 13:18:23, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2002/04/29 13:18:23, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2002/04/29 13:18:23, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2002/04/29 13:18:23, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2002/04/29 13:18:24, 0] rpc_client/cli_netlogon.c:cli_net_auth2(160)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2002/04/29 13:18:24, 0] rpc_client/cli_login.c:cli_nt_setup_creds(72)
  cli_nt_setup_creds: auth2 challenge failed
[2002/04/29 13:18:24, 0]
smbd/password.c:connect_to_domain_password_server(1371)
  connect_to_domain_password_server: unable to setup the PDC credentials to
machine OTTDC1. Error was : NT_STATUS_ACCESS_DENIED.
[2002/04/29 13:18:24, 0] smbd/password.c:domain_client_validate(1591)
  domain_client_validate: Domain password server not available.

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



[Samba] Resultados de scaneo de RAV AntiVirus

2002-04-29 Thread RAV


RAV AntiVirus for Linux i686 version: 8.3.2 (snapshot-20020108)
Copyright (c) 1996-2001 GeCAD The Software Company. All rights reserved.
57 more days to evaluate.
Running on host: serviteca.antumalal-automotriz.com


-
Esta es una copia del encabezado del correo:
-


El archivo infectado fue guardado en cuarentena con el nombre: 
1020099759-dfg3TH2d408740.
El Archivo (part0001:general.pif) adjunto al mail (con asunto:Anterior) enviado por 
[EMAIL PROTECTED] para [EMAIL PROTECTED], 
esta infectado con el virus: Win32/Klez.H@mm.
No puede limpiar este archivo.
El archivo a sido eliminado con exito por RAV AntiVirus. 

--
Resultados de RAV AntiVirus
--


Scan engine 8.5 (Standard) for i386.
Last update: Mon Apr 29 09:35:15 2002
Scanning for 66313 malwares (viruses, trojans and worms).

To get a free 60-days evaluation version of RAV AntiVirus v8
(yet fully functional) please visit:

   http://www.ravantivirus.com


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



Re: [Samba] Problem with printer sharing using Samba PDC + PrinterServer NT

2002-04-29 Thread Martin Kaehmer

Hi, 

--On Monday, April 29, 2002 13:47:34 -0300 Luiz Alfredo Baggiotto
[EMAIL PROTECTED] wrote:

 We have one Samba 2.2.3a running as PDC of our domain. There are also a

 users, instead of the domain name appears  Unix_group.35214085 and the

I think, that matches the problem I had some time ago. There were some
fixes applied to CVS, so try it with the latest snapshot again.

cheers, 
Martin

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



[Samba] Question on samba as PDC and fileserver

2002-04-29 Thread Chris Mason

For a project I am working on I have to configure a Redhat 7.2 server as the
file server and PDC for a small company network of 12 workstations and a
couple of network printers. The client was happy to have a Linux server as
it will provide IMAP, DNS, and tape backup of the email and home
directories.
My question is, how well is Samba working as a PDC, how should I configure
the network so that Samba authenticates the users and provides name
resolution for the Windows machines.
Anything else to be aware of, any gotchas?

Chris Mason
[EMAIL PROTECTED]
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463
Take a virtual tour of the island
http://www.anguillaguide.com/ The Anguilla Guide
Find your perfect rental villa www.mycaribbean.com
Talk to me in real time:
MSN Instant Messenger: [EMAIL PROTECTED]
ICQ 118159388 Yahoo:netconcepts_anguilla
US Fax and Voicemail: (605)253-1759


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



[Samba] About samba printing...

2002-04-29 Thread Miguel Arellano (ht)

Hello ...

I hope this is not the wrong list to place this question.  Excuse me for
that.  We have a server running Linux RH 7.2.
Now, is there any kind of advice about how to print to windows shared
printers?  A few months ago, we configured this issue using the print
manager, but due to a problem with disks, we have had to reinstall the OS.
As soon as it finished the install proccess, we defined the printers as in
the first time (even the windows shared ones) but here we have problems.
Trying with the text page test does nothing.  Postcript, nothing.  It does
not print.  No errors, no messages, it works as normal but the printers do
not receive the job.

May be a bug?

Thanks in advance for your comments ...

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/E d+(++) s: a C+++ UCL*+++$ P L+++$ E--- W+++$ N++ o K++ w$
O- M- V- PS+ PE Y PGP t 5 X+ R* tv+ b++ DI--- D++
G e++ h--- r+++ y+++
--END GEEK CODE BLOCK--



smime.p7s
Description: application/pkcs7-signature


Re: [Samba] Prints ok, but says Access denied, unable to connect. win2k and samba 2.2.1a

2002-04-29 Thread halljay

Randy,

You will need to add use client driver = yes to the smb.conf file, or install 
the printer drivers so the W2K workstations can download the driver from the 
sever.

Hope this helps.



Jay

 I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on Redhat
 7.2. 
 
 There is a networked laserjet 5000 using a static IP which I can print to
 successfuly from the linux box, and from the win2k workstations via the queue
 on the linux box. 
 
 The weird thing is that, on the win2k worksations, if I double click on the
 printer icon the status of the printer is reported as 
 Access denied, unable to connect. Yet it works???
 
 Any ideas.
 
 Here's part of the smb.conf:
 [public]
path = /usr/local/share/public
public = yes
only guest = yes
writable = yes
printable = no
 
 [homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
 # If you want users samba doesn't recognize to be mapped to a guest user
map to guest = bad user
 
 # A restricted directory for accounting files.
 [accounting]
comment = Accounting Share
path = /usr/local/share/accounting
valid users = kferrone,rliu,ldelvecchio
public = no
writable = yes
printable = no
 
 # A administrative logon for backups
 [private]
 comment = SFB Private Directories
 path = /home
 valid users = jbailey
 public = no
 writable = no
 printable =no
 browseable=no
 
 
 # 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 = yes
 valid users = %S
 # Set public = yes to allow user 'guest account' to print
 guest ok = yes
 writable = no
 printable = yes
 public = yes
 
 snip
 
 
 Thanks for any suggestions you may have.
 
 /R
 
 __
 Do You Yahoo!?
 Yahoo! Health - your guide to health and wellness
 http://health.yahoo.com
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba





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



Re: [Samba] Prints ok, but says Access denied, unable to connect. win2k and samba 2.2.1a

2002-04-29 Thread Randy S


--- [EMAIL PROTECTED] wrote:
 Randy,
 You will need to add use client driver = yes to the smb.conf file, or
install.

I added 'use client driver = yes ' to the printers section of smb.conf. It
didn't seem to help.

Any other ideas?

/R

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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



RE: [Samba] Prints ok, but says Access denied, unable to connect .win2k and samba 2.2.1a

2002-04-29 Thread Van Sickler, Jim

see smb.conf(5), and disable spoolss=yes

Jim

 -Original Message-
 From: Randy S [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 1:49 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Samba] Prints ok, but says Access denied, unable to
 connect. win2k and samba 2.2.1a
 
 
 
 --- [EMAIL PROTECTED] wrote:
  Randy,
  You will need to add use client driver = yes to the 
 smb.conf file, or
 install.
 
 I added 'use client driver = yes ' to the printers section of 
 smb.conf. It
 didn't seem to help.
 
 Any other ideas?
 
 /R
 
 __
 Do You Yahoo!?
 Yahoo! Health - your guide to health and wellness
 http://health.yahoo.com
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

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



Re: [Samba] Samba and NT 4.0

2002-04-29 Thread Joel Hammer

My netbios name is the samba server name, and it is the same as the dns name
for this machine.
Joel

On Sun, Apr 28, 2002 at 04:32:13PM -0700, Keith wrote:
 Is your netbios name the samba server name or your windows client name?
 
 Keith Kasin
 www.selectdatasystems.com - web hosting and database services.
 
 
 
 
 

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



[Samba] WinXP slow share access

2002-04-29 Thread James Northcott

My WinXP clients are able to map a network drive on my samba server.
However, it takes 30 seconds to do so, and accessing the contents of the
shared drive is also quite slow.

Linux (smbclient) and Windows 2000 clients are able to map the share
instantly, and access files without delay.

I am using Linux 2.4.5, with samba 2.2.3a compiled from source on the
server.  The delay is consistent at 30 seconds, and occurs just after
the authentication protocol is negotiated.  Authentication succeeds
after a 30 second delay.

I use this command line on the windows clients (both 2000 and XP use the
same command):

net use * \\demeter\jamesn /user:jamesn

The NetBIOS name Demeter resolves correctly and instantly to
192.168.0.77 on any machine (I've added a static mapping in the WINS
server).  The negotiated protocol is NT LM 0.12 - I've tried restricting
this to LANMAN1, but the 30 second delay still occurs at the same spot.

I've included my smb.conf below, as well as part of a level 3 log
showing when the timeout occurs.

I would appreciate any help that you can give me on this.  I have no
idea what changed from Windows 2000 to Windows XP to cause this problem.

Smb.conf:

[global]
log file = /usr/local/samba/var/log.smbd
log level = 10
workgroup = ARIES
interfaces = 192.168.0.0/24 lo
bind interfaces only = Yes
encrypt passwords = Yes
socket address = 192.168.0.77
guest account =
security = user
wins server = 192.168.0.167
name resolve order = wins lmhosts hosts bcast

[homes]
read only = No
hide dot files = No
create mask = 0644
invalid users = root

Level 3 log:

[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
  Requested protocol [LANMAN1.0]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
  Requested protocol [Windows for Workgroups 3.1a]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
  Requested protocol [LM1.2X002]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
  Requested protocol [LANMAN2.1]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
  Requested protocol [NT LM 0.12]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(432)
  Selected protocol NT LM 0.12
[2002/04/29 13:38:25, 3] smbd/process.c:process_smb(860)
  Transaction 2 of length 197
[2002/04/29 13:38:25, 3] smbd/process.c:switch_message(667)
  switch message SMBsesssetupX (pid 31398)
[2002/04/29 13:38:25, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/04/29 13:38:25, 3] smbd/reply.c:reply_sesssetup_and_X(848)
  Domain=[ARIES]  NativeOS=[Windows 2002 2600] NativeLanMan=[Windows
2002 5.1]
[2002/04/29 13:38:25, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  sesssetupX:name=[jamesn]


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



Re: [Samba] WinXP slow share access

2002-04-29 Thread Joel Hammer

Would you consider running tcpdump on the linux server to watch the
interaction? I haven't noticed a slow access problem with XPpro, but I
don't use authenticatation (security=share and guest=ftp and guest ok = yes)
Joel

On Mon, Apr 29, 2002 at 04:30:00PM -0500, James Northcott wrote:
 My WinXP clients are able to map a network drive on my samba server.
 However, it takes 30 seconds to do so, and accessing the contents of the
 shared drive is also quite slow.
 
 Linux (smbclient) and Windows 2000 clients are able to map the share
 instantly, and access files without delay.
 
 I am using Linux 2.4.5, with samba 2.2.3a compiled from source on the
 server.  The delay is consistent at 30 seconds, and occurs just after
 the authentication protocol is negotiated.  Authentication succeeds
 after a 30 second delay.
 
 I use this command line on the windows clients (both 2000 and XP use the
 same command):
 
 net use * \\demeter\jamesn /user:jamesn
 
 The NetBIOS name Demeter resolves correctly and instantly to
 192.168.0.77 on any machine (I've added a static mapping in the WINS
 server).  The negotiated protocol is NT LM 0.12 - I've tried restricting
 this to LANMAN1, but the 30 second delay still occurs at the same spot.
 
 I've included my smb.conf below, as well as part of a level 3 log
 showing when the timeout occurs.
 
 I would appreciate any help that you can give me on this.  I have no
 idea what changed from Windows 2000 to Windows XP to cause this problem.
 
 Smb.conf:
 
 [global]
 log file = /usr/local/samba/var/log.smbd
 log level = 10
 workgroup = ARIES
 interfaces = 192.168.0.0/24 lo
 bind interfaces only = Yes
 encrypt passwords = Yes
 socket address = 192.168.0.77
 guest account =
 security = user
 wins server = 192.168.0.167
 name resolve order = wins lmhosts hosts bcast
 
 [homes]
 read only = No
 hide dot files = No
 create mask = 0644
 invalid users = root
 
 Level 3 log:
 
 [2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
   Requested protocol [PC NETWORK PROGRAM 1.0]
 [2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
   Requested protocol [LANMAN1.0]
 [2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
   Requested protocol [Windows for Workgroups 3.1a]
 [2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
   Requested protocol [LM1.2X002]
 [2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
   Requested protocol [LANMAN2.1]
 [2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
   Requested protocol [NT LM 0.12]
 [2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(432)
   Selected protocol NT LM 0.12
 [2002/04/29 13:38:25, 3] smbd/process.c:process_smb(860)
   Transaction 2 of length 197
 [2002/04/29 13:38:25, 3] smbd/process.c:switch_message(667)
   switch message SMBsesssetupX (pid 31398)
 [2002/04/29 13:38:25, 3] smbd/sec_ctx.c:set_sec_ctx(314)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
 [2002/04/29 13:38:25, 3] smbd/reply.c:reply_sesssetup_and_X(848)
   Domain=[ARIES]  NativeOS=[Windows 2002 2600] NativeLanMan=[Windows
 2002 5.1]
 [2002/04/29 13:38:25, 3] smbd/reply.c:reply_sesssetup_and_X(858)
   sesssetupX:name=[jamesn]
 
 
 -- 
 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] Question on samba as PDC and fileserver

2002-04-29 Thread Bradley W. Langhorst

On Mon, 2002-04-29 at 16:09, Chris Mason wrote:
 For a project I am working on I have to configure a Redhat 7.2 server as the
 file server and PDC for a small company network of 12 workstations and a
 couple of network printers. The client was happy to have a Linux server as
 it will provide IMAP, DNS, and tape backup of the email and home
 directories.
 My question is, how well is Samba working as a PDC, 
it works great - it's just missing the domain groups in 2.2.3a
how should I configure
 the network so that Samba authenticates the users 
add the users to the unix machine and to smbpasswd (see the howto
collection)
and provides name
 resolution for the Windows machines.
Just enable wins support, and feed it to the clients in your dhcp
configuration.
 Anything else to be aware of, any gotchas?
follow the howto and you should be fine -
if the clients are XP or W2Ksp2 learn about the signorseal reg change.

brad


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



[Samba] Resultados de scaneo de RAV AntiVirus

2002-04-29 Thread RAV


RAV AntiVirus for Linux i686 version: 8.3.2 (snapshot-20020108)
Copyright (c) 1996-2001 GeCAD The Software Company. All rights reserved.
57 more days to evaluate.
Running on host: serviteca.antumalal-automotriz.com


-
Esta es una copia del encabezado del correo:
-


El archivo infectado fue guardado en cuarentena con el nombre: 
1020115423-dfg3TLNg414056.
El Archivo (part0001:Cable.scr) adjunto al mail (con asunto:A very  good tool) enviado 
por [EMAIL PROTECTED] para [EMAIL PROTECTED], 
esta infectado con el virus: Win32/Klez.H@mm.
No puede limpiar este archivo.
El archivo a sido eliminado con exito por RAV AntiVirus. 

--
Resultados de RAV AntiVirus
--


Scan engine 8.5 (Standard) for i386.
Last update: Mon Apr 29 09:35:15 2002
Scanning for 66313 malwares (viruses, trojans and worms).

To get a free 60-days evaluation version of RAV AntiVirus v8
(yet fully functional) please visit:

   http://www.ravantivirus.com


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



[Samba] Resultados de scaneo de RAV AntiVirus

2002-04-29 Thread RAV


RAV AntiVirus for Linux i686 version: 8.3.2 (snapshot-20020108)
Copyright (c) 1996-2001 GeCAD The Software Company. All rights reserved.
57 more days to evaluate.
Running on host: serviteca.antumalal-automotriz.com


-
Esta es una copia del encabezado del correo:
-


El archivo infectado fue guardado en cuarentena con el nombre: 
1020115425-dfg3TLNi414139.
El Archivo (part0001:Redes-En-Linux-Como-9.pif) adjunto al mail (con asunto:Anterior) 
enviado por [EMAIL PROTECTED] para [EMAIL PROTECTED], 
esta infectado con el virus: Win32/Klez.H@mm.
No puede limpiar este archivo.
El archivo a sido eliminado con exito por RAV AntiVirus. 

--
Resultados de RAV AntiVirus
--


Scan engine 8.5 (Standard) for i386.
Last update: Mon Apr 29 09:35:15 2002
Scanning for 66313 malwares (viruses, trojans and worms).

To get a free 60-days evaluation version of RAV AntiVirus v8
(yet fully functional) please visit:

   http://www.ravantivirus.com


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



[Samba] Samba problem

2002-04-29 Thread Greg Prapat Oudomugsorn

Hello,

I'm new to Samba and just trying version 2.0.6 on Red Hat 6.2
system. After I tried to change password for a user using command
smbpasswd, I got the message machine 127.0.0.1 rejected the password
change: Error was : The specified password is invalid. Failed to change
password for username. Everything seems working alright except this
particular issue. I would appreciate any suggestion, please help me out.

Thank you,
Greg

attachment: winmail.dat

[Samba] OT Printer

2002-04-29 Thread bao


I had installed RH Linux 7.2 on a machine as Custom, and I chose
individual packages. When I added a printer, and tried to print it using
lpr, it complains cannot open connection to localhost - connection
timed out. I installed RH 7.2 on a second machine, which I chose
install all packages. This time, I had no problem installing a printer,
and printing it using lpr.

Checking package dependency reveals that both systems have similar
packages installed.

Does anyone have any other dependencies, or recommendation about this ??

Thanks a lot


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



Re: [Samba] Samba 2.2.3a nmbd failures

2002-04-29 Thread MarshallJ

 Since upgrading to 2.2.3a, however, we've experienced problems with 
nmbd.
 It'll work fine for a couple of days, and will then stop responding to
 logins; clients just get an error message saying that no server is 
available
 to authenticate the logon. Killing the nmbd process and restarting it 
usually
 recovers the situation. The nmbd log file (log level 2) doesn't appear 
to
 offer much clue; it lists the processing of a logon normally, without
 mentioning any problems.

This is most likely fixed in CVS (I saw a patch about WINS registration on 
this list)

I had this same problem for quite a while, and found that the WINS entry 
for the samba PDC was being removed. To get around the problem without 
patching, I suggest you edit /etc/hosts and add an entry for the netbios 
name of your PDC and it's network address. I found that my system had PDC 
set to 127.0.0.1, which told the clients to try to authenticate to 
themselves, which what was failing.

Regards,
Josh Marshall.

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



[Samba] VPN+2.2.3a+LDAP

2002-04-29 Thread Philip Burrow

Hi,

I'm after some clarification on a concept I'm toying with, the big question
being is it feasible to do this, and are there any things I ought to
consider. What I'm after is domain authentication across a multi-subnet VPN.
I figured there are three ways of doing this, based on my limited knowledge
of Samba (version 2.2.3a):

1. Have a single Samba PDC to control the entire VPN (up to 10 remote sites)
using a single LDAP server to authenticate users.

2. Have a Samba server at each site as some sort of pseudo-BDC, all
authenticating with a single LDAP server.

3. Have a Samba PDC at each site controlling a domain of its own, but all
using the same LDAP server.

One requirement I have is that I don't want WAN bandwidth saturating with
home directories and user profiles needing to be transmitted across the WAN
so I want them stored local to each site, and I think this is possible with
Samba and LDAP (is it?). Is this 'shared password server' concept possible
with Samba and LDAP?

Any URLs or other resources would be great, and I appreciate any help or
comments. Please dont tell me to create a trust relationship with Mr Gates.
:-)

Regards,

Phil



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



À̸ÞÀϸ¶ÄÉÆà ÀÌÁ¨ µ·¾ÈµéÀÌ°í È«º¸ÇÑ´Ù [±¤°í]

2002-04-29 Thread Market Pro
Title: E-mail±¤°í°¡ ÁÖ´Â È¿°ú



 Æø¹ßÀûÀÎ E-mail ±¤°í È¿°ú
 E-mail ±¤°í´Â °³Àλç¾÷À̳ª ¼Ò±Ô¸ð »çÀÌÆ®¿î¿µÀڵ鿡°Ô ºÒȲÀ»µú°í È°·Î¸¦ÅÍÁÖ´Â

¸¶ÄÏÆÃÀ¸·Î ÃÖ»óÀÇÈ¿°ú¸¦
º¸´Â°ÍÀ¸·Î ³ªÅ¸³µ½À´Ï´Ù.

e-mailÀ»
ÀÌ¿ëÇÑ ¸¶ÄÉÆÿ¡´Â ´Ü¼ø±¤°í, ȨÆäÀÌÁö ¹æ¹®À¯µµ , ¼³¹®Á¶»ç, ÆǸű¤°íµî
 ±¤°íÁÖÀÇ ¿ä±¸¿¡ ÀÇÇÑ ´Ù¾çÇÑ ÇüÅÂ¿Í ¸ñÀûÀÌ ÀÖÀ» ¼ö ÀÖ½À´Ï´Ù.

ÀÎÅͳݹè³Ê±¤°í ¹× ¿ìÆí¹°±¤°í¿Í ºñ±³ÇÏ¿´À» ¶§ ÃÖ¼Ò
10¹è¿¡¼­ ÃÖ´ë
30¹è ÀÌ»óÀÇ ³ôÀº ±¤°íÈ¿°ú ÀÔÁõ!

À̸ÞÀÏ ¸¶ÄÉÆÿ¡¼­ °¡ÀåÁß¿äÇÑ °ÍÀº Á¤È®ÇÑ À̸ÞÀÏ ÁÖ¼Ò¿Í À̸ÞÀϹ߼۱â
±×¸®°í ¼ö½Å°ÅºÎÀÚ °ü¸®ÀÔ´Ï´Ù. 
 
-¸ÞÀÏ 2100¸¸°³
(Áߺ¹Á¦°ÅµÈ ¾çÁúÀÇ ¸ÞÀÏ Á¤È®ÇÑ°¹¼ö
21,087,471 °³)
-´ë·®¸ÞÀÏ
¹ß¼Û±â (ÃÊ°í¼Ó)
-ÆÄÀÏ
ºÐÇÒ±â (¼ö¹é¸¸°³·Î ¹­¿©Áø À̸ÞÀϵµ ´Ü¸îÃʸ¸¿¡ ¿øÇϴ¼ö·Î
³ª´²ÁÜ)
Àå½Ã°£
¿øÇϴ¼ö·®¸¸Å­ ¹ß¼Û±â·Î ÀÚ¸£´Ï¶ó°í °í»ý¸¹¾ÒÁÒ? ÀÌÁ¨ ±×·±°í»ýÀº ³¡.
ÀÌ»ó¸ðµÎ
5¸¸¿ø ¿¡ µå¸³´Ï´Ù.

´Ü
¸î½Ã°£À̸é È¿°ú¸¦º¸´Â À̸ÞÀϸ¶ÄÉÆÃÀ¸·Î ±ÍÇÏÀÇ ¼º°øÀ» º¸ÀåÇÕ´Ï´Ù.


[EMAIL PROTECTED]
À¸·Î ¹®Àǹٶø´Ï´Ù.-¸ÞÀÏ ÁֽǶ§ ¿¬¶ôó/¼ºÇÔ/ȸ»ç-±âÀç ¿ä¸Á
*
ºÒ°ÇÀüÇÑ¿ëµµ (Æ÷¸£³ë»çÀÌÆ®, À½¶õ»çÀÌÆ®, ÇǶó¹Ìµå, µ·¹ú±â»çÀÌÆ®, Çà¿îÀÇÆíÁöµî..)


À¸·Î
»ç¿ëÇϽ÷Á´ÂºÐµé¿¡°Ô´Â µ¥ÀÌŸ¸¦ µå¸®Áö ¾Ê½À´Ï´Ù. 


Á¤º¸Åë½Å¸ÁÀÌ¿ëÃËÁø ¹× Á¤º¸º¸È£¿¡ °üÇÑ ¹ý·ü¿¡ ÀǰŠǥ½ÃÀ̸ÞÀÏÀº À̸áÈ«º¸¿¡ °ü½ÉÀִºе鲲 ´ÜÇѹø¸¸ º¸³»´Â ¸ÞÀÏ ÀÔ´Ï´Ù.°ü½ÉÀÌ ¾øÀ¸¼Ì´Ù¸é Á˼ÛÇÕ´Ï´Ù. ´ÔÀÇ À̸ÞÀÏÀº °ø°³µÈ
°Ô½ÃÆÇ¿¡¼­ ÃßÃâÇÑ °ÍÀ̸ç
 À̸ÞÀÏÁÖ¼Ò ÀÌ¿Ü¿¡ ´Ù¸¥ Á¤º¸´Â °®±¸ ÀÖÁö
¾Ê½À´Ï´Ù
¿øÄ¡ ¾ÊÀ¸½Ã¸é ¼ö½Å °ÅºÎ¸¦ º¸³»Áֽøé
¸ÞÀÏ ¸®½ºÆ®¿¡¼­ »èÁ¦ÇÏ°Ú½À´Ï´Ù. [¼ö½Å°ÅºÎ] 

If you are foreigner, please clickhere[Remove] 
This site is related with E-Mail
Marketing.. Your e-mail address is extracted from BBS, and have no other
data..Only Have e-mail-address.We appologizing you very much if you
received this mail¡¹ Very sorry to disturb you.






Re: [Samba] 2.2.4-pre Makefile install issue.

2002-04-29 Thread Gerald Carter

On Mon, 29 Apr 2002, William Jojo wrote:

 Cool, but the install-sh still does not support multiple paths on the
 command line with the -d option. The rest of my last email addressed
 that. :)

Ooops.  Sorry.  I'll take a look.






cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--





RE: PATCH: VFS audit.c module

2002-04-29 Thread Esh, Andrew
Title: RE: PATCH: VFS audit.c module





Wouldn't a better fix be to replace the NULLs in vfs.c with calls to a function like vfs_do_nothing, which always returns false or NULL? That way no one working on code outside of the vfs wrapper code has to remember to test the function pointers.

-Original Message-
From: Eric Lorimer [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 5:19 PM
To: [EMAIL PROTECTED]
Subject: PATCH: VFS audit.c module



Hello,


Not sure if anyone else has run across the same thing: after making and installing the stock audit.so module, trying to write a file to the share causes a segfault. The problem is these lines from smbd/vfs.c:

struct vfs_ops default_vfs_ops = {
 ...
#if defined(HAVE_NO_ACLS)
 NULL,
 NULL,
#else
 vfswrap_chmod_acl,
 vfswrap_fchmod_acl,
#endif
 ...
};


if HAVE_NO_ACLS is defined, the two pointers are null, and the audit.c module tries to follow the null pointers and causes the segfault. I would guess the problem is also present in skel.c as well. Though the fix is trivial, I've included a patch anyway.

- Eric Lorimer




--- audit.c Sat Apr 27 17:11:25 2002
+++ /tmp/audit.c.good Sat Apr 27 16:44:15 2002
@@ -287,7 +287,12 @@

int audit_chmod_acl(struct connection_struct *conn, const char *path, mode_t mode)
{
- int result = default_vfs_ops.chmod_acl(conn, path, mode);
+ int result;
+ 
+ if ( default_vfs_ops.chmod_acl == NULL )
+  return 0;
+
+ result = default_vfs_ops.chmod_acl(conn, path, mode);

 syslog(SYSLOG_PRIORITY, chmod_acl %s mode 0x%x %s%s\n,
  path, mode,
@@ -311,7 +316,12 @@

int audit_fchmod_acl(struct files_struct *fsp, int fd, mode_t mode)
{
- int result = default_vfs_ops.fchmod_acl(fsp, fd, mode);
+ int result;
+
+ if ( default_vfs_ops.fchmod_acl == NULL )
+  return 0;
+
+ result = default_vfs_ops.fchmod_acl(fsp, fd, mode);

 syslog(SYSLOG_PRIORITY, fchmod_acl %s mode 0x%x %s%s\n,
  fsp-fsp_name, mode,





2..2.4-pre Makefile inconsistencies - Fix enclosed

2002-04-29 Thread Richard Bollinger

Repeated makes on Linux result in libnss_winbind.so being rebuilt _every_ time in 
spite of no
changes.

Problem is inconsistency between targets and commands.  Patches to configure.in and 
Makefile.in are
as follows:

--- ../source/configure.in Mon Apr 29 07:16:35 2002
+++ ./configure.in Mon Apr 29 09:32:29 2002
 -2674,10 +2674,10 
  WINBIND_STARGETS=bin/winbindd
  case $host_os in
 *irix*)
- WINBIND_LTARGETS=libns_winbind.so
+ WINBIND_LTARGETS=nsswitch/libns_winbind.so
 ;;
 *)
- WINBIND_LTARGETS=libnss_winbind.so
+ WINBIND_LTARGETS=nsswitch/libnss_winbind.so
 ;;
  esac

--- ../source/Makefile.in Mon Apr 29 07:15:48 2002
+++ ./Makefile.in Mon Apr 29 09:37:02 2002
 -663,7 +663,7 

 WINBIND_LTARGETS: $(WINBIND_NSS_PICOBJS)
  echo Linking $
- $(SHLD) LDSHFLAGS -o nsswitch/$ $(WINBIND_NSS_PICOBJS) WINBIND_NSS_EXTRA_LIBS
+ $(SHLD) LDSHFLAGS -o $ $(WINBIND_NSS_PICOBJS) WINBIND_NSS_EXTRA_LIBS

 nsswitch/pam_winbind.so: $(PAM_WINBIND_OBJ) bin/.dummy
  echo Linking $


Please run autoconf and check in the resulting configure file as well.

Rich Bollinger, Elliott Company





PATCH: safe recursion in smbclient

2002-04-29 Thread Justin Yackoski

This patch adds a saferecurse option to smbclient which hashes directory
contents to check for infinite recursion, similar to wget.  It was
written to require minimal changes to client.c and its behavior while
still preventing infinite recursion.  It doesn't change the default
behavior of smbclient, and plays well with the normal recurse option.  

This fixes a problem with those who want to retrieve file lists off of
servers where circular file systems may or do exist (in either windows
or *nix).  This is useful if someone either desires a circular file
system on a share or if they have little/no control over the file
structure of the server.

I have tested it with directories containing 30,000+ files and saw less
than a second of performance loss versus normal recursion, so I believe
this is a worthwhile tradeoff.  Please accept this patch, it will solve
many problems.  I submit that the regular unsafe recursion option should
be removed (or renamed to unsaferecurse and this to recurse) but this
patch allows both to be available and only adds saferecurse, changing no
behavior otherwise, since I realize others may disagree.

This is a patch against 2.2.3a but I've checked in cvs and it should
work with any revision after that as well since not much has changed.

Thank you.
Justin Yackoski


--- client/client.c Sat Feb  2 19:46:38 2002
+++ client/client.c Fri Feb  8 18:28:06 2002
 -79,6 +79,10 
 int printmode = 1;
 
 static BOOL recurse = False;
+static BOOL saferecurse = False;
+static hash_table saferecurse_hash_table;
+static int dirs_added = 0;
+char dummy_value[] = a;
 BOOL lowercase = False;
 
 struct in_addr dest_ip;
 -346,14 +350,97 
 }
 
 static BOOL do_list_recurse;
+static BOOL do_list_saferecurse;
 static BOOL do_list_dirs;
 static char *do_list_queue = 0;
 static long do_list_queue_size = 0;
 static long do_list_queue_start = 0;
 static long do_list_queue_end = 0;
+static char *saferecurse_current_dir = 0;
+static long saferecurse_current_dir_size = 0;
+static long saferecurse_current_dir_end = 0;
+static long saferecurse_current_dir_start = 0;
 static void (*do_list_fn)(file_info *);
 
 /
+functions for saferecurse_current_dir
+  /
+
+/*
+ * saferecurse_current_dir is a string with the name, size, and mtime of
+ * all files and directories in the current directory, which will later
+ * be hashed if saferecurse is being used
+ */
+static void reset_saferecurse_hash_table( void )
+{
+   static BOOL initialised;
+   if (initialised) {
+   hash_clear(saferecurse_hash_table);
+   }
+
+   initialised = hash_table_init( saferecurse_hash_table, 512, 
+  (compare_function)(strcmp));
+}
+
+static void reset_saferecurse_current_dir(void)
+{
+   SAFE_FREE(saferecurse_current_dir);
+   saferecurse_current_dir = 0;
+   saferecurse_current_dir_size = 0;
+   saferecurse_current_dir_start = 0;
+   saferecurse_current_dir_end = 0;
+}
+
+static void init_saferecurse_current_dir(void)
+{
+   reset_saferecurse_current_dir();
+   saferecurse_current_dir_size = 1024;
+   saferecurse_current_dir = malloc(saferecurse_current_dir_size);
+   if (saferecurse_current_dir == 0) { 
+   DEBUG(0,(malloc fail for size %d\n,
+(int)saferecurse_current_dir_size));
+   reset_saferecurse_current_dir();
+   } else {
+   memset(saferecurse_current_dir, 0,
+saferecurse_current_dir_size);
+   }
+}
+
+static void add_saferecurse_current_dir(const char* entry)
+{
+   char *dlq;
+
+   long new_end = saferecurse_current_dir_end + ((long)strlen(entry)) + 1;
+   while (new_end  saferecurse_current_dir_size)
+   {
+   saferecurse_current_dir_size *= 2;
+   DEBUG(4,(enlarging saferecurse_current_dir to %d\n,
+(int)saferecurse_current_dir_size));
+   dlq = Realloc(saferecurse_current_dir,
+saferecurse_current_dir_size);
+   if (!dlq) {
+   DEBUG(0,(failure enlarging saferecurse_current_dir to %d 
+bytes\n,
+   (int)saferecurse_current_dir_size));
+   reset_saferecurse_current_dir();
+   } else {
+   saferecurse_current_dir = dlq;
+   memset(saferecurse_current_dir +
+saferecurse_current_dir_size / 2,
+   0, saferecurse_current_dir_size / 2);
+   }
+   }
+   if (saferecurse_current_dir)
+   {
+   pstrcpy(saferecurse_current_dir + saferecurse_current_dir_end,
+entry);
+   saferecurse_current_dir_end = new_end;
+   DEBUG(4,(added %s to 

client problems?

2002-04-29 Thread mgoins

Howdy all,

My problem is this:

We are about to deploy some linux Workstations and we want to mount the
users NT domain home directory.
I am able to access the server from the smb client and view the home
directories, but when I cd into my home directory it is empty. I can view
them from a net use. Are my domain credentials not being passed?


any help would be great


~Michael





overriding dyn_CONFIGFILE in pdbedit with command line parameter

2002-04-29 Thread Bradley W. Langhorst


I decided to modify pdbedit to handle another 
command line parameter -c /pathto/smb.conf

I've got that working - but I'm not sure it's safe
Is it reasonable to expect the popt stuff to give me back 
null terminated string?

if so then find a simple patch below


are attachments not accepted by the listserver - i sent this twice
before but never saw anything on the list

brad

diff -r1.43 pdbedit.c
411a412
   static char *configfile = NULL;
433a435
   {configfile,  c,POPT_ARG_STRING,configfile,0,use the
given path to the smb.conf file,NULL},
441a444,451
   pc = poptGetContext(NULL, argc, (const char **) argv,
long_options,
  
POPT_CONTEXT_KEEP_FIRST);

   while((opt = poptGetNextOpt(pc)) != -1);

   if (configfile) {
 safe_strcpy(dyn_CONFIGFILE,configfile, strlen(configfile));
/*override the default config file*/
   }
450,451d459
   pc = poptGetContext(NULL, argc, (const char **) argv,
long_options,
  
POPT_CONTEXT_KEEP_FIRST);
453d460
   while((opt = poptGetNextOpt(pc)) != -1);






Re: overriding dyn_CONFIGFILE in pdbedit with command line parameter

2002-04-29 Thread abartlet

On Mon, Apr 29, 2002 at 05:00:32PM -0400, Bradley W. Langhorst wrote:
 
 I decided to modify pdbedit to handle another 
 command line parameter -c /pathto/smb.conf
 
 I've got that working - but I'm not sure it's safe
 Is it reasonable to expect the popt stuff to give me back 
 null terminated string?

Can you resend as a diff -u?

As to null termination, I think that is safe.

Andrew Bartlett




RE: 2.0.6 Problem

2002-04-29 Thread Robert F. Thomas

That is exciting news, since it is totally undocumented that SAMBA 2.0.3 on
OpenVMS supports encrypted passwords.

Could you please explain how we can utilize this capability in v2.0.3?

Sincerely,
Robert F. Thomas
A. S. Thomas, Inc.
-Original Message-
From: Richard Sharpe [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 2:40 PM
To: Robert F. Thomas
Cc: Naveed Ahmed; [EMAIL PROTECTED]
Subject: RE: 2.0.6 Problem


On Mon, 29 Apr 2002, Robert F. Thomas wrote:

 Has the user been entered into the SAMBA password list?  In V2.0.3 all
 passwords are unencrypted.  In V2.0.6 passwords can be encrypted and if
this
 feature is being used (turned on by default), each user/machine accessing
 the share must have an entry in the SAMBA password file.  This file is
 maintained by SMBPASSWD.

Sorry, this is incorrect.

1. 2.0.3 allowed encrypted passwds, and you have to do things explicitely
to allow them in 2.0.3, 2.0.6, or indeed, any version of Samba.

2. You only get that message if the user has authenticated and tries to do
a TCON or a TCONX. Thus, they have clearly authenticated.

Use the source, Luke :-)

Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]






RE: 2.0.6 Problem

2002-04-29 Thread Richard Sharpe

On Tue, 30 Apr 2002, Richard Sharpe wrote:

 On Mon, 29 Apr 2002, Robert F. Thomas wrote:
 
  That is exciting news, since it is totally undocumented that SAMBA 2.0.3 on
  OpenVMS supports encrypted passwords.
 
 Oops. I may have miss-spoke with respect to Samba on 2.0.3. I don't use 
 it. In which case, I apologise. The statement is true in general of Samba.

Arrrg. That should have read ... Samba 2.0.3 on VMS ... 

 In any event, the error that is being returned clearly indicates that the 
 user has managed to authenticate. You get a different error if they did 
 not authenticate.
 
  Could you please explain how we can utilize this capability in v2.0.3?
  
  Sincerely,
  Robert F. Thomas
  A. S. Thomas, Inc.
  -Original Message-
  From: Richard Sharpe [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 29, 2002 2:40 PM
  To: Robert F. Thomas
  Cc: Naveed Ahmed; [EMAIL PROTECTED]
  Subject: RE: 2.0.6 Problem
  
  
  On Mon, 29 Apr 2002, Robert F. Thomas wrote:
  
   Has the user been entered into the SAMBA password list?  In V2.0.3 all
   passwords are unencrypted.  In V2.0.6 passwords can be encrypted and if
  this
   feature is being used (turned on by default), each user/machine accessing
   the share must have an entry in the SAMBA password file.  This file is
   maintained by SMBPASSWD.
  
  Sorry, this is incorrect.
  
  1. 2.0.3 allowed encrypted passwds, and you have to do things explicitely
  to allow them in 2.0.3, 2.0.6, or indeed, any version of Samba.
  
  2. You only get that message if the user has authenticated and tries to do
  a TCON or a TCONX. Thus, they have clearly authenticated.
  
  Use the source, Luke :-)
  
  Regards
  -
  Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED],
  [EMAIL PROTECTED]
  
  
 
 

-- 
Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED]