[Samba] Samba 2.2.7a to Samba 3.0.2a

2004-04-20 Thread Pablo Jejcic - Smartweb
Hello List,
I'm planning a migration from Samba 2.2.7a to 3.0.2a, samba is
actually running on Solaris 8.0 on a sun E450.
Now, Looking at the smb.conf (the global parameters) what should
I take care of?

# Global parameters
[global]
domain logons = yes
security = user
wins support = yes
create mask = 0600
directory mask = 0700
log file = /var/samba/log.%m
log level = 1
max log size = 0
interfaces = 10.52.1.1 10.42.1.1
domain master = Yes
security mask = 0777
level2oplocks = no
encrypt passwords = Yes
dont descend = /proc,/dev,/etc,/usr
printing = SYSV
server string = Samba Server
workgroup = 
hosts allow = 127. 10. 172.16.
netbios name = ###
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_RCVBUF=16384 SO_SNDBUF=16384
local master = Yes
min passwd length = 6
os level = 99
oplocks = no
use client driver = yes

At the same question, this machine should be a domain controller (PDC?)
and the preferable server, Should I take care of this in any manner? 

Obviously, if you can see any improvement that I could apply on
Samba3.0.2a to make it work faster, I'm more than happy to do it :)

Cheers!!!

Pablo.-

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
 

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


Re: [Samba] Samba 2.2.7a and SunOS 5.8

2004-03-15 Thread Diego Julian Remolina
Hi,

Samba 2.2.7 series worked fine for us in Solaris 8 and 9.  However we are
currently running 2.2.8a on our samba server (Solaris 9) and working
towards upgrading to samba 3.0.2a with ldapsam.

We used versions 2.2.7, 2.2.7a,2.2.8, 2.2.8a for production in a server
running nfs for ~200 Linux/sun clients and being the domain controller for
~20 windows machines without seeing any performance issues.  The server
is dual homed to two subnets and has gigabit uplinks.

Diego

On Sun, 14 Mar 2004, Cloutier,Joe wrote:

>
> I have 2 Sun servers. One is running Samba 2.0.7 and I have no problems
> with response time or performance. The other server is running Samba
> 2.2.7a and on this server there are performance issues, slowness and
> long response times with long latencies over 400 msec.
>
> Both Sun server's are running SunOS 5.8.
>
> Is Samba 2.2.7a supported on this Unix box or is for a Linux server?
> Should I be experiencing any problems with this release.
>
> Thanks in advance for your support.
>
> Joe
>
> CONFIDENTIALITY NOTICE
>
> This message and any included attachments
> are from Cerner Corporation and are intended
> only for the addressee. The information
> contained in this message is confidential and
> may constitute inside or non-public information
> under international, federal, or state
> securities laws. Unauthorized forwarding,
> printing, copying, distribution, or use of such
> information is strictly prohibited and may be
> unlawful. If you are not the addressee, please
> promptly delete this message and notify the
> sender of the delivery error by e-mail or you
> may call Cerner's corporate offices in Kansas
> City, Missouri, U.S.A at (+1) (816)221-1024.
>  --
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 2.2.7a and SunOS 5.8

2004-03-14 Thread Cloutier,Joe

I have 2 Sun servers. One is running Samba 2.0.7 and I have no problems
with response time or performance. The other server is running Samba
2.2.7a and on this server there are performance issues, slowness and
long response times with long latencies over 400 msec. 

Both Sun server's are running SunOS 5.8.

Is Samba 2.2.7a supported on this Unix box or is for a Linux server?
Should I be experiencing any problems with this release.

Thanks in advance for your support.

Joe

CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
 --
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Help with Office / Samba samba-2.2.7a on FreeBSD 4.9-RC

2003-10-20 Thread Rich Webb

- Original Message - 
From: "J. Nyhuis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Scottie Swenson" <[EMAIL PROTECTED]>
Sent: Monday, October 20, 2003 8:17 PM
Subject: [Samba] Help with Office / Samba samba-2.2.7a on FreeBSD 4.9-RC


> Greetings,
>
> System: FreeBSD 4.9-RC
> Samba: 2.2.7a
>
> I have a weird SAMBA problem. On my XP Pro box against our Samba server
(been
> online and such for long time) from Office XP only when ever I save a
document
> it gets set as read only. Hence I only get one save for any given
document.
> This is a new problem and is affecting only office XP. Other accounts
other
> then mine do not have this problem.
>
> I have tried adding in things like force create mask, force security, etc.
No
> help at all.

Have you played around with the file locking options?

Rich

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


[Samba] Help with Office / Samba samba-2.2.7a on FreeBSD 4.9-RC

2003-10-20 Thread J. Nyhuis
Greetings,

System: FreeBSD 4.9-RC
Samba: 2.2.7a

I have a weird SAMBA problem. On my XP Pro box against our Samba server (been
online and such for long time) from Office XP only when ever I save a document
it gets set as read only. Hence I only get one save for any given document.
This is a new problem and is affecting only office XP. Other accounts other
then mine do not have this problem.

I have tried adding in things like force create mask, force security, etc. No
help at all.

This is a really new problem. The problem is there is I can not nail down
exactly when this started.

Also this problem is ONLY in MS Office (Word, Excel, PowerPoint).

In Excel we get the error message: "The Document was saved succesfully, but
Excel cannot re-open it because of a sharing violation. Please Close Document
and try again." The Read-Only bit is now set on the file.

I have tried creating a new user and that user gets this problem too.

I have, in an attempt to solve this, installed ALL the MS Office patches,
problem persists.

If I login as a different user that was using office 2k first the problem does
not exist.

We have not updated Samba nor office. This problem started strangely after we
added the WINS definition

Do not know if related. Can not find any references to this problem on the
net...naturally.

If someone can point me at some things to try I would be deeply grateful!!

Cheers,
Scottie




-- 
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.7a and Word 2000 = Corrupted (?) files

2003-10-15 Thread Collins, Kevin
I have a Samba 2.2.7a PDC (with an OpenLDAP backend) that seems to be giving
me trouble.  Here's the scoop:

I have Windows 2000 Pro clients running Word 2000.  Over the past several
days, a lot of them have had trouble with their documents - most of the time
during a save.

The most critical of these failures presents the following error message
when saving:

"Word has lost data due to a bad network connection or missing floppy.
Documents relying on this data are going to be saved and then closed."

The only option on this dialog is to select "OK" and word commence to save a
"rescue document".  This takes a VERY long time - in excess of 10 minutes.
Immediately following that process Word presents us with another error
message:

"There is an unrecoverable disk error file .
The disk you're working on has a media problem that prevents Word from using
it.  Try the following:

Try Formatting another disk.
Save the document to another disk."

Then Word goes and saves a files called Rescued Document <#>.txt in the
user's My Documents folder.  Looking at this file is worthless as it appears
to be hex-code or something.  This basically ends up with the user loosing
work - a total of about 9 hours over the past three days in this most
extreme case.

I have scoured the mailing lists, Google'd for possibilities but have been
unable to come up with any solution.  I'm hoping someone here has run into
this and may be able to point me in the right direction.

I have included the smb.conf file from the server in question below - in
case it helps.  The problem files are stored in home, admin and projects
shares.

==
#

*
# --   Nesbitt Engineering, Inc. Stargazer Samba Configuration
--
#

*
# This is the main Samba configuration file for Stargazer - NEI's Primary
# Domain Controller and Lexington office File Server.
#
# This configuration file is only to be used for an LDAP enabled server that
# will be acting as a PDC.  Modifications will be required for member
servers
# and machine that will act as "BDCs".
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this file we have used a #
# for commentary and a ; for parts of the config file that are
# either not enabled yet, or temporarily disabled
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#

-
# "Fear the Penguin!"
#   -- Kevin L. Collins
#  Systems Manager
#  Nesbitt Engineering, Inc.
#

*
# Changelog:
# Date - Version - Change
#* Info about change
#

-
# 10/14/04 - 1.1 - Added "veto oplock files" directives to the homes, admin
and 
#  projects shares in the hope of solving MS Word problems.
# 06/04/03 - 1.0 - Original Creation
#

*

#= Global Settings

[global]
# Server Name and description
   workgroup = nesbitt.local
   netbios name = stargazer
   server string = Stargazer - Lexington File Server

# Samba log information
   log file = /var/log/samba/%m.log
   max log size = 0

# Security information
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
   passwd chat = *New*Password* %n\n *Retype*New*Password* %n\n
*All*authentication*tokens*updated*successfully*

# To help performance
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Settings for PDC setup
   local master = yes
   os level = 80
   domain master = yes
   preferred master = yes
   domain logons = yes
   logon path = 

# Activate these Network Services
   wins support = yes
   time server = yes

# LDAP Declarations -- Needed to allow the LDAP backend to work
   ldap suffix = dc=nesbitt,dc=local
   ldap admin dn = cn=Manager,dc=nesbitt,dc=local
   ldap port = 389
   ldap server = 127.0.0.1
   ldap ssl = no
   add user script = /usr/local/sbin/smbldap-useradd.pl -w %m
   domain admin group = " @"Domain Admins" "

# Oplocks settings - disable all oplocks for compatibility reasons
   oplocks = no
   level2 oplocks = no
   kernel oplocks = no

#= Share Definitions
===
[netlogon]
   comment = Network Logon Service
   path = /usr/local/samba/lib/netlogon
   guest ok = yes
   writable = no
   write list = @"domain admins"
   share modes = no

[homes]
   comme

Re: [Samba] Samba 2.2.7a - adduser script only worked the first time

2003-06-20 Thread Allen
>Allen írta:
>
>>I have WinXP machines loging into a samba domain. I am using this add user
script:
>>
>>
>>add user script = useradd -d /dev/null -g 300 -s /bin/false -M %u
>>
>>This worked beautifully with the first WinXP machine I set up. I immediately

>>booted up a second machine and got the "Access Denied" error. I have tried
two
>>more computers since and keep getting the same thing but the first machine
still
>>logs in and out fine. The samba.log keeps saying that the user does not exist

>>on the domain.
>>All of my WinXP machines were ghosted from the same image so I don't believe

>>the problem is on that side.
>>
>>Any ideas?
>>-Allen
>>
>>Allen Seelye
>>"DeadTOm"
>>[EMAIL PROTECTED]
>>ICQ# 8286205
>>
>Sorry if it sounds fullish, but have you checked, that your computers don't
have all the same name, if you ghost them, you first need to change their names.

>
>Best Regards
>
>Geza Gemes
>
>

Actually that's not a stupid question, that happened when we first started using
Ghost. DOH!

But I did figured it out. We are using the serial numbers of the machines as
their computer names. Some of them start with letters and some of them start
with numbers. Linux doesn't won't allow usernames that begins with a number.
So when the add user script was running it would hit that name, fail to create
a system user, then smbpasswd couldn't enter it because there was no system
user, then windows would kick back an 'access denied' message. It would have
been nice for that to show up in the samba.log but it didn't. I found out by
manually entering the computer name at the console and seeing the 'invcalid
username' message.
We'll just have to modify our naming convention a little bit for the computers.

Thanks for the response though.
-Allen

Allen Seelye
"DeadTOm"
[EMAIL PROTECTED]
ICQ# 8286205
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 2.2.7a - adduser script only worked the first time

