Re: [Samba] Samba & Vista

2008-08-01 Thread Miguel Da Silva - Centro de Matemática

Mike Eggleston wrote:

The change I made in my vista boxes is:

Start->Run->secpol.msc
Local Policies->Security Options

set to:

Network Security: LAN Manager authentication level->Send LM & NTLM - use NTLMv2 
session security if negotiated


File->Exit

Mike


If the problem is related to user authentication and the protocol used 
in client-server negotiation, maybe could be of some help use "max 
protocol = LANMAN2" or "max protocol = NTLM".


And also try to use plain text passwords.

Greetings.
--
Miguel Da Silva
Administrador Junior de Sistemas Unix
Centro de Matemática - http://www.cmat.edu.uy
Facultad de Ciencias - http://www.fcien.edu.uy
Universidad de la República - http://www.rau.edu.uy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] "posix locking = no" - is it dangerous?!

2008-07-29 Thread Miguel Da Silva - Centro de Matemática

John Drescher escreveu:

http://lists.samba.org/archive/samba/2008-January/137529.html

I know for a fact that XP says its own local folders are read only
when they are not. This is  a feature of windows and I believe I have
seen a MS knowledge base article about this.

John


I've seen that too (I do not have the URL at hands right now) and it 
also gives a solution to the problem, but the solution is concerned 
about an Windows clients.


The idea was to use attrib command to change some information, but this 
command will not affect a file located in the Samba/NFS server. By the 
way, the message Windows gave me was something like "Access denied".


Greetings.
--
Miguel Da Silva
Administrador Junior de Sistemas Unix
Centro de Matemática - http://www.cmat.edu.uy
Facultad de Ciencias - http://www.fcien.edu.uy
Universidad de la República - http://www.rau.edu.uy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] "posix locking = no" - is it dangerous?!

2008-07-29 Thread Miguel Da Silva - Centro de Matemática
Dear users, I'm asking myself... what if I use "posix locking = no" to  
a share in a Samba server?!


Here goes 3 URL's describing the some problem I have right now:

http://lists.samba.org/archive/samba/2008-January/137529.html
http://lists.samba.org/archive/samba/2008-January/137437.html
http://blog.notreally.org/articles/2007/12/

The last one suggest a patch to the kernel code, but I do not want to  
touch anything at such level. I've been testing some "locking" options  
and could realize that "posix locking = no" brought me an work around  
to this problem.


But here comes a very serious issue: data consistency. And also, what  
kind of negative impacts could affect the server?!


Suggestions?!

Greetings.
--
Miguel Da Silva
Administrador Junior de Sistemas Unix
Centro de Matemática - http://www.cmat.edu.uy
Facultad de Ciencias - http://www.fcien.edu.uy
Universidad de la República - http://www.rau.edu.uy



This message was sent using IMP, the Internet Messaging Program.


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


Re: [Samba] Security tab is no longer available in Windows clients.

2008-07-10 Thread Miguel Da Silva - Centro de Matemática

Miguel Da Silva - Centro de Matemática wrote:
Dear users, some days ago a user of the local network told me that she 
was not able to change ACL's through Windows. I've done some tests and 
indeed, when I right click a file/folder that is on the Samba server, 
the "Security" tab is no longer available. It does appear when I 
right-click any local file.


The clients are running Windows XP Professional SP2 and the Samba server 
is being running on a Solaris 10 system. The system is already using ACL.


Any suggestion?!

Greetings.


I could track the problem down. It seems the option "protrocol LANMAN2" 
was causing te problem.


Does any one know more what this does?

Greetings.
--
Miguel Da Silva
Administrador Junior de Sistemas Unix
Centro de Matemática - http://www.cmat.edu.uy
Facultad de Ciencias - http://www.fcien.edu.uy
Universidad de la República - http://www.rau.edu.uy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Security tab is no longer available in Windows clients.

