Re: [Samba] Windows XP Machine,

2006-09-15 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/12/2006 09:05 AM, Per Qvindesland escreveu:
> Hello List,
> 
> I have a odd problem and I should perhaps ask this on msn or something
> like that :) but I am running a ldc with ldap, everything works like a
> charm but on one of the machine a newly installed one which is joined to
> the domain can't for some reason see the files on one machine, now both
> machines can see shares on other machines but not between each other,
> does anyone has any idea of what could be causing this? by the way both
> machines are getting their ips from the same dhcp server so there should
> not be any conflict there.

Name conflict? Special permissions or policies?


> Kind regards
> Per

Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFFCsY6Cj65ZxU4gPQRAm7XAKChSiR6hr6mqBpbFHWfER4GfBAi4wCgj+Bm
km0tPIHWKp6e3Pe69VxnSis=
=1AOD
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Windows XP Machine,

2006-09-12 Thread Per Qvindesland
Hello List,

I have a odd problem and I should perhaps ask this on msn or something
like that :) but I am running a ldc with ldap, everything works like a
charm but on one of the machine a newly installed one which is joined to
the domain can't for some reason see the files on one machine, now both
machines can see shares on other machines but not between each other,
does anyone has any idea of what could be causing this? by the way both
machines are getting their ips from the same dhcp server so there should
not be any conflict there.

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

Re: [inbox] [Samba] Windows XP machine cannot be accessed

2004-12-31 Thread John
Thanks for the input, folks. The clues you have given have let me fix the basic
problem. Previously when I tried manual editing of conf files etc. I was not
doing enough. I manually edited fstab and created an auth. file and checked
carefully against your model, Geoff. With a mild tweak with webmin, I can now
see the XP machine and it autoloads without any intervention from me. As I
suspected, it was so basic I was not seeing and doing everything necessary.
Mandrake will need to work on their Samba config in teh control panel to make
it proof to both newbies and idiots. Now when I get the permisions fully sorted
I should be on my way. I must keep a note in case. I think PAM needs a Windows
server? I only have a peer to peer network, but again thanks for the ideas.
Regards
John.



| > | these things are best done manually on the command line first to see if
| > all
| > | is working well, from memory:
| > |
| > | mount -t smbfs //server/windowsshare /path/to/mntdir -o username=geoff
| > |
| > | If the above manual stuff works then it must be another problem.
| > |
| > | Tell us what you see.
| > |
| > | Regards Geoff
| > |
| > If I use mount at the console in the format you suggest I get asked for my
| > password and the XP share mounts and can be accessed (also through
| > Konqueror
| > etc.) When I attempt to write the equivalent into fstab, the folder
| > appears but
| > is empty. No messages. It has not auto generated a credentials file for
| > the XP
| > machine as it has for the other machines. Inserting user=john in fstab is
| > OK
| > for the WinME machine, but XP must want more. I guess if it cannot see the
| > machine then it will not auto generate the needed access files.
| > Regards
| > John.
|
| I manually created the credentials file.  Create one yourself and point the
| fstab entry to that, as I mentioned before.  (rejig it so it suits your
| needs of course)
|
| eg.
| username=john
| password=winXPlocalpassword
| workgroup=winxpWorkgroup
|
| once you have that plus an entry in fstab plus you have made a mount point
| do: mount /mnt/winXpmountpoint
| take a look at any errors that you get.
|
| Maybe smbmount needs to be Suid root for your mandrake user to mount it
| properly.
|
| Regards Geoff
|

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


RE: [Samba] Windows XP machine cannot be accessed

2004-12-30 Thread Christopher Peter Welsh

FYI

John,

If you wish to automount shares when you login, you can try pam_mount. It should
be a package on the mdk 10.1 CDs. You can set it to mount windows cifs and smb
shares to your mandrake box. It's possible because Linux supports pluggable auth
modules(PAM)

I used it along with winbind auth to mount all my windows shares from servers at
work to my Linux mandrake workstation (laptop) When ever I ssh'd in, the shares
mounted. It can be set to mount based on preferred authentication system (local
password file, winbind, nis, etc) and  protocol. ie. mount windows shares if you
login via ssh, or even if you login through the kde desktop (warning: kde
requires special files relocated when mounting home directories).

Having said that and seeing as how you are new, I believe Geoff's solution is a
much easier way to go. You may however wish to read up on pam_mount anyway.

For more info do a google on pam_mount

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


[Samba] Windows XP machine cannot be accessed