2003-06-20 Thread Gémes Géza
Allen írta:

I have WinXP machines loging into a samba domain. I am using this add user script:

add user script = useradd -d /dev/null -g 300 -s /bin/false -M %u

This worked beautifully with the first WinXP machine I set up. I immediately
booted up a second machine and got the "Access Denied" error. I have tried two
more computers since and keep getting the same thing but the first machine still
logs in and out fine. The samba.log keeps saying that the user does not exist
on the domain.
All of my WinXP machines were ghosted from the same image so I don't believe
the problem is on that side.
Any ideas?
-Allen

Allen Seelye
"DeadTOm"
[EMAIL PROTECTED]
ICQ# 8286205
Sorry if it sounds fullish, but have you checked, that your computers don't have all the same name, if you ghost them, you first need to change their names.

Best Regards

Geza Gemes

--
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.7a - adduser script only worked the first time

2003-06-20 Thread Allen
I have WinXP machines loging into a samba domain. I am using this add user script:


add user script = useradd -d /dev/null -g 300 -s /bin/false -M %u

This worked beautifully with the first WinXP machine I set up. I immediately
booted up a second machine and got the "Access Denied" error. I have tried two
more computers since and keep getting the same thing but the first machine still
logs in and out fine. The samba.log keeps saying that the user does not exist
on the domain.
All of my WinXP machines were ghosted from the same image so I don't believe
the problem is on that side.

Any ideas?
-Allen

Allen Seelye
"DeadTOm"
[EMAIL PROTECTED]
ICQ# 8286205
-- 
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.7a + Win2k Client + MSOffice 2000

2003-03-17 Thread Jeremy Main
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I am running Samba 2.2.7a PDC and a Win2K_SP3 Client and have problems with
MS Office 2000 (Word) hanging an crashing on a timeout when editing files
in the Samba server share that are actually NFS mounted filesystems.

The error in the samba log file is...

<---snip--->

[2003/03/17 13:21:51, 0] locking/posix.c:posix_fcntl_lock(661)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1 returned
[2003/03/17 13:21:51, 0] locking/posix.c:posix_fcntl_lock(662)
  an No locks available error. This can happen when using 64 bit lock offsets
[2003/03/17 13:21:51, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.

<---unsnip--->

I am not sure what this means but I need to fix this problem of slowness
associated with shared NFS FS's.

Looking forward to any suggestions.

- -Jeremy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dbp2hE4luwDAQwARAlonAJ9AvNpIzd+sEKmdU5SMO4mYYI9wxACgqzBV
Z8FJgoDOPvqYjFBvjeKPOaI=
=va55
-END PGP SIGNATURE-# Date: 2003/03/13 10:16:34

# Global parameters
[global]
workgroup = ITCH
netbios name = SCRATCH
netbios aliases = ITCH
server string = 
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
log level = 2
log file = /var/log/samba/samba.%m
max log size = 50
large readwrite = No
logon script = logon.bat
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%u\.profiles
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
wins server = xxx.xxx.xxx.xxx
NIS homedir = Yes
admin users = 
hosts allow = xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx
printing = lprng

[homes]
comment = Home Directories
read only = No
browseable = No

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

[netlogon]
path = /samba/netlogon
write list = 

[profiles]
path = /samba/profiles
read only = No
create mask = 0600
directory mask = 0700

[public]
comment = Public Stuff
path = /samba/public
write list = 
guest ok = Yes

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

[HP2500Colour]
comment = hpcsag
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = HP2500Colour
oplocks = No
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba-2.2.7a on HPUX 11.00 trying to compile LDAP support

2003-03-13 Thread René Nieuwenhuizen
Damian Hickey wrote:

Dear all,

I am trying to use Samba with LDAP support so I can't use the CIFS
binaries.
I are having an issue with compiling samba-2.27.a (patched) on our HPUX
server.
I am configuring it with these Samba option flags:

   --prefix=/opt/samba
   --libdir=/etc/opt/samba
   --localstatedir=/var/opt/samba
   --with-privatedir=/var/opt/samba/private
   --with-lockdir=/var/opt/samba/locks
   --with-swatdir=/opt/samba/swat
   --with-acl-support
   --with-msdfs
   --with-ldapsam
   --with-profile
   -disable-static
I have gcc-3.2 installed.

I run configure OK, but get an error when running gmake:

Compiling lib/snprintf.c 
lib/snprintf.c790: conflicting types for `snprintf' 
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:493:previous
declaration of `snprintf' 
***Error exit code 1 
 

Just comment line 493 from the above file using /*  */ will do the trick

I think the lines in conflict are:

gcc-3.2 stdio.h   "extern int snprintf(char *, _hpux_size_t, char
*,...);"
samba-2.2.7a/source/lib/snprintf.c " int snprintf(char *str,size_t
count,const char *fmt,...)"
but I do not know how to resolve the issue.

I'd love to know if you have had any success with this or have any
ideas.




With thanks,

Damian Hickey
Unix Administrator
Workcover Queensland
15th Floor, 280 Adelaide St.
Brisbane
ph 07 30066422
fax 07 30066424
mob 0421 093582
***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland.
The contents of this message are to be used for the intended purpose only
and are to be kept confidential at all times. This message may contain
privileged information directed only to the intended addressee/s.
Accidental receipt of this information should be deleted promptly
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
**
 



--
René Nieuwenhuizen
Afdeling Informatietechnologie
Centraal Planbureau
Bezoekadres: Van Stolkweg 14, 2585 JR Den Haag
Postadres: Postbus 80510, 2508 GM Den Haag
T (070) 3383 342
F (070) 3383 350
I http://www.cpb.nl/nl/general/org/afdelingen/it/
--

Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its contents.

--
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.7a on HPUX 11.00 trying to compile LDAP support

2003-03-12 Thread Damian Hickey
Dear all,

I am trying to use Samba with LDAP support so I can't use the CIFS
binaries.

I are having an issue with compiling samba-2.27.a (patched) on our HPUX
server.

I am configuring it with these Samba option flags:

--prefix=/opt/samba
--libdir=/etc/opt/samba
--localstatedir=/var/opt/samba
--with-privatedir=/var/opt/samba/private
--with-lockdir=/var/opt/samba/locks
--with-swatdir=/opt/samba/swat
--with-acl-support
--with-msdfs
--with-ldapsam
--with-profile
-disable-static

I have gcc-3.2 installed.

I run configure OK, but get an error when running gmake:

Compiling lib/snprintf.c 
lib/snprintf.c790: conflicting types for `snprintf' 
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/include/stdio.h:493:previous
declaration of `snprintf' 
***Error exit code 1 

I think the lines in conflict are:

gcc-3.2 stdio.h   "extern int snprintf(char *, _hpux_size_t, char
*,...);"

samba-2.2.7a/source/lib/snprintf.c " int snprintf(char *str,size_t
count,const char *fmt,...)"

but I do not know how to resolve the issue.

I'd love to know if you have had any success with this or have any
ideas.





With thanks,

Damian Hickey
Unix Administrator
Workcover Queensland
15th Floor, 280 Adelaide St.
Brisbane
ph 07 30066422
fax 07 30066424
mob 0421 093582


***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland.
The contents of this message are to be used for the intended purpose only
and are to be kept confidential at all times. This message may contain
privileged information directed only to the intended addressee/s.
Accidental receipt of this information should be deleted promptly
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
**

-- 
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.7a - UID Problems ?

2003-02-26 Thread Nico Schottelius

Hello!

We are using samba 2.2.7a with a 2.4.20+xfs Kernel. Now we've got the problem
that sometimes a database client (which is loaded from a samba share) can't
find some files. It's randomly which ones are missing and it's not
exactly reproduceable.

What I've seen is that after some time the user id of the smbd process changes:

17:47:   smbd  nico
17:50:   smbd  bastian
17:51:   smbd  nico
17:58:   smbd  root

The process keeps on beeing there, the pid does not change.
It looks like when the smbd process changes the uid the connection from the
client is lost. Under Linux, smbmount seems to reintitate a new connection.
I can't really tell what windos does, but what I see is the lack of files
(or at least the database client does..whenever I look into the explorer,
I can see them...).

What should I do? Do you have any suggestions ? If I can debug it or if you
know howto solve, please tell me.

Thanks in advance,

Nico


pgp0.pgp
Description: PGP signature
-- 
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.7a and Solaris 9 ACLs

2003-02-24 Thread Steffen Rieber
Hi,

I run Samba 2.2.7a on a Solaris 9 machine. All works fine except for the
ACLs support. The ACLs are read and proceeded correctly, but it isn't
possible to set the by using the security tab.

What's wrong with my installation? I tried it with Solaris 8/9 and
UFS/VxFS --> the same results! The ACLs work perfectly with Linux 2.4.19
and XFS.

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


Re: [Samba] Samba 2.2.7a 64bit executable on Solaris 8

2003-02-21 Thread Leroy van Logchem
Did you check: ulimit -a / rlim_fd_cur and rlim_fd_max kernel
parameters?


Try:

# adb -kw
(wait one sec)
rlim_fd_cur/D
(exit with ^D)


Regards,
Leroy

> I recently compiled Samba 2.2.7a as a 64bit executable on Solaris 8.
> The Solaris 8 server is configured to permit 65535 files to be open, 
> while Samba has been configured to allow 65500 files to be open.
> These large number of files are required to permit simulataneous 
> compilations to take place a single build server, though there are 
> multiple build servers.

>Unable to open new log file /opt/samba/var/log.smbd: Too many open files
> [2003/02/21 06:07:20, 0] lib/debug.c:(348)

-- 
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.7a 64bit executable on Solaris 8

2003-02-21 Thread Russell Aspinwall
Good Morning,

I recently compiled Samba 2.2.7a as a 64bit executable on Solaris 8.
The Solaris 8 server is configured to permit 65535 files to be open, 
while Samba has been configured to allow 65500 files to be open.
These large number of files are required to permit simulataneous 
compilations to take place a single build server, though there are 
multiple build servers.

Last time I tried to use Samba (version 2.2.3a) this did not work, 
however version 2.2.7a is working fine, however Samba is complaining 
about too many files being open.

[2003/02/21 06:01:11, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:07:20, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:10:09, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:10:09, 0] lib/username.c:(130)
  can't open username map /opt/samba/lib/smbusers. Error Too many open 
files
[2003/02/21 06:10:09, 0] lib/username.c:(130)
  can't open username map /opt/samba/lib/smbusers. Error Too many open 