2008-07-03 Thread Miguel Da Silva - Centro de Matemática
Dear users, some days ago a user of the local network told me that she 
was not able to change ACL's through Windows. I've done some tests and 
indeed, when I right click a file/folder that is on the Samba server, 
the "Security" tab is no longer available. It does appear when I 
right-click any local file.


The clients are running Windows XP Professional SP2 and the Samba server 
is being running on a Solaris 10 system. The system is already using ACL.


Any suggestion?!

Greetings.
--
Miguel Da Silva
Administrador Junior de Sistemas Unix
Centro de Matemática - http://www.cmat.edu.uy
Facultad de Ciencias - http://www.fcien.edu.uy
Universidad de la República - http://www.rau.edu.uy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] /etc/fstab and windows share problem

2007-03-07 Thread Miguel Da Silva - Centro de Matemática

Dariusz Trzaska escreveu:

Hi,
I`ve got a problem with samba and /etc/fstab.
I have a second computer running Windows XP SP2 with Western Digital 
MyBook USB2 external hard disk attached. The Disk is shared over windows 
network with a label "My Book (J)".
I can manually mount this samba resource by typing "sudo mount -t smbfs 
-o fmask=777,dmask=777,guest '//win/My Book (J)' /media/MyBook", but I 
can't figure out how to mount it by using fstab...
The problem is with the disk label, as it contains three strings: "My", 
"Book" and "(J)".


I tried:
//win/My Book (J) /media/MyBook smbfs guest,dmask=777,fmask=777 0 0
and
'//win/My Book (J)' /media/MyBook smbfs guest,dmask=777,fmask=777 0 0

I also tried replacing ' with " but nothing has changed.

PS. Windows doesn't allow me to share the disk with one-word label... 
the ... (J) is always there.


Plz someone help me,
SaneOne


Are you using some mount daemon like autofs? If not, you could (like a 
last option) make a Bash script to mount this share when system boots.


I don't remember very well if /etc/fstab accept this "kind" of file 
system name to mount.


Good luck.
--
Miguel Da Silva
Administrador de Red
Centro de Matemática - http://www.cmat.edu.uy
Facultad de Ciencias - http://www.fcien.edu.uy
Universidad de la República - http://www.rau.edu.uy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] What does mean "lack of trust relationship"?

2007-02-27 Thread Miguel Da Silva - Centro de Matemática
Ladies and genttlemen, today I realized my Samba server has a problem. I 
had to create some new users and recieved this message after every try:


[2007/02/27 10:56:52, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 31987): pdb_get_methods_reload: failed to get pdb methods 
for backend tdbsam smbpasswd guest


[2007/02/27 10:56:52, 0] lib/util.c:log_stack_trace(1706)
  BACKTRACE: 3 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2a) [0x8020376a]
   #1 /lib/tls/libc.so.6(__libc_start_main+0xe2) [0xb7ccf852]
   #2 /usr/sbin/smbd [0x8003df81]
[2007/02/27 10:56:52, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
[2007/02/27 10:58:06, 0] passdb/pdb_interface.c:make_pdb_method_name(174)
  No builtin nor plugin backend for tdbsam smbpasswd guest found
[2007/02/27 10:58:06, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 32132): pdb_get_methods_reload: failed to get pdb methods 
for backend tdbsam smbpasswd guest


So, I checked smb.conf I adjusted "passdb backend" stanza to tdbsam 
(with no values since the default one is OK to me), but since then some 
users got out of the domain and some machines started complain they can 
not connect to some shared resources because there's no trust 
relationship between them and the server.


To solve the problem with users, I added them again (just a few users) 
to Samba and what is bothering me now is the problem related to 
machines. I've tried add them again to the domain, but no luck with that.


The complete Windows message is: 1789 The trust relationship between 
this workstation and the primary domain failed.


Any hints?

--
Miguel Da Silva
Administrador de Red
Centro de Matemática - http://www.cmat.edu.uy
Facultad de Ciencias - http://www.fcien.edu.uy
Universidad de la República - http://www.rau.edu.uy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba