The Samba Team Releases Version 2.2.6

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Heads up everyone,

After a long wait (4 months since 2.2.5 and numerous bug fixes
later), the final planned 2.2 release is here.  With this release
Samba 2.2 is now officially in maintenance mode only.  The only
fixes that will be accepted to the SAMBA_2_2 cvs branch are those
which fix critical bugs in basic functionality.  It's time to move
on to Samba 3.0.

Please refer to the complete release notes here

  http://www.samba.org/samba/whatsnew/samba-2.2.6.html

This is the latest stable release of Samba and is the
version that all production Samba servers should be running
for all current bug-fixes.

The source code can be downloaded from :

  http://download.samba.org/samba/ftp/

in the file samba-2.2.6.tar.gz or samba-2.2.6.tar.bz2.
Both archives have been signed as well using the Samba Distribution
Key (samba-pubkey.asc is available in the same download directory
as the source tarballs)

Binary packages will be released shortly for major platforms and
can be found at

  http://download.samba.org/samba/ftp/Binary_Packages/

As always, all bugs are our responsibility.

  --Enjoy
  The Samba Team


WHAT'S NEW IN Samba 2.2.6 - 16th October 2002
=

This is the latest stable release of Samba. This is the version that all
production Samba servers should be running for all current bug-fixes.

There have been several issues addressed in this release including:

 * Fixes for MS-RPC printing issues affecting Windows 2000 clients
 * New support for smb.conf generation in SWAT
 * Inclusion of several performance enhancements (See --with-sendfile
and the modified smb.conf(5) parameters in these Release Notes)
 * Fixes for several file locking bugs and returned status codes


New Parameters
- - --

Refer to the smb.conf(5) man page for complete descriptions of new
parameters.

  * profile acls (S)workaround for issue with WinXP SP1
and roaming user profiles

Removed Parameters
- - --

  * max packet (G)
  * packet size (G)

Modified Parameters
- - ---

  * max xmit (G)new default value
  * large readwrite (G) new default value

New ./configure Options
- - ---

  --with-sendfile   Enable experimental sendfile support
  --with-winbind-ldap-hack  Enable winbindd_ldap_hack() functionality
for Windows 2000 native mode domains


Changes since 2.2.5
- - 

See refer to the complete release notes and the SAMBA_2_2 cvs log
for more details


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rjNiIR7qMdg1EfYRAhl0AJwIVxdSh40vtGER3XBs2Vpnn3ZdHwCg1TJf
oPuOpcq2SFD3S5ShiJ+b3j0=
=wsce
-END PGP SIGNATURE-




[Samba] nt pipe support and nt smb support in smb.conf

2002-10-16 Thread Knut Hellebø

Regards,

This is kind of urgent (isn't everything nowadays :-).
Historically, our samba servers need to run with the two 'untouchables'
nt pipe support and nt smb support both set to no (non default)
based on a recommendation by one of our software vendors. These settings
in smb.conf now prevents WIN2K SP2 clients from creating directories on
the samba shares. The problem is that if I reset these two to default
yes performance is better and creating directories are OK, but the
application doesn't work.
Despite the documentation saying that the nt smb support set to no
could make Windows NT clients give faster performance with this option
set to no, and this is still being investigated, does anybody know
whether there are any need for these two parameters to be changed from
the default ? This is with samba-2.2.5

 nt pipe support (G)
 
 This boolean parameter controls whether smbd(8) will allow Windows NT clients to 
connect to the NT SMB specific IPC$ pipes. This is a developer debugging option and 
can be left alone.
 
 Default: nt pipe support = yes
 nt smb support (G)
 
 This boolean parameter controls whether smbd(8) will negotiate NT specific SMB 
support with Windows NT/2k/XP clients. Although this is a developer debugging option 
and should be left alone, benchmarking has discovered that Windows NT clients give 
faster performance with this option set to no. This is still being investigated. If 
this option is set to no then Samba offers exactly the same SMB calls that versions 
prior to Samba 2.0 offered. This information may be of use if any users are having 
problems with NT SMB support.
 
 You should not need to ever disable this parameter.
 
 Default: nt smb support = yes
 

-- 

  **
  * Knut Hellebø | DAMN GOOD COFFEE !! *
  * Hydro IS Partner ESI (Unix) Team | (and hot too)   *
  * Phone: +47 55 996870, Fax: +47 55 996342 | *
  * Cellular Phone: +47 93005151 | *
  * E-mail: [EMAIL PROTECTED]   | Dale Cooper, FBI*
  **
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Don't know how to config after compiled the source code ?

2002-10-16 Thread Kevin Chan

Hi all,

I was copy linux power's smb.conf to /usr/local/samba/lib and change few
setting on smb.conf.  After that I start the samba by following command:

# /usr/local/samba/bin/smbd -D
# /usr/local/samba/bin/nmbd -D

NOW, I can see the samba server from the Windows XP workgroup but when I try
to access the Samba it show the below error message on my Windows XP Pro:

( \\sunu5 is not accessible.  You might not have permission to use this
network resource.  Contact the administrator of this server to find out if
you have access permissions.

The account is not authorized to log in from this station. )

Can anyone tell me what's wrong on my smb.conf file (attached eith this
mail) ?

Also, what I need to do to solve my problem ?

(p.s. Windows XP Pro User account and Samba user are same : Kevin)

Thanks and regards,
Kevin Chan

 linux power Wrote:
 smb.conf is located in /usr/local/samba/lib
 Attached is my smb.conf file.





smb.conf
Description: Binary data


[Samba] Samba 2.2.6rc4 RPMS released for Mandrake Linux 8.2 and 9.0

2002-10-16 Thread Sylvestre Taburet

Hi!

As usual, get them at:

http://people.mandrakesoft.com/~staburet/freshsamba
or 
http://ranger.dnsalias.com/mandrake/samba

Get the SRPM at:

http://people.mandrakesoft.com/~staburet/SRPMS

Cheers,
Sly
-- 
Sylvestre Taburet - Project Manager - 1024D/030E1B7E
Mandrakesoft S.A. - 43, rue d'Aboukir, 75002 Paris - FRANCE
+33 (0) 1 40 41 00 41 - http://www.mandrakelinux.com

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



RE: [Samba] tail -f the missing data:2.2.5, 2.2.19-6.2.16,

2002-10-16 Thread Sean Cullen

Yes - RH7.2 + default 2.4 Kernels seem to solve 
the problem. So looks like I'll have to reinstall 
a bunch of machines.

Out of curiosity, if you knew what was causing this
in the 2.2 Kernel, I'd be interested.

Thanks,

Sean.

-Original Message-
From: Urban Widmark [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2002 21:12
To: Sean Cullen
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] tail -f  the missing data:2.2.5, 2.2.19-6.2.16,


On Wed, 9 Oct 2002, Sean Cullen wrote:

 [Background]
 Redhat 6.2 2.2.19-6.2.16

Any chance of testing this on a 2.4.19 kernel?

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



[Samba] samba LDAP

2002-10-16 Thread Koriun A. Margarian

Hello samba,

Any expert for samba  LDAP ???
or any good docs?

I am trying to use LDAP, but have some problems.
At first I cannot import passwd file to ldap with import_smbpasswd.pl
it say

CNet::LDAP encountered an error while encoding the request packet that would
have been sent to the server


and connection with ldap is very slow.
-- 
Best regards,
 Koriun  mailto:[EMAIL PROTECTED]

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



[Samba] Network down - timeouts URGENT

2002-10-16 Thread Typhoon

We have a problem with our linux embedded-system and samba units.
We mount remote windows shared drives, and transfer a lot of file to/from 
them.
If Windows crash :) or unpluggin RJ, our program hang on read/write calls ( 
and all other access to remote file ) for undefined time...
WE NEED to set a SHORT timeout for connection lost !!
The sockopt  KEEP_ALIVE not help us! Is there some tuning to recognize 
netfail fairly?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] winbind

2002-10-16 Thread Gareth Davies

- Original Message -
From: Norman Zhang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 16, 2002 3:34 AM
Subject: [Samba] winbind


 Hi,

 I have winbind working, as

 wbinfo -u
 wbinfo -g
 wbinfo -t
snip

Have you tried wbinfo -A Administrator%password

Which gives Winbind a username to connect to the PDC with..

Have you checked the permissions for the home directory?

chmod 700 directory/, chown DOMAIN+User directory/ , chown :'DOMAIN+Domain
Users' directory/

 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.

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



Re: [Samba] Need installation help of SAMBA on UNIX Sun- Solaris version 8 platform

2002-10-16 Thread Gareth Davies

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 7:12 PM
Subject: [Samba] Need installation help of SAMBA on UNIX Sun- Solaris
version 8 platform

Dear Mr. Andrew Tridgell,

snip

RTFM springs to mind :)

http://samba.mirror.ac.uk/samba/docs/Samba-HOWTO-Collection.html

http://samba.mirror.ac.uk/samba/docs/man/smbd.8.html

http://samba.mirror.ac.uk/samba/docs/man/nmbd.8.html

http://hr.uoregon.edu/davidrl/samba.html

Re the licence...which funny enough it says clearly on the front page..

Samba is freely available under the GNU General Public License.

Read http://samba.mirror.ac.uk/samba/docs/GPL.html

P.S. please note HTML e-mails make baby Jesus cry.

 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.

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



Re: [Samba] Runaway samba processes

2002-10-16 Thread Robert Euston

Hi,

Phil Chambers wrote:
We have Samba 2.2.5 running on AIX 4.3.3. The server is a very heavy 
duty server, and has 3 main shares, which are very large.

The problem is that after a few days of running, the server suddenly 
stops killing off newly spawned smbd processes. They do not die, even 
when the original smbd process is killed. They will respond to a kill 
-9, but killing off the main PID does not kill the runaway children. 
(Instead, their PPID goes to 1 )
 
 I'm curious to see if this is in any way related to a problem we have.  Are the 
 ruaway processes using cpu or are they completely idle?  We have a problem with smbd 
 getting into a loop and consuming cpu.  We do also see processes which do not get 
 closed down, but it is just odd processes and I think they will kill with just a 
 -TERM.

This is happening on a huge server with gigabytes of real memory. It can 
handle thousands of these dead proocesses before slowing down - and then 
it's not the memory, but the huge process list. They do consume memory 
and CPU, however, so it may be related.

What is the procedure for logging a bug with the Samba developers?

Thanks,
Robert

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



[Samba] integrated mail+ftp+samba+proxy auth mysql

2002-10-16 Thread anton heryanto

Hello all
thanks for the open source project
I'm campus network administrator and I try to implement single-sign on 
with auth backend using mysql database!!!
I have searched server that we need that using mysql as auth module for 
*nix and windows desktop and found :
mail server -- qmail + vpopmail+mysql
ftp server -- pureftp + mysql
proxy server -- squid+mysql
domain logon \
file server  samba +mysql -- only work for 2.0.x , 2.2.x still on 
progress (by Jelmer Vernooij)
print server /
web server -- apache+mod_auth_mysql
-
but I have a difficulty, because each server use their own mysql 
database, table and password encryption, I want to that all server use 
same database and table and if could be use same password encryption 
method .

Think that I want to ask, when samba auth mysql 2.2.x finish and why 
this project no include in samba head ….
And I want to know encryption methode that samba use place in what code 
in samba source code
because i want to try to implement to other server ….

Sorry, for my bad English
thanks for all of you attention and help

Regards


Anton



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



[Samba] Problems w/long file access times (samba2.2.5 WinXP pro) (fwd)

2002-10-16 Thread Karim 'Kasi Mir' Senoucci

Hello all,
we're currently having problems with Windows XP machines that have
*very* long file access times for files that are located on our
linux-based samba server (samba 2.2.5 / linux 2.4.18). This happens with
all kinds of files, with all kinds of programs, including Office97, text
editors, develoment environments, etc.

Sometimes - the incidents itself seems to be random and is not
reproducible so far - a program freezes after a file to be opened or
saved is selected; depending on the program, it either

- returns after a minute or so claiming the operation has failed, only
  to load/save the file successfully anyway most of the time, or

- loads/saves the file as requested and unfreezes the program after up
  to 60 seconds.

This only happens with our WinXP clients; the two legacy Win98 machines
still in use don't ever complain about anything. I read something about
oplock problems in an older mail on one of the samba mailing lists and
tried tinkering with the parameters to no avail.

Below, I include my smb.conf; a debug logs are available on request. Any
help or insight into the matter is appreciated.

Thanks
Kasi Mir


