[Samba] Re: samba digest, Vol 1 #2006 - 24 msgs (Out of the office - Returning Monday, Jan. 6th)

Gary Zawilinski gary_zawilinski at gdt1.com
Sat Dec 21 17:04:01 GMT 2002


I will be out of the office:

From:        Monday, Dec. 23rd
Through:   Friday,  Jan. 3rd 

I will return to the office on  Monday, Jan. 6th

I will only be checking email or voicemail. Once or twice during that
time period. Members of the I.T. dept. will be able to contact me if
there is a critical issue.

Enjoy the time off over the holidays and Happy New Year!

>>> samba 12/21/02 12:00 >>>

Send samba mailing list submissions to
	samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
	samba-request at lists.samba.org

You can reach the person managing the list at
	samba-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."


Today's Topics:

   1. Not allowed from station. (Matt Larson)
   2. Re: Winbindd question/problem (David Brodbeck)
   3. 'credentials supplied conflict (Kenneth Illingsworth)
   4. Re: "force group" not working with shared directories (John H
Terpstra)
   5. Validation problem with NAUTILUS 2.0.6 (Jorge Pereira)
   6. RE: How to enforce client to download the profile form se
       rver (Owens, Bob)
   7. Winbind Problems (Kenny Mann)
   8. Re: "force group" not working with shared directories (Sam Hart)
   9. Problem with slow connection... (Joao Alberto M. dos Reis (Listas
de discucao))
  10. Re: How to enforce client to download the profile form server
(Laurent Hofmann)
  11. (no subject) (dpm8)
  12. Re: XP slow to print to Samba 3.0 alpha21 server (Steve Langasek)
  13. Problems installing samba (Viktor Pirard)
  14. FW: [Samba] Strange locking errors with LabView under Samba 2.2.7
       and HP-UX 11.11 (Windsor Dave (AdW/MOE2.1))
  15. samba upgrade (Norman Zhang)
  16. Re: Cannot install samba (Joel Hammer)
  17. Re: XP slow to print to Samba 3.0 alpha21 server...another data
point
       from 2.2.7 (John Gerth)
  18. Re: Create time changing by itself? (Jacob Anawalt)
  19. Re: File Systems - Which one to use? (Dragan Krnic)
  20. need roaming profile + local profile (sander)
  21. xp problem (pippo at bellnet.ca)

--__--__--

Message: 1
From: Matt Larson <mlarson at rossmarketinginc.com>
To: "'samba at samba.org'" <samba at samba.org>
Date: Fri, 20 Dec 2002 10:56:25 -0600
Subject: [Samba] Not allowed from station.

Trying to get w2k to connect to unix box and receive the following error

"Account not authorized to login from this station."   Even though it
was
able to before rebuild.  Is there a file that needs to be in place for
2000
to connect?


Please Advise

Matt Larson

--__--__--

Message: 2
From: David Brodbeck <DavidB at mail.interclean.com>
To: "'Dan.Boskovich at piedmontng.com'" <Dan.Boskovich at piedmontng.com>
Cc: "'samba at samba.org'" <samba at samba.org>
Date: Fri, 20 Dec 2002 12:03:14 -0500
Subject: [Samba] Re: Winbindd question/problem

Forgot to CC this to the list, so I'm sending it again.  Sorry for the
inconvenience.

> -----Original Message-----
> From: Dan.Boskovich at piedmontng.com 

> I have not been able to make the new version work
> without using the UNIX password file for vaildation as yet. 
> If you could
> offer some advise or tips to get there I would appreciate it. FYI: The
> getent command will not work for me. Don't know if that is 
> related. I am a UNIX admin and my Windows knowledge is limited.

> -----Original Message-----
> From: Dan.Boskovich at piedmontng.com 

> I just found out that "getent" is a solaris command. I am of course in
> HP-UX. I don''t know if that will cause me grief or not.

I'm not too familiar with HP-UX so you may need to ask on the mailing
list.

The first question that comes to mind is whether your nsswitch
configuration
is correct.  Under Linux you edit /etc/nsswitch.conf, but I don't know
about
HP-UX.  The relevent lines in mine look like this:

passwd:     files winbind nisplus nnis
group:      files winbind nisplus nis

The important thing is that 'winbind' be in there.

Secondly, make sure libnss_winbind.so.2 is installed in /lib.  'make
install' does not do this on its own.  Also, create a symbolic link to
it
named /lib/libnss_winbind.so.  You may need to run ldconfig (or whatever
the
HP-UX equivalent is) after doing this.

The absence of 'getent' shouldn't be a problem because it's only used
for
testing.

I'm going to CC this to the samba mailing list in case someone with more
HP-UX experience than me has a suggestion.

--__--__--

Message: 3
Date: Fri, 20 Dec 2002 12:04:25 -0500
From: "Kenneth Illingsworth" <illingsk at cityofrochester.gov>
To: <samba at lists.samba.org>
Subject: [Samba] 'credentials supplied conflict

I believe that I have managed to set up a SAMBA server to function as a
=
Windows NT PDC. However, when I try to add a Win2kPro workstation to the
=
SAMBA servers security DB (IE /usr/local/samba/private/MACHINE.SID), I
get =
an error dialog on the workstation indicating that the computer could
not =
be joined in the domain bacause the 'credentials supplied conflict with
an =
existing set of credentials'.

The SAMBA account that I used has been added into the  smbusers file as
=
equivalent to 'administrator' and 'admin'. However, no matter what SAMBA
=
account I try to use to add this workstation, I get the same error =
dialog.=20

I found Q197987 on Microsoft's Knowledgebase which deals with this error
=
on a Win2k server, and it describes how to edit the registry to delete
the =
string for the offending username. So, I edited the MACHIND.SID with vi
=
and deleted the only entry I found there. Unfortunately, the error
dialog =
remains an issue.

Thank you in advance for your time.


--__--__--

Message: 4
Date: Fri, 20 Dec 2002 18:01:11 +0000 (GMT)
From: John H Terpstra <jht at samba.org>
To: Sam Hart <hart at physics.arizona.edu>
Cc: samba at lists.samba.org
Subject: Re: [Samba] "force group" not working with shared directories

On Fri, 20 Dec 2002, Sam Hart wrote:

> I'm trying my darnedest to set up a samba server to share some
directories
> for certain user groups. Several of the shares will be housing
databases
> (incl. MS Access) which will be accessed by several users, often at
the
> same time, and thus need to deal with both file-locking and group
> ownership.
>
> I have read that I need essentially the following in my smb.conf file:
> [lab]
>         path = /usr2/lab
>         available = yes
>         public = yes
>         guest only = no
>         writeable = yes
>         browseable = yes
>         valid users = foonly, hart
>         only user = no
>         oplocks = No
>         level2oplocks = No
>         create mask = 770
>         directory mask = 770
>         force group = lab
>
> with the important lines being "create mask", "directory mask" and
"force
> group".
>
> The problem is that while the "create mask" and "directory mask" lines
> work, the "force group" line does not, and the group "lab" is never
forced
> for new files/directories created in that share. I have tried both "=
lab"
> and "= +lab" (not really understanding the difference) and neither
worked.
>
> I've had some samba experience in the past, but it has always been
> rudimentary (printer sharing, basic/non-readable file sharing) and
trying
> to make this work is baffling me.
>
> Any advice would be mucho apreciated. (oh, and before anyone askes,
yes,
> I'm SIGHUP'ing my smbd each time I change the config).

Set the directory SUID group and if you want forced user do SUID user
also. Much preferred way instead of doing this in samba.

It's a Unix file system issue, not a samba issue.

- John T.
-- 
John H Terpstra
Email: jht at samba.org

--__--__--

Message: 5
Date: Fri, 20 Dec 2002 18:12:55 +0000
From: Jorge Pereira <jcp at inescporto.pt>
To: samba at lists.samba.org
Subject: [Samba] Validation problem with NAUTILUS 2.0.6

Hi,

    After instalation off RH 8.0 and patched width the latest updates 
(samba 2.2.7-2) I configured samba as shown:

[global]
    workgroup = MYWORKGROUP
    netbios name = MYBOX
    security = domain
    password server = MY_NT_PDC
    encrypt passwords = Yes
    obey pam restrictions = Yes
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
    unix password sync = Yes
    log file = /var/log/samba/%m.log
    max log size = 0
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    dns proxy = No
    printing = lprng
    character set = ISO8859-1
    announce as = NT Server

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

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

[public]
    path = /tmp
    read only = No
    guest ok = Yes


    Then i added my machine to the nt domain.

    In any windows machine i can browse my linux running samba and 
access shares.

    With smbclient i can connect to shares on windows machines and 
process the DIR command.
    But width the Nautilus i get the error "Couldn't display 
'smb://machine/share', because acces was denied"

Can anyone help me with this one ?

Thanks in advance

Jorge Pereira



--__--__--

Message: 6
From: "Owens, Bob" <bowens at navtech.com>
To: "'Dimitry Surkov'" <dsurkov at wiwi.hu-berlin.de>,
	samba at lists.samba.org
Subject: RE: [Samba] How to enforce client to download the profile form
se
	rver
