Re: [expert] Strange problem with the users with Samba

2000-07-06 Thread Leopold Palomo

Thanks Bill for the answer, I thought that you had forgotten me.

No help, because I still have the problem. I thought the you had to put the
users there, but no. I will try to update to the last version.

Otherwise, thanks a lot.

Best regards,

Leo



Bill Shirley ha escrit:

 Leo,
 The smbusers files is used when the Windows logon and linux logon do not
 match.  If my Windows logon is xyz123 and my linux logon is bill then:

 bill = xyz123

 would map requests from windows user xyz123 to the linux user bill and would
 get user bill's access rights.

 Hope this helps,

 Bill




begin:vcard 
n:Palomo;Leopold
x-mozilla-html:TRUE
adr:;;Catalonia
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;-29952
fn:Leopold Palomo
end:vcard



RE: [expert] Strange problem with the users with Samba

2000-07-05 Thread Bill Shirley

Leo,
The smbusers files is used when the Windows logon and linux logon do not
match.  If my Windows logon is xyz123 and my linux logon is bill then:

bill = xyz123

would map requests from windows user xyz123 to the linux user bill and would
get user bill's access rights.


Hope this helps,

Bill

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Leopold Palomo
 Sent: Monday, July 03, 2000 6:17 PM
 To: [EMAIL PROTECTED]
 Cc: Bill Shirley
 Subject: Re: [expert] Strange problem with the users with Samba


 Dear Bill,
 I wouldn't want to disturb you with my poor knowleenge of
 samba, but I sent
 the last week the files that you asked me, and ...
 well, I only have a question.

 in the smbusers, have to be all the users, because I was
 surprised that I have
 been working with samba about 1 years and in the smbusers
 file there aren't
 any of the users that I use!! So, is this normal? , have I to
 change this
 file?


 Unix_name = SMB_name1 SMB_name2 ...
 root = administrator admin
 nobody = guest pcguest smbguest

 Docutech??? produ 


 Best regards, and thank's a lot for all.


 Leo






Re: [expert] Strange problem with the users with Samba

2000-07-03 Thread Leopold Palomo

Dear Bill,
I wouldn't want to disturb you with my poor knowleenge of samba, but I sent
the last week the files that you asked me, and ...
well, I only have a question.

in the smbusers, have to be all the users, because I was surprised that I have
been working with samba about 1 years and in the smbusers file there aren't
any of the users that I use!! So, is this normal? , have I to change this
file?


Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest

Docutech??? produ 


Best regards, and thank's a lot for all.


Leo



begin:vcard 
n:Palomo;Leopold
x-mozilla-html:TRUE
adr:;;Catalonia
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;-29952
fn:Leopold Palomo
end:vcard



Re: [expert] Strange problem with the users with Samba

2000-06-30 Thread Dan Westlake

I came in on the tail end of this so I don't know if this pertains to your problem
or if I'll be of much help.

I'm running LM 6.1 with Samba 2.07 and could access the Linux box fine from my
wifes Win95 machine but couldn't access it from my Win98 system. I forgot that the
encryped password setting in smb.conf. I made the appropriate registry change,
rebooted my Win98 system and can now access the Linux machine.

The details are here http://www.linuxdoc.org/HOWTO/SMB-HOWTO-7.html

I hope this helps.

Regards
Dan

- Original Message -
From: "Bill Shirley" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 30, 2000 1:29 AM
Subject: RE: [expert] Strange problem with the users with Samba


 I don't see anything wrong with your share, but I don't understand it
 either.  If "produ" is the only user that can access this share, why worry
 about user and group attributes?  Is this directory accessed from the linux
 side? Or is it made public in the global section?  Is "produ" in
 /etc/passwd?

 Send:

 ls -l /home/users/docutech
 ls -l /home/users/docutech/fitxers-docutech
 cat /etc/smbusers

 I don't know if additional info will shed any light on the subject.  You
 might also try joining the samba mailing list or searching the archives at:
 http://us2.samba.org/samba/archives.html

 Bill


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Leopold Palomo
  Sent: Thursday, June 29, 2000 5:50 PM
  To: [EMAIL PROTECTED]
  Cc: Bill Shirley
  Subject: Re: [expert] Strange problem with the users with Samba
 
 
  Bill Shirley ha escrit:
 
   You sure didn't provide much information!
  
   Send a:
   cat /etc/smb.conf
 
  All right, I'm sorry. I all the time complain about the
  people that don't
  send information and I do the same.
 
  [docutech]
   path = /home/users/docutech/fitxers-docutech
   valid users = produ
   admin users = produ
   write list = produ
   force user = docutech
   force group = users
   read only = No
 
  Any ideas??
 
  Thanks a lot for the interest.
 
  Best regards,
 
  Leo
 





Re: [expert] Strange problem with the users with Samba

2000-06-30 Thread Leopold Palomo

Bill Shirley ha escrit:

 I don't see anything wrong with your share, but I don't understand it
 either.  If "produ" is the only user that can access this share, why worry
 about user and group attributes?

Well, it's a bit complicated. I will try to explain the situation. I have a
linux box that works as a ftp server where a Xerox Docutech 135 is attached.
Yes, a photocopier (a big photocopier, for mass production) uses the linux box

as a "box" to save the jobs, and do it by ftp. Manage the files and the folder

with the photocopier is slow, and annoying. As the people at work only knows
M$ Windows I did a system that the people manage the jobs from a win box using

samba to manage the files in the directory of the docutech. The problem was
that from the win box I don't have any problems, but if I try to delete a job
from the docutech (that had been created or copied from windows/samba) I
cannot because the file has root owner.

It's worried because I think that is a security hole because samba writes a
file using root where the config say that has to be docutech owner.