[global]
workgroup = DY
username map = /etc/samba/smb.usermap
force unknown acl user = yes
debuglevel = 10
encrypt passwords = yes
preserve case = yes
os level = 65
domain admin group = root mw mk fb ks mk
security = user
printing = bsd
printcap name = /etc/printcap
domain master = yes
domain logons = yes
preferred master = yes
max log size = 10
oplocks = yes
time server = yes
hosts allow = 10.0.2.0/255.255.255.0
remote announce = 10.0.2.255/DY
logon home = \\double\home\.config\%m
logon path = \\double\home\.config\%m
auto services = netlogon
logon script = %U.bat
;socket options = IPTOS_LOWDELAY TCP_NODELAY
interfaces = 10.0.2.200/255.255.255.0
oplock break wait time = 10
server string = Zentralserver

[home]
path = /home/%u
browseable = yes
create mode = 0770
directory mode = 0770
read only = no
force group = users
csc  policy = disable

...

[grafix]
path = /fileserver/gfx
browseable = yes
create mode = 0770
directory mode = 0770
read only = no
force group = users

[prg]
path = /server2/prg
browseable = yes
create mode = 0770
directory mode = 0770
read only = no
force group = users

[install]
path = /server2/install
browseable = yes
create mode = 0770
directory mode = 0770
read only = no
force group = users

[technik]
path = /server2/technik
browseable = yes
create mode = 0770
directory mode = 0770
read only = no
force group = technik

...

[printers]
comment = All Printers
browseable = yes
printable = yes
public = yes
read only = yes
create mode = 0700
directory = /tmp

[netlogon]
path = /fileserver/script
browseable = no
read only = yes
write list = mw
admin users = mw

...


Re: [Samba] Problems w/long file access times (samba2.2.5 WinXPpro) (fwd)

2002-10-16 Thread Ben Griffith


-[ on 10/16/02 02:21:12 PM +0200 [EMAIL PROTECTED] wrote ]-

 This only happens with our WinXP clients; the two legacy Win98 machines
 still in use don't ever complain about anything. I read something about
 oplock problems in an older mail on one of the samba mailing lists and
 tried tinkering with the parameters to no avail.


I saw delayed access to Samba shares with WinXP until I turned off the 
WebClient service that runs on WinXP. It was trying to access the Samba 
server over port 80 and waiting for timeouts until then using the expected 
NetBIOS ports. After disabling the WebClient service on my XP machines, 
they accessed the Samba shares normally.

As an administrator on the XP machine type services.msc into the run 
dialog. Then look for WebClient and stop or disable the service. See if 
this makes any difference.

 --Ben--

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



[Samba] xp and joining a samba domain

2002-10-16 Thread Bryan Pershall

I am having a problem with xp joining my samba domain.  What are the best logs 
of samba to watch to help debug my problem.

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



[Samba] samba books ?

2002-10-16 Thread Bryan Pershall

Have there or is there a samba refernce book published this year with 
information on xp integration and pdc information?
-- 
Sincerely
Bryan Pershall  
IT Consultant
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] to make a printer usable by all the world even with those which don't belong to the domain

2002-10-16 Thread Kalkoul Morad

hi,
I am on on domain under samba 2.2.5. every run correctly. And in my smb.conf
, i want to share my printer with all the world even with those which don't
belong to the domain ?
Does the fact of being in a  NT domain make obligatorily inaccessible the
printer to those which do not make party of the field? 

This is what I put in my smb.conf for the printer:
[laserPCL]
printable = yes
print command = /usr/bin/lpr -r %s
printer = lppublic
read only = yes
guest ok = yes
browseable = yes
printer driver = HP LaserJet 2100 Series PCL 6
comment = Imprimante Laser PCL
Is it correct like this to that everyone can use it?
Thanks in advance, MO





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



Re: [Samba] Printer settings on 2.2.5

2002-10-16 Thread Nicolas Kowalski