Date: Fri, 20 Dec 2002 12:24:16 -0600

Help to see your smb.conf but here is mine it may help.

[global]
logon path = \\%L\Profiles\%U

[Profiles]
path = /data/domain/Profiles/
browseable = no
writable = yes
valid users = @domusers
create mode = 0770
directory mode = 0770
force group = root


-----Original Message-----
From: Dimitry Surkov [mailto:dsurkov at wiwi.hu-berlin.de]
Sent: Friday, December 20, 2002 10:07 AM
To: samba at lists.samba.org
Subject: [Samba] How to enforce client to download the profile form
server


Dear all,

i have the following problem. my smb.conf is working, but clients cannot
download their profiles from the server. I explain this on an example:
i have two windows machines: #1 and #2
i) i delete all local profiles in windows and a profile of user in unix
ii) login to machine #1, have the win dialog as though i just started
the
machine for the first time (which is true), set my personal settings in
Outlook. logout
iii) login to machine #1 again and everything functions o.k., logout
iii) login to machine #2, i have the same win dialog as though i just
started the machine, although it is not the case, since i was on machine
#1
already and no settings in Outlook. logout
iv) login to machine #1, the profile is gone, i do not have the win
start
dialog again, but my outlook settings are gone.

What could it be? It seems that the windows machine uploads the profile
to
the server, but in case of start on the same machine the local profile
is
being used. However the new machine does not download the profile, but
overwrites it with a new locally created profile. SO, as i see it the
problem is: the client does not download the profile form the samba
server.

Please help. Thanks in advance.

Dimitry Surkov
mailto: h0444250 at student.hu-berlin.de

--__--__--

Message: 7
Date: Fri, 20 Dec 2002 12:43:55 -0600
From: "Kenny Mann" <Kennymann at cdrobot.com>
To: <samba at lists.samba.org>
Subject: [Samba] Winbind Problems

I am also having winbind problems.
I cannot get a list of domain users, I seem to get
Only a hex number.

wbinfo - t=20
	Secret is Good
wbinfo -n DOMAINUSERNAME
	gives me the users sid
wbinfo -m
	no results
wbinfo -a  domain+user%password
	Plaintext password authentication succeeded
wbinfo -u or -g
	0xc0000022
getent passwd
	lists only local users
getent group
	lists only local groups.

------------------------
-- Kenny Mann

--__--__--

Message: 8
Date: Fri, 20 Dec 2002 11:47:26 -0700 (MST)
From: Sam Hart <hart at physics.arizona.edu>
To: John H Terpstra <jht at samba.org>
Cc: samba at lists.samba.org
Subject: Re: [Samba] "force group" not working with shared directories

> Set the directory SUID group and if you want forced user do SUID user
> also. Much preferred way instead of doing this in samba.
> 
> It's a Unix file system issue, not a samba issue.

Doh! I had the group ownership correct, but failed to ensure that SUID
was 
set.

(Crap, I need a vacation ;-)

Thanks gazillions.

-- 
Sam Hart
University/Work addr. <hart at physics.arizona.edu>
Personal addr. <criswell at geekcomix.com>
end


--__--__--

Message: 9
Date: Fri, 20 Dec 2002 17:16:07 -0200 (BRST)
From: "Joao Alberto M. dos Reis (Listas de discucao)"
<lista at vudu.ath.cx>
To: samba at lists.samba.org
Subject: [Samba] Problem with slow connection...

I have an application that from a windows  it access text files on a
samba
server that uses a NT as password server. When it tries to access the
text
files, ir returns a error message that the path was not find. When the
user tries 2 or 3 times the same thing, it works and the application
runs
perfect without any problem. The point is that when I authenticate on
the
password server( a windows NT) it has a kinda of "delay", it hangs one
or
two seconds, and then the user application gets a connection time out.

Does anyone has any ideas how can I make the comunication between the
samba server and the password server get faster? Or there is any option
to
make samba send a string saying that he is authenticate on the password
server?

Joao Alberto M. dos Reis
Porto Alegre - Brasil




--__--__--

Message: 10
To: samba at lists.samba.org
From: "Laurent Hofmann" <laurent.news at kally.net>
Date: Fri, 20 Dec 2002 20:53:26 +0100
Subject: [Samba] Re: How to enforce client to download the profile form
server

hello,
as a clue you should take a look at ntuser.ini in the profile location
of an
user :

[General]
ExclusionList=Local Settings;Temporary Internet
Files;Historique;Temp;Local
Settings\Application Data\Microsoft\Outlook;

This is the list of folders of the profile that do not synchronize...
I think this can help ;)
Please send me your feedback :)

