RE: Samba y winxp

2006-06-10 Thread Daniel Vidal
Mil gracias por la ayuda, era lo primero, habia que hacer algunos
cambios en la seguridad local del winXP, desactivar las contrase;as
encriptadas.
Vaya que es todo un mundo.

Daniel


El vie, 09-06-2006 a las 20:27 -0400, Joelsy Porven Rubier escribió:
 
 
 -Mensaje original-
 De: Erik Hurtado Sepulveda (HE / ZAPTV) [mailto:[EMAIL PROTECTED]
 Enviado el: vie 09/06/2006 17:48
 Para: debian-user-spanish@lists.debian.org
 Asunto: RE: Samba y winxp
  
 quote
 Estimados amigos:
 Tengo un problema con el samba, ojala me puedan echar una mano.
 Uso debian stable e instale el samba de la misma rama, hasta ahi todo bien,
 copie el smb.conf del sever anterior que tenia en rh9 en el cual compartia
 informacion con pcs windows, pero cuando intento ingresar por windowsXP este
 me pide la contrase;a y el password pero no me permite ingresar, alguien ha
 tenido un problema similar, encontre un problema parecido en internet,
 desactivando el logon path solucionaria el problema, pero no pasa nada,
 Alguien tiene alguna direccion donde pueda buscar esto.
 
 Gracias
 
 Daniel
 quote
 
 Prueba con un script que esta en la documentacion de samba es un .reg para
 el xp, que deshabilita una encriptacion propietaria de M$, para que
 funcione, ahora no recuerdo como se llamaba pero buscandolo lo entontraras.
 
 
 hola
 
 Si no me equivoco, la cuestión es que windows espera  un un usuario y un 
 password encriptado, para poder autenticarte debes crear usuarios de samba 
 con ( smbpasswd -a usuario ) donde usuario debe ser uno de tu sistema.
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Samba y winxp

2006-06-09 Thread Daniel Vidal
Estimados amigos:
Tengo un problema con el samba, ojala me puedan echar una mano.
Uso debian stable e instale el samba de la misma rama, hasta ahi todo
bien, copie el smb.conf del sever anterior que tenia en rh9 en el cual
compartia informacion con pcs windows, pero cuando intento ingresar por
windowsXP este me pide la contrase;a y el password pero no me permite
ingresar, alguien ha tenido un problema similar, encontre un problema
parecido en internet, desactivando el logon path solucionaria el
problema, pero no pasa nada, Alguien tiene alguna direccion donde pueda
buscar esto.

Gracias

Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Samba y winxp

2006-06-09 Thread Erik Hurtado Sepulveda (HE / ZAPTV)
quote
Estimados amigos:
Tengo un problema con el samba, ojala me puedan echar una mano.
Uso debian stable e instale el samba de la misma rama, hasta ahi todo bien,
copie el smb.conf del sever anterior que tenia en rh9 en el cual compartia
informacion con pcs windows, pero cuando intento ingresar por windowsXP este
me pide la contrase;a y el password pero no me permite ingresar, alguien ha
tenido un problema similar, encontre un problema parecido en internet,
desactivando el logon path solucionaria el problema, pero no pasa nada,
Alguien tiene alguna direccion donde pueda buscar esto.

Gracias

Daniel
quote

Prueba con un script que esta en la documentacion de samba es un .reg para
el xp, que deshabilita una encriptacion propietaria de M$, para que
funcione, ahora no recuerdo como se llamaba pero buscandolo lo entontraras.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Samba y winxp

2006-06-09 Thread Joelsy Porven Rubier



-Mensaje original-
De: Erik Hurtado Sepulveda (HE / ZAPTV) [mailto:[EMAIL PROTECTED]
Enviado el: vie 09/06/2006 17:48
Para: debian-user-spanish@lists.debian.org
Asunto: RE: Samba y winxp
 
quote
Estimados amigos:
Tengo un problema con el samba, ojala me puedan echar una mano.
Uso debian stable e instale el samba de la misma rama, hasta ahi todo bien,
copie el smb.conf del sever anterior que tenia en rh9 en el cual compartia
informacion con pcs windows, pero cuando intento ingresar por windowsXP este
me pide la contrase;a y el password pero no me permite ingresar, alguien ha
tenido un problema similar, encontre un problema parecido en internet,
desactivando el logon path solucionaria el problema, pero no pasa nada,
Alguien tiene alguna direccion donde pueda buscar esto.

Gracias

Daniel
quote

Prueba con un script que esta en la documentacion de samba es un .reg para
el xp, que deshabilita una encriptacion propietaria de M$, para que
funcione, ahora no recuerdo como se llamaba pero buscandolo lo entontraras.


hola

Si no me equivoco, la cuestión es que windows espera  un un usuario y un 
password encriptado, para poder autenticarte debes crear usuarios de samba con 
( smbpasswd -a usuario ) donde usuario debe ser uno de tu sistema.




Re: [Samba] PDC + WinXP + Noms de fichiers trrrrrrrop longs

2005-02-18 Thread Raph
 N'est-ce pas le paramètre mangled stack à tuner ?

Bonne question ! Je crois surtout que c'est une limitation du filesystem 
d'XP ... Qqun confirme ?




-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Samba] PDC + WinXP + Noms de fichiers trrrrrrrop longs

2005-02-18 Thread Laurent CARON
Raph a écrit :
N'est-ce pas le paramètre mangled stack à tuner ?

Bonne question ! Je crois surtout que c'est une limitation du filesystem 
d'XP ... Qqun confirme ?



limitation de path à 255 caracteres il me semble
non?
--
Vous ne pouvez pas douter sérieusement des choses extérieures dont
l'existence nous est révélée par nos sens, car vous marchez sur la
terre.
-+- Pierre Gassendi (1592-1655) -+-
--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


[Samba] PDC + WinXP + Noms de fichiers trrrrrrrop longs

2005-02-17 Thread Raph
Salut,
J'ai un PDC (sous sarge) qui fonctionne trés bien. Mon souci : un des
utilisateurs du réseau a pris l'habitude de créer des arborescences trés
profondes et il sauvegarde des mails directement dans son répertoire, ce qui
génère parfois des noms de fichiers énorrmes. Du coup, à l'ouverture de
session, XP dit qu'il ne peut pas accéder à tel ou tel fichier et coupe la
synchro du profil, ce qui se traduit par un nouveau profil vierge à chaque
login !
Une idée pour éviter ça ? J'ai essayé de l'éduquer, mais le problème est
récurrent ... :((
Merci pour le coup de main.
Raph






-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: samba y winxp (SOLUCIONADO)

2003-10-22 Thread Dani Chaves

trujo wrote:


El mar, 21-10-2003 a las 20:44, Dani Chaves escribió:
 

Pues he probado lo que me has dicho y nada. Me sigue diciendo que sólo 
root puede desmontarlos. He estado buscando por ahí y me he encontrado 
con el programa Komba y funciona a la perfección: puedo montar y 
desmontar como user a mi antojo.
Por otra parte, he añadido el cuenta de invitado que me has dicho. En el 
status de swat veo que los usuarios conectan con el ordenador pero 
siguen sin poder entrar en los recursos compartidos. Concretamente dice 
esto (desde WinXP): No tiene acceso a //Debian\/home/dani/smb ...bla bla 
bla. ¿Tiene algo que ver el hecho de las barras \/ (parece una UVE pero 
no lo es) a la hora de entrar.
   


si en winxp, en ejecutar pones \\nombremaquina\nombreusuario
deberia (despues de pedirte la clave) conectarse, claro el xp tiene la
pega de que siempre se identifica con el nombre que hayas puesto de
usuario, por lo que te podras conectar a los recursos que se llamen
igual o que no tengal validuser= %s.
tambien tienes que mirar si tienes bien creadas las claves de smb, usa
smbpasswd nombreusuario si falla es que no has creado la base de datos
y tienes que usar smbpasswd -a nombreusuario para añadir el usuario al
fichero de claves.

 


Ya he descubierto el problema.


[/home/dani/smb]
   comment = samba
   path = /home/dani/smb
   read only = No 


Creo que es al llamar al recurso con las barras porque lo he puesto de 
esta manera y ya funciona.

[samba]
  comment = samba
  path = /home/dani/smb
  read only = No
Ha sido un error bastante tonto. Gracias *trujo* por tus comentarios.



Re: samba y winxp

2003-10-21 Thread trujo
El lun, 20-10-2003 a las 17:30, Dani Chaves escribió:
 Hola a todos:
 Instale Debian Sid hace un par de semanas después de largos años con 
 windows (Ya era hora). Hasta el momento todo funciona bastante bien 
 aunque tengo un par de problemillas, concretamente con samba.
 
 1: Tengo una red local con tres pcs, uno con debian y los otros dos con 
 windows. He definido las reglas en fstab para poder montarlos (incluso 
 de forma automática) siendo un usuario, pero cuando intento desmontarlos 
 me dice que sólo root puede hacerlo. Los puntos de montaje estan en mi 
 directorio home y he probado a suidear (¿se dice así?) smbumount y nada. 
 ¿Alguién ha sido capaz de hacer esto?
 
Creo que el problema esta en que si las incluyes en el fstab y no les
pones el parametro noauto las monta automaticamente en el inicio como
usuario root, por lo que solo el usuario root podra desmontarlas.
Una solución seria poneler noauto,users y en tu .bashrc (o el que sea
que no lo se muy bien) añadir la orden mount pertinente.

 2: El segundo problema es que no soy capaz de acceder a los recursos 
 compartidos desde Win XP. Me explico. El pc con debian aparece en la 
 red, incluso puedo entrar en él para ver que recursos tiene. El problema 
 se produce al intentar acceder a los directorios compartidos. He probado 
 el parche del registro del xp, passwords encriptados y no encriptados, 
 security USER y SHARE, activar y desactivar wins, y nada, no hay manera. 
 La versión de samba es la 3.0. Os dejo el smb.conf  (es muy sencillito).
 
 Gracias de antemano.
 
 [global]
 workgroup = NOSFERATU
 server string = %h server (Samba %v)
 security = SHARE
 invalid users = root
 
añade al sistema un usuario como invitado
guest account = nobody

 [/home/dani/smb]
 comment = samba
 path = /home/dani/smb
 read only = No
 guest ok = Yes
 
 [homes]
 valid users = %S
 read only = No
 browseable = No


-- 
Por favor, NO utilice formatos de archivo  propietarios para el
intercambio de  documentos, como DOC y XLS, sino HTML, RTF, TXT,
CSV o cualquier otro que no obligue a utilizar un programa de un
fabricante  concreto para tratar la información contenida en él.
SALUD



Re: samba y winxp

2003-10-21 Thread Dani Chaves

trujo escribió:


El lun, 20-10-2003 a las 17:30, Dani Chaves escribió:
 


Hola a todos:
Instale Debian Sid hace un par de semanas después de largos años con 
windows (Ya era hora). Hasta el momento todo funciona bastante bien 
aunque tengo un par de problemillas, concretamente con samba.


1: Tengo una red local con tres pcs, uno con debian y los otros dos con 
windows. He definido las reglas en fstab para poder montarlos (incluso 
de forma automática) siendo un usuario, pero cuando intento desmontarlos 
me dice que sólo root puede hacerlo. Los puntos de montaje estan en mi 
directorio home y he probado a suidear (¿se dice así?) smbumount y nada. 
¿Alguién ha sido capaz de hacer esto?


   


Creo que el problema esta en que si las incluyes en el fstab y no les
pones el parametro noauto las monta automaticamente en el inicio como
usuario root, por lo que solo el usuario root podra desmontarlas.
Una solución seria poneler noauto,users y en tu .bashrc (o el que sea
que no lo se muy bien) añadir la orden mount pertinente.

 

2: El segundo problema es que no soy capaz de acceder a los recursos 
compartidos desde Win XP. Me explico. El pc con debian aparece en la 
red, incluso puedo entrar en él para ver que recursos tiene. El problema 
se produce al intentar acceder a los directorios compartidos. He probado 
el parche del registro del xp, passwords encriptados y no encriptados, 
security USER y SHARE, activar y desactivar wins, y nada, no hay manera. 
La versión de samba es la 3.0. Os dejo el smb.conf  (es muy sencillito).


Gracias de antemano.

[global]
   workgroup = NOSFERATU
   server string = %h server (Samba %v)
   security = SHARE
   invalid users = root

   


añade al sistema un usuario como invitado
guest account = nobody

 


[/home/dani/smb]
   comment = samba
   path = /home/dani/smb
   read only = No
   guest ok = Yes

[homes]
   valid users = %S
   read only = No
   browseable = No
   




 

Pues he probado lo que me has dicho y nada. Me sigue diciendo que sólo 
root puede desmontarlos. He estado buscando por ahí y me he encontrado 
con el programa Komba y funciona a la perfección: puedo montar y 
desmontar como user a mi antojo.
Por otra parte, he añadido el cuenta de invitado que me has dicho. En el 
status de swat veo que los usuarios conectan con el ordenador pero 
siguen sin poder entrar en los recursos compartidos. Concretamente dice 
esto (desde WinXP): No tiene acceso a //Debian\/home/dani/smb ...bla bla 
bla. ¿Tiene algo que ver el hecho de las barras \/ (parece una UVE pero 
no lo es) a la hora de entrar.




Re: samba y winxp

2003-10-21 Thread trujo
El mar, 21-10-2003 a las 20:44, Dani Chaves escribió:
 
 Pues he probado lo que me has dicho y nada. Me sigue diciendo que sólo 
 root puede desmontarlos. He estado buscando por ahí y me he encontrado 
 con el programa Komba y funciona a la perfección: puedo montar y 
 desmontar como user a mi antojo.
 Por otra parte, he añadido el cuenta de invitado que me has dicho. En el 
 status de swat veo que los usuarios conectan con el ordenador pero 
 siguen sin poder entrar en los recursos compartidos. Concretamente dice 
 esto (desde WinXP): No tiene acceso a //Debian\/home/dani/smb ...bla bla 
 bla. ¿Tiene algo que ver el hecho de las barras \/ (parece una UVE pero 
 no lo es) a la hora de entrar.
si en winxp, en ejecutar pones \\nombremaquina\nombreusuario
deberia (despues de pedirte la clave) conectarse, claro el xp tiene la
pega de que siempre se identifica con el nombre que hayas puesto de
usuario, por lo que te podras conectar a los recursos que se llamen
igual o que no tengal validuser= %s.
tambien tienes que mirar si tienes bien creadas las claves de smb, usa
smbpasswd nombreusuario si falla es que no has creado la base de datos
y tienes que usar smbpasswd -a nombreusuario para añadir el usuario al
fichero de claves.

-- 
Por favor, NO utilice formatos  de archivo  propietarios para el
intercambio de  documentos, como DOC y XLS, sino HTML, RTF, TXT,
CSV o cualquier otro que no obligue a utilizar un programa de un
fabricante  concreto para tratar la información contenida en él.
SALUD






samba y winxp

2003-10-20 Thread Dani Chaves

Hola a todos:
Instale Debian Sid hace un par de semanas después de largos años con 
windows (Ya era hora). Hasta el momento todo funciona bastante bien 
aunque tengo un par de problemillas, concretamente con samba.


1: Tengo una red local con tres pcs, uno con debian y los otros dos con 
windows. He definido las reglas en fstab para poder montarlos (incluso 
de forma automática) siendo un usuario, pero cuando intento desmontarlos 
me dice que sólo root puede hacerlo. Los puntos de montaje estan en mi 
directorio home y he probado a suidear (¿se dice así?) smbumount y nada. 
¿Alguién ha sido capaz de hacer esto?


2: El segundo problema es que no soy capaz de acceder a los recursos 
compartidos desde Win XP. Me explico. El pc con debian aparece en la 
red, incluso puedo entrar en él para ver que recursos tiene. El problema 
se produce al intentar acceder a los directorios compartidos. He probado 
el parche del registro del xp, passwords encriptados y no encriptados, 
security USER y SHARE, activar y desactivar wins, y nada, no hay manera. 
La versión de samba es la 3.0. Os dejo el smb.conf  (es muy sencillito).


Gracias de antemano.

[global]
   workgroup = NOSFERATU
   server string = %h server (Samba %v)
   security = SHARE
   invalid users = root

[/home/dani/smb]
   comment = samba
   path = /home/dani/smb
   read only = No
   guest ok = Yes

[homes]
   valid users = %S
   read only = No
   browseable = No



Re: Printer Lexmark Z55 dan HP 1200 series via samba di winxp

2003-09-25 Thread tuntjepp
coba pake cupsysd




Printer Lexmark Z55 dan HP 1200 series via samba di winxp

2003-09-23 Thread Deni Wahyu
Ass. wr. wb

Debianer

Printer Lexmark Z55
Ada yang berhasil nge-print di lexmark Z55 usb ? saya sudah ngikutin
how-to nya disini
http://www.linuxprinting.org/pipermail/lexmark-list/2003q1/001502.html 
si printer diam dengan tenang, 

$ cat /var/log/lpr.log

Sep 19 13:04:27 pengadaan lpd[2825]: restarting lp
Sep 19 13:04:28 pengadaan last message repeated 3 times
Sep 19 13:04:29 pengadaan lpd[2825]: lp: job could not be printed 
(cfA019pengadaan)
Sep 19 13:04:30 pengadaan lpd[2825]: mail sent to user deniw about job stdin on 
printer lp (FATALERR)

Printer HP 1200 series di winxp via samba
Sewaktu konek debian via paralel/usb, sukses nge-print dengan driver
PostScript, begitu printer di pindah ke winxp, dikonek via samba,
printer cuman kedap-kedip, status di printer printing tapi gak
nge-print :(, musti ngapain lagi nih ? tulng 

note :
usblp di build ke kernel, 
setup printer pake apsfilter, 
print daemon pake lpd.

-- 
wassalam
d_wahyu


pgp7Ba6vHk25j.pgp
Description: PGP signature


samba pdcund winxp

2003-01-16 Thread Thomas Lusar
Hallo,

ich habe Samba als PDC eingerichtet, WinXP an der Domäne angemeldet. Soweit 
so gut. Allerdings kapier ich das mit den Benutzerprofilen von nicht so 
ganz. -- 'linux magazin 2/2003 S38ff.'
Wenn ich mich mit dem Benutzer ein zweites mal an der Win Kiste anmelde, 
kommt die Meldung, dass weder ein Servergespeichertes Profil, noch ein 
lokales Profil gefunden wurde. :(


[global]
..
logon path = \\netbiosname\samba\profile\%U
..

[profile]
path = /home/samba/profiles
..
..

Wo muss ich denn nun suchen, linux oder eher ein Windows Prob...??
Bin für jeden Tipp dankbar.




--
Häufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: samba pdcund winxp

2003-01-16 Thread Peter Blancke
Am 16.01.2003 17:55:37, Thomas Lusar schrieb:

 ich habe Samba als PDC eingerichtet, WinXP an der Domäne angemeldet. Soweit 
 so gut. Allerdings kapier ich das mit den Benutzerprofilen von nicht so 
 ganz. -- 'linux magazin 2/2003 S38ff.'
 Wenn ich mich mit dem Benutzer ein zweites mal an der Win Kiste anmelde, 
 kommt die Meldung, dass weder ein Servergespeichertes Profil, noch ein 
 lokales Profil gefunden wurde. :(
 
 
 [global]
 ..
 logon path = \\netbiosname\samba\profile\%U

Das muss \\netbiosname\profile\%U heissen.

 [profile]
 path = /home/samba/profiles

Und darin legst Du die Verzeichnisse nach den Benutzernamen an. Die
Rechte der Verzeichnisse sollten 700 sein. Ausserdem muss ein
Benutzer ueber den Pfad an dieses Verzeichnis herankommen.

Gruss

Peter Blancke

-- 
Nachtwaechter ist der Wahnsinn, weil er wacht...


--
Häufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: samba pdcund winxp

2003-01-16 Thread Ruediger Pretzlaff
On Thu, Jan 16, 2003 at 05:55:37PM +0100, Thomas Lusar wrote:
 Hallo,
 
 ich habe Samba als PDC eingerichtet, WinXP an der Domäne angemeldet. Soweit 
 so gut. Allerdings kapier ich das mit den Benutzerprofilen von nicht so 
 ganz. -- 'linux magazin 2/2003 S38ff.'
 Wenn ich mich mit dem Benutzer ein zweites mal an der Win Kiste anmelde, 
 kommt die Meldung, dass weder ein Servergespeichertes Profil, noch ein 
 lokales Profil gefunden wurde. :(
 
 
 [global]
 ..
 logon path = \\netbiosname\samba\profile\%U
 ..
 
 [profile]
 path = /home/samba/profiles
 ..
 ..
 
 Wo muss ich denn nun suchen, linux oder eher ein Windows Prob...??
 Bin für jeden Tipp dankbar.

Hier auf der Liste musst du suchen ;-)
Ich meine im Dezember war dieses Thema schon mal.
Es gibt beim Samba 2 Parameter die auf Yes gesetzt sind,
die musst du in deiner smb.conf eintragen mit no.

Falls du die Mails nicht hast sag bescheid ich such die noch mal raus.

Gruss
  Rüdiger

-- 
Rüdiger Pretzlaff - Frintroper Strasse 371 - 45359 Essen 
http://www.pretzlaff.info - http://www.ruediger-pretzlaff.de
[EMAIL PROTECTED] - Tel: 0700 - LINUXTEAM
mobil: 0174 588 31 40 


-- 
Häufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Samba and WinXP (user or share?)

2002-11-24 Thread ernst

Hi

I'm running mixed environtment myself, and I have the user option and
password encryption, vorks fine from NT, win9x, win2000 and xp.

If u don't want to use password and/or user, then u scould use the share
option. I have tryed that too but I like the password authentication.

I guess u have looked at man smb.conf? If not, u scould;)

Good Loock

/ernst


On Sat, 23 Nov 2002, Bill Moseley wrote:

 I've tried both user and share level access with WinXP and cannot get it to
 connect to a Samba share (I can get a Win95 to connect with share access).
 I've tried encrypted and non-encrypted passwords (in smb.conf).  I have not
 tried the registry hack yet to turn off XP encryption.

 This is the Home version of XP.

 Should I be trying to get share or user level access to work.  The person
 using the XP machine doesn't want to be bothered with passwords when
 accessing the share (or when starting the XP machine).

 Any tips no how to configure this?  All they want is a directory in they
 $HOME directory available for read and write access from the XP machine.

 Thanks,
 --
 Bill Moseley
 mailto:[EMAIL PROTECTED]


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Samba and WinXP (user or share?)

2002-11-23 Thread Bill Moseley
I've tried both user and share level access with WinXP and cannot get it to
connect to a Samba share (I can get a Win95 to connect with share access).
I've tried encrypted and non-encrypted passwords (in smb.conf).  I have not
tried the registry hack yet to turn off XP encryption.

This is the Home version of XP.

Should I be trying to get share or user level access to work.  The person
using the XP machine doesn't want to be bothered with passwords when
accessing the share (or when starting the XP machine).

Any tips no how to configure this?  All they want is a directory in they
$HOME directory available for read and write access from the XP machine.

Thanks,
-- 
Bill Moseley
mailto:[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




samba und WinXP

2002-09-03 Thread Ulrich Wiederhold

Hallo,
ich bekomme mein Netzwerk zwischen Linux mit Samba und XP nicht ans
laufen.

Folgendes habe ich getan:
1. Firewallregeln alle auf Accept (/etc/init.d/iptables clear)
2. netstat -lnp | grep mbd
tcp0  0 192.168.1.10:1390.0.0.0:* LISTEN  6087/smbd   
tcp0  0 192.168.1.10:4450.0.0.0:* LISTEN  6087/smbd   
udp65432  0 0.0.0.0:137 0.0.0.0:* 24692/nmbd  
udp64972  0 0.0.0.0:138 0.0.0.0:* 24692/nmbd

in log.smbd:
[2002/09/03 13:14:18, 0] smbd/server.c:main(786)
  smbd version 2.999+3.0cvs20020827-1 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/09/03 13:14:18, 0] param/loadparm.c:service_ok(2221)
  No path in service Oki - using /tmp

in log.nmbd:
[2002/09/03 13:15:55, 0] lib/interface.c:load_interfaces(216)
  WARNING: no network interfaces found

allerdings zeigt ifconfig eth1:
eth1  Protokoll:Ethernet  Hardware Adresse 00:A0:C9:01:AC:9F  
  inet Adresse:192.168.1.10  Bcast:192.168.1.255
  Maske:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1057 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2650 errors:0 dropped:0 overruns:2622 carrier:0
  Kollisionen:0 Sendewarteschlangenlänge:100 
  RX bytes:121098 (118.2 KiB) TX bytes:383622 (374.6 KiB)
  Interrupt:4 Basisadresse:0x4000 
  
3. Versuch, eine Verbindung aufzubauen vom XP-Rechner aus (ping
funktioniert in beide Richtungen) bringt keine neuen Log-Meldungen und
unter Windows nur die Fehlermeldung:
[...]
Die Liste der Server in dieser Arbeitsgruppe ist zurzeit nicht
verfügbar.

Der Windowsrechner ist mit der festen IP 192.168.1.11 konfiguriert, mask
255.255.255.0, kein Standardgateway, kein DNS- und kein WINS-Server.
Installiert sind:
Client für MS-Netzwerke
Datei- und Druckfreigabe für MS-Netzwerke
TCP/IP

Ich kann mit den Fehlermeldungen nicht allzuviel anfangen. Meine
smb.conf folgt im Anhang.

Gruß
Uli

# /etc/samba/smb.conf:
# Global parameters
[global]
bind interfaces only = yes
interfaces = 192.168.1.10 127.
hosts allow = 192.168.1. 127.
workgroup = XP
server string = %h server (Samba %v)
load printers = yes
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
%*Retype\snew\sUNIX\spassword:* %%n\n .
syslog = 0
max log size = 1000
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096
dns proxy = no
invalid users = root
security = user
os level = 65
;   domain master browser = yes
prefered master = yes
wins support = no

[homes]
comment = Home Directories
public = yes
browseable = no
writeable = yes

[ftp]
comment = ftp
path = /ftp
valid users = fzzgrr
public = no
writeable = yes
create mask = 0750
directory mask = 0750

[Oki]
comment = Oki
read only = no
create mask = 0700
guest ok = no
printable = Yes
printer name = Oki
locking = no
oplocks = no
share modes = no

## eof smb.conf

-- 
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: samba und WinXP

2002-09-03 Thread Rainer Ellinger

Ulrich Wiederhold schrieb:
   No path in service Oki - using /tmp

Klar und verständlich, oder?

 smb.conf folgt im Anhang.
 interfaces = 192.168.1.10 127.

interfaces = 192.168.1.10/24 127.0.0.1/8

127. ist kein Interface und keine gültige IP. Die Angabe der 
Netzmaske erlaubt dem nmbd den Broadcast richtig zu erkennen und 
auszuwerten.

 hosts allow = 192.168.1. 127.

hosts allow = 192.168.1.0/24 127.0.0.0/8

Ähnlich wie bei den Interfaces, noch die Netzmaske definieren. Die 
meisten heutigen Dienste arbeiten am besten mit Classless-Notation 
(CIDR). 

Oder zum Testen erst mal auskommentieren. Wenn netstat zeigt, dass 
keine smbd Bindung an andere Interfaces existiert, dann ist das nicht 
zwingend notwendig - höchstens eine späterer Sicherheitsgurt.

 workgroup = XP

Prüfen, dass auch die Clients diesen Workgroup-Namen verwenden.

-- 
[EMAIL PROTECTED]


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: samba und WinXP

2002-09-03 Thread Ulrich Wiederhold

Hallo Rainer,
funktioniert jetzt. Danke.

* Rainer Ellinger [EMAIL PROTECTED] [020903 14:13]:
 Ulrich Wiederhold schrieb:
No path in service Oki - using /tmp
 
 Klar und verständlich, oder?

Ja. Habe in der Doku auch die Lösung dafür gefunden. Daran scheiterte
der Verbindungsaufbau jedoch nicht. (Ich hatte das nur der
vollständigkeit halber hier gepostet.)

 hosts allow = 192.168.1.0/24 127.0.0.0/8
 
 Ähnlich wie bei den Interfaces, noch die Netzmaske definieren. Die 
 meisten heutigen Dienste arbeiten am besten mit Classless-Notation 
 (CIDR). 

Danke. Aber warum muß ich bei localhost das ganze Netz angeben, wo ich
doch eigentlich nur eine IP zulassen müßte?

 zwingend notwendig - höchstens eine späterer Sicherheitsgurt.
Als solcher war's auch gedacht.

Allerdings sind jetzt noch ein paar Fragen aufgetaucht.
Ich starte smbd und nmbd über xinetd. Ich kann dort nur netbios-ssn
mittels bind an die LAN-IP binden. Sobald ich netbios-ns binden möchte,
kommt kein Verbindungsaufbau mehr zustande. Funktioniert das nicht oder
mache ich was falsch? Hier der Auszug aus /etc/xinetd.conf:

service netbios-ns
{
flags = REUSE NAMEINARGS
socket_type   = dgram
protocol  = udp
#bind  = 192.168.1.10
only_from = 192.168.1.0/24 127.0.0.0/8
wait  = yes
user  = root
server= /usr/sbin/tcpd
server_args   = /usr/sbin/nmbd -a
}


Beim Anpassen der Firewall ist mir außerdem aufgefallen, daß XP nach dem
Connecten ein tcp SYN auf port 113 des Samba-Servers schickt, also
identd abfragt. Kann ich das XP abgewöhnen? Welchen Sinn soll das
machen?


Mir ist aufgefallen, daß der Owner des smbd-Prozesses bei gleicher PID wechselt,
wieso?
Folgende Ausgaben lagen innerhalb einiger Sekunden:
fzzgrr@home:~$ ps aux | grep mbd
root  9093  0.0  0.6  3980 1756 ?S15:54   0:00 nmbd -a
root  9094  0.1  1.1  6000 2848 ?S15:54   0:01 smbd -a
fzzgrr@home:~$ ps aux | grep mbd
root  9093  0.0  0.6  3980 1756 ?S15:54   0:00 nmbd -a
fzzgrr9094  0.1  1.1  6032 2912 ?S15:54   0:01 smbd -a

Vielen Danke für die Hilfe,
Gruß
uli


-- 
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: samba und WinXP

2002-09-03 Thread Rainer Ellinger

Ulrich Wiederhold schrieb:
  hosts allow = 192.168.1.0/24 127.0.0.0/8
 Danke. Aber warum muß ich bei localhost das ganze Netz angeben, wo
 ich doch eigentlich nur eine IP zulassen müßte?

Weil es das geringste Nebenwirkungspotential hat.

 Ich starte smbd und nmbd über xinetd. Ich kann dort nur netbios-ssn
 mittels bind an die LAN-IP binden. Sobald ich netbios-ns binden
 möchte, kommt kein Verbindungsaufbau mehr zustande. Funktioniert das

Ich glaube nicht, dass Du das Funktionsspektrum des xinetd benötigst. 
Der normale inetd ist auch nicht schlechter, dafür aber problemloser in 
die Debian-Installation integriert. Während Du beim xinetd vieles von 
Hand machst. Letztendlich bleibt nur Arbeit mit Fehlerpotential ohne 
jeden wirklichen Nutzen. Diese Sicherheitsstrategie erinnert an die 
Frage: Hat man weniger Autounfälle, wenn man statt einem gleichzeitig 
zwei oder drei Sicherheitsgurte anlegt?

 service netbios-ns
 #bind  = 192.168.1.10
 only_from = 192.168.1.0/24 127.0.0.0/8

Der nmbd möchte gerne auf allen Schnittstellen horchen und entscheidet 
entsprechend der Konfiguration in smb.conf selbst, welche Broadcasts 
für ihn wichtig sind und auf welchen Schnittstellen er antwortet.

 Beim Anpassen der Firewall ist mir außerdem aufgefallen, daß XP nach
 dem Connecten ein tcp SYN auf port 113 des Samba-Servers schickt,
 also identd abfragt. Kann ich das XP abgewöhnen? 

Frage Microsoft.

 Mir ist aufgefallen, daß der Owner des smbd-Prozesses bei gleicher
 PID wechselt, wieso?

Weil es gut so ist.

Der Daemon läuft mit den Rechten, die sich aus den Einstellungen in der 
smb.conf für den an diesem Daemon angemeldeten Benutzer ergeben.

-- 
[EMAIL PROTECTED]


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Samba with WinXP

2002-06-12 Thread Ernst-Magne Vindal
On Wed, 2002-06-12 at 04:49, ThanhVu Nguyen wrote:

Hi
Try to add the user you are using on XP in samba, that schould solve the
problem.

 Hello, 
 
 I have problem with connecting to the samba server on my Debian box from
 a WinXP machine.  
 
 I can connect to the samba server from all my other Linux box but I just
 can't connect to it from an XP machine.  I can see the Debian Samba
 server listing in the XP's WorkGroup place.   I got a message account
 not authorized to log in from this station when I try to connect. 
 
 Is there any different setting in WinXP , some registry edit etc ?  
 
 tia 
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
-- 
/ernst
Opera Sofrware ASA
phone: +47 24164366 / 99042816 fax: +47 24164002


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Samba with WinXP

2002-06-12 Thread Ernst-Magne Vindal
On Wed, 2002-06-12 at 08:43, Matthew Healy wrote:

Interesting
I've seen something similar with win95/98. There is also another
solution one can use, depending on the networkpolicy. If you change
smb.conf security=user - to security=share then you schould also be
able to connect.


 I've seen this before and the following link(watch the wrap-around)
 sorted it. 
 
 http://groups.google.com/groups?hl=enlr=ie=UTF8oe=UTF8selm=9t2qf7%24
 2do%241%40news.ox.ac.uk
 
 Matt
 
 Enjoy!
 
 -Original Message-
 From: Ernst-Magne Vindal [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 12 June 2002 3:48 PM
 To: Debian User List
 Subject: Re: Samba with WinXP
 
 
 On Wed, 2002-06-12 at 04:49, ThanhVu Nguyen wrote:
 
 Hi
 Try to add the user you are using on XP in samba, that schould solve the
 problem.
 
  Hello,
  
  I have problem with connecting to the samba server on my Debian box 
  from a WinXP machine.
  
  I can connect to the samba server from all my other Linux box but I 
  just can't connect to it from an XP machine.  I can see the Debian
 Samba
  server listing in the XP's WorkGroup place.   I got a message account
  not authorized to log in from this station when I try to connect.
  
  Is there any different setting in WinXP , some registry edit etc ?
  
  tia
  
  
  
  
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 -- 
 /ernst
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
-- 
/ernst


signature.asc
Description: This is a digitally signed message part


AW: Samba with WinXP

2002-06-12 Thread Peter Lieven
Hi,

make sure, you created a valid linux account with the same username as your
winxp user has.
create a samba user with the same username smbpasswd -a username and set
the identical password
as your windows user has and don't use a winxp user without a password. this
should work.
if you can still not connect please send your smb.conf

peter

-Ursprüngliche Nachricht-
Von: ThanhVu Nguyen [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 12. Juni 2002 04:49
An: Debian User List
Betreff: Samba with WinXP


Hello,

I have problem with connecting to the samba server on my Debian box from
a WinXP machine.

I can connect to the samba server from all my other Linux box but I just
can't connect to it from an XP machine.  I can see the Debian Samba
server listing in the XP's WorkGroup place.   I got a message account
not authorized to log in from this station when I try to connect.

Is there any different setting in WinXP , some registry edit etc ?

tia




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Samba with WinXP

2002-06-11 Thread ThanhVu Nguyen
Hello, 

I have problem with connecting to the samba server on my Debian box from
a WinXP machine.  

I can connect to the samba server from all my other Linux box but I just
can't connect to it from an XP machine.  I can see the Debian Samba
server listing in the XP's WorkGroup place.   I got a message account
not authorized to log in from this station when I try to connect. 

Is there any different setting in WinXP , some registry edit etc ?  

tia 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]