files
[2003/02/21 06:10:20, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:16:20, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:19:24, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:22:24, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:28:24, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:31:24, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:34:30, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:37:30, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:40:32, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:43:35, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files
[2003/02/21 06:46:38, 0] lib/debug.c:(348)
  Unable to open new log file /opt/samba/var/log.smbd: Too many open files

As Samba 2.2.7a is working and the compilations (and have been checked ) 
are taking place I am not unduly worried. However there is always the 
possiblity of a problem so would like to identify why Samba 2.2.7a is 
complaining in the log.smbd file.

--
Regards

Russell

Network and Systems Administrator   Flomerics Ltd
Email: russell.aspinwall at flomerics.co.uk 81 Bridge Road
Telephone: 020-8941-8810 x3116  Hampton Court
Facsimile: 020-8941-8730Surrey, KT8 9HH, UK

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


Re: [Samba] samba.2.2.7a clearcase solaris 8 "Too many open files"

2003-02-11 Thread Joseph Loo
IHave you check the ulimit account settings for the account samba is 
running under? If you type ulimit, it shows the ulimit settings.  This 
is just a guess.


Schreiber Martin wrote:

Hello,

We ran a big mixed win2k unix environment. We use latest samba-version
(2.2.7a) and clearcase v2002 (latest version). Our vob and view servers are
sol 8 boxes , clients ran win2k.

Since a week or 2 i can see the following error or warning messages in the
logs:

##
Unable to open new log file /usr/local/samba/log.leipzig2: Too many open
files
##

I tuned the filedescriptor settings in /etc/system to

set rlim_fd_max=8192
set rlim_fd_cur=4096

and the samba "max open" settings to 	max open files = 16384	, but that
settings seam to be useless , no affect.

In the clearcase logs no errors or warnings are indicated , now my question
, may i forget it , or is that a serious behaviour.


kind regards			martin schreiber

 Siemens Business Services
	CCN-ITS Betrieb Wien GUD
 	Gudrunstrasse 11
	A-1101 Wien

	Martin Schreiber			
 Phone	+43 5 1707 47565
	Server-Administration	
 Fax	+43 5 1707 57560
	mailto:[EMAIL PROTECTED]
	http://www.sbs.at


 


--
Joseph Loo
[EMAIL PROTECTED]


--
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.7a and multiple logins...

2003-02-11 Thread Michael Bramer
Hello

I use a new samba server with LDAP support as PDC for some Windows2000
and WindowsXP machines. 

All is working nice. The useer can login with a user/password in the
domain, we have remote profiles, the user can access the samba shares
and print etc. 

But after some time (< 1 day) we get a smbstatus output like the
attached file. Users are connected multiple times with the same share
(without rebooting/crash the windows OS). 

And as a result of this, the user have looked outlook files. (the
outlook PST-files are on one samba share...)

Have someone a problem like this and maybe some ideas or solutions?

Thanks


Gruss
Grisu
-- 
Michael Bramer  -  a Debian Linux Developer  http://www.debsupport.de
PGP: finger [EMAIL PROTECTED]  -- Linux Sysadmin   -- Use Debian Linux
"But it's interactive, and it's not emacs, nor vi, and thus evil :-)"
  --- Jan Nieuwenhuizen


Samba version 2.2.7a-0.1 for Debian
Service  uid  gid  pid machine
--
kr   kr   users10724   pc33 (192.168.1.33) Tue Feb 11 08:42:02 2003
js   js   users10566   pc40 (192.168.1.40) Tue Feb 11 07:58:31 2003
IPC$ nobody   nogroup   5935   pc45 (192.168.1.45) Mon Feb 10 15:34:55 2003
transfer fr   users 5935   pc45 (192.168.1.45) Mon Feb 10 12:00:49 2003
jm   jm   users 6838   pc39 (192.168.1.39) Mon Feb 10 15:07:48 2003
IPC$ nobody   nogroup   5124   pc53 (192.168.1.53) Mon Feb 10 14:01:04 2003
IPC$ nobody   nogroup  10701   pc32 (192.168.1.66) Tue Feb 11 08:34:54 2003
IPC$ nobody   nogroup   4833   pc40 (192.168.1.40) Mon Feb 10 08:01:15 2003
kr   kr   users 5813   pc33 (192.168.1.33) Mon Feb 10 11:28:39 2003
demo jm   users 5902   pc39 (192.168.1.39) Mon Feb 10 11:52:14 2003
mas  mas  users10682   pc37 (192.168.1.37) Tue Feb 11 08:28:50 2003
IPC$ nobody   nogroup   6172   pc39 (192.168.1.39) Mon Feb 10 15:05:10 2003
IPC$ nobody   nogroup   5267   pc39 (192.168.1.39) Mon Feb 10 09:59:09 2003
IPC$ nobody   nogroup   4990   pc33 (192.168.1.33) Mon Feb 10 08:42:27 2003
project  mal  users24074   pc55 (192.168.1.123) Fri Feb  7 15:56:45 
2003
IPC$ nobody   nogroup   5123   pc51 (192.168.1.51) Mon Feb 10 09:10:30 2003
IPC$ nobody   nogroup   4930   pc49 (192.168.1.49) Mon Feb 10 08:25:44 2003
demo jm   users 5838   pc39 (192.168.1.39) Mon Feb 10 11:36:55 2003
IPC$ nobody   nogroup   4784   pc42 (192.168.1.42) Mon Feb 10 07:47:48 2003
IPC$ nobody   nogroup  10374   pc42 (192.168.1.42) Tue Feb 11 06:54:44 2003
jm   jm   users 5718   pc39 (192.168.1.39) Mon Feb 10 11:11:46 2003
project  jm   users 6838   pc39 (192.168.1.39) Mon Feb 10 15:06:53 2003
project  rb   users10729   pc52-rb  (192.168.1.52) Tue Feb 11 08:44:10 2003
transfer jm   users 6172   pc39 (192.168.1.39) Mon Feb 10 12:57:50 2003
IPC$ nobody   nogroup   5100   pc31 (192.168.1.31) Mon Feb 10 13:22:19 2003
IPC$ nobody   nogroup   5021   pc45 (192.168.1.45) Mon Feb 10 10:15:26 2003
transfer vb   users 5100   pc31 (192.168.1.31) Mon Feb 10 09:10:00 2003
IPC$ nobody   nogroup   5898   pc26 (192.168.1.26) Mon Feb 10 12:31:36 2003
IPC$ nobody   nogroup   5813   pc33 (192.168.1.33) Mon Feb 10 11:28:39 2003
IPC$ nobody   nogroup   4817   pc38 (192.168.1.38) Mon Feb 10 07:58:25 2003
IPC$ mal  users24074   pc55 (192.168.1.123) Fri Feb  7 17:38:13 
2003
IPC$ nobody   nogroup   4880   pc26 (192.168.1.26) Mon Feb 10 08:15:47 2003
IPC$ nobody   nogroup   5422   pc44 (192.168.1.44) Mon Feb 10 10:13:13 2003
IPC$ nobody   nogroup   5020   pc44 (192.168.1.44) Mon Feb 10 08:50:40 2003
js   js   users10558   pc40 (192.168.1.40) Tue Feb 11 07:56:23 2003
jm   jm   users 5838   pc39 (192.168.1.39) Mon Feb 10 11:38:07 2003
IPC$ nobody   nogroup   6838   pc39 (192.168.1.39) Mon Feb 10 15:44:12 2003
sek  pr   users 5389   pc26 (192.168.1.26) Mon Feb 10 10:07:45 2003
IPC$ nobody   nogroup   5077   pc28 (192.168.1.28) Mon Feb 10 09:00:20 2003
IPC$ nobody   nogroup   5718   pc39 (192.168.1.39) Mon Feb 10 11:35:43 2003
IPC$ kr   users10730   pc33 (192.168.1.33) Tue Feb 11 08:44:27 2003
transfer vb   users 6595   pc31 (192.168.1.31) Mon Feb 10 14:13:07 2003
IPC$ nobody   nogroup  10724   pc33 (192.168.1.33) Tue Feb 11 08:42:02 2003
IPC$ nobody   nogroup   6348   pc31 (192.168.1.31) Mon Feb 10 14:12:01 2003
oschad   oschad   users10635   pc55 (192.168.1.123) Tue Feb 11 08:19:35 
2003
manage   ct  

[Samba] samba.2.2.7a clearcase solaris 8 "Too many open files"

2003-02-10 Thread Schreiber Martin

Hello,

We ran a big mixed win2k unix environment. We use latest samba-version
(2.2.7a) and clearcase v2002 (latest version). Our vob and view servers are
sol 8 boxes , clients ran win2k.

Since a week or 2 i can see the following error or warning messages in the
logs:

##
Unable to open new log file /usr/local/samba/log.leipzig2: Too many open
files
##

I tuned the filedescriptor settings in /etc/system to

set rlim_fd_max=8192
set rlim_fd_cur=4096

and the samba "max open" settings tomax open files = 16384  , but that
settings seam to be useless , no affect.

In the clearcase logs no errors or warnings are indicated , now my question
, may i forget it , or is that a serious behaviour.


kind regardsmartin schreiber

  Siemens Business Services
CCN-ITS Betrieb Wien GUD
Gudrunstrasse 11
A-1101 Wien
 
Martin Schreiber
  Phone +43 5 1707 47565
Server-Administration   
  Fax   +43 5 1707 57560
mailto:[EMAIL PROTECTED]
http://www.sbs.at


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



Re: [Samba] Samba 2.2.7a as PDC with LDAP: c000019b error code

2003-02-10 Thread Nathan Ehresman
Tobias,

I ran into flakiness similar to this once on our network here.  Turned 
out to be a port on the switch that had gone bad (lots of errors, but 
some packets were making it through).  A network problem might explain 
why you are seeing nothing in the logs on the PDC from that machine. 
Try checking the error count on the switch port the machine is plugged into.

Nathan

--
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.7a as PDC with LDAP: c000019b error code

2003-02-10 Thread Tobias Galitzien
Hello!

I've run into a strange problem with samba-2.2.7a. I compiled it with
--with-ldapsam on a Debian/Woody box, set up openLDAP 2.0.23 with all users
and machine trust accounts and configured samba to using LDAP and being a
PDC. Works ok so far, users may authenticate and use their shares.

But they can not *always* log into the domain from NT4.0 workstations.
Sometimes yes, sometimes after the eighth or more try, sometimes not at all.
Regardless what machine or what user or what day of week. The error code is
always the same "...cannot log you on...(C19b)". In the cases where it
works, everything runs all normal. Domain logon, scripts, even password
change with LDAP (great thing by the way). There is no visible difference in
setup of any component between the cases where it works and the ones where
it doesn't.

I did the (I suppose...) normal procedure: set up the machine trust account
in LDAP with smbpasswd -m -a  and added the NT4.0 box into the
domain (success message appeared on NT: "Welcome to Domain...").

I have read the FAQ about this error code and I am sure I have not changed
the domain SID nor up- or downgraded samba version. I have learned that
domain SID is not longer in $privatedir/DOMAIN.SID but is now rather a
record in secrets.tdb. So I compiled tdbdump from the samba distribution,
watched closely what might happen to the domain SID and made sure it has
indeed not been changed since the initial install of this samba.

Could this problem be LDAP specific? Or maybe a network problem?

Some further thoughts:

In log.smb with loglevel 4 there is no entry at all of the machine where the
error occurs. So maybe the NT4.0 box is completely refusing to talk to the
server from some point on?

Deleting and readding the machine trust account and rejoining the
workstation *seems* to have a little effect (maybe just imagination), often
the login succeeds after the first or second try (instead of fourth to
eighth) after rejoining but only with some machines/users.

For any ideas I would be greatly thankful!

Here are the configuration details:

./configure \
  --host=i386-linux \
  --build=i386-linux \
  --with-fhs \
  --prefix=/usr \
  --sysconfdir=/etc \
  --with-privatedir=/etc/samba \
  --localstatedir=/var \
  --with-netatalk \
  --with-smbmount \
  --with-pam \
  --with-syslog \
  --with-sambabook \
  --with-utmp \
  --with-readline \
  --with-pam_smbpass \
  --with-libsmbclient \
  --with-winbind \
  --with-msdfs \
  --with-ldapsam

(actually the standard Packaging/Debian/debian/rules build with added
--with-ldapsam)

I have put it into PDC mode by putting the standard stuff into smb.conf:

   security = user
   domain logons = yes
   domain master = yes
   os level = 99
   preferred master = yes
   wins support = yes
   encrypt passwords = yes

and a netlogon share, of course.

I have put all users and machine trust accounts into LDAP. I am using the
posixAccount objectclass with pam_ldap and nss_ldap, so apart from root and
the standard system users, /etc/passwd is empty. /etc/samba/smbpasswd does
not exist at all.

Here is an example ldif of a user account:

dn: cn=Busse,ou=users,o=zq-aekn,c=de
objectClass: top
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaAccount
objectClass: inetOrgPerson
sn: Busse
uidNumber: 2001
gidNumber: 100
homeDirectory: /home/users/busse
userPassword:: xxx
shadowLastChange: 12087
uid: Busse
pwdLastSet: 1044369387
logonTime: 2147483647
logoffTime: 2147483647
kickoffTime: 2147483647
pwdCanChange: 2147483647
pwdMustChange: 2147483647
cn: Busse
rid: 5002
primaryGroupID: 5003
lmPassword: xxx
ntPassword: xxx
acctFlags: [U  ]

and one of a machine trust account:

dn: cn=pc-155$,ou=computers,o=zq-aekn,c=de
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaAccount
uidNumber: 3023
gidNumber: 100
homeDirectory: /dev/null
uid: pc-155$
pwdLastSet: 1044877124
logonTime: 2147483647
logoffTime: 2147483647
kickoffTime: 2147483647
pwdCanChange: 2147483647
pwdMustChange: 2147483647
cn: pc-155$
rid: 7046
primaryGroupID: 7047
lmPassword: xxx
ntPassword: xxx
acctFlags: [W  ]



Bye
Tobias
-- 
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.7a

2003-02-07 Thread Sinan_Piskin
Hi,

i have a "short" question to you, i hope you can help me.
I try to install samba 2.2.7a on an AIX 5.1 and get some error messages.
When i begin to execute "./configure" i get the message:

  checking configure summar ... ERROR: No licking available. Running
Samba would be unsave
  configure: error: summary failure. Aborting config

I hope you can help me.

Thanks
Regards


Sinan Piskin
IT Operations

HUGO BOSS AG Dieselstrasse 12 D- 72555 Metzingen
Phone (49) 71 23/94- 13 40  Fax (49) 71 23/94- 8 13 40
mailto:[EMAIL PROTECTED]
http://www.hugoboss.com

-- 
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.7a / XP / Printing

2003-02-04 Thread Matthew Bernstein
Hi,

I have a number of printers set up under Samba on a Linux box, using the
default spoolss mode.

We are experiencing a number of problems with printing, and I would like to
eliminate the unnecessary step of spooling on the client (as I suspect this
may cure some/all of them).

For some reason however, when I go to the advanced properties on the printer
driver dialog on the client, and select "Print directly to printer",
although the options appears to set, when I re-enter the dialog, it has
reverted back to spooling.

FWIW, I am a domain admin on the network which is specified in the printer
admins line in my smb.conf, and I do not understand why this problem is
caused by printers shared from Samba - surely the spooling setting is a
client thing, nothing to do with the printer server?!  None the less, this
problem is consistent and unique to the samba printers.

Any advice would be greatly appreciated.

Matthew.


PS.  Apologies to anybody reading the newsgroups for the duplicate post, but
I only twigged too late that all the posts had come through this mailing
list.
-- 
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.7a: Compilation error on QNX 6.2 & fix

2003-02-03 Thread Velin Ianev
Hello,

I tried to install Samba as standard source code software on QNX 6.2 NC:
./configure
make

The compiler report error in libsmb/cli_samr.c row 419 about uint type of
ptr.
I changed the type to uint32 since init_samr_q_query_useraliases function
accept uint32 pointer.
After that the compilation finished successfully.

Also smbpasswd do not prompt for a password in comparison with v2.2.4. As a
result the new password is always null.

Thanks,
Ianev

-- 
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.7a, security=server, password server = win2k, winxp client

2003-01-29 Thread Andreas Hasenack
Hello,

I'm having some problems with the this setting. 

I'm trying to have a winxp client logon to a samba-2.2.7a machine which is using
a win2k server as password server. It works if I use a linux client (smbclient):

smbclient -L pandora -U bush%george

Pandora is the samba machine, and it contacts the w2k server and validates bush's
password. This is working, but only with smbclient. I can't do it with the winxp
logon. The logs show that, for some reason, the winxp client is connecting to the
samba server as anonymous. Nowhere does the "bush" username appears, not even in
tcpdump.
This bush user exists on the samba server and on win2k, but not in /etc/smbpasswd
(since I expect the password to be validated against w2k).

If I change security to user and add the bush user to /etc/smbpasswd, then the
winxp client can logon just fine into this domain.

I have the pandora (linux) machine added to win2k, and the winxp machine is also
added to /etc/smbpasswd on pandora.

Another info: since the linux samba server and w2k server are on the same subnet,
I put them on different domains (w2k is a controller for domain A, and both winxp and
linux server are on domain B). Could this be it? I'm doing it because the w2k machine
will be on a different subnet in the final setup, and then I plan on using the same
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.7a - Unix groups bug?

2003-01-27 Thread Paul Taylor
Further to comments made in another thread, Samba 2.2.7a appears to
limit the maximum number of Unix groups a user can have to 13
(NGROUPS_MAX - 3.)

The cause appears to be Samba adding to the groups list returned
by the getgroups() system call, such that a subsequent setgroups()
call has the number of groups set to (# of groups + 3).

For instance, my account has 12 groups; running truss against the smbd
thread for my account showed it calling "setgroups(15, 0x.);"
For another user who has 14 groups, the call is "setgroups(17, 0x);"
- this fails with "Err#22 EINVAL", since 17 is greater than NGROUPS_MAX
(= 16 under Solaris.)

The difference of 3 groups may be environment/implementation specific.

This behaviour didn't occur under Samba 2.2.0, so I suspect that
one of the fixes to group handling mentioned in the Changelogs is
responsible.

Any ideas?

Thanks in advance.

-- 

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



Re: [Samba] Samba 2.2.7a discards LDAP attributes

2003-01-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 26 Jan 2003, Andrew Bartlett wrote:

> > News to me.  It should be working in 2.2 for the basic attributes like 
> > profile path and logon script.  I'll check on it Monday.
> 
> It's the lanman.c stuff for Win9X.  This should read the information from the
> SAM_ACCOUNT used for auth (like the netlogon stuff does) but we never pass
> that back in 2.2.  
> 
> Quick hack is to do a pdb_getsampwnam() but in 2.2 the % macros get messy there
> too.  I should have mentioned it when I cleaned up the 3.0 code.  

np.  I'll take a look there next week.  Thanks for the heads up.




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-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)

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

iD8DBQE+M0a5IR7qMdg1EfYRAur6AKDRw2Jl3p6Zakod296cRhMSIS3JbwCfVuwg
3etbq8cWSWdwuQCePe13an4=
=Ztfc
-END PGP SIGNATURE-

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



Re: [Samba] Samba 2.2.7a discards LDAP attributes

2003-01-25 Thread Andrew Bartlett
On Sat, Jan 25, 2003 at 07:37:15PM -0600, Gerald (Jerry) Carter wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Sat, 25 Jan 2003, Andrew Bartlett wrote:
> 
> > > get_single_attribute: [scriptPath] = [lfogel.bat]
> > 
> > > So, it looks like Samba 2.2.7a ignores all LDAP
> > > attributes after authentication succeeds.
> > > 
> > > Please, if someone can figure out what the problem is,
> > > let me know.
> > 
> > Known issue in 2.2, fixed in 3.0 (now in alpha) due to a greater rewrite
> > of the auth code.  We now specificly keep that data around for exactly
> > that reason.
> 
> News to me.  It should be working in 2.2 for the basic attributes like 
> profile path and logon script.  I'll check on it Monday.

It's the lanman.c stuff for Win9X.  This should read the information from the
SAM_ACCOUNT used for auth (like the netlogon stuff does) but we never pass
that back in 2.2.  

Quick hack is to do a pdb_getsampwnam() but in 2.2 the % macros get messy there
too.  I should have mentioned it when I cleaned up the 3.0 code.  

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



Re: [Samba] Samba 2.2.7a discards LDAP attributes

2003-01-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 25 Jan 2003, Andrew Bartlett wrote:

> > get_single_attribute: [scriptPath] = [lfogel.bat]
> 
> > So, it looks like Samba 2.2.7a ignores all LDAP
> > attributes after authentication succeeds.
> > 
> > Please, if someone can figure out what the problem is,
> > let me know.
> 
> Known issue in 2.2, fixed in 3.0 (now in alpha) due to a greater rewrite
> of the auth code.  We now specificly keep that data around for exactly
> that reason.

News to me.  It should be working in 2.2 for the basic attributes like 
profile path and logon script.  I'll check on it Monday.




cheers, jerry

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

iD8DBQE+MzvSIR7qMdg1EfYRAs9nAKCvYf4UFRV9LmPP1sCH0NCj+mnpHgCfQVmV
zlEeap8bXaa0g5n3WYLq1NA=
=Cg6b
-END PGP SIGNATURE-

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



Re: [Samba] Samba 2.2.7a discards LDAP attributes

2003-01-25 Thread Andrew Bartlett
On Sat, Jan 25, 2003 at 04:46:18PM -0300, Leonardo Fogel wrote:
> Hi there.
> I had configured OpenLDAP, NSS and PAM over RedHat 7.3
> for Linux authentication, and they work pretty well.
> Recently, I downloaded Samba 2.2.7a source code and
> configured it for LDAP access (--with-ldapsam). I also
> configured it as a domain logon for Win98
> authentication and file server. It had looked to be
> working well, but after some tests, I noticed Samba is
> ignoring LDAP data. Please, take a look on the
> following for an example. That is a fragment of samba
> debug (smbd -i -d 5):
> 
> ldap_open_connection: starting...

> get_single_attribute: [scriptPath] = [lfogel.bat]

> So, it looks like Samba 2.2.7a ignores all LDAP
> attributes after authentication succeeds.
> 
> Please, if someone can figure out what the problem is,
> let me know.

Known issue in 2.2, fixed in 3.0 (now in alpha) due to a greater rewrite of 
the auth code.  We now specificly keep that data around for exactly that
reason.

Andrew Bartlett
-- 
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.7a discards LDAP attributes

2003-01-25 Thread Leonardo Fogel
Hi there.
I had configured OpenLDAP, NSS and PAM over RedHat 7.3
for Linux authentication, and they work pretty well.
Recently, I downloaded Samba 2.2.7a source code and
configured it for LDAP access (--with-ldapsam). I also
configured it as a domain logon for Win98
authentication and file server. It had looked to be
working well, but after some tests, I noticed Samba is
ignoring LDAP data. Please, take a look on the
following for an example. That is a fragment of samba
debug (smbd -i -d 5):

ldap_open_connection: starting...
StartTLS issued: using a TLS connection
ldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP
server
ldap_search_one_user: searching
for:[(&(uid=lfogel)(objectclass=sambaAccount))]
get_single_attribute: [uid] = [lfogel]
Entry found for user: lfogel
get_single_attribute: [pwdLastSet] = [1043443975]
get_single_attribute: [logonTime] = [0]
get_single_attribute: [logoffTime] = [2147483647]
get_single_attribute: [kickoffTime] = [2147483647]
get_single_attribute: [pwdCanChange] = [0]
get_single_attribute: [pwdMustChange] = [2147483647]
get_single_attribute: [cn] = [lfogel]
get_single_attribute: [homeDrive] = []
get_single_attribute: [smbHome] = []
get_single_attribute: [scriptPath] = [lfogel.bat]
get_single_attribute: [profilePath] = []
get_single_attribute: [description] = [Leonardo Fogel]
...

As one can see, Samba is connecting to LDAP and
loading the user information. However, Win98 was not
running the script "lfogel.bat". If I set the smb.conf
parameter "logon script = %U.bat", Win98 will load and
run "lfogel.bat". But, if I set "logon script =
%U1.bat" (or comment it),  Win98 will NOT run
anything. (Of course, "lfogel1.bat" does not exist.)

I also look at the Samba source code in order to find
out what could be my mistake. It looks that the
function "pass_check_smb" in "smbd/password.c" manages
the access to LDAP. The function declares "SAM_ACCOUNT
*sampass = NULL", initializes it
(pdb_init_sam(&sampass)), loads LDAP attributes
(pdb_getsampwnam(sampass, user)), checks the passwords
(smb_password_ok(sampass, ...)) and finally discards
everything (pdb_free_sam(sampass)).

So, it looks like Samba 2.2.7a ignores all LDAP
attributes after authentication succeeds.

Please, if someone can figure out what the problem is,
let me know.

Thanks and regards.


___
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
http://br.busca.yahoo.com/
-- 
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.7a RPMs available for Mandrake 8.0, 8.1, 8.2 and 9.0

2003-01-25 Thread Buchan Milne
Just a quick note that I have finalised RPMs of 2.2.7a for Mandrake 8.0,
8.1, 8.2 and 9.0. They are currently available from
http://ranger.dnsalias.com/mandrake/samba .

Updates are in the works for 9.0, and RPMs for all releases should go to
the samba mirrors soon, but if you're having problems with large file
support, or are still running 2.2.6 for large file support, I thought you
might want to grab these now ... (but please only take them from here if
you need them urgently ... we're on tight bandwidth ...).

Also note that I have applied patches for:
1)Large file support for smbclient and smbtar (posted here)
2)Referral support for LDAP when samba is running against a slave ldap
server (from
http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html#patches)

I have verified that large file support is fixed in smbclient (and smbd of
course ..), but haven't tested smbtar, I would appreciate a report from
someone who uses smbtar as to whether it works or not.

LDAP-enabled RPMs will not be availble in the updates for 9.0 since we
don't ship with ldap support by default.

Finally, I have also update the samba3.0alpha21 RPMs for 9.0 with more
features, these are availabe at:
http://ranger.dnsalias.com/mandrake/mandrake9.0/samba-3.0alpha21/

All these packages are also in Mandrake cooker (samba3 in contrib).

Finally, thanks to Danny Tholen for compiling on 8.2, I don't have an 8.2
box to build on any more (and my 8.0 and 8.1 boxes will be upgraded soon
too ...)

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



[Samba] samba 2.2.7a/LDAP backend problem ... bug ?

2003-01-20 Thread gnu_is_not_unix
Hi !

Here is my story:
I have working config. with samba 2.2.7a (compiled from sources), openldap-2.0.23-4 
(rpms) on rh 7.3 (2.4.20 with ext3 patch). (First server is a LDAP server, second - 
PDC (samba with ldap), third - (samba joined to domain with ldap)).

The problem:
when i try to add user from domain to locaL nt/w2k group, in place where username 
should be displayed i have number with "\" before it. For ex: "\S-1-5-21-1.." 
- it looks like "winbind separator". I have disabled the winbind features in 
./configure (--disable-winbind), i have no options about winbind in my smb.conf.

No errors in samba-log.

greetz
boka

---
Wszystko, czego potrzebuje nowoczesna kobieta!
Diety, horoskopy, kosmetyczne nowości...
www.polki.pl - najlepszy serwis kobiecy!


-- 
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.7a and Admin Users with NT PDC

2003-01-19 Thread Grant Bigham
Anybody know why Admin Users doesn't appear to work on my Samba shares
using winbindd (security = domain)?

Is it expected to work in much the same way as with a Samba PDC or running
security = user, or are there specific actions that need to be taken?

Linux SuSE SLES7 on S390, Kernel 2.4.19, Samba 2.2.7a, gcc-2.95.3-62

Cheers, Grant

OS/390 Technical Consultant
IBM Global Services Australia
[EMAIL PROTECTED] / Tel: +61-7-3213-2109 / Fax +61-7-3213-2013 / Mobile
+61-407-214-737
Lvl 5, IBM Centre, 348 Edward Street, Brisbane Qld 4000 (GPO Box 435,
Brisbane Qld 4001)  BR06

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



Re: [Samba] Samba 2.2.7a & CUPS 1.1.18, Win2k is not downloadingcups windows drivers

2003-01-17 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 14 Jan 2003, Lex Onderwater wrote:

> Only installing the printer on a W2K Pro SP3 machine is not working.
> According to the W2K the drivers are not on the server. Which is very
> strange because I am able to copy the specific files from the server
> with 4NT by using a cdd \DELTAFLYERprint$W32X862 and then copy the file
> to a temp dir.
> 
> To examine what is happening I switched to debug level 20 and found the
> following error :
> [2003/01/14 13:52:35, 10] smbd/trans2.c:call_trans2setfilepathinfo(2883)
> call_trans2setfilepathinfo: file W32X86/2/cupsdrvr.dll : setting dos mode a0
> [2003/01/14 13:52:35, 8] smbd/dosmode.c:dos_mode(123)
> dos_mode: W32X86/2/cupsdrvr.dll
> [2003/01/14 13:52:35, 8] lib/util.c:is_in_path(1145)
> is_in_path: W32X86/2/cupsdrvr.dll
> [2003/01/14 13:52:35, 8] lib/util.c:is_in_path(1150)
> is_in_path: no name list.
> [2003/01/14 13:52:35, 8] smbd/dosmode.c:dos_mode(167)
> dos_mode returning a
> [2003/01/14 13:52:35, 3] smbd/dosmode.c:unix_mode(111)
> unix_mode(W32X86/2/cupsdrvr.dll) returning 0744
> [2003/01/14 13:52:35, 2] smbd/trans2.c:call_trans2setfilepathinfo(2886)
> chmod of W32X86/2/cupsdrvr.dll failed (Operation not permitted)

I don't think this is the problem but can you send me a level 10 debug 
(full from the moment you try to download the drivers from the samba box 
to the windows client)?  





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-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE+KFrUIR7qMdg1EfYRAgJxAKDQX4xfdA/tgzpRnkqaKy+z+0YKFACfTSgK
LTdvo8Q+YU89PfSv1AiLkL0=
=PsiR
-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] Samba 2.2.7a & CUPS 1.1.18, Win2k is not downloading cups windows drivers

2003-01-14 Thread Lex Onderwater
 I'm building an new server with CUPS 1.1.18 and Samba 2.2.7a (Both compiled
from source) Installed the printer with CUPS and printed a test page with
CUPS. Next step make Samba use CUPS. I've used cupsaddsmb command to do
this, which completed successful.

Running command: smbclient //localhost/print$ -N -U'root%X' -c
'mkdir W32X86;put /var/spool/cups/tmp/3e1bf35d1d1f9 W32X86/660C.ppd;put
/usr/share/cups/drivers/cupsdrvr.dll W32X86/cupsdrvr.dll;put
/usr/share/cups/drivers/cupsui.dll W32X86/cupsui.dll;put
/usr/share/cups/drivers/cups.hlp W32X86/cups.hlp'
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[COLLECTIVE] OS=[Unix] Server=[Samba 2.2.7a-0.1 for Debian]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory W32X86
putting file /var/spool/cups/tmp/3e1bf35d1d1f9 as W32X86/660C.ppd (895.0
kb/s) (average 895.0 kb/s)
putting file /usr/share/cups/drivers/cupsdrvr.dll as W32X86/cupsdrvr.dll
(2987.4 kb/s) (average 2536.5 kb/s)
putting file /usr/share/cups/drivers/cupsui.dll as W32X86/cupsui.dll (5547.1
kb/s) (average 3279.4 kb/s)
putting file /usr/share/cups/drivers/cups.hlp as W32X86/cups.hlp (2316.7
kb/s) (average 3243.3 kb/s)