Laurent HOFMANN

"Owens, Bob" <bowens at navtech.com> a Θcrit dans le message de news:
E68671E04041D311834F0008C7BF2356031CA646 at delenn.navtech.com...
> Help to see your smb.conf but here is mine it may help.
>
> [global]
> logon path = \\%L\Profiles\%U
>
> [Profiles]
> path = /data/domain/Profiles/
> browseable = no
> writable = yes
> valid users = @domusers
> create mode = 0770
> directory mode = 0770
> force group = root
>
>
> -----Original Message-----
> From: Dimitry Surkov [mailto:dsurkov at wiwi.hu-berlin.de]
> Sent: Friday, December 20, 2002 10:07 AM
> To: samba at lists.samba.org
> Subject: [Samba] How to enforce client to download the profile form
server
>
>
> Dear all,
>
> i have the following problem. my smb.conf is working, but clients
cannot
> download their profiles from the server. I explain this on an example:
> i have two windows machines: #1 and #2
> i) i delete all local profiles in windows and a profile of user in
unix
> ii) login to machine #1, have the win dialog as though i just started
the
> machine for the first time (which is true), set my personal settings
in
> Outlook. logout
> iii) login to machine #1 again and everything functions o.k., logout
> iii) login to machine #2, i have the same win dialog as though i just
> started the machine, although it is not the case, since i was on
machine
#1
> already and no settings in Outlook. logout
> iv) login to machine #1, the profile is gone, i do not have the win
start
> dialog again, but my outlook settings are gone.
>
> What could it be? It seems that the windows machine uploads the
profile to
> the server, but in case of start on the same machine the local profile
is
> being used. However the new machine does not download the profile, but
> overwrites it with a new locally created profile. SO, as i see it the
> problem is: the client does not download the profile form the samba
server.
>
> Please help. Thanks in advance.
>
> Dimitry Surkov
> mailto: h0444250 at student.hu-berlin.de
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





--__--__--

Message: 11
Date: Fri, 20 Dec 2002 12:02:28 -0800
From: dpm8 <dpm8 at humboldt.edu>
To: samba at lists.samba.org
Subject: [Samba] (no subject)

samba at lists.samba.org. 

X-EXP32-SerialNo: 00003015
Subject: Samba Server with PC Clients
Message-ID: <3E0331BA at webmail.humboldt.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: WebMail (Hydra) SMTP v3.62

Hey there,

I'm running the newest samba server with OS 10.2. So i'm hosting samba
on my 
Mac and i'm trying to share with a bunch of windows clients.  I can
share 
files OK with them.  We can trade and all that good stuff, but i cannot
seem 
to set the permissions so that Station1 cannot Delete Station2's files
and 
vice versa.  I have changed the file permissions in my os and i figured
since 
those clients login to the server with the same User Name and Password
as 
their Mac User account, then the permissions would follow through.  But
it 
doesn't.

Anyone have any ideas?

Thanks-
Danny
dpm8 at humboldt.edu



--__--__--

Message: 12
Date: Fri, 20 Dec 2002 14:12:49 -0600
From: Steve Langasek <vorlon at netexpress.net>
To: samba at lists.samba.org, samba-technical at lists.samba.org
Subject: [Samba] Re: XP slow to print to Samba 3.0 alpha21 server


--UthUFkbMtH2ceUK2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

One additional bit of information --=20

On Fri, Dec 20, 2002 at 09:56:21AM -0600, Steve Langasek wrote:

> As WinXP begins to loom larger in our environment, we're seeing a
> consistent pattern that XP machines (mostly XP Professional, possibly
> others) take an excessively long time to access shared printers:  I'm
> told that it takes up to 5 minutes to initially install the printer on
> the local machine, and it typically takes around 45 seconds to deliver
> print jobs to the queue.
>=20
> The print server is running Samba 3.0alpha21.  The server is also a DC
> for an NT domain that these WinXP machines are joined to.  We are
using
> spoolss and server-provided print drivers, and I did add the "XP"
printer
> drivers to the server using the Add Print Wizard in an effort to
> alleviate the lag (printing is slow both before and after uploading
those
> drivers).  Anecdotal evidence suggests that printing was much quicker
> before upgrading to Samba 3.0, though I haven't had a chance yet to
set
> up a 2.2 test print server to verify.

If I set 'disable spoolss =3D yes' in smb.conf, XP machines have no
trouble
at all when printing.  Of course, this requires a bit of per-client
reconfiguration, but it'll do the trick here for now.  I'll turn spoolss
back on some evening when the network's not in use to get some good log
traces.

Cheers,
--=20
Steve Langasek
postmodern programmer