Produ is a normal user in the linux box that only use the samba and has a
entry in /etc/passwd.

And /home/users/docutech is the home directory of the docutech user and
../fitxers-docutech a normal directory of docutech home directory.


And the cat /etc/smbusers

 Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest

Well, thanks a lot.

Leo



begin:vcard 
n:Palomo;Leopold
x-mozilla-html:TRUE
adr:;;Catalonia
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;-29952
fn:Leopold Palomo
end:vcard



RE: [expert] Strange problem with the users with Samba

2000-06-29 Thread Bill Shirley

You sure didn't provide much information!

Send a:
cat /etc/smb.conf
ls -l /path/up/to/share/name
ls -l /path/share/name

and maybe someone can help you. One of my shares look like this:

[billprivate]
comment = stuff for install/admin
path = /home/lan/shares/billprivate
public = no
browseable = no
guest only = no
writable = yes
force user = %U
force group = lanadmin
valid users = @lanadmin
map system = Yes
map hidden = Yes
map archive = Yes
available = yes

Hope this helps,
Bill


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Leopold Palomo
 Sent: Thursday, June 29, 2000 10:27 AM
 To: Expert
 Subject: [expert] Strange problem with the users with Samba
 
 
 Hi,
 
 I have installed at work Mdk 6.1 with the Samba 2.05a. 
 Everything works
 normally but I have realised of one big problem. I have a directory
 shared with the windows users and in the smb.conf I have a selected an
 option that say the force user = x for that share. Howeber, it
 does't have this behaviour and change the user to root. I 
 think that it
 can be a security hole, and I need help to solve this.
 
 Please, any ideas.
 
 Leo
 
 Best regards.
 
 Pd. I don't have tested that option to upgrade to the 2.07 version. In
 mdk 7.1 the version is older that the new (I think) and I 
 would like to
 know if I will have problems upgrading it. Thank's.
 




Re: [expert] Strange problem with the users with Samba

2000-06-29 Thread Leopold Palomo

Bill Shirley ha escrit:

 You sure didn't provide much information!

 Send a:
 cat /etc/smb.conf

All right, I'm sorry. I all the time complain about the people that don't
send information and I do the same.

[docutech]
 path = /home/users/docutech/fitxers-docutech
 valid users = produ
 admin users = produ
 write list = produ
 force user = docutech
 force group = users
 read only = No

Any ideas??

Thanks a lot for the interest.

Best regards,

Leo


begin:vcard 
n:Palomo;Leopold
x-mozilla-html:TRUE
adr:;;Catalonia
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;-29952
fn:Leopold Palomo
end:vcard



RE: [expert] Strange problem with the users with Samba

2000-06-29 Thread Zaleski, Matthew (M.E.)

I'm still a bit confused on your problem.  I had several Samba problems in
the same configuration area as well and unintentionally became quite
knowledgable at the million ways NOT to configure Samba.  Perhaps you could
provide a 'ls -l' of the dir itself plus its contents.

Here is an example of a locked-down directory on my system that is used for
development.  It was the best I could do with the notoriously poor security
in Windows.  I could have used masks of 0660 as well but most Windows boxes
seem intent on declaring everything executable (and this directory is not
accessed in Linux normally).

[SI]
comment = Source Integrity
browseable = yes
path = /data/SI
public = no
guest only = no
writable = yes
only user = no
write list = mzaleski, apalande, kboyd2, kvangord, jchen42
force user = mzaleski
force group = VDOuser
create mask = 0770
directory mask = 0770
force create mask = 0770
force directory mask = 0770
oplocks = True

 -Original Message-
 From: Leopold Palomo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 29, 2000 5:50 PM
 To: [EMAIL PROTECTED]
 Cc: Bill Shirley
 Subject: Re: [expert] Strange problem with the users with Samba
 
 
 Bill Shirley ha escrit:
 
  You sure didn't provide much information!
 
  Send a:
  cat /etc/smb.conf
 
 All right, I'm sorry. I all the time complain about the 
 people that don't
 send information and I do the same.
 
 [docutech]
  path = /home/users/docutech/fitxers-docutech
  valid users = produ
  admin users = produ
  write list = produ
  force user = docutech
  force group = users
  read only = No
 
 Any ideas??
 
 Thanks a lot for the interest.
 
 Best regards,
 
 Leo
 




RE: [expert] Strange problem with the users with Samba

2000-06-29 Thread Bill Shirley

I don't see anything wrong with your share, but I don't understand it
either.  If "produ" is the only user that can access this share, why worry
about user and group attributes?  Is this directory accessed from the linux
side? Or is it made public in the global section?  Is "produ" in
/etc/passwd?

Send:

ls -l /home/users/docutech
ls -l /home/users/docutech/fitxers-docutech
cat /etc/smbusers

I don't know if additional info will shed any light on the subject.  You
might also try joining the samba mailing list or searching the archives at:
http://us2.samba.org/samba/archives.html

Bill


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Leopold Palomo
 Sent: Thursday, June 29, 2000 5:50 PM
 To: [EMAIL PROTECTED]
 Cc: Bill Shirley
 Subject: Re: [expert] Strange problem with the users with Samba


 Bill Shirley ha escrit:

  You sure didn't provide much information!
 
  Send a:
  cat /etc/smb.conf

 All right, I'm sorry. I all the time complain about the
 people that don't
 send information and I do the same.

 [docutech]
  path = /home/users/docutech/fitxers-docutech
  valid users = produ
  admin users = produ
  write list = produ
  force user = docutech
  force group = users
  read only = No

 Any ideas??

 Thanks a lot for the interest.

 Best regards,

 Leo