Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-14 Thread Brad Felmey

On Mon, 2002-10-14 at 15:38, David Walser wrote:
> --- Brad Felmey <[EMAIL PROTECTED]> wrote:
> > On Mon, 2002-10-14 at 14:39, Stew Benedict wrote:
> > 
> > > I never really thought about people using samba
> > for Linux-Linux file
> > > sharing, but I suppose they do.
> > 
> > We do here, at least until Linux gets NFS over TCP,
> > hopefully sometime
> > in this century.
> 
> It already has it.  Is it not stable enough for you yet?

I have had ZERO success at getting it to reliably function with AIX
4.3.3. :(
-- 
Brad Felmey





Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-14 Thread David Walser

--- Brad Felmey <[EMAIL PROTECTED]> wrote:
> On Mon, 2002-10-14 at 14:39, Stew Benedict wrote:
> 
> > I never really thought about people using samba
> for Linux-Linux file
> > sharing, but I suppose they do.
> 
> We do here, at least until Linux gets NFS over TCP,
> hopefully sometime
> in this century.

It already has it.  Is it not stable enough for you yet?

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com




Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-14 Thread Brad Felmey

On Mon, 2002-10-14 at 14:39, Stew Benedict wrote:

> I never really thought about people using samba for Linux-Linux file
> sharing, but I suppose they do.

We do here, at least until Linux gets NFS over TCP, hopefully sometime
in this century.
-- 
Brad Felmey





Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-14 Thread Stew Benedict


On Mon, 14 Oct 2002, Buchan Milne wrote:

> Stew Benedict wrote:
> > On Mon, 14 Oct 2002, Buchan Milne wrote:
> > 
> > 
> >>Only problem is that it only authenticates for the share if it can't 
> >>connect as guest. So you can't get to your home directory on a samba 
> >>server with a homes share but allowing guest access. It would be nice to 
> >>be able to set a user-name and password before browsing a machine.
> >>
> >>And it would be nice if *all* password fields used password boxes, 
> >>rather than having your password visible in the clear.
> >>
> > 
> > 
> > Fixed the last item in CVS. The first I'm not sure how to handle.  It
> > should be falling back to asking for the username/password after guest
> > browsing fails.
> > 
> 
> The problem is when guest browsing is ok, but not all shares are visible 
> as guest. I am not sure if this is a samba-only feature, but here is a 
> guest browsing the default samba setup:
> 
> [bgmilne@bgmilne bgmilne]$ smbclient -L bgmilne
> added interface ip=xxx.xxx.xxx.36 bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
> Password:
> Anonymous login successful
> Domain=[CAE] OS=[Unix] Server=[Samba 2.2.6pre2]
> 
>  Sharename  Type  Comment
>  -    ---
>  IPC$   IPC   IPC Service (Samba Server 2.2.6pre2)
>  ADMIN$ Disk  IPC Service (Samba Server 2.2.6pre2)
>  xerox  Printer
>  hp2100 Printer
>  hp1200 Printer
>  dj970  Printer
>  dj1120 Printer
> 
> 
> 
> And here is an autheticated user broswing the same server:
> 
> [bgmilne@bgmilne bgmilne]$ smbclient -L bgmilne -U bgmilne
> added interface ip=xxx.xxx.xxx.36 bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
> Password:
> Domain=[CAE] OS=[Unix] Server=[Samba 2.2.6pre2]
> 
>  Sharename  Type  Comment
>  -    ---
>  IPC$   IPC   IPC Service (Samba Server 2.2.6pre2)
>  ADMIN$ Disk  IPC Service (Samba Server 2.2.6pre2)
>  xerox  Printer
>  hp2100 Printer
>  hp1200 Printer
>  dj970  Printer
>  dj1120 Printer
>  bgmilneDisk  Home Directories
> 
> 
> You will note the additional share available.
> 
> It may *only* be a problem against samba servers, but there are lots of 
> samba servers around.
> 

OK, I see what you're saying.  The reason I proposed the changes I did is
because you get this from a true W2K server:

[stew@rs6000 failure]$ smbclient -L ays-w2k
added interface ip=192.168.192.35 bcast=192.168.192.255
nmask=255.255.255.0
Got a positive name query response from 192.168.192.86 ( 192.168.192.86 )
Password: 
Anonymous login successful
Domain=[AYS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename  Type  Comment
-    ---
Error returning browse list: NT_STATUS_ACCESS_DENIED

Server   Comment
----
AYS-W2K  

WorkgroupMaster
----
AYS  AYS-W2K
AYSNET   MOE

But at the same time, I can browse "moe", which is an older samba server.
So when the browse attempt returns "NT_STATUS_ACCESS_DENIED", we fall back
to asking for authentication credentials.
 
I never really thought about people using samba for Linux-Linux file
sharing, but I suppose they do.

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-14 Thread Buchan Milne

Stew Benedict wrote:
> On Mon, 14 Oct 2002, Buchan Milne wrote:
> 
> 
>>Only problem is that it only authenticates for the share if it can't 
>>connect as guest. So you can't get to your home directory on a samba 
>>server with a homes share but allowing guest access. It would be nice to 
>>be able to set a user-name and password before browsing a machine.
>>
>>And it would be nice if *all* password fields used password boxes, 
>>rather than having your password visible in the clear.
>>
> 
> 
> Fixed the last item in CVS. The first I'm not sure how to handle.  It
> should be falling back to asking for the username/password after guest
> browsing fails.
> 

The problem is when guest browsing is ok, but not all shares are visible 
as guest. I am not sure if this is a samba-only feature, but here is a 
guest browsing the default samba setup:

[bgmilne@bgmilne bgmilne]$ smbclient -L bgmilne
added interface ip=xxx.xxx.xxx.36 bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[CAE] OS=[Unix] Server=[Samba 2.2.6pre2]

 Sharename  Type  Comment
 -    ---
 IPC$   IPC   IPC Service (Samba Server 2.2.6pre2)
 ADMIN$ Disk  IPC Service (Samba Server 2.2.6pre2)
 xerox  Printer
 hp2100 Printer
 hp1200 Printer
 dj970  Printer
 dj1120 Printer



And here is an autheticated user broswing the same server:

[bgmilne@bgmilne bgmilne]$ smbclient -L bgmilne -U bgmilne
added interface ip=xxx.xxx.xxx.36 bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
Password:
Domain=[CAE] OS=[Unix] Server=[Samba 2.2.6pre2]

 Sharename  Type  Comment
 -    ---
 IPC$   IPC   IPC Service (Samba Server 2.2.6pre2)
 ADMIN$ Disk  IPC Service (Samba Server 2.2.6pre2)
 xerox  Printer
 hp2100 Printer
 hp1200 Printer
 dj970  Printer
 dj1120 Printer
 bgmilneDisk  Home Directories


You will note the additional share available.

It may *only* be a problem against samba servers, but there are lots of 
samba servers around.

Regards,
Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-14 Thread Stew Benedict


On Mon, 14 Oct 2002, Buchan Milne wrote:

> Only problem is that it only authenticates for the share if it can't 
> connect as guest. So you can't get to your home directory on a samba 
> server with a homes share but allowing guest access. It would be nice to 
> be able to set a user-name and password before browsing a machine.
> 
> And it would be nice if *all* password fields used password boxes, 
> rather than having your password visible in the clear.
> 

Fixed the last item in CVS. The first I'm not sure how to handle.  It
should be falling back to asking for the username/password after guest
browsing fails.

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-14 Thread Buchan Milne

Stew Benedict wrote:
> On Thu, 10 Oct 2002, Buchan Milne wrote:
> 
> We did add win2K style authentication in diskdrake --smb.  It uses a
> credentials file under /etc/samba, rather than the user, password in
> fstab:
> 
> /etc/samba/auth.servername.username
> 

Only problem is that it only authenticates for the share if it can't 
connect as guest. So you can't get to your home directory on a samba 
server with a homes share but allowing guest access. It would be nice to 
be able to set a user-name and password before browsing a machine.

And it would be nice if *all* password fields used password boxes, 
rather than having your password visible in the clear.

Buchan


-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-10 Thread Stew Benedict


On Thu, 10 Oct 2002, Buchan Milne wrote:

> crazy mand wrote:
> > If I manually mount an smbfs from a Windows 2000 share
> > using commandline, everythings goes ok. But if I mount
> > the same filesystem using wizard in Mandrake Control
> > Center, Mandrake Control Center froze, but mount
> > command showed that it's mounted.
> 
> For real use, use komba2 or linneighborhood, MCC doesn't support 
> authentication (AFAIK)., don't know why it would hang though ...
> 
> If you start mcc from the command-line (to see error messages)?
> 

We did add win2K style authentication in diskdrake --smb.  It uses a
credentials file under /etc/samba, rather than the user, password in
fstab:

/etc/samba/auth.servername.username

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc






Re: [Cooker] SAMBA mounting thu Mandrake Control Center Server Wizard

2002-10-10 Thread Buchan Milne

crazy mand wrote:
> If I manually mount an smbfs from a Windows 2000 share
> using commandline, everythings goes ok. But if I mount
> the same filesystem using wizard in Mandrake Control
> Center, Mandrake Control Center froze, but mount
> command showed that it's mounted.

For real use, use komba2 or linneighborhood, MCC doesn't support 
authentication (AFAIK)., don't know why it would hang though ...

If you start mcc from the command-line (to see error messages)?

Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7