--UthUFkbMtH2ceUK2
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+A3nAKN6ufymYLloRAndMAKDPUuo+9vsnX/2RaJEjhbwYoN9ZxQCgwhXG
Gw4l4xkAMD1nTSqrX0UvW40=
=ObY4
-----END PGP SIGNATURE-----

--UthUFkbMtH2ceUK2--

--__--__--

Message: 13
Date: Sat, 21 Dec 2002 22:44:41 +0100
From: Viktor Pirard <viktor.pirard at telia.com>
To: samba at lists.samba.org
Subject: [Samba] Problems installing samba

Hi, i'm having som problems installing samba2.2.7a on rootlinux 1.2.
Configure says 

checking configure summary... WARNING: No automated network interface
determ              ination
ERROR: no seteuid method available
configure: error: summary failure. Aborting config

Any ideas? Thankful for any help. 

--__--__--

Message: 14
From: "Windsor Dave (AdW/MOE2.1)" <Dave.Windsor at us.bosch.com>
To: "'John H Terpstra'" <jht at samba.org>
Cc: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: FW: [Samba] Strange locking errors with LabView under Samba
2.2.7
	 and HP-UX 11.11
Date: Fri, 20 Dec 2002 17:10:47 -0500

I've had the chance to give 2.2.7a a try, with no change in behavior.
LabView still takes several minutes to load, and disk utilization shoots
way
up.

Just to see what would happen, I tried Samba 2.2.5 and got the same
results.
I then dropped back to 2.2.4, and everything works fine.  LabView loads
in
about 12 seconds, disk utilization stays low during the load, no locking
errors appear in the log, and nmbd/smbd processes seem to cause less
disk
utilization as well.  What could have changed between 2.2.4 and 2.2.5 to
cause this?

