[Samba] Re: Create time changing by itself?

2002-12-20 Thread Jacob Anawalt
>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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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@hurina] ~% tar cf test.tar /mnt/cygwin/home
> > tar: Removing leading `/' from member names
> > tar: /mnt/cygwin/home/Timo Sirainen/xxx/x.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
>




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



[Samba] Re: XP slow to print to Samba 3.0 alpha21 server...another data pointfrom 2.2.7

2002-12-20 Thread John Gerth
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  [EMAIL PROTECTED] (650) 725-3273  fax 723-0033

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



Re: [Samba] Cannot install samba

2002-12-20 Thread Joel Hammer
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?
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] samba upgrade

2002-12-20 Thread Norman Zhang
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

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



FW: [Samba] Strange locking errors with LabView under Samba 2.2.7 and HP-UX 11.11

2002-12-20 Thread Windsor Dave (AdW/MOE2.1)
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:[EMAIL PROTECTED]
 


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


Hthat 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:  

-Original Message-
From: John H Terpstra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 6:24 PM
To: Windsor Dave (AdW/MOE2.1)
Cc: '[EMAIL PROTECTED]'
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: 
>
>
>

-- 
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] Problems installing samba

2002-12-20 Thread Viktor Pirard
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. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: XP slow to print to Samba 3.0 alpha21 server

2002-12-20 Thread Steve Langasek
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.

Cheers,
-- 
Steve Langasek
postmodern programmer



msg11155/pgp0.pgp
Description: PGP signature


[Samba] (no subject)

2002-12-20 Thread dpm8
[EMAIL PROTECTED] 

X-EXP32-SerialNo: 3015
Subject: Samba Server with PC Clients
Message-ID: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]


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



[Samba] Re: How to enforce client to download the profile form server

2002-12-20 Thread Laurent Hofmann
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" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]]
> Sent: Friday, December 20, 2002 10:07 AM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>




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



[Samba] Problem with slow connection...

2002-12-20 Thread Joao Alberto M. dos Reis (Listas de discucao)
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



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



Re: [Samba] "force group" not working with shared directories

2002-12-20 Thread Sam Hart
> 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. <[EMAIL PROTECTED]>
Personal addr. <[EMAIL PROTECTED]>
end

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



[Samba] Winbind Problems

2002-12-20 Thread Kenny Mann
I am also having winbind problems.
I cannot get a list of domain users, I seem to get
Only a hex number.

wbinfo - t 
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
0xc022
getent passwd
lists only local users
getent group
lists only local groups.


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



RE: [Samba] How to enforce client to download the profile form server

2002-12-20 Thread Owens, Bob
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:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 10:07 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Validation problem with NAUTILUS 2.0.6

2002-12-20 Thread Jorge Pereira
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


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


Re: [Samba] "force group" not working with shared directories

2002-12-20 Thread John H Terpstra
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: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] 'credentials supplied conflict

2002-12-20 Thread Kenneth Illingsworth
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. 

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.

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



[Samba] Re: Winbindd question/problem

2002-12-20 Thread David Brodbeck
Forgot to CC this to the list, so I'm sending it again.  Sorry for the
inconvenience.

> -Original Message-
> From: [EMAIL PROTECTED] 

> 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: [EMAIL PROTECTED] 

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



[Samba] Not allowed from station.

2002-12-20 Thread Matt Larson
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Cannot install samba

2002-12-20 Thread Software
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?

If you have any ideas, please mail me.

I forgot: please try to explain in simple words, because my english
is not very good.

>From germany
Hajo

<>

[Samba] Compilation warning on 2.2.7a

2002-12-20 Thread Rich Smrcina
It seems pretty typical that compilation warnings can be essentially ignored. 
Be that as it may, if I can't find evidence that a warning can be ignored in 
the archives, I am compelled to ask about it.  A nod that these are OK or a 
fix for them if they are not OK would be appreciated.

I am getting several warnings with winbind_nss.c :

Compiling nsswitch/winbind_nss.c with -fPIC
nsswitch/winbind_nss.c: In function `fill_pwent': 
nsswitch/winbind_nss.c:600: warning: passing arg 2 of `get_static' from 
incompatible pointer type
nsswitch/winbind_nss.c:612: warning: passing arg 2 of `get_static' from 
incompatible pointer type
nsswitch/winbind_nss.c:629: warning: passing arg 2 of `get_static' from 
incompatible pointer type
nsswitch/winbind_nss.c:641: warning: passing arg 2 of `get_static' from 
incompatible pointer type
nsswitch/winbind_nss.c:653: warning: passing arg 2 of `get_static' from 
incompatible pointer type
nsswitch/winbind_nss.c: In function `fill_grent':
nsswitch/winbind_nss.c:690: warning: passing arg 2 of `get_static' from 
incompatible pointer type
nsswitch/winbind_nss.c:702: warning: passing arg 2 of `get_static' from 
incompatible pointer type 
nsswitch/winbind_nss.c:728: warning: passing arg 2 of `get_static' from 
incompatible pointer type
nsswitch/winbind_nss.c:753: warning: passing arg 2 of `get_static' from 
incompatible pointer type 
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwent_r':
nsswitch/winbind_nss.c:870: warning: passing arg 4 of `fill_pwent' from 
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwuid_r': 
nsswitch/winbind_nss.c:920: warning: passing arg 4 of `fill_pwent' from 
incompatible pointer type
nsswitch/winbind_nss.c:933: warning: passing arg 4 of `fill_pwent' from 
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getpwnam_r':
nsswitch/winbind_nss.c:982: warning: passing arg 4 of `fill_pwent' from 
incompatible pointer type 
nsswitch/winbind_nss.c:995: warning: passing arg 4 of `fill_pwent' from 
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrent_r':
nsswitch/winbind_nss.c:1119: warning: passing arg 5 of `fill_grent' from 
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrnam_r':
nsswitch/winbind_nss.c:1179: warning: passing arg 5 of `fill_grent' from 
incompatible pointer type
nsswitch/winbind_nss.c:1193: warning: passing arg 5 of `fill_grent' from 
incompatible pointer type
nsswitch/winbind_nss.c: In function `_nss_winbind_getgrgid_r':
nsswitch/winbind_nss.c:1242: warning: passing arg 5 of `fill_grent' from 
incompatible pointer type
nsswitch/winbind_nss.c:1256: warning: passing arg 5 of `fill_grent' from 
incompatible pointer type
Linking nsswitch/libnss_winbind.so
-- 
Rich Smrcina
Sytek Services, Inc.
Milwaukee, WI
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Catch the WAVV!  Stay for Requirements and the Free for All!
Update your S/390 skills in 4 days for a very reasonable price.
WAVV 2003 in Winston-Salem, NC.
April 25-29, 2003
For details see http://www.wavv.org
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] "force group" not working with shared directories

2002-12-20 Thread Sam Hart
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).

-- 
Sam Hart
University/Work addr. <[EMAIL PROTECTED]>
Personal addr. <[EMAIL PROTECTED]>
end


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



[Samba] Delayed Write failures with Windows XP

2002-12-20 Thread Hall, Ken (ECSS)
We have users who have their desktop folders on a Samba share.  Some of them have been 
getting "Delayed Write Failure" messages recently on the "cookies/index.dat" file.  At 
first I thought it was a
fluke related to a network outage we experienced, but now I'm finding out it had been 
happening previously.

This is Samba 2.2.5 on SuSE Linux SLES7 on S/390.

Does anyone have any ideas?  Thanks.

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



[Samba] How to enforce client to download the profile form server

2002-12-20 Thread Dimitry Surkov





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: [EMAIL PROTECTED]
 


[Samba] XP slow to print to Samba 3.0 alpha21 server

2002-12-20 Thread Steve Langasek
Hi all,

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.

Network traces and log files happily provided to anyone willing to tackle
this issue.

Thanks,
-- 
Steve Langasek
postmodern programmer



msg11149/pgp0.pgp
Description: PGP signature


Re: [Samba] Re: Samba problems with Sco Openserver

2002-12-20 Thread John H Terpstra
On Fri, 20 Dec 2002, kerravon wrote:

> Hi John,
>I realised after that it wasn't a valid user so I replaced it
> with a valid user account, still the same error message
> occurs.

Please email me direct to <[EMAIL PROTECTED]> your current smb.conf file. I'll
take a look at it.

- John T.

>
> Adrian
> - Original Message -
> From: "John H Terpstra" <[EMAIL PROTECTED]>
> To: "Adrian Stokes" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, December 19, 2002 10:43 PM
> Subject: Re: [Samba] Re: Samba problems with Sco Openserver
>
>
> > On Thu, 19 Dec 2002, Adrian Stokes wrote:
> >
> > >
> > > - Original Message -
> > > From: Adrian Stokes
> > > To: John H Terpstra
> > > Sent: Wednesday, December 18, 2002 1:43 PM
> > > Subject: Samba problems with Sco Openserver
> > >
> > >
> > > Hi John,
> > > I emailed that chap you suggested, just got an out of office
> reply.
> > > I think I'm halfway there though,  I ran the following
> command
> > >
> > > #smbclient -U% -L localhost
> >
> > That command says:
> >
> > List resources on 'localhost' as user null and password null. ie:
> > -Uusername%password, which are empty. ie: -U'nothing'%'nothing' == -U%.
> >
> > >
> > > Added inetrface ip=192.168.x.x bcast= 192.168.x.x nmask=255.x.x.x
> > > Session Setup Failed: ERRSRV - ERRbadpw (Bad password - name/password
> > > pair in a Tree Connect or Session Setup are Invalid.)
> >
> > This means that your system lacks an account for the unix user that should
> > be used to allow your clients to retrieve the browse list from the IPC$
> > share. Please refer to man smb.conf and search for 'guest account'.
> >
> > >
> > > So I had a look in the /etc/inetd.conf file and added the following two
> > > lines
> > >
> > > netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd
> > > netbios-ns dgram tcp nowait root /usr/local/samba/bin/nmbd nmbd
> > >
> >
> > It is much better to run smbd and nmbd as Daemons, otherwise you may
> > experience browsing problems. Running through inetd is possible but bit
> > preferred.
> >
> > > then ran kill -HUP id_no
> > >
> > > re running the smbclient command above resulted in the same error
> > > message, I can connect to the share from a windows client by
> > > \\servername\sharename it asks for password and accepts it this time.
> > > I'm still confused about the error message above but I seem to be making
> > > headway. Any input you can give will be greatfully recieved.
> > >
> > > regards
> > > Adrian
> >
> >
> > - John T.
> > --
> > 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
>

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



Re: [Samba] Winbind issues

2002-12-20 Thread Gareth Davies
 Original Message -
From: "Richard Coyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 3:06 PM
Subject: [Samba] Winbind issues


> I have RH 8.0, and Samba 2.2.5.
>
> I have followed the Man pages and setup Samba,Winbind, and edited PAM
> settings. I am having some problems I was hoping you could help with.
>
>
> Here is some basic testing info I have performed based on the questions
you
> seem to ask.
>
> I have joined the domain successfully. (smbpasswd -j Domain -r PDC - U
> administrator)
> I can create a share, and browse if from Network Neighborhood.
>
> **
> wbinfo - t
> Secret is Good
> wbinfo -n DOMAINUSERNAME
> gives me the users sid
> wbinfo -m
> no results
> wbinfo -a  domain+user%password
> Plaintext password authentication succeeded
> error code was NT_STATUS_OK (0X0)
>


Check that you have copied

/sambapackage/source/nsswitch/pam_winbind.so into
/lib/security/pam_winbind.so

Make sure you have copied /sambapackate/source/nsswitch/libnss_winbind.so to
/lib/libnss_winbind.so and done

ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2

Make sure you have added the correct entries to nsswitch.conf

Next do wbinfo -A Administrator%password (please not this IS DIFFERENT from
wbinfo -a)

All should be well.

Regards

Shaolin



*
This email has been checked by the altohiway e-Sweeper Service
*

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



[Samba] Newbie: Simple Samba Configuration

2002-12-20 Thread Geoffrey Lane
I've tried to install and get samba working twice already and I have no idea 
what the heck is going wrong, at the same time my PC was re-formated so I 
know all the old configurations are gone. I installed samba-2.2.3a-6 from the 
redhat 7.3 CDs and want to take another crack at it. I was wondering if 
either somebody could re-direct me to a VERY SIMPLE, NEWBIED configuration 
guide for samba or perhaps help me by going through the process step-by-step 
through an IM client or IRC or something. The second would really be prefered 
cause I've already found and used two "newbie guides" to samba and both 
didn't work for me. I don't want anybody to do the work for me, I just want 
someone to walk me through it and if something goes wrong they can know what 
steps I took, and what ones I didn't OR if the guides are wrong so I won't 
make a mistake in the first place.

As for arrangement of meeting online, just email me back off the list and we 
can talk about the when and where, I have AIM, Yahoo, ICQ and I'm familiar 
with IRC... 

Please help me out, I'd really appreciate it!
Geoff

There Are No Stupid Questions "It is better to look foolish for a moment than 
to be ignorant for a lifetime." -Chinese proverb
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Group Mapping

2002-12-20 Thread Jacob Smith
I have a samba 2.2.7 PDC running on RH 7.3.  It works good with roaming
profiles, etc, but I want my NT machines to recognize groups that I have set
up on my linux box.  Any body have any ideas about what the best way to do
this is? I have tried using the domain group map and user map options in
the smb.conf but it does not recognize them.  I have also read that using
LDAP might be an option?  Any ideas or tips would be very helpful.  Thanks,
Jacob Smith




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



RE: [Samba] Desperate Help Required Getting SAMBA back on line

2002-12-20 Thread Dan Tappin
Thank you all for your help and suggestions.  I bit the bullet and called in
a third party to help.  I am back up and running now.

Thanks,

Dan

> -Original Message-
> From:
> Sent: Thursday, December 19, 2002 3:48 PM
> To: Dan Tappin
> Subject: Re: [Samba] Desperate Help Required Getting SAMBA back on line
>
>
> Dan,
>
> Call me on (xxx) xxx- and I will try to help you get back on the road.
>
> - 
> Samba-Team
>
>
> On Thu, 19 Dec 2002, Dan Tappin wrote:
>
> > I am running SAMBA on Red Hat 7.0 and after a bad upgrade my
> SAMBA server is dead.  I
> > ended up re-installing from the source and now my server is not
> accessible to our Win9x
> > clients.  smbstatus show the server running but no one on the
> network can see the server.
> >
> > I am still a bit of a newbie and I am having trouble
> troubleshooting this.  I really am in
> > a jam and I need some help ASAP.
> >
> > I am not sure where to start.
> >
> > Thanks,
> >
> > Dan
> >
>
> --
> 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] Winbind issues

2002-12-20 Thread Richard Coyle
I have RH 8.0, and Samba 2.2.5.

I have followed the Man pages and setup Samba,Winbind, and edited PAM
settings. I am having some problems I was hoping you could help with.


Here is some basic testing info I have performed based on the questions you
seem to ask.

I have joined the domain successfully. (smbpasswd -j Domain -r PDC - U
administrator)
I can create a share, and browse if from Network Neighborhood.

**
wbinfo - t 
Secret is Good
wbinfo -n DOMAINUSERNAME
gives me the users sid
wbinfo -m
no results
wbinfo -a  domain+user%password
Plaintext password authentication succeeded
error code was NT_STATUS_OK (0X0)

wbinfo -u or -g
Error looking up domain (users/groups)

getent passwd
lists only local users

getent group
lists only local groups.


Does anyone know what I might have done incorrectly?  Or what I still need
to do to get this to work properly.  I am assuming that since the group and
user listings fail that something is just not right.

Thanks for any and all help


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



Re: [Samba] Add Workstation to Domain - valid local system user?

2002-12-20 Thread Markus Schabel
Markus Schabel wrote:

Hi!

I'm running Samba 2.2.7a as Domain Controller, and when I try to add a
workstation to the domain, I get always the following logentry (and the
operation fails):

[2002/12/20 14:30:21, 0] passdb/pdb_ldap.c:pdb_getsampwnam(859)
  LDAP search "(&(uid=vmware-w2ks_)(objectclass=sambaAccount))" returned 
0 entries.
[2002/12/20 14:30:22, 0] 
rpc_server/srv_samr_nt.c:_api_samr_create_user(1929)
  User vmware-w2ks$ does not exist in system password file (usually 
/etc/passwd). Cannot add account without a valid local system user.

[2002/12/20 14:30:23, 0] passdb/pdb_ldap.c:pdb_getsampwnam(859)
  LDAP search "(&(uid=vmware-w2ks_)(objectclass=sambaAccount))" returned 
0 entries.
[2002/12/20 14:30:23, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
  get_md4pw: Workstation vmware-w2ks$: no account in domain

When trying to join the Domain I use the Administrator-Account (in
LDAP). Running the add-user-script as Administrator from the shell works
fine, but it doesn't work from via samba.

In my smb.conf I've tried some settings for domain admin group. I've
tried:
domain admin group = Administrator
domain admin group = Administrator @"Domain Admins"
(Administrator is member of the Group Domain Admins). When changing
ownership of a file to Administraot:Domain Admins, it works fine - I can
see the names of the user/group, so NSS-LDAP-Lookups work fine.

I've also tried to change uidNumber and gidNumber of Administrator to 0,
the same problem.

Any ideas what's wrong?

Found the problem: In my add-user-script there were some relative paths,
after changing them to be absolute it works.

--
Markus Schabel
++
| TGM - Die Schule der Technik   |
| IT-Service |
| A-1200 Wien, Wexstrasse 19-23  |
| Tel.: +43(1)33126/316 Fax: +43(1)33126/154 |
| 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] DISASTER - Samba corrupts shared directory data - URGENTLY

2002-12-20 Thread Fabiano Felix
Hi all,

I need a biggest help... I have the following environment:
- SuSE 8.0 with all patches;
- Samba (2.2.3a RPM-SuSE) + LDAP;
- OpenLDAP2 (2.0.23 RPM-SuSE);
- smbldap-tools (0.7 - TGZ).

All was functioning perfectly, but suddenly one of the Samba shares
presented problems: the files/directories are corrupted!!! No changes
are made in configuration, and appear the following datas in to the
shared directory:

Before:

pub:/home/DATA # l | more
total 100
drwxr-xr-x   24 root root 4096 Dec 20 09:37 ./
drwxr-xr-x  123 root root 4096 Dec 20 08:59 ../
drwxr-xr-x2 root users4096 Dec 20 09:37 Biblioteca/
drwxrwxrwx2 root users4096 Dec 20 09:37 Boletim de
Ocorrência/
drwxr-xr-x2 root users4096 Dec 20 09:37 CargaMaquinaTS/
drwxr-xr-x2 root users4096 Dec 20 09:37 Darf/
drwxr-xr-x3 root users4096 Dec 20 09:37 Dot/
drwxr-xr-x2 root users4096 Dec 20 09:37 EspecComerciais/
drwxrwxrwx5 root users8192 Dec 20 09:37 Etiquetas
Exportacao/
drwxrwx---2 root exportpa 4096 Dec 20 09:37 ExportPayment/
drwxr-xr-x2 root users4096 Dec 20 09:37 ExportSample/
drwxr-xr-x3 root users4096 Dec 20 09:36 Mdb/
drwxr-xr-x2 root users4096 Dec 20 09:37 Moedas/
drwxrwxrwx2 root users4096 Dec 20 10:55 NFs/
drwxrwx---2 root opsyst2  4096 Dec 20 09:33 Opsyst2/
drwxrwxrwx2 root users4096 Dec 20 09:37 Pulso/



After:

pub:/home/DATA.OLD # l | more
total 47084
drwxr-xr-x  11580 root users  356352 Dec 19 12:11 ./
drwxr-xr-x  123 root root 4096 Dec 20 08:59 ../
drwxr-xr-x2 root users4096 Dec 19 10:53 0/
drwxr-xr-x2 root users4096 Dec 19 10:53 1/
drwxr-xr-x2 root users4096 Dec 19 11:06 100/
drwxr-xr-x2 root users4096 Dec 19 11:03
101248cd8e964bc7f14d8e8e9782e152/
drwxr-xr-x2 root users4096 Dec 19 11:02 10149fd642f3b/
drwxr-xr-x2 root users4096 Dec 19 10:55
1020168bca14819b5b9265c8483b895e/
drwxr-xr-x2 root users4096 Dec 19 11:07
1023149d8bc19422f5165f76c3b812f1/
drwxr-xr-x2 root users4096 Dec 19 10:55 10265ed/
drwxr-xr-x2 root users4096 Dec 19 10:53 1027765b55d/
drwxr-xr-x2 root users4096 Dec 19 10:53 102b62a/
drwxr-xr-x2 root users4096 Dec 19 10:53
103c414240f1587767c5bcf43b4/
drwxr-xr-x2 root users4096 Dec 19 10:55 103d681b755da/
drwxr-xr-x2 root users4096 Dec 19 10:54 104/
drwxr-xr-x2 root users4096 Dec 19 10:57
1044b9756a8048a37a45ec7984784ac0/
drwxr-xr-x2 root users4096 Dec 19 10:55
1049667d4878eb8449937da544c093b4/
drwxr-xr-x2 root users4096 Dec 19 10:54
104a76c5568dcc86def788c04b9d6586/
drwxr-xr-x2 root users4096 Dec 19 10:54
1051ae47d9d43de38035a1f8b267f413/
drwxr-xr-x2 root users4096 Dec 19 10:53
10529e126094efa79b40cb8/
drwxr-xr-x2 root users4096 Dec 19 10:58
105d84323ce26fc0e4fa6c37ce9bc639/
drwxr-xr-x2 root users4096 Dec 19 11:05
105e54e644294cf6e7a6f7b7b/
drwxr-xr-x2 root users4096 Dec 19 10:54
105f92644e71ab42a9bc496f55f4e136/
drwxr-xr-x2 root users4096 Dec 19 10:57 1063c92c93da8/
drwxr-xr-x2 root users4096 Dec 19 10:58
106bbc5ab65a3c68484ad214207c4ce/
drwxr-xr-x2 root users4096 Dec 19 11:02
106dbc2191441caaf219843b44c322fd/
drwxr-xr-x2 root users4096 Dec 19 10:53
10799deecbeba388406a666efd1a6c2/
drwxr-xr-x2 root users4096 Dec 19 10:56 107b8925ef5f16e/
drwxr-xr-x2 root users4096 Dec 19 11:02
10823d1afa11aeba3d3a93127eb1a798/
drwxr-xr-x2 root users4096 Dec 19 10:58
108857646aa141893a58f3eec/
drwxr-xr-x2 root users4096 Dec 19 10:59
10a2a2bc918bfba9c1476cf4added0c/
drwxr-xr-x2 root users4096 Dec 19 10:54
10aaa05c5730e583ba4c681415bfd939/


It is only a part of the directory list (it is biggest), I could observe
that the generate directories are in numeric order (hexa). Was modified
too the owner of the files, being that the user that take ownership
doesn't was connected at moment. I could observe too that only the
"public" directories was affected (directories with rx permissions for
everyone).
The shared directory is an ext3+lvm (in the same mount point, there are
others samba shares that isn't affected). The log.smbd doesn't present
any error.

PLEASE, can someone help me?

Regards,

Fabiano


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



[Samba] Add Workstation to Domain - valid local system user?

2002-12-20 Thread Markus Schabel
Hi!

I'm running Samba 2.2.7a as Domain Controller, and when I try to add a
workstation to the domain, I get always the following logentry (and the
operation fails):

[2002/12/20 14:30:21, 0] passdb/pdb_ldap.c:pdb_getsampwnam(859)
  LDAP search "(&(uid=vmware-w2ks_)(objectclass=sambaAccount))" 
returned 0 entries.
[2002/12/20 14:30:22, 0] 
rpc_server/srv_samr_nt.c:_api_samr_create_user(1929)
  User vmware-w2ks$ does not exist in system password file (usually 
/etc/passwd). Cannot add account without a valid local system user.

[2002/12/20 14:30:23, 0] passdb/pdb_ldap.c:pdb_getsampwnam(859)
  LDAP search "(&(uid=vmware-w2ks_)(objectclass=sambaAccount))" 
returned 0 entries.
[2002/12/20 14:30:23, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
  get_md4pw: Workstation vmware-w2ks$: no account in domain

When trying to join the Domain I use the Administrator-Account (in
LDAP). Running the add-user-script as Administrator from the shell works
fine, but it doesn't work from via samba.

In my smb.conf I've tried some settings for domain admin group. I've
tried:
domain admin group = Administrator
domain admin group = Administrator @"Domain Admins"
(Administrator is member of the Group Domain Admins). When changing
ownership of a file to Administraot:Domain Admins, it works fine - I can
see the names of the user/group, so NSS-LDAP-Lookups work fine.

I've also tried to change uidNumber and gidNumber of Administrator to 0,
the same problem.

Any ideas what's wrong?

regards
Markus Schabel
++
| TGM - Die Schule der Technik   |
| IT-Service |
| A-1200 Wien, Wexstrasse 19-23  |
| Tel.: +43(1)33126/316 Fax: +43(1)33126/154 |
| eMail: [EMAIL PROTECTED]|
++

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


Re: [Samba] Re: Samba 3alpha20 Bugs (FreeBSD 4.6)

2002-12-20 Thread Bradley W. Langhorst
On Fri, 2002-12-20 at 07:45, Laurent Hofmann wrote:
> Yes but you should try to add a machine now, it worked for me with the
> machines added before migrating to alpha20, but any new machine added after
> can't log on...
> It seems that developpers said that we should now put spnego=yes...
I'm not sure who's saying what - however 
i can join machines to the domain with my current setup (spnego=no)

> > i've not tried to use the NT tools for user management.
> > (why would you want to?)
> 
> My goal is providing an easy access to the admin of a domain to little
> enterprises I can't teach  to them how to do it under Linux or
> FreeBSD...
You might have a look at webmin...
I hear that it is fairly easy to use and has a samba module.

best wishes!

brad
-- 
Bradley W. Langhorst <[EMAIL PROTECTED]>

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



[Samba] Re: Samba 3alpha20 Bugs (FreeBSD 4.6)

2002-12-20 Thread Laurent Hofmann
Yes but you should try to add a machine now, it worked for me with the
machines added before migrating to alpha20, but any new machine added after
can't log on...
It seems that developpers said that we should now put spnego=yes...

> i've not tried to use the NT tools for user management.
> (why would you want to?)

My goal is providing an easy access to the admin of a domain to little
enterprises I can't teach  to them how to do it under Linux or
FreeBSD...

Laurent




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



[Samba] Installation of SAMBA 2.2.7a

2002-12-20 Thread siegfried . olberding
Hello,

I had downloaded the samba 2.2.7a tarball, the pubkey and the
samba-2.2.7a.tar.asc files from your website.

The import of the samba-pubkey.asc works probably, but by the verify I get the
errormessage that no path to this signature is defined and the signature can't
verified.

The distribution of Linux is the SuSE 8.0 and I used this lines.

 gpg --import samba-pubkey.asc
 gunzip samba-latest.tar.gz
 mv samba-latest.tar samba-2.2.7a.tar
 gpg --verify samba-2.2.7a.tar.asc

kind regards

Siegfried Olberding

Kreissparkasse Wittmund
Benutzerservice
Dohuser Weg 34
26409 Wittmund
Tel.: 04462 / 987 - 363
Fax: 04462 / 987 - 109
eMail: [EMAIL PROTECTED]
Internet: http://www.sparkasse-wittmund.de


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



Re: [Samba] Re: Samba problems with Sco Openserver

2002-12-20 Thread kerravon
Hi John,
   I realised after that it wasn't a valid user so I replaced it
with a valid user account, still the same error message
occurs.

Adrian
- Original Message -
From: "John H Terpstra" <[EMAIL PROTECTED]>
To: "Adrian Stokes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 10:43 PM
Subject: Re: [Samba] Re: Samba problems with Sco Openserver


> On Thu, 19 Dec 2002, Adrian Stokes wrote:
>
> >
> > - Original Message -
> > From: Adrian Stokes
> > To: John H Terpstra
> > Sent: Wednesday, December 18, 2002 1:43 PM
> > Subject: Samba problems with Sco Openserver
> >
> >
> > Hi John,
> > I emailed that chap you suggested, just got an out of office
reply.
> > I think I'm halfway there though,  I ran the following
command
> >
> > #smbclient -U% -L localhost
>
> That command says:
>
> List resources on 'localhost' as user null and password null. ie:
> -Uusername%password, which are empty. ie: -U'nothing'%'nothing' == -U%.
>
> >
> > Added inetrface ip=192.168.x.x bcast= 192.168.x.x nmask=255.x.x.x
> > Session Setup Failed: ERRSRV - ERRbadpw (Bad password - name/password
> > pair in a Tree Connect or Session Setup are Invalid.)
>
> This means that your system lacks an account for the unix user that should
> be used to allow your clients to retrieve the browse list from the IPC$
> share. Please refer to man smb.conf and search for 'guest account'.
>
> >
> > So I had a look in the /etc/inetd.conf file and added the following two
> > lines
> >
> > netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd
> > netbios-ns dgram tcp nowait root /usr/local/samba/bin/nmbd nmbd
> >
>
> It is much better to run smbd and nmbd as Daemons, otherwise you may
> experience browsing problems. Running through inetd is possible but bit
> preferred.
>
> > then ran kill -HUP id_no
> >
> > re running the smbclient command above resulted in the same error
> > message, I can connect to the share from a windows client by
> > \\servername\sharename it asks for password and accepts it this time.
> > I'm still confused about the error message above but I seem to be making
> > headway. Any input you can give will be greatfully recieved.
> >
> > regards
> > Adrian
>
>
> - John T.
> --
> 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

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