2004-12-30 Thread Geoff Scott
> | these things are best done manually on the command line first to see if
> all
> | is working well, from memory:
> |
> | mount -t smbfs //server/windowsshare /path/to/mntdir -o username=geoff
> |
> | If the above manual stuff works then it must be another problem.
> |
> | Tell us what you see.
> |
> | Regards Geoff
> |
> If I use mount at the console in the format you suggest I get asked for my
> password and the XP share mounts and can be accessed (also through
> Konqueror
> etc.) When I attempt to write the equivalent into fstab, the folder
> appears but
> is empty. No messages. It has not auto generated a credentials file for
> the XP
> machine as it has for the other machines. Inserting user=john in fstab is
> OK
> for the WinME machine, but XP must want more. I guess if it cannot see the
> machine then it will not auto generate the needed access files.
> Regards
> John.

I manually created the credentials file.  Create one yourself and point the
fstab entry to that, as I mentioned before.  (rejig it so it suits your
needs of course)  

eg.
username=john
password=winXPlocalpassword
workgroup=winxpWorkgroup

once you have that plus an entry in fstab plus you have made a mount point
do: mount /mnt/winXpmountpoint  
take a look at any errors that you get.

Maybe smbmount needs to be Suid root for your mandrake user to mount it
properly.

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


Re: [inbox] RE: [Samba] Windows XP machine cannot be accessed

2004-12-30 Thread John

- Original Message -
From: "Geoff Scott" <[EMAIL PROTECTED]>
To: "John" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, December 31, 2004 1:02 PM
Subject: [inbox] RE: [Samba] Windows XP machine cannot be accessed


|
| > All of the Windows machines have no problems accessing shares on each
| > other and
| > Mandrake. The Mandrake machine accesses the WinME an Win2K machines
| > readily,
| > but the WinXP machine is not visible on any utility I have tried. I can
| > ping it
| > OK. I have disabled firewalls etc in case this was the problem but no
| > change.
|
| OK so Samba is working fine? yes? The windows machines can mount the samba
| share off of the mandrake box? they get asked for a password and username
| which you supply and then you can browse the shares from the windows
| machines?

I do not get asked for a password. I still have some work on permisisons, but I
can copy files form Mandrake, but need to sort out write permissions before I
can write back. I use the same user name and passwword throughout and have set
it as the default user for LAN access.

|
| > I manually edited fstab and inserted what seemed an appropriate entry for
| > a
| > share on the XP machine. In Konqueror for instance an icon appeared for
| > the
| > share but when clicked up in was empty.
|
| I don't have a linux desktop machine any more but I used to do this in fstab
| (note that if the above is correct and samba works then this is an smbfs
| problem, and appropriate to that list, not this one) :
|
| #Samba filesystems, not auto mounted and any user.
|
| //ukldnfs05/shared_area /mnt/smb/ukldnfs05/shared_area smbfs
| noauto,users,credentials=/home/geoff/Crap/smbcred 0 0
| //ukldninstall03/allsoftware$ /mnt/smb/ukldninstall03/allsoftware smbfs
| noauto,users,credentials=/home/geoff/Crap/smbcred 0 0
|
| then inside of /home/geoff/Crap/smbcred I had:
|
| username=geoff
| password=doggyp00
| workgroup=dudenet
|
|
| > I have almost convinced myself that it must be some kind of authentication
| > problem, probably something basic I have overlooked and so simple I cannot
| > see
| > it. Can anybody give me some ideas please?
| > John
|
| these things are best done manually on the command line first to see if all
| is working well, from memory:
|
| mount -t smbfs //server/windowsshare /path/to/mntdir -o username=geoff
|
| If the above manual stuff works then it must be another problem.
|
| Tell us what you see.
|
| Regards Geoff
|
If I use mount at the console in the format you suggest I get asked for my
password and the XP share mounts and can be accessed (also through Konqueror
etc.) When I attempt to write the equivalent into fstab, the folder appears but
is empty. No messages. It has not auto generated a credentials file for the XP
machine as it has for the other machines. Inserting user=john in fstab is OK
for the WinME machine, but XP must want more. I guess if it cannot see the
machine then it will not auto generate the needed access files.
Regards
John.

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


RE: [Samba] Windows XP machine cannot be accessed

2004-12-30 Thread Clay Goss
Try going to the Authentication tab on the WinXP's Local Area Connection
Properties dialog screen and disabling the IEEE 802.1x authentication - just
for giggles.

Clay


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


RE: [Samba] Windows XP machine cannot be accessed

2004-12-30 Thread Geoff Scott