If anyone has any suggestions, I have plenty of system time in the next
two
weeks to experiment (but I probably won't start until Monday).

Best Regards,

Dave Windsor 
AdW/MOE2.12 
Team Leader, Test Systems Engineering 
Robert Bosch Corporation 
Anderson, SC, USA 
Voice: (864) 260-8459 
Fax:   (864) 260-8142 
email: mailto:Dave.Windsor at us.bosch.com
 


-----Original Message-----
From: Windsor Dave (AdW/MOE2.1) 
Sent: Thursday, December 19, 2002 6:32 PM
To: 'John H Terpstra'
Cc: 'samba at lists.samba.org'
Subject: RE: [Samba] Strange locking errors with LabView under Samba
2.2.7 and HP-UX 1 1.11


Hmmmm....that sounds reasonable.  I have 2.2.7a compiled up and ready to
install as soon as our production test equipment shuts down, hopefully
tomorrow.  I'll post my results as soon as I get the chance.

Thanks!

Dave Windsor 
email: <mailto:Dave.Windsor at us.bosch.com> 

-----Original Message-----
From: John H Terpstra [mailto:jht at samba.org]
Sent: Thursday, December 19, 2002 6:24 PM
To: Windsor Dave (AdW/MOE2.1)
Cc: 'samba at lists.samba.org'
Subject: Re: [Samba] Strange locking errors with LabView under Samba
2.2.7 and HP-UX 1 1.11


Dave,

Samba-2.2.7a was released to fix 64bit file access issues. Strongly
suggest you update.

- John T.

On Thu, 19 Dec 2002, Windsor Dave (AdW/MOE2.1) wrote:

> Hello All,
>
> I recently upgraded one of my HP-UX servers from Samba 2.2.4 to 2.2.7.
> Since that time, I have noticed that disk activity on the file system
where
> the Samba var directory is kept seems to be higher than I would
expect.
We
> have now begun to experience a problem with PC clients running
National
> Instruments' LabView software, installed on a Samba share.  When any
PC
> client tries to execute it, disk utilization goes to 100% according to
HP's
> Glance performance monitor, with nearly all activity being in the
> aforementioned file system containing the Samba var files and being
caused
> by the smbd for the client running LabView.  Using Glance to look at
open
> files, I found that the only open file located in the Samba var file
system
> is the smbd log file, and it is filled with messages like this:
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(660)
>
>   posix_fcntl_lock: WARNING: lock request at offset 0, length
> 9223372036854779000 returned
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(662)
>
>   an Invalid argument error. This can happen when using 64 bit lock
offsets
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(663)
>
>   on 32 bit NFS mounted file systems.
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(677)
>
>   Count greater than 31 bits - retrying with 31 bit truncated length.
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(660)
>
>   posix_fcntl_lock: WARNING: lock request at offset 0, length
> 9223372036854779000 returned
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(662)
>
>   an Invalid argument error. This can happen when using 64 bit lock
offsets
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(663)
>
>   on 32 bit NFS mounted file systems.
>
> [2002/12/19 17:47:17, 0] locking/posix.c:(677)
>
> over and over again.  I have log level set to 1, with a different log
for
> each client.  After several minutes, LabView finally loads and things
settle
> back down.  Any ideas as to what is happening?  The log mentions NFS,
but
> the directories containing LabView are local to my system and are
exported
> by Samba only, not NFS.
>
> My copy of Samba was compiled here using HP's ANSI C compiler under
HP-UX
> 11.11.  I ran configure with very few options, just to set the prefix
and
to
> set "--with-utmp".  None of these problems occurred under Samba 2.2.4,
and
I
> haven't yet had a chance to try out 2.2.7a to see if there's any
difference.
> The problem occurs when running LabView with both NT4 and W2K clients.
With
> our holiday shutdown almost here, I hope to get a chance to try 2.2.7a
> sometime tomorrow.
>
> Thanks in advance for any assistance!
>
> Dave Windsor
> AdW/MOE2.12
> Team Leader, Test Systems Engineering
> Robert Bosch Corporation
> Anderson, SC, USA
> email: <mailto:Dave.Windsor at us.bosch.com>
>
>
>

-- 
John H Terpstra
Email: jht at samba.org

--__--__--

Message: 15
From: "Norman Zhang" <nzhang at arkon-group.com>
To: <samba at lists.samba.org>
Date: Fri, 20 Dec 2002 15:09:53 -0800
Subject: [Samba] samba upgrade

Hi,

LM 9.0 (samba 2.2.6) can setup to authenticate using winbind. When I do
wbinfo -u, only
users of my NT domain is listed,

e.g.,
user_a
user_b
...

Now I upgrade to 2.2.7 using Mandrake update, and wbinfo -u, I see

e.g.,
MYDOMAIN\user_a
MYDOMAIN\user_b
...

Which option in smb.conf can I suppress the printing of MYDOMAIN?

Regards,
Norman


--__--__--

Message: 16
Date: Fri, 20 Dec 2002 19:19:37 -0500
From: Joel Hammer <Joel at HammersHome.com>
To: Software <Software at Hajo-Thiel.de>, samba at lists.samba.org
Subject: Re: [Samba] Cannot install samba

This error says you don't have a compiler. Can you compile any other
software?
Joel

On Fri, Dec 20, 2002 at 05:56:15PM +0100, Software wrote:
> Who can help me?
> I am a very beginner on linux an so with samba!
> So far I can*t install samba:
> download latest-samba.tar.gz from samba-ftp to root directory
> then doing "tar -xvfz latest-samba.tar.gz"
> change directory to "samba-2.2.7a/source"
> call "./configure" and then i get following messages:
>   loading cache ./config.cache
>   checking for gcc... no
>   checking for cc... no
>   configure: error: no acceptable cc foun in $PATH
> 
> Same think happens with 2 different linux Versions:
> THIZ Linux 6.0 (delivered with a Chaintech Board) and
> Suse Linux 8.1
> What ist my mistake?
> 

--__--__--

Message: 17
Date: Fri, 20 Dec 2002 16:31:43 -0800
From: John Gerth <gerth at stanford.edu>
To: Steve Langasek <vorlon at netexpress.net>
Cc: samba at lists.samba.org, samba-technical at lists.samba.org
Subject: [Samba] Re: XP slow to print to Samba 3.0 alpha21
server...another data point
 from 2.2.7

Steve Langasek wrote:
> One additional bit of information -- 
> 
> On Fri, Dec 20, 2002 at 09:56:21AM -0600, Steve Langasek wrote:
> 
> 
>>As WinXP begins to loom larger in our environment, we're seeing a
>>consistent pattern that XP machines (mostly XP Professional, possibly
>>others) take an excessively long time to access shared printers:  I'm
>>told that it takes up to 5 minutes to initially install the printer on
>>the local machine, and it typically takes around 45 seconds to deliver
>>print jobs to the queue.
>>
>>The print server is running Samba 3.0alpha21.  The server is also a DC
>>for an NT domain that these WinXP machines are joined to.  We are
using
>>spoolss and server-provided print drivers, and I did add the "XP"
printer
>>drivers to the server using the Add Print Wizard in an effort to
>>alleviate the lag (printing is slow both before and after uploading
those
>>drivers).  Anecdotal evidence suggests that printing was much quicker
>>before upgrading to Samba 3.0, though I haven't had a chance yet to
set
>>up a 2.2 test print server to verify.
> 
> 
> If I set 'disable spoolss = yes' in smb.conf, XP machines have no
trouble
> at all when printing.  Of course, this requires a bit of per-client
> reconfiguration, but it'll do the trick here for now.  I'll turn
spoolss
> back on some evening when the network's not in use to get some good
log
> traces.
> 
  We have a very similar set up here, except that the controller for
  the NT domain is an NT server not the Samba system with the print
server.
  I've just finished upgrading this from  RH 7.2, CUPS 1.14, Samba
2.2.3a
  to  RH 7.0 with CUPS 1.15 and Samba 2.2.7 now configured with both
  "disable spoolss = no" and "use client drivers = no".

  I did have a number of adventures with getting the drivers uploaded
  using the "Add Printer Wizard"s in both Win2K and WinXP, but printing
  itself has not subsequently been a problem with 2.2.7 for Win98,
  Win2K or WinXP.

  However, we are a odd in an important respect, namely that virtually
  all our users are "Domain Admins" in the NT domain because we're a
  research lab and folks are always mucking with the machines. I seem
  to remember an earlier thread about poor print performance that had
  a component related to privileged vs. unprivileged users although I
  thought it was privilegd users who had the performance problem.

-- 
John Gerth      gerth at stanford.edu         (650) 725-3273  fax 723-0033


--__--__--

Message: 18
To: samba at lists.samba.org
From: "Jacob Anawalt" <anawaltaj at hotmail.com>
Date: Fri, 20 Dec 2002 18:14:14 -0700
Subject: [Samba] Re: Create time changing by itself?

>Find fs/smbfs/proc.c in your kernel source tree.
>Search for smb_proc_close_inode().
>See if changing any of the operations it does there helps.
>   - remove the code after the "Kludge alert"

I did this, and still tar thinks the file was modified. Now I'm seeing
the
ctime drift like Timo noticed when I stat. The first stat showed one
ctime
and then the next and subsequent stat's showed an mtime 2 seconds into
the
future from the first. They were all even second mtimes.

>   - remove smb_proc_setattr_ext()
I skipped this and went to the next step, then came back to this step.
Everything seems to be the same. I get the file changed as we read it
msg
while in the create stage, and Mod time differs while in the verify
stage.

>   - replace ino->i_mtime in the smb_proc_close() call with a 0
I did this, now when I open the files, mtime is set to epoch for the
unix
machine's view, and some 2106 date on the w2k machine. when tar'ing
sometimes it sees the file as epoch, and sometimes it sees it as a day
or a
month before epoch (1970-01-01). Even using sysopen() or open() O_RDONLY
in
a perl script modifies the mtime. I realy didn't expect a file open in
readonly to change the mtime. An interesting thing was that shelling
`stat`
immediatly after the open() or even the close() calls in the perl script
still showed the old mtime, but calling stat from the command line after
the
script exited showed the modified to epoch mtime.

After trying all of the above, I re-compiled one more time, commenting
out
the DSET call in smb_proc_close. The problem is still there, and mtime
is
getting set, but now to wierd values, different months in 2019 as
reported
from the linux side. One time I run it and they are set to Jul 10,
another
time to Aug 25th. So, if the mtime isn't set by smb_proc_close call,
something else is setting it?

What are the reasons for the following questions, or where can I find
the
answers:

Why are SMB timestamps are only accurate to two seconds?

Why is the mtime modified even if the file is open in O_RDONLY?

Where (else) can I look to see why the results of an lstat are always
different than an mstat through smbfs mounts?


"Urban Widmark" <urban at teststation.com> wrote in message
news:Pine.LNX.4.44.0212182207040.19290-100000 at cola.enlightnet.local...
> On 16 Dec 2002, Timo Sirainen wrote:
>
> > Are there some known problems related to ctime changing by itself? I
> > didn't find anything with google at least. tar seems to be
complaining
> > about it all the time:
> >
> > [cras at hurina] ~% tar cf test.tar /mnt/cygwin/home
> > tar: Removing leading `/' from member names
> > tar: /mnt/cygwin/home/Timo Sirainen/xxx/xxxxx.xxx: file changed as
we
read it
>
> Yes, this is known. smbfs does some strange time operations when
closing a
> file. I think the idea is to make sure the time is changed when a file
has
> been written to (NT4 doesn't, or not always?).
>
>
> I had someone that I thought I had tricked into testing this but I
haven't
> heard anything for a while. The relevant code is (probably) this
> file/function in the kernel source tree:
>
> fs/smbfs/proc.c:smb_proc_close_inode()
>
> Try removing the "Kludge alert" parts and if that fails, the
> smb_proc_setattr_ext() call.
>
>
> Or wait until I get around to it.
>
> /Urban
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





--__--__--

Message: 19
Reply-To: <dkrnic at t-online.de>
From: dkrnic at t-online.de (Dragan Krnic)
To: <samba at lists.samba.org>
Cc: <jht at samba.org>
Date: Sat, 21 Dec 2002 09:22:52 +0100
Organization: dkdt
Subject: [Samba] Re: File Systems - Which one to use?

With reference to my earlier posting in this thread (Dec 16, 2002),
where I quoted some timings for tar and dump on ext and reiserfs,
I received a mail from Mr. Stelian Pop, the maintainer of BSD/dump,
who noted that tar is actually cheating when outputting to the bit
bucket. I've checked it up and found out that tar indeed skips a
lot if the target ("-f") is either "/dev/null" or redirected to
"/dev/null". My suspicion that there is something wrong with IPC
in Linux was unwarranted. The reason why tar is so much slower
when it writes through a dd pipe is that it then needs to output
all the data without skipping anything. To better understand the
issue look at this table of backup speeds (in MB/s) and ratios:

                         ext3     reiserfs       ratio
Backup method\From   (fastdisk)  (slowdisk)   reiserfs/ext3
------------------   ----------  ----------   -------------
      tar > null         23.5        66.7         2.84
     dump > null         19.4         --           ?

       dd > null         32.2        23.4          .73

 tar | dd > null         10.3         8.8          .85
dump | dd > null         18.7         --           ?

It shows that dump is a quite a bit more efficient backup tool
than tar when tar doesn't cheat. A tar from ext3 is some 15%
slower than a dump if we factor in the relative speeds of the
two disks. That it is 2.8 times faster on reiserfs than on ext3
when it basically skips all data and only traverses the directories
proves my point from previous postings - reiserfs is a quite a lot
more responsive file system for meta data manipulations than ext3.
Seeing how much handshake and massaging of meta data is caused
by SMB I am prone to believe that reiserfs is ideal fs for samba.

I hope to be able to fill in the blanks under dump/reiser entries
in about a month and a half and then we shall review the data.
My prediction is that a good reiserdump would be streaming at 
about 35 MB/s or better on the faster of the two IDE disks.


--__--__--

Message: 20
From: "sander" <sander at dancestation.be>
To: <samba at lists.samba.org>
Date: Sat, 21 Dec 2002 11:33:31 +0100
Subject: [Samba] need roaming profile + local profile

This is a multi-part message in MIME format.

------=_NextPart_000_0011_01C2A8E4.CA22E6D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi

I've got a samba pdc set up but I've got a strange problem.  Everything
=
works fine I can login with the roaming profile BUT I also need a local
=
profile, without the local profile he says that he cannot find the =
domain name.  And the local profile has to be administrator or he =
doesn't remember my preferences of all my programs and settings.

Any idea what I'm doing wrong?


Sander

---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"

Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://www.giantcompany.com



------=_NextPart_000_0011_01C2A8E4.CA22E6D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've got a samba pdc set up but I've =
got a strange=20
problem.&nbsp; Everything works fine I can login with the roaming =
profile BUT I=20
also need a local profile, without the local profile he says that he =
cannot find=20
the domain name.&nbsp; And the local profile has to be administrator or
=
he=20
doesn't remember my preferences of all my programs and =
settings.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any idea what I'm doing =
wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sander</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
-----<BR>"Are=20
you still wasting your time with spam?...<BR>There is a =
solution!"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Protected by GIANT Company's Spam =
Inspector<BR>The=20
most powerful anti-spam software available.<BR><A=20
href=3D"http://www.giantcompany.com">http://www.giantcompany.com</A></FON=
T></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0011_01C2A8E4.CA22E6D0--


--__--__--

Message: 21
Date: Sat, 21 Dec 2002 11:27:11 -0500
To: samba at lists.samba.org
From: pippo at bellnet.ca
Subject: [Samba] xp problem

I would appreciate it if someone can point me in the right direction.
I am having a problem connecting to other computers on my LAN. 
Configuration is this:
1. XP machine, 2 Win2K's, 1 FreeBSD running Samba (current or latest
version).
 From XP, I can connect and read/write and print to FBSD but cannot
connect 
to Win2k's.
Win2k's cannot connect to XP.
I suspect it has to do with the domain master and the os level settings 
for, when the FBSD machine is off, connections between XP and Win2k are
ok.
What do I have to to to be able to connect to Win2k's at the same time
as 
the FBSD (Samba)?
I am not running a domain, workgroup only. :))
Thanks in advance,
Pippo




--__--__--

_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba


End of samba Digest



More information about the samba mailing list