Running command: rpcclient localhost -N -U'root%XXX' -c 'adddriver
"Windows NT x86"
"660C:cupsdrvr.dll:660C.ppd:cupsui.dll:cups.hlp:NULL:RAW:NULL"'
cmd = adddriver "Windows NT x86"
"660C:cupsdrvr.dll:660C.ppd:cupsui.dll:cups.hlp:NULL:RAW:NULL"
Printer Driver 660C successfully installed.

Running command: rpcclient localhost -N -U'root%XXX' -c 'setdriver 660C
660C'
cmd = setdriver 660C 660C
Succesfully set 660C to driver 660C.

Only installing the printer on a W2K Pro SP3 machine is not working.
According to the W2K the drivers are not on the server. Which is very
strange because I am able to copy the specific files from the server with
4NT by using a cdd \DELTAFLYERprint$W32X862 and then copy the file to a temp
dir.

To examine what is happening I switched to debug level 20 and found the
following error :
[2003/01/14 13:52:35, 10] smbd/trans2.c:call_trans2setfilepathinfo(2883)
call_trans2setfilepathinfo: file W32X86/2/cupsdrvr.dll : setting dos mode a0
[2003/01/14 13:52:35, 8] smbd/dosmode.c:dos_mode(123)
dos_mode: W32X86/2/cupsdrvr.dll
[2003/01/14 13:52:35, 8] lib/util.c:is_in_path(1145)
is_in_path: W32X86/2/cupsdrvr.dll
[2003/01/14 13:52:35, 8] lib/util.c:is_in_path(1150)
is_in_path: no name list.
[2003/01/14 13:52:35, 8] smbd/dosmode.c:dos_mode(167)
dos_mode returning a
[2003/01/14 13:52:35, 3] smbd/dosmode.c:unix_mode(111)
unix_mode(W32X86/2/cupsdrvr.dll) returning 0744
[2003/01/14 13:52:35, 2] smbd/trans2.c:call_trans2setfilepathinfo(2886)
chmod of W32X86/2/cupsdrvr.dll failed (Operation not permitted)