Gerald (Jerry) Carter [EMAIL PROTECTED] writes:

 The problem has gone away...Users can use simplex/duplex printing from
 any application without problems.
 
 Mmmhh. Just one thing : when I upgraded to 2.2.6rc3, I did not remove
 the /usr/local/samba/var/locks/* files. I just restarted the smbd and
 nmbd daemons. Perhaps this is the trick ?

 Yes.  Could be.  Please retest...

I installed 2.2.6rc4 this morning, took the basic config files
(smb.conf, smbpasswd, ...) from my previous 2.2.5 installation,
without copying the locks/* files and printer drivers files.

I followed the instructions from the howto, and this time, everything
runs smoothly :-).

I must have done something bad during the last upgrade, but I do not
know what :-(.

-- 
Nicolas

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



[Samba] Re: Please assist with Winbind issues!

2002-10-16 Thread SRuth

 The homes share must have /home/%D as the path.  /home/%D/%U, and blank does not 
work.  This connects the user to a share named after the login ID, but 
double-clicking that share shows all of the folders in the /home/%D path rather than 
just the contents of the user's folder.  Which makes sense, but why doesn't 
/home/%D/%U or a blank entry work?
 
 Thanks to everyone for your assistance.

A blank entry should work - in what way does it 'not work'?  Try
2.2.6rc2 - a stat() check has been removed that might have caused the
problem.  Samba 3.0 has even more advanced logic here.

Andrew Bartlett




No username share appears upon connecting to the server.  Can't map it either.

I'm intending to put this server into production within the next week or two, so I'd 
like to avoid using a non-production release.  When is the next production release 
due, or is the current rc stable enough for production use?

Thanks.

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



[Samba] Problem Logging in to Samba PDC

2002-10-16 Thread Irving Carrion

Hello!

Ok, recently upgraded from Samba 2.2.3a to 2.999+3.0.alpha20-2.

After successfully joining the Win2k SP3 machine to the Samba PDC, I'm
unable to log in.  The error I get is the following:


The system cannot log you on to this domain because the system's
computer account in its primary domain is missing or the password on
that account is incorrect


According to the docs, these are the steps I need to take.

useradd -g 100 -d /dev/null -c irvpc -s /bin/false irvpc$

passwd -l irvpc$

smbpasswd -a -m irvpc



So, before the upgrade, I could look at smbpasswd to see if the machine
accounts where created successfully and if there were any duplicates.
However, with this new version, all machine accounts are stored in a
.tdb format.  How can one go about looking at the contents of the .tdb
files and which file should I be looking at?

Sorry, I don't find any information on the .tdb files in the docs.
Maybe someone can point me to some.

Really appreciate any help...Thanks!
IRV


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



[Samba] new server/recommendations

2002-10-16 Thread Roger Schmeits

We are in the process of replacing a server and are in need of
recommendations for what version of Samba to run. Thinking of running
RH7.3 with about 200+ shares that consumes about 60G of data.

Is the the standard to go with the latest and greatest?


Roger


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



Re: [Samba] Runaway samba processes

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 16 Oct 2002, Robert Euston wrote:

 Hi -
 
 Thanks for the reply -
 
 Unfortunately we are running a 24 hour service, so a stop and start is 
 not a good option for us. I'm looking at downgrading to an earlier 
 version to see if that alleviates the problem.
 
 I think that this is looking like a bug in the samba code.

Robert,

Can you please retest using 2.2.6rc4 ?  If this does not correct your 
problem, please send me more information such as client OS, version of 
server OS, smb.conf, etc  Any specifics about your environment that
might be a data point for tracking it down.





cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rXLzIR7qMdg1EfYRAiA6AKCZdwznsZ3wpV9jM7gUOjUZwThVQQCcC/MH
OTqkD+EUh1e8yW1CbfZA4UQ=
=2A2O
-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] nt pipe support and nt smb support in smb.conf

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 16 Oct 2002, Knut Hellebø wrote:

 Regards,
 
 This is kind of urgent (isn't everything nowadays :-).
 Historically, our samba servers need to run with the two 'untouchables'
 nt pipe support and nt smb support both set to no (non default)
 based on a recommendation by one of our software vendors. These settings
 in smb.conf now prevents WIN2K SP2 clients from creating directories on
 the samba shares. The problem is that if I reset these two to default
 yes performance is better and creating directories are OK, but the
 application doesn't work.

What application ?  Why did the vendor suggest disabling these two 
parameters?  Also, please retest this with 2.2.6rc4.  Thanks.




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rXMxIR7qMdg1EfYRAvFAAKCGaCILCRApV1yg8KrhthUCu8U7XACgndBP
gFXxl9sUSWKrW+GSRv+ZPUY=
=l+HL
-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] No such file error when reading Win98 profiles

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 14 Oct 2002, Ed Lally wrote:

 Hi all,
 
 I'm having an odd error with Samba 2.2.5 and I'm wondering if anyone can
 give me a hand with it.
 
 About a month ago, I upgraded from Samba 2.2.1 to 2.2.5 on RedHat 7.2 and,
 since then, my Win98 users have been receiving No such file or directory
 errors during login.  The upgrade was installed using John Terpstra's RH 7.2
 RPM package.

Ed,

Please retest with 2.2.6rc4.  This has the ring of a mangling bug that 
Jeremy recently fixed.




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rXPGIR7qMdg1EfYRAmT6AKC5dr5VNfIMaQ8HBdi9l7fUcJAHdgCglru+
pdE2hlPREwV2jizVJzepecc=
=uhhz
-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] integrated mail+ftp+samba+proxy auth mysql

2002-10-16 Thread Roger Schmeits

There are is an article in www.sysadminmag.com that you may be
interested in called PAM-like authentication for Window Clients by
Nathan Yocom.


On Wed, 2002-10-16 at 06:23, anton heryanto wrote:
 Hello all
 thanks for the open source project
 I'm campus network administrator and I try to implement single-sign on 
 with auth backend using mysql database!!!
 I have searched server that we need that using mysql as auth module for 
 *nix and windows desktop and found :
 mail server -- qmail + vpopmail+mysql
 ftp server -- pureftp + mysql
 proxy server -- squid+mysql
 domain logon \
 file server  samba +mysql -- only work for 2.0.x , 2.2.x still on 
 progress (by Jelmer Vernooij)
 print server /
 web server -- apache+mod_auth_mysql
 -
 but I have a difficulty, because each server use their own mysql 
 database, table and password encryption, I want to that all server use 
 same database and table and if could be use same password encryption 
 method .
 
 Think that I want to ask, when samba auth mysql 2.2.x finish and why 
 this project no include in samba head ….
 And I want to know encryption methode that samba use place in what code 
 in samba source code
 because i want to try to implement to other server ….
 
 Sorry, for my bad English
 thanks for all of you attention and help
 
 Regards
 
 
 Anton
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
**
Roger Schmeits
System Analyst
Clarkson College
http://www.clarksoncollege.edu
Omaha, NE USA
1-800-647-5500 x22542
* 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Need installation help of SAMBA on UNIX Sun- Solarisversion 8 platform

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 15 Oct 2002 [EMAIL PROTECTED] wrote:

 Dear Mr. Andrew Tridgell,
 
 
 I am new to samba.  I understood that it allows you to share the files 
 from Microsoft windows env. and UNIX environment.
 
 I need to install the software on my UNIX machine. 
 
 Do I need the license?

Samba is released un the GNU General Public License v2.
See the file COPYING in the root of the source distribution you 
downloaded.


  samba-latest.tar.gz I copied to UNIX env. and gunzip and tar to extract
 all the files.  Is this correct step?

Yes.  See the docs/htmldocs/UNIX_INSTALL.html instructions
and the O'Reilly Samba book included in docs/htmldocs/using_samba




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rXXmIR7qMdg1EfYRAtqnAKDX5UFcoHyzOJsvtcaaofCjAwL59wCfeBeO
FF6AQoxWUn6rfWTYQk4ZNjY=
=SQx3
-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] NMBD going down almost immediately after startup

2002-10-16 Thread Bart

Hi,
I'm having problems getting nmbd running.
Server is RH7.3 + ACL patches.

The problem is that the nmbd deamon crashes with the following error :

[2002/10/09 04:42:43, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/10/09 04:42:47, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(234)
  find_response_record: response packet id 4894 received with no matching
record.
[2002/10/09 04:42:47, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(234)
  find_response_record: response packet id 4895 received with no matching
record.
[2002/10/09 05:38:50, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...

smb.conf configuration is exactly the same as on another test server and it
works over there.

Could there be a problem with 'pam' that causes these issues ?

wbinfo -t returns : secret is good
wbinfo -g returns all PDC+groups
wbinfo -u returns all PDC+users
smbclient -L PDC returns pdc shares

What is probably going wrong and what can I do to check certain settings or
fix my problem ?
Any suggestions/solutions anyone ?

Thanks in advance

Bart

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



[Samba] CVS Client

2002-10-16 Thread Kenneth Illingsworth

I downloaded cvs-1.11.2.tar.gz and gziped it and tarballed at to get the resulting 
file cvs-1.11.2 .  I was expecting a ./configure or make program. Since I did not get 
this, I was wondering how to install this client?

Regards,
Ken Illingsworth

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



[Samba] Problem with PDC + Printing

2002-10-16 Thread Amaury DAILLIEZ



Hey all,

i've gota problem setting Samba as PDC + 
Printing,

The shared printers work perfectly while i'm not 
logged into the domain...
- i can install printers under windows
- i can print to installed printers

The PDC (without printing) works 
perfectly...
- i can join the domain as root
- i can log into the domain as a unix/samba 
user
- i can access to domain shares

But when i try to install a printer while i'm 
logged into the domain as simple user or root i can't install 
printers.
Windows says me i've got insufficient rights on my 
computer to connect to the selected printer...

Please help ! i've spent too many time now :(( 
about 15 days trying different configs.

Regards,
Amaury DAILLIEZ
IT Administrator
Tornado Technologies Europe
French Office

Technical Manager
Erian Concept
http://www.erian-concept.com / http://www.open-scheme.com



Re: [Samba] new server/recommendations

2002-10-16 Thread David W. Chapman Jr.

On Wed, Oct 16, 2002 at 09:07:17AM -0500, Roger Schmeits wrote:
 We are in the process of replacing a server and are in need of
 recommendations for what version of Samba to run. Thinking of running
 RH7.3 with about 200+ shares that consumes about 60G of data.
 
 Is the the standard to go with the latest and greatest?

2.2.6 should be out soon, that would be the latest stable version.

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org
-- 
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 PDC + Printing

2002-10-16 Thread Yura Pismerov


Check valid users on the [print$] share.


 Amaury DAILLIEZ wrote:
 
 Hey all,
 
 i've got a problem setting Samba as PDC + Printing,
 
 The shared printers work perfectly while i'm not logged into the
 domain...
 - i can install printers under windows
 - i can print to installed printers
 
 The PDC (without printing) works perfectly...
 - i can join the domain as root
 - i can log into the domain as a unix/samba user
 - i can access to domain shares
 
 But when i try to install a printer while i'm logged into the domain
 as simple user or root i can't install printers.
 Windows says me i've got insufficient rights on my computer to connect
 to the selected printer...
 
 Please help ! i've spent too many time now :(( about 15 days trying
 different configs.
 
 Regards,
 Amaury DAILLIEZ
 IT Administrator
 Tornado Technologies Europe
 French Office
 
 Technical Manager
 Erian Concept
 http://www.erian-concept.com / http://www.open-scheme.com
 

-- 

Yuri Pismerov, Sr. System Administrator, 
TUCOWS.COM INC. (416) 535-0123  ext. 1352
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] xp and joining a samba domain

2002-10-16 Thread Bradley W. Langhorst

On Wed, 2002-10-16 at 08:53, Bryan Pershall wrote:
 I am having a problem with xp joining my samba domain.  What are the best logs 
 of samba to watch to help debug my problem.
all the logs are in 
/var/log/samba 

you'll probably want to break the logs out by machine so it's easier to
follow.
you can do that with a 

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

parameter in smb.conf


if you search the archives of this list you'll probably find the
solution to your problem.

google's +site:lists.samba.org 
works well

brad

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



Re: [Samba] Problem Logging in to Samba PDC

2002-10-16 Thread Bradley W. Langhorst

On Wed, 2002-10-16 at 09:47, Irving Carrion wrote:
 Hello!
 
 Ok, recently upgraded from Samba 2.2.3a to 2.999+3.0.alpha20-2.
 
 After successfully joining the Win2k SP3 machine to the Samba PDC, I'm
 unable to log in.  The error I get is the following:
 
 
 The system cannot log you on to this domain because the system's
 computer account in its primary domain is missing or the password on
 that account is incorrect
did you apply the signorseal reg fix - thats needed on 2kSP2+ i believe.

 
 
 According to the docs, these are the steps I need to take.
 
 useradd -g 100 -d /dev/null -c irvpc -s /bin/false irvpc$
 
 passwd -l irvpc$
 
 smbpasswd -a -m irvpc
 
 
 
 So, before the upgrade, I could look at smbpasswd to see if the machine
 accounts where created successfully and if there were any duplicates.
 However, with this new version, all machine accounts are stored in a
 .tdb format.  How can one go about looking at the contents of the .tdb
 files and which file should I be looking at?
I use the ldap backend  so i don't know what's up with the tdbsam stuff.
I believe you can configure samba to continue to use smbpasswd and
passwd with a
passdb backend = smbpasswd 
in your conf file 

 Sorry, I don't find any information on the .tdb files in the docs.
 Maybe someone can point me to some.
you can sort of see what there with  strings name.tdb

brad

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



RE: [Samba] NMBD going down almost immediately after startup

2002-10-16 Thread Skip Dobrin

This is an obvious question, but needs to be asked.  When you said that the
smb.conf is exactly the same, did you change the netbios name for your
second server?  The netbios names cannot be the same on two machines.

Skip Dobrin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Bart
Sent: Wednesday, October 16, 2002 11:06 AM
To: [EMAIL PROTECTED]
Subject: [Samba] NMBD going down almost immediately after startup


Hi,
I'm having problems getting nmbd running.
Server is RH7.3 + ACL patches.

The problem is that the nmbd deamon crashes with the following error :

[2002/10/09 04:42:43, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/10/09 04:42:47, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(234)
  find_response_record: response packet id 4894 received with no matching
record.
[2002/10/09 04:42:47, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(234)
  find_response_record: response packet id 4895 received with no matching
record.
[2002/10/09 05:38:50, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...

smb.conf configuration is exactly the same as on another test server and it
works over there.

Could there be a problem with 'pam' that causes these issues ?

wbinfo -t returns : secret is good
wbinfo -g returns all PDC+groups
wbinfo -u returns all PDC+users
smbclient -L PDC returns pdc shares

What is probably going wrong and what can I do to check certain settings or
fix my problem ?
Any suggestions/solutions anyone ?

Thanks in advance

Bart


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



Re: [Samba] Don't know how to config after compiled the source code ? (Solved !)

2002-10-16 Thread Bradley W. Langhorst

On Wed, 2002-10-16 at 05:18, Kevin Chan wrote:
 Dear all,
 
 Finially my problem solved, after I change the following setting on my
 WindowsXP and reboot the PC:
 
 Using the registry editor (regedit), create the registry setting
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Param
 eters Add a new DWORD value: Value Name: EnablePlainTextPassword Data: 0x01
 
I strongly recommend against using plain text passwords...
you can use encrypted passwords between samba and winXP. Just leave
samba with its default settings and you should be able to log in.

If you can't you'll need to add your user on the samba server to the
samba password database with smbpasswd -a username

brad



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



RE: [Samba] Problem Logging in to Samba PDC

2002-10-16 Thread Irving Carrion

Brad, thanks for the reply.  Yes I did apply the signorseal reg fix for
xp.  I'm sure I could vi the .tdb file and see some strings, but I would
also like to edit it.

Thanks for the response!
IRV


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



Re: [Samba] Windows Drivers and SAMBA

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 16 Oct 2002, Michael E Johnson wrote:

 I am currently using 2.2.5 and also using the ESP Print Pro 4.2.2 (this
 is built on the CUPS principle) I have every thing (it would seem) 
 
 Working ok, one of the items that I was required to setup was the PRINT$
 category. Under this I was told to put a directory called drivers in the
 path /etc/samba/
 
 I assume that this is where I am to place the drivers for the defined
 printers that my windows clients will hit via SAMBA connection in order
 to print. My question is is this in fact where the drivers go? And how
 should the drivers (for the windows side) be set into this. When the
 client connects to the SAMBA server via the printer it looks to see if
 the driver exists in the share, if not it goes to the clients machine,
 can any one help me set this up the correct way?

Pleas read 

  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.html#PRINTING



cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rZJSIR7qMdg1EfYRAo4tAJ0d31ZSNClGSVYuOKDb0VDxJVZQEgCfSwLI
z8cxn/SKTKIXeeEGLyRqn6k=
=B6p6
-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] newbie question multiple samba servers in a single workgroup

2002-10-16 Thread Steve Mangan



Hi All,

I can set up sambaon a linux box in a 
workgroup (interfacing between windows 2000  red hat 7.2). The problem 
arises when I try and setup 2 or more samba servers each on a distinct linux box 
within a single workgroup.
Can anyone help ? I have tried giving them 
different netbios names and specifying one as the preferred master. Any ideas 
?

Thanks in advance,
Steve


Re: [Samba] Problem with PDC + Printing

2002-10-16 Thread Amaury DAILLIEZ

This value is not set, it means that all users are allowed to access this
share (according to Samba documentation) :(

Any other way ?

Amaury.


- Original Message -
From: Yura Pismerov [EMAIL PROTECTED]
To: Amaury DAILLIEZ [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 16, 2002 5:49 PM
Subject: Re: [Samba] Problem with PDC + Printing



 Check valid users on the [print$] share.


  Amaury DAILLIEZ wrote:
 
  Hey all,
 
  i've got a problem setting Samba as PDC + Printing,
 
  The shared printers work perfectly while i'm not logged into the
  domain...


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



[Samba] Samba 2.2.4

2002-10-16 Thread Larry Paulson

Can you let me know how to shut shutdown the SAMBA Services and remove SAMBA
2.2.4 from Solaris 8?

Thanks,

Larry

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



Re: [Samba] Printing W2K net use lpt Fixed

2002-10-16 Thread James Hubbard

Upgrading from 2.2.5 to 2.2.6rc4 seems to have fixed this problem.

James Hubbard


James Hubbard wrote:
 Hello,
 
 I've got a problem with printing on a Windows 2K box.  Printing from 
 that box to a samba server via the normal print mechanism works fine. 
 The problem is when the person needs to print to a lpt port.  The 
 capture succeeds, but when the file is copied to lpt2 it never gets 
 printed.
 
 There are other machines that can do the capture and copy to the lpt 
 port but they are Win 9x.  The files being copied are plot files 
 generated by a cad program.
 
 I noticed in the How-To that using enumports might be needed to make 
 using lpt ports work. It's not working though and I'm still getting the 
 same error message.  I've just started using disable spoolss = yes but 
 that doesn't seem to help either.
 
 All relevant information is below. Any help is appreciated.
 
 James Hubbard
 
 
 
 This is the command being used to capture the port.
 net use lpt2: \\server-bristol\hp450c
 
 Samba version 2.2.5
 RedHat 7.2
 Windows 2K with the latest service packs.
 
 smb.conf
 [global]
 ..
printcap name = /etc/printcap
load printers = yes
enumports command=/home/samba/ports.sh
disable spoolss = yes
printing = lprng
 
 ...
security = share
 
 [printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
public = yes
use client driver = yes
 
 This is the error messages that I'm getting in the log file for that 
 machine.
 
 [2002/10/15 14:27:22, 0] lib/fault.c:fault_report(39)
   INTERNAL ERROR: Signal 11 in pid 28282 (2.2.5)
   Please read the file BUGS.txt in the distribution
 [2002/10/15 14:27:22, 0] lib/fault.c:fault_report(41)
   ===
 [2002/10/15 14:27:22, 0] lib/util.c:smb_panic(1092)
   PANIC: internal error
 [2002/10/15 14:27:26, 0] lib/fault.c:fault_report(38)
   ===
 [2002/10/15 14:27:26, 0] lib/fault.c:fault_report(39)
   INTERNAL ERROR: Signal 11 in pid 28631 (2.2.5)
   Please read the file BUGS.txt in the distribution
 [2002/10/15 14:27:26, 0] lib/fault.c:fault_report(41)
   ===
 [2002/10/15 14:27:26, 0] lib/util.c:smb_panic(1092)
   PANIC: internal error
 

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



[Samba] Re: Samba 2.2.6rc4 RPMS released for Mandrake Linux 8.2 and 9.0 (and8.0 and 8.1)

2002-10-16 Thread Buchan Milne

Sylvestre Taburet wrote:
 Hi!
 
 As usual, get them at:
 
 http://people.mandrakesoft.com/~staburet/freshsamba
 or 
 http://ranger.dnsalias.com/mandrake/samba
 
 Get the SRPM at:
 
 http://people.mandrakesoft.com/~staburet/SRPMS
 

Anyone wanting to test RC4 on 8.0 or 8.1, please see:

http://ranger.dnsalias.com/mandrake/samba/samba-2.2.6rc4/

Shout if there's a particular feature which is disabled in the build 
which you need to test. IIRC, 8.0 and 8.1 have winbind, nss_wins, acl 
and LDAP disabled by default (and these are default builds).

Regards,
Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

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



Re: [Samba] smb_errno: class ERRDOS, code 112 from command 0xb

2002-10-16 Thread Urban Widmark

On 15 Oct 2002, Erik Enge wrote:

 Hi.
 
 We run Samba 2.2.1a in production and it seems to be working fine.  We
 run it on RedHat 7.2, kernel 2.4.7-10smp.  All of a sudden (I'm sure
 it's for a reason, but I can't tell why), this shows up in the logs:
 
   Oct 15 10:36:03 mumbai kernel: smb_errno: class ERRDOS, code 112 from command 0xb
   Oct 15 10:36:03 mumbai kernel: smb_errno: class ERRDOS, code 112 from command 0xb
   Oct 15 10:36:03 mumbai kernel: smb_writepage_sync: failed write, wsize=512, 
result=-5
 
 Could anybody tell me if this is something to worry about and what might
 be causing it?

It's got nothing to do with your samba server.

Someone was using smbfs and the server returned an error on the write
command (0xb = SMBwrite).

/Urban

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



RE: [Samba] tail -f the missing data:2.2.5, 2.2.19-6.2.16,

2002-10-16 Thread Urban Widmark

On Wed, 16 Oct 2002, Sean Cullen wrote:

 Yes - RH7.2 + default 2.4 Kernels seem to solve 
 the problem. So looks like I'll have to reinstall 
 a bunch of machines.
 
 Out of curiosity, if you knew what was causing this
 in the 2.2 Kernel, I'd be interested.

Most likely smb_revalidate_inode and friends. The client doesn't see the
size change (I believe tail -f looks for a size change ...) so it doesn't
read anything. But when opening for editing the data is checked again and
the changes appear.

It would be possible to compare the code between kernels and fix it in 2.2
also.

/Urban

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



[Samba] Possible bug in SAMBA connection close?

2002-10-16 Thread Jon Monroe

Hey all,

I've been fighting a samba share/unmount problem for several days now and may 
have found a bug in the connect/disconnect code. 

Basically, it seems that while everything claims to free the connection to the 
share, it doesn't actually happen. This is me closing ALL windows to the server:

log.smbd:
  jon1 (192.168.200.2) connect to service disc1_pc_test as user breakit (uid=501
, gid=501) (pid 2908)
[2002/10/16 10:13:27, 10] smbd/service.c:make_connection(672)
  calling vfs_ops.connect for service disc1_pc_test (options = )
  jon1 (192.168.200.2) closed connection to service IPC$
[2002/10/16 10:13:37, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to IPC$
  jon1 (192.168.200.2) closed connection to service disc1_pc_test
[2002/10/16 10:13:38, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to disc1_pc_test

smbstatus:
Samba version 2.2.5
Service  uid  gid  pid machine
--
IPC$ jon_monroe jon_monroe  2908   jon1 (192.168.200.2) Wed Oct 16 1
0:10:55 2002

No locked files

lsof disc1_pc_test:
smbd2908 root   19r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/
smbd2908 root   23r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/


fuser disc1_pc_test:
/DVD_BURN/disc1/disc_test_pc/:  2908


I've tried disabling all cache options I know of, and it hasn't made any 
difference. Here is a snip of my current smb.conf:
[disc1_pc_test]
comment =   virtual PC volume from ISO image
path=   /DVD_BURN/disc1/disc_test_pc
guest ok=   yes
valid users =   root, jon_monroe, breakit
force user  =   breakit
force group =   breakit
oplocks =   no
level2 oplocks  =   no
read only   =   yes
posix locking   =   no
locking =   no


This is on a RH8.0 x86 box, running K 2.4.18, and self installed samba 2.2.5.

Due to the specific use, I can't use the pre/post exec functions for the 
unmount, though I don't see how it would make a difference.

So, is there something I'm missing? Something else to try? Is this behavior 
normal? :) 

Thanks for any help!

Jon

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



RE: [Samba] Problem Logging in to Samba PDC

2002-10-16 Thread Irving Carrion

I have a feeling this can be a cache problem.  Anyone have a clue about
which .tdb can be erased or how to clear cache in Samba 3.0 Alpha 20-2?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Irving Carrion
Sent: Wednesday, October 16, 2002 9:48 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Problem Logging in to Samba PDC

Hello!

Ok, recently upgraded from Samba 2.2.3a to 2.999+3.0.alpha20-2.

After successfully joining the Win2k SP3 machine to the Samba PDC, I'm
unable to log in.  The error I get is the following:


The system cannot log you on to this domain because the system's
computer account in its primary domain is missing or the password on
that account is incorrect


According to the docs, these are the steps I need to take.

useradd -g 100 -d /dev/null -c irvpc -s /bin/false irvpc$

passwd -l irvpc$

smbpasswd -a -m irvpc



So, before the upgrade, I could look at smbpasswd to see if the machine
accounts where created successfully and if there were any duplicates.
However, with this new version, all machine accounts are stored in a
.tdb format.  How can one go about looking at the contents of the .tdb
files and which file should I be looking at?

Sorry, I don't find any information on the .tdb files in the docs.
Maybe someone can point me to some.

Really appreciate any help...Thanks!
IRV


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

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



[Samba] Re: Welcome to the samba mailing list

2002-10-16 Thread Jeff Bluemel

I am trying to set samba up so that it will allow connections from a certain
IP range, and allow any user to view a share with no validation of the user.
I am setting this up under sco unix.

[global]
netbios name = BILL2000
server string = BILL2000
security = SHARE
guest account = ntsuser
oplocks = False
null passwords = yes
encrypt passwords = yes
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
remote browse sync = 192.168.0.255

[DAT]
comment = NTS Shared Data
path = /u/NTS/dat
read only = No
guest ok = Yes
public = yes


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 16, 2002 12:04 PM
Subject: Welcome to the samba mailing list


 Welcome to the [EMAIL PROTECTED] mailing list!

 To post to this list, send your email to:

   [EMAIL PROTECTED]

 General information about the mailing list is at:

   http://lists.samba.org/mailman/listinfo/samba

 If you ever want to unsubscribe or change your options (eg, switch to
 or from digest mode, change your password, etc.), visit your
 subscription page at:

   http://lists.samba.org/mailman/options/samba/jeff%40domintcom.com

 You can also make such adjustments via email by sending a message to:

   [EMAIL PROTECTED]

 with the word `help' in the subject or body (don't include the
 quotes), and you will get back a message with instructions.

 You must know your password to change your options (including changing
 the password, itself) or to unsubscribe.  It is:

   wookie

 If you forget your password, don't worry, you will receive a monthly
 reminder telling you what all your lists.samba.org mailing list
 passwords are, and how to unsubscribe or change your options.  There
 is also a button on your options page that will email your current
 password to you.

 You may also have your password mailed to you automatically off of the
 Web page noted above.


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



[Samba] does smbmount use keepalive and/or smb.conf?

2002-10-16 Thread Richard Duran

Greetings,

I don't know how common an issue this is as I haven't
found much in the list archives that was helpful to
me, so I'm hoping for some pointers.

FYI, we have samba 2.3.3a-6 running on the 2.4.18-10
kernel.

There seems to be an issue with smbfs mounts at times
where connectivity may be lost (e.g. Win share becomes
unavailable) causing local processes such as lsof or
ps, among others, to hang.

We've tried passing the -o sockopt=SO_KEEPALIVE
parameter, but that doesn't seem to have made any
difference. How do we set the keepalive time for these
smbmounts? Does it use the value in smb.conf? Are we
missing something else?

The man page for smb.conf seems to suggest using
either the IPTOS_LOWDELAY or
IPTOS_LOWDELAY/TCP_NODELAY in a local network, and
then suggests IPTOS_THROUGHPUT for WANs (it doesn't
say if only this flag, or in addition to the
previous). We haven't tried either because the
document isn't clear. This needs to work in both a LAN
and WAN.

Are we missing something fundamental in trying to make
this stable? Is this even achievable, or is this
inherent to this type of connectivity?

Regards,
Richard Duran

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] NT_STATUS_BAD_NETWORK_NAME

2002-10-16 Thread Aidan Delaney

I have two problems, the first being the most pressing.  When accessing any 
host on the network (except my own) I get th following error.

balor@guevara tmp $ smbclient '//bart/' -U balor
added interface ip=149.157.246.17 bcast=149.157.255.255 nmask=255.255.0.0
Got a positive name query response from 149.157.246.28 ( 149.157.246.28 )
Password:
Domain=[OURDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Our network setup is slightly screwy (it uses arpspoofing) so if someone could 
just tell me what this error means I think I can figure out the problem 
myself, and let others know.

Thanks,
Aidan

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



Re: [Samba] does smbmount use keepalive and/or smb.conf?

2002-10-16 Thread Giulio Orsero

On Wed, 16 Oct 2002 11:43:30 -0700 (PDT), Richard Duran [EMAIL PROTECTED]
wrote:

There seems to be an issue with smbfs mounts at times
where connectivity may be lost (e.g. Win share becomes
unavailable) causing local processes such as lsof or
ps, among others, to hang.
http://www.hojdpunkten.ac.se/054/samba/

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



[Samba] Transfer rate on NT/XP/2000 with service pack 6a

2002-10-16 Thread Berry van Sleeuwen

Hi SAMBA,

This is not quite a remark on SAMBA, more a report of a problem that is
not related to SAMBA. However it could be of concern to your developers
team.

At our company we recently (last week) installed two new fileservers.
The next thing we got was a very strange effect.

The configuration:

- Two fileservers, running (i believe) Windows 2000, with service pack
6A and included all service and patches currently available.
- Two servers running Sterling Connect Direct.
- Several other NT servers and workstations running NT 4 with
servicepack 6.

The Connect Direct servers are used to transfer data from and to our
mainframe. The data can be located anywhere on a fileserver within our
LAN or even WAN.

After the new fileservers were installed the data-troughput dropped from
several MB per second to bytes per second. A file download from
mainframe to LAN would take some seconds before, now it takes up to
hours! However, an upload was no problem. We checked the connect direct
servers and discovered that the only servers it would have a problem
with were in fact the two new ones. No problems were found when the data
was transferred to the old servers or workstations. Also when the files
were transferred to the Connect direct servers itself there was no
problem. When the file afterwards was to be moved from the CD-server to
the LAN normal speeds were recorded. So only when transferring directly
from mainframe to LAN, by the CD-server, was a problem.

At this stage we have received a message that the SMB protocol has been
changed. It was discovered that it had a serious security leak that has
been 'repaired' with the most recent fixes. We don't know what has
changed, but it seemds that there is some kind of checking on the
transfer that will lead to a serious drop in the transfer rates. My
guess would be that if there is a non-windows environment involved in
the datatransfer it will be treated in a 'very safe' way, and by this it
cannot get a normal transfer rate.

Actually, well I'm a mainframe guy, I don't want to know what has been
changed. To me, windows is one giant security leak but anyway. I imagine
this could be of interest for those who have an interrest in the SMB
protocol. If this is true for a mainframe connection it very well could
be true for some *nix connection too. We do not use unix in our shop,
nor SAMBA so we can't test this one. At home I've used SAMBA a few times
to get my Linux connect to my Windows system. It has never been setup
properly, I only used it to get some files from my windows to my linux
without using FTP.

Regards,

Berry van Sleeuwen.


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



Re: [Samba] winbind

2002-10-16 Thread Norman Zhang

- Original Message -
From: Gareth Davies [EMAIL PROTECTED]

: Have you tried wbinfo -A Administrator%password

When I type this with appropriate substitutes I get a  prompt. Can't do
anything but Ctrl+C to exit.

: Which gives Winbind a username to connect to the PDC with..
:
: Have you checked the permissions for the home directory?
:
: chmod 700 directory/, chown DOMAIN+User directory/ , chown :'DOMAIN+Domain
: Users' directory/

/home:
total 0
drwxr-xr-x 3 root root 19 Oct 15 04:56 DOMAIN/
drwxr-xr-x 3 mis  mis  84 Oct 11 17:54 mis/

/home/DOMAIN:
total 0
drwxr-xr-x 3 nzhang Domain Users 84 Oct 15 04:56 nzhang/

/home/DOMAIN/nzhang:
total 0
drwxr-xr-x 2 nzhang Domain Users 6 Oct 15 04:56 tmp/

I still can't login, keep getting the prompt for username and password.
Please help.

Regards,
Norman

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



[Samba] mount_smbfs: can't get handle to requester (no /dev/nsmb* device)

2002-10-16 Thread Markku Kokko

Hi all ! 

Reposting this because I got no ideas/information at all, hoping for some kind of 
response this time.

I have a little problem here mounting or browsing samba shares.

I have a FreeBSD 4.6.2 running samba, and a share on that called public.

when I try to mount that share it asks for password, and then gives an
error:

ex.

libra# mount_smbfs //maxi@samba/public /mnt
Password:
mount_smbfs: can't get handle to requester (no /dev/nsmb* device)
libra# 

I can list the shares with smbclient, no errors at all.

I can not login to the samba like this:

libra# smbutil login //maxi@samba
Password:
smbutil: can't get handle to requester (no /dev/nsmb* device)
smbutil: can't get handle to requester (no /dev/nsmb* device)
smbutil: could not login to server SAMBA: syserr = Invalid argument
libra# 

I have checked /dev and there is one entry for nsmb0:

libra# ll /dev/nsmb*
crw---  1 root  wheel  144,   0 Oct 14 15:23 /dev/nsmb0
libra# 

I don't think the problem is server related because it works on another
Windows workstation on the same LAN.

Any ideas on what this might be?
Need more info? Just ask, I'll give all info I can...

Regards: Markku / Maxi


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



Re: [Samba] mount_smbfs: can't get handle to requester (no /dev/nsmb*device)

2002-10-16 Thread John H Terpstra

On 16 Oct 2002, Markku Kokko wrote:

 Hi all !

 Reposting this because I got no ideas/information at all, hoping for some kind of 
response this time.

 I have a little problem here mounting or browsing samba shares.

 I have a FreeBSD 4.6.2 running samba, and a share on that called public.

 when I try to mount that share it asks for password, and then gives an
 error:

 ex.

 libra# mount_smbfs //maxi@samba/public /mnt
 Password:
 mount_smbfs: can't get handle to requester (no /dev/nsmb* device)
 libra#

Maybe try:

mount_smbfs //samba/public /mnt -o username=maxi,password=secret,...

- John T.


 I can list the shares with smbclient, no errors at all.

 I can not login to the samba like this:

 libra# smbutil login //maxi@samba
 Password:
 smbutil: can't get handle to requester (no /dev/nsmb* device)
 smbutil: can't get handle to requester (no /dev/nsmb* device)
 smbutil: could not login to server SAMBA: syserr = Invalid argument
 libra#

 I have checked /dev and there is one entry for nsmb0:

 libra# ll /dev/nsmb*
 crw---  1 root  wheel  144,   0 Oct 14 15:23 /dev/nsmb0
 libra#

 I don't think the problem is server related because it works on another
 Windows workstation on the same LAN.

 Any ideas on what this might be?
 Need more info? Just ask, I'll give all info I can...

 Regards: Markku / Maxi




-- 
John H Terpstra
Email: [EMAIL PROTECTED]

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



Re: [Samba] mount_smbfs: can't get handle to requester (no/dev/nsmb* device)

2002-10-16 Thread Markku Kokko


On Wed, 2002-10-16 at 21:41, John H Terpstra wrote:
 On 16 Oct 2002, Markku Kokko wrote:
 
  Hi all !
 
  Reposting this because I got no ideas/information at all, hoping for some kind of 
response this time.
 
  I have a little problem here mounting or browsing samba shares.
 
  I have a FreeBSD 4.6.2 running samba, and a share on that called public.
 
  when I try to mount that share it asks for password, and then gives an
  error:
 
  ex.
 
  libra# mount_smbfs //maxi@samba/public /mnt
  Password:
  mount_smbfs: can't get handle to requester (no /dev/nsmb* device)
  libra#
 
 Maybe try:
 
 mount_smbfs //samba/public /mnt -o username=maxi,password=secret,...
 
 - John T.
That did not help...
But I will check with the FreeBSD mailing list too, should have thought
of that first.

Thank you anyways !

Regards: Markku / Maxi

 
 
  I can list the shares with smbclient, no errors at all.
 
  I can not login to the samba like this:
 
  libra# smbutil login //maxi@samba
  Password:
  smbutil: can't get handle to requester (no /dev/nsmb* device)
  smbutil: can't get handle to requester (no /dev/nsmb* device)
  smbutil: could not login to server SAMBA: syserr = Invalid argument
  libra#
 
  I have checked /dev and there is one entry for nsmb0:
 
  libra# ll /dev/nsmb*
  crw---  1 root  wheel  144,   0 Oct 14 15:23 /dev/nsmb0
  libra#
 
  I don't think the problem is server related because it works on another
  Windows workstation on the same LAN.
 
  Any ideas on what this might be?
  Need more info? Just ask, I'll give all info I can...
 
  Regards: Markku / Maxi
 
 
 
 
 -- 
 John H Terpstra
 Email: [EMAIL PROTECTED]
 
 


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



Re: [Samba] mount_smbfs: can't get handle to requester (no /dev/nsmb* device)

2002-10-16 Thread David W. Chapman Jr.

On Wed, Oct 16, 2002 at 09:35:22PM +0200, Markku Kokko wrote:
 Hi all ! 
 
 Reposting this because I got no ideas/information at all, hoping for some kind of 
response this time.
 
 I have a little problem here mounting or browsing samba shares.
 
 I have a FreeBSD 4.6.2 running samba, and a share on that called public.
 
 when I try to mount that share it asks for password, and then gives an
 error:

Odds are this will be a question for [EMAIL PROTECTED] or 
[EMAIL PROTECTED] if nobody here can help you.  What you are 
having problems with is smbfs not samba itself and I'm not sure if 
this list supports smbfs.

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Multiple Domains?

2002-10-16 Thread Steve Morley

Hi Again,

A bunch of people contacted me telling me to start up a second copy of SAMBA,
but unfortunately, no one seems to know how to do it?

When I try to launch a second copy of smb and nmb with pointers to the new
smb.conf file, I get:

[2002/08/27 18:37:20, 0] lib/pidfile.c:pidfile_create(86)
  ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid exist
s and process id 39187 is running.
[2002/08/27 18:41:14, 0] nmbd/nmbd.c:sig_term(65)
  Got SIGTERM: going down...

And I can't see any way to tell nmb to place the second .pid file elsewhere.

Do I need to recompile a second copy of samba, using /usr/local/samba2 as
the directory or something?

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



RE: [Samba] Multiple Domains?

2002-10-16 Thread Javid Abdul-AJAVID1

I thought someone suggested configuring smbd on a different port
but am not sure , never did this but curious as i think only one root smbd
runs and all are children

-Original Message-
From: Steve Morley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Multiple Domains?


Hi Again,

A bunch of people contacted me telling me to start up a second copy of
SAMBA,
but unfortunately, no one seems to know how to do it?

When I try to launch a second copy of smb and nmb with pointers to the new
smb.conf file, I get:

[2002/08/27 18:37:20, 0] lib/pidfile.c:pidfile_create(86)
  ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid
exist
s and process id 39187 is running.
[2002/08/27 18:41:14, 0] nmbd/nmbd.c:sig_term(65)
  Got SIGTERM: going down...

And I can't see any way to tell nmb to place the second .pid file elsewhere.

Do I need to recompile a second copy of samba, using /usr/local/samba2 as
the directory or something?

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



[Samba] ERRNO=Network is unreachable

2002-10-16 Thread Peter Alliett



Linux on a Windows network. 
Linux running Samba. 
Simple smb.conf file. 
Shares seen in network neighborhood (of the Linux 
box) keep becoming unavailable.

nmbd keeps quitting (I know this because when I 
restart smb, smbd quits then restarts but nmbd does not quit because it already 
quit. The restart works and you can see the share fine again.
The log.nmb says (multiple times):

2002/10/14 16:28:47,0 libsmb/nmblib.c:send udp (754)Packet send failed 
to 192.168.254.255 (138) ERRNO=Network is unreachable

Another similar one says:nmbd/nmbd packets.c:send netbios packet (171) 
send netbios packet: send packet () to IP 192.168.254.255 port 137 failed

And finally there is one that says Could not determine network interfaces, 
you must use a interfaces config line.

Any ideas?


RE: [Samba] Multiple Domains?

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 16 Oct 2002, Clark Rawlins wrote:

 [2002/08/27 18:37:20, 0] lib/pidfile.c:pidfile_create(86)
   ERROR: nmbd is already running. File /usr/local/samba/var/locks/nmbd.pid
 exist
 s and process id 39187 is running.
 [2002/08/27 18:41:14, 0] nmbd/nmbd.c:sig_term(65)
   Got SIGTERM: going down...
 
 And I can't see any way to tell nmb to place the second .pid file elsewhere.

See the pid directory parameter (or is it pidfile directory?)


cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9reHdIR7qMdg1EfYRAgxfAJ96jqtYDJKh8qtk3baX9ufIAVK+iQCfUE6M
g1r9MlXRIIQ0A+kc3E9FKHA=
=WAXO
-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] winbind

2002-10-16 Thread Norman Zhang

- Original Message -
From: Norman Zhang [EMAIL PROTECTED]


: wbinfo -u
: wbinfo -g
: wbinfo -t
: getent passwd
: getent group
:
: all displays valide results. However, when I clicked on tried to get to
the
: shared home from network neighborhood I keep getting prompt for password.
No
: matter what I enter the prompt continues. I see /home/MY_SERVER/user1 is
: created, and I did login as user1 on W2K station. I don't have a samba
user1
: though. Would someone please give me a few pointers? Does entering %H for
: path %S for valid user on the HOME share matters? Thanks.

I found the solution by searching the archive and trial and error. I need to
set valid user to %D\%S since the domain homes are in /home/%D/%S. Thanks.

Regards,
Norman

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



[Samba] Re: Problem Logging in to Samba PDC

2002-10-16 Thread Chris Tepaske








Im having the same problem, everything was working
fine, my Win 2k machines were logging on to the Samba domain, when I upgraded
to SP3 the newly upgrade machines failed to log on. The error I was getting was
access denied. Machine account does not exist etc.

I removed each machine from the domain cleaned up the
machine accounts within Samba and tried re-joining the domain with no luck. The
Win2K machines that I didnt upgrade have no issues neither do the two
Win 98 machines.



I have the same problem when I try to join an XP machine to
domain, is it possible that Microsoft has done something in XP and SP3 to stop
these machines joining a Samba domain?



Cheers



Chris Tepaske








RE: [Samba] NMBD going down almost immediately after startup

2002-10-16 Thread Bart


  This is an obvious question, but needs to be asked.  When you said 
that the
  smb.conf is exactly the same, did you change the netbios name for your
  second server?  The netbios names cannot be the same on two machines.
 

These names were already changed
(so much for 'exactly the same' I almost sound like a user =) lol).
I did already change the netbios names and after that I removed and 
added the machine from the domain, just to make sure.


  Hi,
  I'm having problems getting nmbd running.
  Server is RH7.3 + ACL patches.
 
  The problem is that the nmbd deamon crashes with the following error :
 
  [2002/10/09 04:42:43, 0] nmbd/nmbd.c:main(794)
Netbios nameserver version 2.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
  [2002/10/09 04:42:47, 0]
  nmbd/nmbd_responserecordsdb.c:find_response_record(234)
find_response_record: response packet id 4894 received with no matching
  record.
  [2002/10/09 04:42:47, 0]
  nmbd/nmbd_responserecordsdb.c:find_response_record(234)
find_response_record: response packet id 4895 received with no matching
  record.
  [2002/10/09 05:38:50, 0] nmbd/nmbd.c:terminate(59)
Got SIGTERM: going down...
 
  smb.conf configuration is exactly the same as on another test server 
and it
  works over there.
 
  Could there be a problem with 'pam' that causes these issues ?
 
  wbinfo -t returns : secret is good
  wbinfo -g returns all PDC+groups
  wbinfo -u returns all PDC+users
  smbclient -L PDC returns pdc shares
 
  What is probably going wrong and what can I do to check certain 
settings or
  fix my problem ?
  Any suggestions/solutions anyone ?
 
  Thanks in advance
 
  Bart
 



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



Re: [Samba] Re: Problem Logging in to Samba PDC

2002-10-16 Thread Bradley W. Langhorst

you probably need to apply the signorseal reg fix to your clients.

brad
On Wed, 2002-10-16 at 18:17, Chris Tepaske wrote:
 I'm having the same problem, everything was working fine, my Win 2k
 machines were logging on to the Samba domain, when I upgraded to SP3 the
 newly upgrade machines failed to log on. The error I was getting was
 access denied. Machine account does not exist etc.
 I removed each machine from the domain cleaned up the machine accounts
 within Samba and tried re-joining the domain with no luck. The Win2K
 machines that I didn't upgrade have no issues neither do the two Win 98
 machines.
  
 I have the same problem when I try to join an XP machine to domain, is
 it possible that Microsoft has done something in XP and SP3 to stop
 these machines joining a Samba domain?
  
 Cheers
  
 Chris Tepaske


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



Re: [Samba] Printing...

2002-10-16 Thread Brad

Yes, it can print OK. But I can't even connect to the Samba printer share with 
Win2K.

Regards,
Brad

On Wednesday 16 October 2002 20:08, you wrote:
 Can your linux box print to it? if linux can then so can samba, if not then
 samba can't



 Brad
 sambauser@sportingwheeli   To: Samba mailing
 list [EMAIL PROTECTED] es.org.au  cc:
 Sent by:Subject: [Samba]
 Printing... [EMAIL PROTECTED]
 rg


 16/10/2002 06:26






 I am using Red Hat 8.0 and I am trying to get an HP LaserJet 4 Plus to
 become
 a shared printer so networked Windows PCs can print to it. I have Samba
 working fine for sharing files with Windows PCs and I have begun wading
 through the Samba documentation to enable printing and I have come up with
 an
 smb.conf entry that looks like this:

 [HP4Plus]
 guest ok = yes
 comment = Brad's HP Laser
 printable = yes
 writable = yes
 path = /var/spool/samba

 Testparm says all is OK but my Win2K PC still can't see it, so do I need to
 do
 anything else? I know that there are GUI tools available, but I have to do
 this on a couple of different version Red Hat servers that don't have X
 installed, so I would like to be able to do it manually if I can. The Samba

 docs are pretty heavy going for me so any advice would be appreciated.

 Regards,
 Brad

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



Re: [Samba] Possible bug in SAMBA connection close?

2002-10-16 Thread Jon Monroe

Well, I think I partially found out why this is acting strangely. I've 
tried this on both samba 2.2.5 and 2.2.6rc4. The file handles work a little 
differently between kernel 2.2 and kernel 2.4.

On kernel 2.2, when you access a directory, you get a single CWD open 
handle (from LSOF 4.47):
COMMAND   PID USER   FD   TYPE DEVICE SIZE   NODE NAME
smbd12659 root   cwd   DIR8,5 4096 624027 test

This CWD is the only handle opened.

This handle will stay in use until you click the 'up one folder' button. 
Just closing the window doesn't seem to help.


On Kernel 2.4 you get 3 opened handles. 2 are read handles, while the other 
is a CWD: (from LSOF 4.63):
COMMAND   PID USER   FD   TYPE DEVICE SIZE   NODE NAME
smbd14270 root   cwd   DIR8,2 4096 131038 disc_test_pc/
smbd14270 root   22r   DIR8,2 4096 131038 disc_test_pc/
smbd14270 root   23r   DIR8,2 4096 131038 disc_test_pc/

When you close the window OR click the 'up one folder' button the cwd 
handle is released.
However, the 2 extra read handles are not released. And, every instance of 
access to that folder generates 2 more extra read handles. This will happen 
for EVERY folder inside a share, or the share itself. Actually, the CWD 
handle will disappear by itself if you wait a few minutes, even if the 
folder is still in use.

So, after using a share with lots of folders on kernel 2.4 you see LOTS of 
open folder handles when you run a lsof -p smb_pid_of_a_workstation even 
if you've closed all windows to everything on that server, or you clicked 
the heck out of the 'up one folder' button..

Oh, the above test was without mounting anything. That folder had just a 
single file in it.

Soo...is there anyone out there using samba plus rh 8.0/kernel 2.4 plus 
sharing a cdrom drive where the disc is being changed regularly? Are you 
having problems unmounting the disc? :)

Again, RH 8.0, kernel 2.4.18, x86

Thanks,
Jon




At 11:03 AM 10/16/2002 -0700, you wrote:
Hey all,

I've been fighting a samba share/unmount problem for several days now and may
have found a bug in the connect/disconnect code.

Basically, it seems that while everything claims to free the connection to 
the
share, it doesn't actually happen. This is me closing ALL windows to the 
server:

log.smbd:
   jon1 (192.168.200.2) connect to service disc1_pc_test as user breakit 
 (uid=501
, gid=501) (pid 2908)
[2002/10/16 10:13:27, 10] smbd/service.c:make_connection(672)
   calling vfs_ops.connect for service disc1_pc_test (options = )
   jon1 (192.168.200.2) closed connection to service IPC$
[2002/10/16 10:13:37, 3] smbd/connection.c:yield_connection(48)
   Yielding connection to IPC$
   jon1 (192.168.200.2) closed connection to service disc1_pc_test
[2002/10/16 10:13:38, 3] smbd/connection.c:yield_connection(48)
   Yielding connection to disc1_pc_test

smbstatus:
Samba version 2.2.5
Service  uid  gid  pid machine
--
IPC$ jon_monroe jon_monroe  2908   jon1 (192.168.200.2) Wed 
Oct 16 1
0:10:55 2002

No locked files

lsof disc1_pc_test:
smbd2908 root   19r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/
smbd2908 root   23r   DIR7,1 2048 65536 /DVD_BURN/disc1/disc_test_pc/


fuser disc1_pc_test:
/DVD_BURN/disc1/disc_test_pc/:  2908


I've tried disabling all cache options I know of, and it hasn't made any
difference. Here is a snip of my current smb.conf:
[disc1_pc_test]
 comment =   virtual PC volume from ISO image
 path=   /DVD_BURN/disc1/disc_test_pc
 guest ok=   yes
 valid users =   root, jon_monroe, breakit
 force user  =   breakit
 force group =   breakit
 oplocks =   no
 level2 oplocks  =   no
 read only   =   yes
 posix locking   =   no
 locking =   no


This is on a RH8.0 x86 box, running K 2.4.18, and self installed samba 2.2.5.

Due to the specific use, I can't use the pre/post exec functions for the
unmount, though I don't see how it would make a difference.

So, is there something I'm missing? Something else to try? Is this behavior
normal? :)

Thanks for any help!

Jon

--
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] Multiple Domains?

2002-10-16 Thread Steve Morley

Hi,

  And I can't see any way to tell nmb to place the second .pid file elsewhere.
 
 See the pid directory parameter (or is it pidfile directory?)

Okay, lightbulb went off, I'm still at 2.0.7, reading the docs online, I see
that this was added to 2.2.4

Downloading the latest now.

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



[Samba] Connecting Linux to Windows Me

2002-10-16 Thread David Kong

Hi,

When I try using Samba in linux 8 to share out some files in linux to a
Windows Me. I am able to ping both computers on each. I am able to access
files Windows Me files from Linux smbclient command. But when I go to
Windows ME the my network places I am able to see the linux computer icon.
When I click on it, it shows that the computername or filename not share or
network resource not available. At times, it says it cannot find resource on
the server.

I have defined in the samba server the share name as

[myshare]
path=/home/dk/
...
...


But somehow I cannot see this share resource in Windows. I have done the
Steps in Diagnosis.txt. It all test ok. What should I do next?

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



Re: [Samba] Multiple Domains?

2002-10-16 Thread Steve Morley

 Downloading the latest now.

Okay, now for the scary part.  This machine is live, and in use all day every
day.  Anything I should know about upgrading from 2.0.7 to 2.2.5?

I always like having a backup plan in place before something major like this.

Does SAMBA rely on anything outside it's own directory?  I want to make a
couple of tarballs so I can go back if needed.

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



[Samba] Samba NSS_LDAP

2002-10-16 Thread Diego Rivera

Hi all!

A while ago I caught a discussion re Samba and LDAP SAM backend, with
OpenLDAP and nss_ldap.

It seems that the reason the smbd process keeps crashing (and thus
losing connections) has something to do with the fact that the LDAP
standard allows connections to be unilaterally closed by the directory
server, and this was causing Samba to crash.

Again - this is my hazy recollection of the thread.

I'm seeing this behavior in my setup (Samba LDAP-based PDC).  Is my
summary above (mostly) correct? Is there a fix for this?  Is it included
as part of 2.2.6 or is it a problem with OpenLDAP/nss_ldap?

We plan to do a rather large Samba install soon, and I'd like to know in
advance if I'm going to have to handle the Samba PDC account storage
differently.

Best

Diego

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



Re: [Samba] Multiple Domains?

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 16 Oct 2002, Steve Morley wrote:

  Downloading the latest now.
 
 Okay, now for the scary part.  This machine is live, and in use all day every
 day.  Anything I should know about upgrading from 2.0.7 to 2.2.5?

Wait until later tonight for 2.2.6 :-)

Seriously, an upgrade from 2.0.7 to 2.2.6 should not be 
taken lightly.  How big of a server and number of clietns 
are we talking about?

 Does SAMBA rely on anything outside it's own directory?  I want to make
 a couple of tarballs so I can go back if needed.

tar up /usr/local/samba and you should be ok.




cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rgadIR7qMdg1EfYRApaRAKDqi07TaWEZOLsBnEKnnf1iUAM5YgCfVuwA
3hkueGZ/EUNQoqPweRVinjA=
=RUSz
-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] Your Kind Attention!

2002-10-16 Thread nenge46

Bulawayo, REPUBLIC OF ZIMBABWE 

Dear friend, 

This is a proposal in context but actually an appeal
soliciting for your unreserved assistance in
consummating an urgent transaction requiring maximum
confidence. Though this approach appears desperate, I
would advise that whatever questions you intend to
verify as regards this proposal will be very welcome
as a clearer understanding on both sides means a
successful transaction which is our ultimate goal.

My name is Mr. PAUL NENGE, Chief Credit Officer
(CCO) Standard Chartered Bank Bulawayo, ZIMBABWE. On
December 6, 1999, a Foreign consultant/contractor with
the ZIMBABWE Electoral Commission, Mr. Thierry COSBAN,
made a numbered time (Fixed) Deposit for twelve
calendar months, valued at US$30,000,000.00, (Thirty
Million, United States Dollars) in my branch. Upon
maturity, I sent a routine notification to his
forwarding address but got no reply. After a month, I
sent a reminder and finally we discovered from his
contract employers, the ZIMBABWE Electoral Commission,
that Mr. Cosban died from an automobile accident. On
further investigation, I found out that he died
without making a WILL. I therefore made further
investigation and discovered that Mr. Cosban did not
declare any next of kin or relations in all his
official documents, including his Bank Deposit
paperwork in our Bank. I have carefully moved out
these funds (US$30million) from our bank as sundry
funds to an offshore bank in Europe where the funds is
safe. 

From past experiences, I know that no one will ever
come forward to claim the deceased funds. According to
ZIMBABWEAN Law, at the expiration of 5 (five) years,
the funds will be Unclaimable and revert to the
ownership of the ZIMBABWE Government if nobody applies
to claim the fund. In order to avert this negative
development, I in conjunction with a colleague (the
Chief Operating Officer in the bank) now seek your
permission to allow my attorney do a backdated CHANGE
OF OWNERSHIP/REASSIGNMENT OF CREDIT of stated funds
from the deceased to your name, so that the funds
(US$30million) would be released to you as the new
owner (on behalf of me and my colleague). We are
writing you because, as public servants, we cannot
operate a foreign account without the supervision of
my bank or have an account that is more than
Zw$1,000,000.00 locally and the fact that the original
owner of the funds is a Foreigner. Consequently, I
will present you as the owner of the funds in the
offshore Bank so you can be able to claim it with the
help of my attorney. This is simple. I will like you
to provide immediately your: FULL NAMES/FULL CONTACT
ADDRESS/PHONE/FAX NUMBERS, so that my Attorney will
prepare the necessary documents which will put you in
place as the new owner of the funds. The money will
then be released to you by the offshore bank, for us
to share in the ratio of 75% for us and 25% for you.
There is no risk at all as the Attorney will do all
the paperwork, which will facilitate and guarantee the
successful execution of this transaction. If you are
interested, please reply immediately via my email
address. Upon your response, I shall then provide you
with more details, my confidential phone number and
further direction that will assist our understanding
for a successful completion of this transaction. 

No doubt this proposal could make you apprehensive,
however we imploy you to observe utmost
confidentiality and be rest assured that this
transaction would be most profitable for both of us
because we shall require your assistance to invest our
share in your country (PLEASE NOTE THAT YOUR ADVISE IN
THIS REGARD WILL BE VERY NECESSARY) This is why your
urgent action and response is of priority to enable us
conclude this transaction in a timely and professional
manner. Awaiting your urgent reply via my email. 

Thanks and regards. 

Mr. PAUL NENGE. 
Chief Credit Officer (CCO) 
Standard Chartered Bank 
Bulawayo ZIMBABWE
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba with ipfilers and NAT

2002-10-16 Thread ben

i am running freebsd stable with ipfilter and NAT is there anything that i
have to do different with the smb.conf file to be able to mount a windows
share
mount_smbfs //user@server/share_name /path/to/mountpoint
and everytime i get this message
mount_smbfs: can't get server address: ssyerr = operation timed out
is there something that i am missing
i can ping the windows box and i have tried the ip as the server name and
that still will not work i have also put the windows name in the /etc/hosts
file and the same thing keeps happening i can access the samba shares from
windows fine
before i put ipfilters and NAT on everything worked great

thanks for your help
Ben

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



[Samba] Still can't make it work (LONG)

2002-10-16 Thread DJ Busch

Well gang, I'm back and still haven't figured out why Samba isn't working with my 
Windoze PC's.  I though I was close a couple times, but now I'm back to square 1.  So 
now I'm going to spill as much information on you guys as I can in the hope that 
someone will notice what I'm doing wrong and help me get this thing running.


Here are the computers on my home network:
A.  Linux Box (luke) - AMD Athlon 750 MHz, 256 MB RAM, (2) 20 GB IDE HD's
RedHat 7.3 (kernel 2.4.18-3)
Samba v2.2.6pre2-1
3Com 3C509 PCI TPO Ethernet Adapter
IP set by DHCP from ISP (Time Warner/RoadRunner)

This machine also boots Windows 2000 Professional and can browse other
Windows shares when using Windows 2000.

smb.conf file for this machine is attached.  I've scaled it down to make it 
easier/faster to read.

This box has both ipchains and iptables installed.  I'm not sure if these 
can cause the problems I'm having or not.

B.  Windoze Box #1 (jarjar) - Toshiba Satellite Laptop, Pentium III 750 MHz
Windows 98 SE
Netlink PCMCIA Ethernet Card
IP set by DHCP from ISP

C.  Windoze Box #2 (obi-wan) - 486 DX2 66Mhz, 8 MB RAM, 400 MB HD
WFW 3.11
MS TCP/IP32
3Com 3C509 ISA Ethernet Card

I tried running through the DIAGNOSIS.txt file with the following results:

Test 1:  testparm shows all clear
Test 2:  (from obi-wan) ping luke: Success (had to manually supply IP address)
   (from luke) ping obi-wan: Success (had to manually supply IP address)
Test 3:  smbclient -L luke: Success (asks for password but accepts blank)
Test 4:  nmblookup -B LUKE __SAMBA__:  Success
Test 5:  nmblookup -B JARJAR '*' : Failed (name_query failed to find name *)
   nmblookup -B OBI-WAN '*': Failed (name_query failed to find name *)
   Tried this one with ipchains/iptables and without - same result both times
Test 6:  nmblookup -d 2 '*' : Returns only the IP of the Linux box.
Test 7:  smbclient //luke/homes : Success
Test 8:  (from obi-wan) net view \\luke: Failed (couldn't find computer name on 
network)

I've tried to telnet from one machine to the other on port 139, and each attempt 
fails.  However, when I try to telnet into a machine from itself, it worksfrom 
each machine.  
This has led me to believe that there is a problem in the network at the hub 
level...but what could that be?  Both Windoze machines are able to share and browse at 
will.  If the Win machines can't connect to each other on port 139, how are they 
sharing? 

I hope someone on the list can help.  This has been a problem long enough now.

Thanks in advance,


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



[Samba] Samba and Make Utility Question

2002-10-16 Thread Paul LeDuc

Hello,
I am experiencing problems with gcc make, as well as, the MS Visual Studio
IDE not making projects properly.  Files that should be recompiled are not
and also files that were not touched at all are being compiled.

Secondarily, I am wondering if locks on files are somehow not being
released.  I have some Windows batch scripts that are erroring when copyinf
files from the samba server.  The file create permissions allow for access.
However, it is acting as though there is some sort of sharing violation on
the files.  I am running these batch file when there is no activity on the
Windows and/or samba servers.

I realize this is a rather strange inquiry.  Are there any issues in these
areas with this release of samba?  If so, how can I best fix the probles?  I
will provide whatever is required to address the problem.

Our samba server is running FreeBSD 4.6.2 on and AMD 1400 MHz Athlon
processor.  We are running server version 2.2.4.

Thank You,
Paul LeDuc
[EMAIL PROTECTED]

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



[Samba] Doh!

2002-10-16 Thread DJ Busch

I forgot to attach the smb.confso here ya's go.  Thanks.

DJ Busch

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/10/16 21:47:46

# Global parameters
[global]
workgroup = LEGEND
netbios name = LUKE
server string = Dave's Linux Experiment Gone Wrong
interfaces = eth0
bind interfaces only = Yes
security = SHARE
encrypt passwords = Yes
null passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 33
lm announce = True
preferred master = True
domain master = True
dns proxy = No
guest account = default
hosts allow = ALL

[homes]
comment = Home Directories
path = /home
read only = No
guest ok = Yes

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

[hp]
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = hp
oplocks = No



[Samba] don't let this one pass you by!!!

2002-10-16 Thread test

check this out it's worth your time, see att.



Fw_ viaus Don't let this one pass you by!.email
Description: Binary data


[Samba] don't let this one pass you by!!1

2002-10-16 Thread test

check this out its worth your time, see att.



Fw_ viaus Don't let this one pass you by!.email
Description: Binary data


[Samba] The Samba Team Releases Version 2.2.6

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Heads up everyone,

After a long wait (4 months since 2.2.5 and numerous bug fixes
later), the final planned 2.2 release is here.  With this release
Samba 2.2 is now officially in maintenance mode only.  The only
fixes that will be accepted to the SAMBA_2_2 cvs branch are those
which fix critical bugs in basic functionality.  It's time to move
on to Samba 3.0.

Please refer to the complete release notes here

  http://www.samba.org/samba/whatsnew/samba-2.2.6.html

This is the latest stable release of Samba and is the
version that all production Samba servers should be running
for all current bug-fixes.

The source code can be downloaded from :

  http://download.samba.org/samba/ftp/

in the file samba-2.2.6.tar.gz or samba-2.2.6.tar.bz2.
Both archives have been signed as well using the Samba Distribution
Key (samba-pubkey.asc is available in the same download directory
as the source tarballs)

Binary packages will be released shortly for major platforms and
can be found at

  http://download.samba.org/samba/ftp/Binary_Packages/

As always, all bugs are our responsibility.

  --Enjoy
  The Samba Team


WHAT'S NEW IN Samba 2.2.6 - 16th October 2002
=

This is the latest stable release of Samba. This is the version that all
production Samba servers should be running for all current bug-fixes.

There have been several issues addressed in this release including:

 * Fixes for MS-RPC printing issues affecting Windows 2000 clients
 * New support for smb.conf generation in SWAT
 * Inclusion of several performance enhancements (See --with-sendfile
and the modified smb.conf(5) parameters in these Release Notes)
 * Fixes for several file locking bugs and returned status codes


New Parameters
- - --

Refer to the smb.conf(5) man page for complete descriptions of new
parameters.

  * profile acls (S)workaround for issue with WinXP SP1
and roaming user profiles

Removed Parameters
- - --

  * max packet (G)
  * packet size (G)

Modified Parameters
- - ---

  * max xmit (G)new default value
  * large readwrite (G) new default value

New ./configure Options
- - ---

  --with-sendfile   Enable experimental sendfile support
  --with-winbind-ldap-hack  Enable winbindd_ldap_hack() functionality
for Windows 2000 native mode domains


Changes since 2.2.5
- - 

See refer to the complete release notes and the SAMBA_2_2 cvs log
for more details


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rjNiIR7qMdg1EfYRAhl0AJwIVxdSh40vtGER3XBs2Vpnn3ZdHwCg1TJf
oPuOpcq2SFD3S5ShiJ+b3j0=
=wsce
-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] RE: who's on

2002-10-16 Thread drgn65

Will compiling with --with-utmp allow you to see users on your network
through 'w' and finger?  I am not especially new to samba, been running it
for a good 3 years of solid performance, but I never played with much else
in besides LDAP and Cups support.  what does --with-utmp actually do?

-Peter

While smbstatus is the 'quick' answer, the --with-utmp code (also needs
'utmp =yes' in smb.conf makes the actual 'finger' and 'w' programs work,
rather than scripted replacements.

Andrew Bartlett

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



[Samba] Possible to install client only from source

2002-10-16 Thread Casey Harkins


Mandrake (and probably most other distributions) have samba split up into
multiple packages (common, client, server, etc). Does samba's build system
allow for these pieces to be built/installed independently? I've scanned
docs and checked out configure options and the 'make install*' targets,
but don't see any obvious way of doing this.


Thanks.


-casey


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



[Samba] (no subject)

2002-10-16 Thread David Kong

Hi,

When I try using Samba in linux 8 to share out some files in linux to a
Windows Me. I am able to ping both computers on each. I am able to access
files Windows Me files from Linux smbclient command. But when I go to
Windows ME the my network places I am able to see the linux computer icon.
When I click on it, it shows that the computername or filename not share or
network resource not available. At times, it says it cannot find resource on
the server.

I have defined in the samba server the share name as

[myshare]
path=/home/dk/
...
...


But somehow I cannot see this share resource in Windows. Can you help?

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



Hmmm. Special XP weirdness/brokenness. Windows 2K working on 2.2.2 and 2.2.5 and Windows XP Not (not the usual problems)

2002-10-16 Thread Alan Jones

Hi,


We have some special weirdness happening with Samba and windows XP here.

Background:

We are wanting to install a third party product passlogix, V-GO single
sign on product on windows
(http://www.passlogix.com), which authenticates against a windows
server. Basically it uses the windows
Authentication to allow the decryption of a credential database, to
allow automatic signing on to many
Applications. It allows a user only to have to remember a single
password, and then sign on to multiple
Applications. Great appplication. Useful for medicos, who otherwise have
to remember 10 passwords that roll each month
Etc.

Anyway. To cut a long story short. We have tried this on 2.2.5 and 2.2.2
and the same thing happens. Anyway.

We install the product on W2K and it works and on WINXP (against the
same samba server and she broke).

The product requires the user to re-authenticate prior to decrypting the
credential database.

Some samba logs of the product working nicely are

http://www.aeco.com.au/~ajones/log.good
http://www.aeco.com.au/~ajones/log.smbd.good
http://www.aeco.com.au/~ajones/log.smbd.good
(all in HTML format)

Now when we run the SAME product on win XP, she no authenticates.

http://www.aeco.com.au/~ajones/log.bad
http://www.aeco.com.au/~ajones/log.smbd.bad
http://www.aeco.com.au/~ajones/log.nmbd.bad

Now interestingly.

When we use *DISCONNECT* the WINXP box from the network (using winXP)
cached credentials, ie no samba
Authentication it works like a treat. ONLY when Samba is queried she
broke.


We can provide a copy of the passlogix product if people are keen to
help.

Seems like the WinXP is doing things differently.

Now I should point out that WINXP, authenticates against the samba
server as part of the windows login PERFECTLY.
So as far as windows is concerned everything is nice with samba, only
this third party product, which WE HAVE
To RUN is broken. All help is gladly appreciated. I don't want to have
to install active directory.

Thanks





Alan B. Jones
Mobile 0412 04 3178
email: [EMAIL PROTECTED]
Aeco Pacific Pty Ltd
www.aeco.com.au

Brisbane:
Level 2, 269 Wickham Street
Fortitude Valley, Qld 4006
Ph: +61 7 3250 1523
Fax: +61 7 3250 1515
Sydney:
Level 11, 32 Walker Street
North Sydney 2060
PO Box 395
North Sydney, 2059
ph: +61 2 9458 5867
fax: +61 2 9458 5967

about email from Aeco Pacific





help me!thanks!

2002-10-16 Thread ÖìÖì
guy:I had purchased a ntifs kit.Now I am developping a NFS software in the kit.This software have a Smb server and some win2000 server nodes which are the smb clients.The Raid can be accessed by all win2000 server nodes.My software can working in good manner,but it have some errors.One of them is when a win2000 node modify a file(directory)(e.g. add a file and delete a file),the others win2000 nodes can not know the modification and can not update automatically.I do not know how can modify this error.In DDK\src\filesys\smbmrx\sys\fsctl.c has the function.NTSTATUSMRxSmbNotifyChangeDirectory(  IN OUT PRX_CONTEXT RxContext)/*++Routine Description:   This routine performs a directory change notification operationArguments:RxContext - the RDBSS contextReturn Value:RXSTATUS - The return status for the operationNotes:A directory change notification opertaion is an asychron
 ous operation. Itconsists of sending a SMB requesting change notification whose response isobtained when the desired change is affected on the server.--*/{NTSTATUS Status = STATUS_NOT_IMPLEMENTED;DbgPrint(META: MRxSmbNotifyChangeDirectory zwl.\n);DbgPrint(MajorFunction is %d\n,RxContext-MajorFunction);DbgPrint(MinorFunction is %d\n,RxContext-MinorFunction);#ifdef METASMB_PRINT_FUNCTIONDbgPrint(META: MRxSmbNotifyChangeDirectory.\n);#endifRxDbgTrace(+1, Dbg, (MRxNotifyChangeDirectory...Entry\n, 0));RxDbgTrace(-1, Dbg, (MRxSmbNotifyChangeDirectory - %08lx\n, Status ));return Status;}The function have not been implemented.If I want to modify the error,what will I do?Would you be so kind to give mesome advices.thanks!My email:   [EMAIL PROTECTED]I am individual not a co
 mpany.


=

¾«Áé:ÖйúµÚÒ»¸öQ°æÈ«3DÍòÈËÍøÂçÓÎÏ·,¿ÉÒÔÎÞÏÞʱ¼äÃâ·Ñ²âÊÔ.
Ãâ·ÑÓÊÏ佡¿µÉ±¶¾´óÐж¯£¡
·ÉÎèÄãµÄ¾«Áé ÁôסÄãµÄ¾«²Ê ¾«ÁéÈ«ÃæÊÕ·Ñ£¡
ÅÄÂôÕ¾ÈÈÍÆÐÂÉúÈëѧ´óÅÄÂô£¡


Re: [Samba] upgrade to 3.0alpha20: accented chars in filenamesunreadable

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Can anyone comment on this?


On Tue, 15 Oct 2002, Louis-David Mitterrand wrote:

 
 Upon upgrading from 2.2.5 to 3.0alpha20 on Debian unstable, filenames
 with accented characters (ie: éàî etc.) became unreadable. For example
 in W2K a filename previously called résumé.xls became r when looking at
 the samba share; and the filename is impossible to modify from windows:
 samba log says file not found. From the shell the file looks like
 r?sum?.xls but the ? are actually 0x83.
 
 Now, the file contents are intact and if modified from the unix command
 line to non-accented they become accessible again from windows.
 
 FWIW I used the following command to sanitize all filenames:
 
 % rename -v 's/\x8c/i/g;s/[\x83\x8a\x82]/e/g' **/*
 
 I know I'm using an alpha samba and unstable debian, but still I'd
 like to understand what happened, if possible.
 
 Is this a known issue?
 

- -- 
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed
 I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rXTaIR7qMdg1EfYRAot3AKDgaiF0XKDYcksBN50wggwId4UqPQCZAXad
j6dXwsi/W+gR5IVXMXpLrJ0=
=pDfG
-END PGP SIGNATURE-




Re: [Samba] upgrade to 3.0alpha20: accented chars in filenames unreadable

2002-10-16 Thread Ignacio Coupeau

Gerald (Jerry) Carter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Can anyone comment on this?
 
 
 On Tue, 15 Oct 2002, Louis-David Mitterrand wrote:
 
 
Upon upgrading from 2.2.5 to 3.0alpha20 on Debian unstable, filenames
with accented characters (ie: éàî etc.) became unreadable. For example
in W2K a filename previously called résumé.xls became r when looking at
the samba share; and the filename is impossible to modify from windows:
samba log says file not found. From the shell the file looks like
r?sum?.xls but the ? are actually 0x83.

In a hurry I used
unix charset = CP850
http://www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html#internationalization

this solved our problems (redhat 7.2; samba-3.0a20) for example in the 
profile load on the spanish xp (ie Star menu--menú Inicio).

Ignacio

-- 

Ignacio Coupeau, Ph.D. e-mail: [EMAIL PROTECTED]
CTI, Director  fax:948 425619
University of Navarra  voice:  948 425600
Pamplona, SPAINhttp://www.unav.es/cti/




MSDN goodies.

2002-10-16 Thread jra

Microsoft have documented all the DOS error codes at :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp

Plus here's the docs on the internal (NTDLL.DLL) API they use to
convert from NT_STATUS to DOS error codes.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/rtlntstatustodoserror.asp

Enjoy :-).

Jeremy.



Re: MSDN goodies.

2002-10-16 Thread Christopher R. Hertel

On Wed, Oct 16, 2002 at 11:33:45PM +, [EMAIL PROTECTED] wrote:
 Microsoft have documented all the DOS error codes at :
 
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp

Note that if you turn off Javascript (always a good idea) you can display 
just the table of error codes by using the URL:

  http://msdn.microsoft.com/library/en-us/debug/base/system_error_codes.asp?frame=false

 Plus here's the docs on the internal (NTDLL.DLL) API they use to
 convert from NT_STATUS to DOS error codes.
 
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/rtlntstatustodoserror.asp

I note that this second one says:

  Remarks
   There is no function that provides the inverse functionality of
   RtlNtStatusToDosError...

That suggests that server-to-server communication is always expected to 
use NT_STATUS codes.  See: http://ubiqx.org/cifs/figures/smb-07.html
If you had a situation that was the opposite of what is shown in the 
diagram (smb-07) then the server in the middle would need to have a 
mechanism for converting DOS codes to NT_STATUS codes.  That is, if you 
had a PDC and a server that had negotiated DOS codes and the client wants 
NT_STATUS codes, then either:
- the client would also need to make do with DOS codes, or
- the server in the middle would need to translate from DOS to NT_STATUS 
  codes.

I mention all this because when I asked people about it while writing that 
part of my book there were some different answers.  Fun stuff.

Chris -)-

-- 
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]



On to Samba 3.0

2002-10-16 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Everyone,

I am glad to say that 2.2.6 is out and is the last planned 2.2 release.
I know many people have been working on Samba 3.0 for several months
now.  Now we can all focus on 3.0.  Thanks to everyone who helped
out in the past 4 months to get 2.2.6 out the door.

btw...I'm planning on the next 3.0alpha release on 10/25.


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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9rjmxIR7qMdg1EfYRAgpuAKCDV0HEhyreOBvLAqstI6gBM9J6qQCeMN3t
xeQtEZ6Hhxc4KpPEm6UnCzA=
=H3nU
-END PGP SIGNATURE-




CVS update: samba/source/groupdb

2002-10-16 Thread vlendec


Date:   Wed Oct 16 09:41:42 2002
Author: vlendec

Update of /data/cvs/samba/source/groupdb
In directory dp.samba.org:/tmp/cvs-serv31161/groupdb

Modified Files:
mapping.c 
Log Message:
Create group mappings on the fly.

Volker


Revisions:
mapping.c   1.38 = 1.39

http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c?r1=1.38r2=1.39



CVS update: samba/source/rpcclient

2002-10-16 Thread jra


Date:   Wed Oct 16 18:10:09 2002
Author: jra

Update of /data/cvs/samba/source/rpcclient
In directory dp.samba.org:/tmp/cvs-serv12809/rpcclient

Modified Files:
  Tag: APPLIANCE_HEAD
rpcclient.c 
Log Message:
Check in fix for CR#91 - seems to be working fine.
Jeremy.


Revisions:
rpcclient.c 1.120.2.4 = 1.120.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpcclient/rpcclient.c?r1=1.120.2.4r2=1.120.2.5



CVS update: samba/source/rpc_server

2002-10-16 Thread jerry


Date:   Wed Oct 16 18:21:55 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv13997/rpc_server

Modified Files:
srv_spoolss_nt.c 
Log Message:
fix from APP_HEAD to commit a re-init'd printer to disk



Revisions:
srv_spoolss_nt.c1.354 = 1.355

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.354r2=1.355



CVS update: samba/source/rpc_server

2002-10-16 Thread jerry


Date:   Wed Oct 16 18:23:15 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv14097/rpc_server

Modified Files:
  Tag: SAMBA_3_0
srv_spoolss_nt.c 
Log Message:
merge from app_head to commit re-init'd printer to disk

Revisions:
srv_spoolss_nt.c1.277.2.14 = 1.277.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.277.2.14r2=1.277.2.15



CVS update: samba

2002-10-16 Thread jerry


Date:   Wed Oct 16 19:12:09 2002
Author: jerry

Update of /data/cvs/samba
In directory dp.samba.org:/tmp/cvs-serv19339

Modified Files:
  Tag: SAMBA_2_2_RELEASE
WHATSNEW.txt 
Log Message:
preparing for final 2.2.6 release



Revisions:
WHATSNEW.txt1.34.6.10.2.41 = 1.34.6.10.2.42

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt?r1=1.34.6.10.2.41r2=1.34.6.10.2.42



CVS update: samba/source/printing

2002-10-16 Thread jra


Date:   Wed Oct 16 20:09:22 2002
Author: jra

Update of /data/cvs/samba/source/printing
In directory dp.samba.org:/tmp/cvs-serv25345/printing

Modified Files:
printing.c 
Log Message:
Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).
Jeremy.


Revisions:
printing.c  1.166 = 1.167

http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/printing.c?r1=1.166r2=1.167



CVS update: samba/source/printing

2002-10-16 Thread jra


Date:   Wed Oct 16 20:09:51 2002
Author: jra

Update of /data/cvs/samba/source/printing
In directory dp.samba.org:/tmp/cvs-serv25429/printing

Modified Files:
  Tag: SAMBA_3_0
printing.c 
Log Message:
Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).
Jeremy.


Revisions:
printing.c  1.139.2.6 = 1.139.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/printing.c?r1=1.139.2.6r2=1.139.2.7



Re: CVS update: samba/source/passdb

2002-10-16 Thread Andrew Bartlett

On Wed, Oct 16, 2002 at 11:49:58AM -0400, [EMAIL PROTECTED] wrote:
 
 Date: Wed Oct 16 15:49:58 2002
 Author:   vlendec
 
 Update of /data/cvs/samba/source/passdb
 In directory dp.samba.org:/tmp/cvs-serv30073
 
 Modified Files:
   pdb_ldap.c 
 Log Message:
 No functional change. I'm trying to understand pdb_ldap.c and
 found an unecessary parameter to ldapsam_search_one_user.

Please don't do that.  We supply this paramater to all functions
here - this allows us to always be able to get to state information
without static globals etc.  While these functions didn't use the
infromation now, we will need it when we add connction caching 
(we would have to store the new connection back onto that struct).

Andrew Bartlett



CVS update: samba/packaging/RedHat

2002-10-16 Thread jerry


Date:   Wed Oct 16 21:50:44 2002
Author: jerry

Update of /data/cvs/samba/packaging/RedHat
In directory dp.samba.org:/tmp/cvs-serv4077/packaging/RedHat

Modified Files:
  Tag: SAMBA_2_2_RELEASE
samba2.spec.tmpl 
Log Message:
sync with SAMBA_2_2


Revisions:
samba2.spec.tmpl1.18.6.17.2.12 = 1.18.6.17.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/RedHat/samba2.spec.tmpl?r1=1.18.6.17.2.12r2=1.18.6.17.2.13



CVS update: samba/source/include

2002-10-16 Thread jra


Date:   Wed Oct 16 23:57:14 2002
Author: jra

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv21583/include

Modified Files:
  Tag: APPLIANCE_HEAD
doserr.h 
Log Message:
Full list of printer error codes.
Jeremy.


Revisions:
doserr.h1.24.2.3 = 1.24.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/doserr.h?r1=1.24.2.3r2=1.24.2.4



CVS update: samba/packaging/Debian

2002-10-16 Thread jerry


Date:   Thu Oct 17 01:40:41 2002
Author: jerry

Update of /data/cvs/samba/packaging/Debian
In directory dp.samba.org:/tmp/cvs-serv1392/Debian

Modified Files:
  Tag: SAMBA_2_2
README 
Log Message:
last minute packaging changes from Eloy

Revisions:
README  1.1.2.5 = 1.1.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Debian/README?r1=1.1.2.5r2=1.1.2.6



CVS update: samba/packaging/Debian/debian/patches

2002-10-16 Thread jerry


Date:   Thu Oct 17 01:40:41 2002
Author: jerry

Update of /data/cvs/samba/packaging/Debian/debian/patches
In directory dp.samba.org:/tmp/cvs-serv1392/Debian/debian/patches

Modified Files:
  Tag: SAMBA_2_2
fhs.patch loadparm.patch smbmount-nomtab.patch 
Log Message:
last minute packaging changes from Eloy

Revisions:
fhs.patch   1.1.2.3 = 1.1.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Debian/debian/patches/fhs.patch?r1=1.1.2.3r2=1.1.2.4
loadparm.patch  1.1.2.4 = 1.1.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Debian/debian/patches/loadparm.patch?r1=1.1.2.4r2=1.1.2.5
smbmount-nomtab.patch   1.1.2.3 = 1.1.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Debian/debian/patches/smbmount-nomtab.patch?r1=1.1.2.3r2=1.1.2.4



  1   2   >