> All of the Windows machines have no problems accessing shares on each
> other and
> Mandrake. The Mandrake machine accesses the WinME an Win2K machines
> readily,
> but the WinXP machine is not visible on any utility I have tried. I can
> ping it
> OK. I have disabled firewalls etc in case this was the problem but no
> change.

OK so Samba is working fine? yes? The windows machines can mount the samba
share off of the mandrake box? they get asked for a password and username
which you supply and then you can browse the shares from the windows
machines?

> I manually edited fstab and inserted what seemed an appropriate entry for
> a
> share on the XP machine. In Konqueror for instance an icon appeared for
> the
> share but when clicked up in was empty.

I don't have a linux desktop machine any more but I used to do this in fstab
(note that if the above is correct and samba works then this is an smbfs
problem, and appropriate to that list, not this one) :

#Samba filesystems, not auto mounted and any user.

//ukldnfs05/shared_area /mnt/smb/ukldnfs05/shared_area smbfs
noauto,users,credentials=/home/geoff/Crap/smbcred 0 0
//ukldninstall03/allsoftware$ /mnt/smb/ukldninstall03/allsoftware smbfs
noauto,users,credentials=/home/geoff/Crap/smbcred 0 0

then inside of /home/geoff/Crap/smbcred I had:

username=geoff
password=doggyp00
workgroup=dudenet


> I have almost convinced myself that it must be some kind of authentication
> problem, probably something basic I have overlooked and so simple I cannot
> see
> it. Can anybody give me some ideas please?
> John

these things are best done manually on the command line first to see if all
is working well, from memory:

mount -t smbfs //server/windowsshare /path/to/mntdir -o username=geoff

If the above manual stuff works then it must be another problem.

Tell us what you see.

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


[Samba] Windows XP machine cannot be accessed

2004-12-30 Thread John
I have a small peer to peer network of 4 machines, WinME, Win2K Pro SP4, Win XP
Pro SP2 and Linux Mandrake 10.1 Samba 3.0.10.1. I am pretty new at Linux but
have been around computers for a very long time.

The Linux installation went smoothly, MDK and KDE3 utilities make it simple for
newbies to get things running, so Samba went together quite easily but I now
have a problem I have been struggling with for days.

All of the Windows machines have no problems accessing shares on each other and
Mandrake. The Mandrake machine accesses the WinME an Win2K machines readily,
but the WinXP machine is not visible on any utility I have tried. I can ping it
OK. I have disabled firewalls etc in case this was the problem but no change.

I manually edited fstab and inserted what seemed an appropriate entry for a
share on the XP machine. In Konqueror for instance an icon appeared for the
share but when clicked up in was empty.

I have almost convinced myself that it must be some kind of authentication
problem, probably something basic I have overlooked and so simple I cannot see
it. Can anybody give me some ideas please?
John

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


[Samba] Windows XP machine not connecting to Samba 3.04

2004-05-21 Thread Wolfgang Riedmann
Hi,

after the installation of Samba 3.04 (upgrade from 3.02) a single XP
notebook cannot connect to any share.

The log shows these messages:

[2004/05/17 11:48:18, 0] lib/util_sock.c:read_socket_data(367)
  read_socket_data: recv failure for 4. Error = Connection reset by
peer
[2004/05/17 11:48:18, 1] smbd/service.c:close_cnum(801)
  andreasxp (192.168.1.102) closed connection to service wolfgang
[2004/05/17 11:48:18, 1] smbd/service.c:close_cnum(801)
  andreasxp (192.168.1.102) closed connection to service Daten
[2004/05/17 11:50:46, 0] lib/substitute.c:alloc_sub_basic(505)
  alloc_sub_basic: NULL source string!  This should not happen

As far as I have understand the problem is on the client site, but
there seems to be something on the samba side because before the
upgrade the client could connect without any problem. In the same
network there are other Windows machines (Win98, W2K, XP), all with
the latest updates from Windows Update loaded.

This client can connect fine to another Samba server (2.2.8a) in the
same network (really it's a VMware virtual machine with Debian 8 on
my W2K notebook).

Can anyone point me in the direction where to seek? I have full
access to the notebook and can do any configuration changes.
The notebook is _not_ a part of the Samba owned NT domain (as the
normal PCs are).

Thank you very much for any help!

Wolfgang

--
-- Wolfgang Riedmann
-- Individuelle EDV-Lösungen - Soluzioni informatiche personalizzate
-- I-39012 Meran, V. Laurin-Str. 2d
-- http://www.riedmann.it - [EMAIL PROTECTED]


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