This is probably what is going wrong, the files cupsui.dll, 660C.ppd,
cups.hlp have the same problem.
The user account I'm using on the W2k box has a unix account on the samba
server and a entry in smbpasswd. I'm able to use this users home dir on the
samba server without any problem from my W2K box.
The cups settings in smb.conf :

[global]
load printers = yes
printcap name = cups
printing = cups

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
public = yes
guest ok = yes
writable = no
printer admin = root,relaxlex

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root,relaxlex


/etc/samba/drivers> ls -Rsla *
W32X86/:
total 3
1 drwxr-xr-x 3 root winluser 1024 Jan 14 11:51 ./
1 drwxrwxrwx 3 root winluser 1024 Jan 14 11:42 ../
1 drwxr-xr-x 2 root winluser 1024 Jan 14 11:42 2/
W32X86/2:
total 528
1 drwxr-xr-x 2 root winluser 1024 Jan 14 11:42 ./
1 drwxr-xr-x 3 root winluser 1024 Jan 14 11:51 ../
24 -rwxr--r-- 1 root winluser 22913 Jan 14 11:51 660C.ppd*
15 -rwxr--r-- 1 root winluser 14234 Jan 14 11:51 cups.hlp*
275 -rwxr--r-- 1 root winluser 278380 Jan 14 11:51 cupsdrvr.dll*
212 -rwxr--r-- 1 root winluser 215848 Jan 14 11:51 cupsui.dll*

I don't know what I'm doing wrong, any help is appreciated.

P.S. complete samba log is available (level 20)

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



Re: [Samba] Samba 2.2.7a Large File Corruption

2003-01-13 Thread John H Terpstra
On Mon, 13 Jan 2003, James John - jrjame wrote:

Are you using samba _or_ smbfs?

Samba's smbd will correctly handle large files so long as you have kernel
2.4.x _and_ your samba was compiled with this kernel.

smbfs may have problems with large files so please be specific about your
configuration and how you are using it.

- John T.
Samba-Team

> I have been dealing with an issue for the last several weeks.  I have a
> large HP/Compaq Alpha server running 2.2.7a.  I have only recently installed
> this version to fix a problem of transferring files over 2 GB.  I am now
> having another problem where it seems that while it will send the file, it
> is corrupting it.  The file that it is corrupting is an output file from
> another process and the output size is between 5 GB and 6 GB.  Has anyone
> else experienced this and if so have you found anything that can be done.
> Thanks.
>
> John R. James, Jr.
> Unix Engineer
> FSG V IADTU
> Acxiom, Corporation
> 501-342-0455
>
>
>
> *
>
> The information contained in this communication is
> confidential, is intended only for the use of the recipient
> named above, and may be legally privileged.
> If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication is strictly
> prohibited.
> If you have received this communication in error,
> please re-send this communication to the sender and
> delete the original message or any copy of it from your
> computer system. Thank You.
>
>

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



[Samba] Samba 2.2.7a Large File Corruption

2003-01-13 Thread James John - jrjame
I have been dealing with an issue for the last several weeks.  I have a
large HP/Compaq Alpha server running 2.2.7a.  I have only recently installed
this version to fix a problem of transferring files over 2 GB.  I am now
having another problem where it seems that while it will send the file, it
is corrupting it.  The file that it is corrupting is an output file from
another process and the output size is between 5 GB and 6 GB.  Has anyone
else experienced this and if so have you found anything that can be done.
Thanks.

John R. James, Jr.
Unix Engineer
FSG V IADTU
Acxiom, Corporation
501-342-0455



*

The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

-- 
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.7a and cups 1.1.18

2003-01-13 Thread mkrako
Hi

I have installed samba-2.2.7a and cups-1.1.18. After reading all the documentation 
samba
provides as well as the cups administrators guide I am still stuck. I have added the
printers just the way the samba and cups documentation says. Anyway here is my output 
from
cupsaddsmb, It fails on the last step, so i have run that manually again afterwards 
with
debugging enabled.

I believe this to be the offending line:
lsa_io_sec_qos: length c does not match size 8

Google did not have any usefull information.

If you require any more information, let me know.

Regards
Merritt

**
[root@test tar]# cupsaddsmb -H 192.168.0.9 -a -v
Password for root required to access 192.168.0.9 via SAMBA:
Running command: smbclient //192.168.0.9/print\$ -N -U'root%foo' -c 'mkdir W32X86;put
/usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 W32X86/remote.PPD;put
/usr/local/cups/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put
/usr/local/cups/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put
/usr/local/cups/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP'
added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.1.69 bcast=192.168.1.255 nmask=255.255.255.0
Domain=[ALT] OS=[Unix] Server=[Samba 2.2.7a]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 as \W32X86/remote.PPD
(12548.7 kb/s) (average 12549.3 kb/s)
putting file /usr/local/cups/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL
(32447.7 kb/s) (average 30106.9 kb/s)
putting file /usr/local/cups/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL
(31799.4 kb/s) (average 30491.7 kb/s)
putting file /usr/local/cups/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP
(17539.3 kb/s) (average 29928.6 kb/s)

Running command: rpcclient 192.168.0.9 -N -U'root%foo' -c 'adddriver "Windows NT x86"
"remote:ADOBEPS5.DLL:remote.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
cmd = adddriver "Windows NT x86"
"remote:ADOBEPS5.DLL:remote.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
Printer Driver remote successfully installed.

Running command: smbclient //192.168.0.9/print\$ -N -U'root%foo' -c 'mkdir WIN40;put
/usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 WIN40/remote.PPD;put
/usr/local/cups/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put
/usr/local/cups/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put
/usr/local/cups/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put
/usr/local/cups/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put
/usr/local/cups/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put
/usr/local/cups/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'
added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.1.69 bcast=192.168.1.255 nmask=255.255.255.0
Domain=[ALT] OS=[Unix] Server=[Samba 2.2.7a]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /usr/local/cups/var/spool/cups/tmp/3e22b8a7c1ed7 as \WIN40/remote.PPD
(12548.7 kb/s) (average 12549.3 kb/s)
putting file /usr/local/cups/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM 
(33063.5
kb/s) (average 30904.3 kb/s)
putting file /usr/local/cups/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV
(32447.8 kb/s) (average 31942.2 kb/s)
putting file /usr/local/cups/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP
(31975.4 kb/s) (average 31945.4 kb/s)
putting file /usr/local/cups/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD
(13174.5 kb/s) (average 31656.6 kb/s)
putting file /usr/local/cups/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL 
(28839.1
kb/s) (average 31493.3 kb/s)
putting file /usr/local/cups/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (27998.6
kb/s) (average 31394.9 kb/s)

Running command: rpcclient 192.168.0.9 -N -U'root%foo' -c 'adddriver "Windows 4.0"
"remote:ADOBEPS4.DRV:remote.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,remote.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
cmd = adddriver "Windows 4.0"
"remote:ADOBEPS4.DRV:remote.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,remote.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"
Printer Driver remote successfully installed.

Running command: rpcclient 192.168.0.9 -N -U'root%foo' -c 'setdriver remote remote'
cmd = setdriver remote remote
result was NT_STATUS_UNSUCCESSFUL

7**
[root@test cups]# rpcclient 192.168.0.9 -d 3 -N -U'root%foo' -c 'setdriver remote 
remote'
Initialising global parameters
params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf"
Processing section "[global]"
added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.1.69 bcast=192.168.1.255 nmask=255.255.255.0
Connecting to host=192.168.0.9 sh

[Samba] Samba-2.2.7a Compile error --with-pam

2003-01-09 Thread Grant Bigham
Guys, I'm having some problems trying to compile Samba-2.2.7a --with-pam.
The ./configure works fine but the compile fails. I have no problems
--without-pam.

Any help would be greately appreciated.

Linux SuSE SLES7 on S390, Kernel 2.4.19, Samba 2.2.7a, gcc-2.95.3-62,
pam-0.74-34, pam-devel-0.74-34

./configure \
--prefix=/usr \
--sysconfdir=/etc/samba \
--localstatedir=/var/log/samba \
--libdir=/etc/samba \
--with-privatedir=/etc/samba \
--with-libdir=/etc/samba \
--with-lockdir=/var/lock/samba \ --with-piddir=/var/lock/samba \
--with-swatdir=/usr/share/swat \
--with-acl-support \ ; req'd for posix ACL support
--with-winbind \
--with-pam

make 2>errors

errors:
nsswitch/pam_winbind.c:97: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c: In function `winbind_request':
nsswitch/pam_winbind.c:111: `PAM_SERVICE_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:122: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: In function `winbind_auth_request':
nsswitch/pam_winbind.c:154: `PAM_AUTH_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:158: `PAM_USER_UNKNOWN' undeclared (first use in
this function)
nsswitch/pam_winbind.c:164: `PAM_IGNORE' undeclared (first use in this
function)
nsswitch/pam_winbind.c:167: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:156: warning: unreachable code at beginning of
switch statement
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:236: parse error before `*'
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:252: `pass' undeclared (first use in this function)
nsswitch/pam_winbind.c:258: `ctrl' undeclared (first use in this function)
nsswitch/pam_winbind.c:258: `PAM_OLDAUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:258: `PAM_AUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:265: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:266: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:277: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first use
in this function)
nsswitch/pam_winbind.c:289: storage size of `msg' isn't known
nsswitch/pam_winbind.c:295: `comment' undeclared (first use in this
function)
nsswitch/pam_winbind.c:297: `PAM_TEXT_INFO' undeclared (first use in this
function)
nsswitch/pam_winbind.c:305: `PAM_PROMPT_ECHO_OFF' undeclared (first use in
this function)
nsswitch/pam_winbind.c:306: `prompt1' undeclared (first use in this
function)
nsswitch/pam_winbind.c:309: `prompt2' undeclared (first use in this
function)
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:330: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:330: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:330: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: de

RE: [Samba] samba 2.2.7a and winbind

2003-01-07 Thread daniel . jarboe
Another option is the -A option for wbinfo.  Note, this is different
from -a.

 -A username%password
  Store username and password used by winbindd during
  session setup to a domain controller. This  enables
  winbindd  to  operate in a Windows 2000 domain with
  Restrict Anonymous turned  on  (a.k.a.  Permissions
  compatiable with Windows 2000 servers only).

So if + is your seperator, something to the affect of wbinfo -A
DOMAIN+adm%passwd

~ Daniel

> -Original Message-
> From: Alex Kramarov [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, January 06, 2003 4:36 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] samba 2.2.7a and winbind
> 
> 
> if you are running w2k domain in native mode, i believe that 
> this should
> solve the problem :
> 
 
http://lists.samba.org/pipermail/samba-technical/2001-October/032017.htm
l3

- Original Message -
From: "Peter Milburn" <[EMAIL PROTECTED]>
To: "Samba (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 11:00 PM
Subject: [Samba] samba 2.2.7a and winbind


> I have a very weird situation happening
>
> I am authenticating of the NT PDC, and winbind is doing its job,  how
ever.
> When I do a wbinfo -u or -g I am getting this 0xc022. I have
posted a
> previous message with a dump from the winbind log file.
>
> Enviroment is Redhat 8.0 (server install). Samba was not installed
during
> the installation.
>
> Any one have any ideas.
>
>
> Thanks,
>
> Pete
> --
> 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






---

This message is the property of Time Inc. or its affiliates. It may be
legally privileged and/or confidential and is intended only for the use
of the addressee(s). No addressee should forward, print, copy, or
otherwise reproduce this message in any manner that would allow it to be
viewed by any individual not originally listed as a recipient. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is strictly prohibited. If you have received this communication
in error, please immediately notify the sender and delete this message.
Thank you.

-- 
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.7a PDC gives errors - HELP!!!

2003-01-07 Thread Enrico Payne
Hi,

I have recently upgraded from an old version of Samba - Pre 2.2 to 2.27a,
running on RH8.0.

My network is setup as follows:
Multiple Samba Servers, each with 2 NIC's
One Server is configured as PDC with WINS.
The other servers are configured as BDC using the PDC for WINS support.
I do not use LDAP or winbindd.
Each user has an entry in /etc/passwd and smbpasswd.

Below is a copy of the log entries for the PDC and BDC  as well as their
smb.conf files...

Any help would be appreciated...

Regards
Enrico

On the PDC, the nmbd log shows the following:

[2003/01/07 15:00:33, 0]
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(509)
  get_domain_master_name_node_status_fail:
  Doing a node status request to the domain master browser at IP
172.16.128.130 failed.
  Cannot get workgroup name.

On the PDC, the log.%u shows the following:

[2003/01/06 10:29:12, 0] smbd/password.c:domain_client_validate(1556)
  domain_client_validate: could not fetch trust account password for domain
JBPN

The PDC's smb.conf file looks like this:
[global]
workgroup = JBPN
netbios name = JBPN1
server string = Samba Server 2.2.7a-1
security = DOMAIN
encrypt passwords = Yes
password server = jbpn1
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
unix password sync = Yes
name resolve order = host wins bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = start.bat
logon path = \\jbpn1\home\profiles\%u
logon drive = h:
domain logons = Yes
os level = 65
preferred master = Yes
local master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
remote browse sync = 172.17.1.3 172.18.1.3

[netlogon]
comment = Logon Profiles
path = /home/profiles/%u
admin users = +it
write list = +it
locking = No

[homes]
comment = Home Directories
path = /%H
read only = No
create mask = 0777
directory mask = 0777
browseable = No


On the BDC, the nmbd log shows the following:

[2003/01/07 15:29:58, 0]
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(183)
  process_name_refresh_request: unicast name registration request received
for name AARONM<00> from IP 172.16.144.106 on subnet UNICAST_SUBNET.
[2003/01/07 15:29:58, 0]
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(184)
  Error - should be sent to WINS server
[2003/01/07 15:29:58, 0]
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(183)
  process_name_refresh_request: unicast name registration request received
for name JBPN<00> from IP 172.16.144.106 on subnet UNICAST_SUBNET.
[2003/01/07 15:29:58, 0]
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(184)
  Error - should be sent to WINS server


On the BDC, the log.%u shows the following:

[2003/01/07 13:48:02, 0] smbd/password.c:domain_client_validate(1556)
  domain_client_validate: could not fetch trust account password for domain
JBPN


The smb.conf file for the BDC contains the following:

[global]
workgroup = JBPN
netbios name = JBPN4
server string = Samba Server 2.2.7a-1
security = DOMAIN
encrypt passwords = Yes
password server = jbpn4 jbpn1
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = host wins bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = start.bat
logon path = \\jbpn4\home\profiles\%u
logon drive = h:
domain logons = Yes
os level = 60
preferred master = No
domain master = Yes
local master = Yes
dns proxy = No
wins server = 172.16.128.29
remote browse sync = 172.17.1.3 172.18.1.3

[netlogon]
comment = Logon Profiles
path = /home/profiles/%u
write list = +it
locking = No

[homes]
comment = Home Directories
path = /%H
read only = No
browseable = No



___
This e-mail has been scanned for viruses.
Pharma Natura will not be held responsible
for the loss of data or any other loss
caused by the use of the information
contained in this e-mail.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] samba 2.2.7a and winbind

2003-01-06 Thread Alex Kramarov
if you are running w2k domain in native mode, i believe that this should
solve the problem :

 http://lists.samba.org/pipermail/samba-technical/2001-October/032017.html3

- Original Message -
From: "Peter Milburn" <[EMAIL PROTECTED]>
To: "Samba (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 11:00 PM
Subject: [Samba] samba 2.2.7a and winbind


> I have a very weird situation happening
>
> I am authenticating of the NT PDC, and winbind is doing its job,  how
ever.
> When I do a wbinfo -u or -g I am getting this 0xc022. I have posted a
> previous message with a dump from the winbind log file.
>
> Enviroment is Redhat 8.0 (server install). Samba was not installed during
> the installation.
>
> Any one have any ideas.
>
>
> Thanks,
>
> Pete
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> .

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



[Samba] samba 2.2.7a and winbind

2003-01-06 Thread Peter Milburn
I have a very weird situation happening

I am authenticating of the NT PDC, and winbind is doing its job,  how ever.
When I do a wbinfo -u or -g I am getting this 0xc022. I have posted a
previous message with a dump from the winbind log file.

Enviroment is Redhat 8.0 (server install). Samba was not installed during
the installation.

Any one have any ideas.


Thanks, 

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



Re: [Samba] Samba 2.2.7a PDC with W2K SP3 clients - can't stay indomain

2002-12-31 Thread Jonas Oberg
"Demonspawn Armageddon" <[EMAIL PROTECTED]> writes:

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

I've noted the same problem with 2.2.7a. So far I've not found any
answer to the problem but simply chalked it down as "Samba not capable
of handling W2K SP3 clients". :-/

-- 
Jonas Öberg
Systems administrator/webmaster, Department of Informatics,
School of Economics and Commercial Law, Gothenburg University.
Phone. +46-31-7732717, Fax. +47-31-7734754
-- 
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.7a PDC with W2K SP3 clients - can't stay in domain

2002-12-31 Thread Demonspawn Armageddon
I've searched through the mailing lists and seen a few similar problems, but 
those fixes didn't fix me.

Error:  I can join the domain, but after rebooting and attempting to log in 
I get the error:

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

Steps to obtain the error:

On Linux-Server:
/etc/rc.d/init.d/samba start
useradd -g 100 -d /dev/null -c "nickname" -s /bin/false demon$
passwd -l demon$
smbpasswd -a -m demon
useradd -m winuser
passwd winuser
smbpasswd -a winuser

On the W2K SP3 box named nothing:
RClick my computer -> properties -> Network Ident -> properties
Change computer name to Demon, change Domain to RAGNAROK
click OK, then enter root [root smb password]
Wait about 2 minutes to get the "Welcome to the RAGNAROK Domain"
click ok, ok, yes to reboot

Once I attempt to log back in again I get the above error.


Server: Samba 2.2.7a PDC

smb.conf
[global]
   netbios name = LINUX-SERVER
   workgroup = RAGNAROK
   os level = 64
   preferred master = yes
   domain master = yes
   local master = yes
   security = user
   encrypt passwords = yes
   domain logons = yes
   log file = /var/log/log.%m
   log level = 10
   logon path = \\%N\home\%u
   logon drive = H:
   logon home = \\homeserver\%u
   logon script = logon.cmd
[netlogon]
 path = /var/lib/samba/netlogon
 read only = yes
 write list = ntadmin
[profiles]
 path = /var/lib/samba/ntprofile
 read only = no
 create mask = 0600
 directory mask = 0700
[home]
comment = Users' home directories
   path = /home
   read only = no
   public = no

Client W2K SP3:

No special configuration.

I do have a level 10 log available if necessary.

Thanks in advance.

--DSA



_
The new MSN 8: smart spam protection and 3 months FREE*. 
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf

--
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.7a and LDAP Rebind for Slave enviroment ...

2002-12-30 Thread C.Lee Taylor
Greetings ...

	Been away a little so, please forgive me if this has been discussed ... 
I did search the archives and googled the net and this is what I came up 
with ...

	Standard Samba 2.2.7 does not rebind to do updates.  This is a problem 
when using LDAP and a replicated directory.

	I found http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html, which 
has a patch to add rebind. Which I am going to try, because I need it 
and it looks right, not that I am a programmer or anything like that.

	I was wondering when, or if this would be added to 2.2.  I know that we 
don't wish to add anything to 2.2, unless it is a bug fix or sercurity 
problem, but this could be a problem before 3.0 gets released as production.

Thanks.
Mailed
Lee

--
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.7a and Windows XP

2002-12-23 Thread Tobias Sjodin

I've been having these really annoying issues ever since I started to 
configure SAMBA with Windows XP. As it seems the XP-machine detects the 
SAMBA-share on occasions, and even manages to connect to it; but only for a 
while. I have found no clue whatsoever why it connects only "sometimes".

It seems that when the Windows XP machine is just booted, it normally gets 
access to the Linux-machine, but after just a while it looses the access.

I'm also running a Windows 98SE-machine on the very same network, however the 
connection between Linux <---> Windows98SE seems to be flawless. It detects, 
browses, downloads, etc. without the slightest problem.

To go back to the issue, I'm on a 10Mbit Broadband connection, and my IP is 
assigned by DHCP, I'm always on the same C-net.

Locally the network runs at 100Mbit... (switched), and here's what's strange. 
WHEN I run regular TCP-transfers to the Linux system (such as FTP, etc.) ; 
the transferrate is relevant to that of a 10Mbit connection (it seems as it 
goes "outside" the LAN, and connects that way. _BUT_ when I get 'connected' 
on SAMBA, it accelerates and behaves like a 100Mbit network. As I said, these 
occasions occur erratically; so I cannot really find a common denominator. 
Sometimes it happens just when I transfer the very "last" of the files (over 
FTP).

My first conclusion is that there's something wrong with the Windows XP 
configuration, but I seem to have tried most of the "logical solutions"... 
I've switched off NetBIOS, NetBEUI, (and ON, in all combinations), but it 
doesn't seem to do anything but either limit the percentage to 0 (zero) when 
I manage to connect.

I've also tried using: \\samba.host.ext\  ; and that doesn't work (I suppose 
it has to do with my ISP has blocked port 139, to prevent people from 
accessing eachothers  shares across apartments) 

I've tried to remove the external TP-connection, but to no avail. I really 
believe that it has to do with Windows XP.

Someone told me it had to do with LmCompatibilityLevel... but I cannot draw 
any conclusions there either.

I've really tried to find a solution, but I just can't do it. I really need 
some help here =(

[EMAIL PROTECTED] 
-- 
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.7a with Netware client is SLOW!

2002-12-19 Thread Bob [EMAIL PROTECTED]
Hello,

I had a system running nicely, replacing a Netware server with Samba 2.2.6.  I had not 
removed the Novell client, or its IPX protocol from Win98 workstations, yet
everything was working nicely.  I upgraded to Samba 2.2.7a, and now all of a sudden, 
all the Win98 workstations that had the Novell client on them got deathly slow.  

I "solved" the problem by removing fully the Novell client, and IPX, but something in 
the change from 2.2.6 o 2.2.7a definitely messed things up.  I note that a Win2k
server does NOT have this same problem (with slow access).

Now, the slowness I think happens in a file open/close or something similar, as I did 
some timing tests, and determined that copying one large file still is about the same
speed.  But running an app that opens a number of files definitely shows up this 
problem.

Bob
-- 
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.7a

2002-12-17 Thread Clay Kinney
 I am using Slackware 8.1 and just compiled samba 2.2.7a with only smbmount added to the configure script. First of two issues: When trying to access swat I get 401 Bad Authorization
username or password incorrectSwat worked in 2.2.7 so I don't know what happened here Second issue: When creating a folder on the samba share from W2K or NT4 I get a windows pop up alert stating "You may not be able to access files created in the folder \\sambaserver\share. Do you want to continue? YES/NO Otherwise everything works great, I am just sick of the Create Folder warning. Here is my smb.conf file # Global parameters[global]workgroup = MATRIXnetbios name = NEMESISnetbios aliases = Hadesserver string = New Samba %v Server %Tencrypt passwords = Yesupdate encrypted = Yespasswd program = /usr/bin/passwd %upasswd chat debug = Yesusername map = /etc/samba/user.mapunix password sync = Yeslog level = 1log file = /usr/
 local/samba/var/log.%mmax log size = 50name resolve order = wins bcast hosts lmhostssocket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192load printers = Nowins support = Yesprinting = lprnghide unreadable = Yes[Marketing]comment = Marketing Information -v.4path = /mnt/raid1/marketingvalid users = +marketread only = Noinherit permissions = Yes[Images]comment = Project Imagespath = /mnt/raid1/imagesread only = Nocreate mask = 0664inherit permissions = Yes[printers]comment = All Printerspath = /var/spool/sambaprintable = Yesbrowseable = NoAny help would be greatly appreciated ClayJoin Excite! - http://www.excite.comThe most personalized portal on the Web!


Re: [Samba] Samba 2.2.7a, Solaris 5.8 and GCC 2.95.3 compilationwarnings

2002-12-16 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 16 Dec 2002, Kees Damen wrote:

> Hi,
> 
> I have just compiled and linked Samba 2.2.7a
> on a Solaris 8 server with the GCC 2.95.3 
> version compiler. I get the following compilation
> warnings. Can i still use the software without a
> expected crash?

Yes.  There are warnings caused by the use on const in some parameters.





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-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)

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

iD8DBQE9/eJiIR7qMdg1EfYRAoVtAKDo+cG/EviNd+EEg3GrLWgr2P7oOQCeNttq
SyVsuui/ui3Q2AEQ3EZ86RM=
=QN+H
-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] Samba 2.2.7a, Solaris 5.8 and GCC 2.95.3 compilation warnings

2002-12-16 Thread Kees Damen
Hi,

I have just compiled and linked Samba 2.2.7a
on a Solaris 8 server with the GCC 2.95.3 
version compiler. I get the following compilation
warnings. Can i still use the software without a
expected crash?

Compiling passdb/secrets.c
passdb/secrets.c: In function `secrets_named_mutex':
passdb/secrets.c:287: warning: passing arg 2 of `tdb_lock_bystring'
discards qualifiers from 
pointer target type

Compiling lib/system.c
lib/system.c: In function `sys_readdir':
lib/system.c:331: warning: return from incompatible pointer type

Compiling lib/fsusage.c
lib/fsusage.c: In function `sys_fsusage':
lib/fsusage.c:127: warning: passing arg 2 of `statvfs64' from
incompatible pointer type

Compiling tdb/tdbutil.c
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout':
tdb/tdbutil.c:46: warning: passing arg 1 of `tdb_set_lock_alarm'
discards qualifiers from poi
nter target type

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



Re: [Samba] Samba 2.2.7a

2002-12-12 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> Message: 15
> From: Sylvestre Taburet <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Organization: Mandrakesoft
> To: Ken Walker <[EMAIL PROTECTED]>,
>   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Re: [Samba] Samba 2.2.7a
> Date: Thu, 12 Dec 2002 14:12:19 +0100
> Cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>
> Le Jeudi 12 Décembre 2002 12:56, Ken Walker a écrit :
>
>>> Are the latest updates for Samba ( 2.2.7a ) available on the mandrake
>>> update system yet ?
>>>
>>> Mr Smiley
>
>
> No, not yet. We have some QA to do before we put them on DL. You can
still
> grab the 2.2.7a SRPM from cooker and recompile on 9.0. It works fine
(though
> it's not an official update). I'll try to put 9.0 and 8.2 versions on my
> unofficial repository
http://people.mandrakesoft.com/~staburet/freshsamba
> today if I have some time. Also check with Buchan's site:
> http://ranger.dnsalias.com/

Yes, I now have 8.0, 8.2 and 9.0 up, with and without LDAP, most with
the samba-vscan RPMS (at least for sophos, fprot, mks, and trend,
openantivirus only for 8.0 and 8.2).

urpmi sources setup for non-ldap RPMs (it's too much effort now for the
LDAP rpms), except 9.0 which will handle them all in one hdlist.

http://ranger.dnsalias.com/mandrake/mandrake8.0/samba-2.2.7a/
http://ranger.dnsalias.com/mandrake/mandrake8.2/samba-2.2.7a/
http://ranger.dnsalias.com/mandrake/mandrake9.0/samba-2.2.7a/

In most cases, this should sort you out (except if using ldap on 8.0 or
8.2):

# urpmi.addmedia samba-2.2.7a \
 http://ranger.dnsalias.com/mandrake/mandrake`awk '{print $4}' \
/etc/mandrake-release`/samba-2.2.7a \
 with hdlist.cz

I don't have an 8.1 box to build on anymore, and the 8.0 box will be
upgraded soon, so if you have Mandrake 8.0 or 8.1 boxen running samba,
and don't want to rebuild SRPMS, you might want to think about upgrading
sometime soon.

I won't be on-line again until next week ...

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9+OzzrJK6UGDSBKcRArK2AJwOdNqTT/aJjaCdbdfQu8WpvD7iuQCgkjKp
4DvDWGJHic/AWa3oUEvBYTg=
=16kq
-END PGP SIGNATURE-

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



Re: [Samba] Samba 2.2.7a

2002-12-12 Thread Sylvestre Taburet
Le Jeudi 12 Décembre 2002 12:56, Ken Walker a écrit :
> Are the latest updates for Samba ( 2.2.7a ) available on the mandrake
> update system yet ?
>
> Mr Smiley

No, not yet. We have some QA to do before we put them on DL. You can still 
grab the 2.2.7a SRPM from cooker and recompile on 9.0. It works fine (though 
it's not an official update). I'll try to put 9.0 and 8.2 versions on my 
unofficial repository  http://people.mandrakesoft.com/~staburet/freshsamba 
today if I have some time. Also check with Buchan's site: 
http://ranger.dnsalias.com/

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



[Samba] Samba 2.2.7a

2002-12-12 Thread Ken Walker
Are the latest updates for Samba ( 2.2.7a ) available on the mandrake update
system yet ?

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



Re: [Samba] Samba 2.2.7a still broken for me

2002-12-11 Thread jra
On Wed, Dec 11, 2002 at 03:39:04PM -0800, [EMAIL PROTECTED] wrote:
> pk. I am now running Samba-2.2.7a and RedHat 8,
> and i am still having a problem with files > 2gb in size.
> 
> after i mount a Windows share, I can't create large files
> on it.
> 
> #ulimit -f
> unlimited
> #mount -t smbfs -o username=3D'Administrator',password=3D'***'
>//x.x.x.x/C$ /mnt/win2kserver_cdrive
> 
> which successfully mounts the windows share on my linux box.
> 
> but if i=20
> #dd if=3D/dev/zero of=3D/mnt/win2kserver_cdrive bs=3D1k count=3D300
> 
> at the 2gb mark, i get a=20
> File size limit exceeded
> error.
> 
> Samba 2.2.7a supposedly fixed this problem, didn't it?

Samba 2.2.7a fixes the 2gb problems in the smbd *server*. The maintainer
of smbfs has stated that it does *not* cope with files >2gb. 

You might want to look at Steve French's new CIFS client code, you
can download it from the samba.org site.

Jeremy.
-- 
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.7a still broken for me

2002-12-11 Thread rossd
pk. I am now running Samba-2.2.7a and RedHat 8,
and i am still having a problem with files > 2gb in size.

after i mount a Windows share, I can't create large files
on it.

#ulimit -f
unlimited
#mount -t smbfs -o username=3D'Administrator',password=3D'***'
   //x.x.x.x/C$ /mnt/win2kserver_cdrive

which successfully mounts the windows share on my linux box.

but if i=20
#dd if=3D/dev/zero of=3D/mnt/win2kserver_cdrive bs=3D1k count=3D300

at the 2gb mark, i get a=20
File size limit exceeded
error.

Samba 2.2.7a supposedly fixed this problem, didn't it?

-- 
'As we enjoy great Advantages from the Inventions of others we should
be glad of an Opportunity to serve others by any Invention of ours,
and this we should do freely and generously.' -Benjamin Franklin 
--
Ross Dmochowski   /  Programmer Analyst III  \   [EMAIL PROTECTED]
UC Berkeley Mechanical Engineering, 2113 Etcheverry Hall, 510-643-0873 
PGPID#:0x631A3396 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba 2.2.7a released

2002-12-11 Thread Herb Lewis
IRIX binary packages have been uploaded to the main samba server
-- 
==
Herb Lewis   Silicon Graphics 
Networking Engineer  1600 Amphitheatre Pkwy MS-510
Strategic Software Organization  Mountain View, CA  94043-1351
[EMAIL PROTECTED] Tel: 650-933-2177
http://www.sgi.com   Fax: 650-932-2177  
PGP Key: 0x8408D65D
==
-- 
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.7a released

2002-12-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The Samba Team is proud to announce the release of Samba 2.2.7a.

This is the latest stable release of Samba and 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.7a.tar.gz or samba-2.2.7a.tar.bz2.
Both archives have been signed as well using the Samba 
Distribution Key.

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

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

The release notes follow.

As always, all bugs are our responsibility.

  --Enjoy
  The Samba Team


WHAT'S NEW IN Samba 2.2.7a - 10th December 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.  The primary reason for this release is to correct problems
with large file (>2Gb) support.   Please see the "Changes..." section
for more details.



Changes since 2.2.7
- 

See the cvs log for SAMBA_2_2 for more details

1)  Fix for smbclient reporting negative file sizes on dir command
and negative statistics being reported when using put or get
on large files.
2)  Fix bug in determination of allocation size
3)  Fix 64bit size problems which prevented copying of files larger
than 2 GBytes.
4)  Fix for xcopy /s problem with old DOS clients not sending correct
attributes on subsequent SMBsearch calls.
5)  Fix bug in call to standard_sub_advanced giving a 0 length. This
fixes the string overflow in string_sub errors.
6)  Correctly handle querygroup rpcclient command
7)  fix broken incremental tar in smbtar command


  =

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

iD8DBQE993cCIR7qMdg1EfYRAvg5AKDf8bFgupzsPx0A0Q77g13NJRwnPwCcCgzJ
LEnWeKHcjDwjPEdHGdq3rVs=
=2kPR
-END PGP SIGNATURE-

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