[newbie] samba wizard

2005-04-07 Thread Isak Lyberth
Where do i find the samba wisard that is shown on the screenshots on 
mandrakelinux.com?
http://www.mandrakelinux.com/en/10.1/features/8.php3
i can't seem to find it.

Regards Isak

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba wizard

2005-04-07 Thread Christopher Taylor
On Apr 7, 2005 8:54 AM, Isak Lyberth [EMAIL PROTECTED] wrote:
 Where do i find the samba wisard that is shown on the screenshots on
 mandrakelinux.com?
 http://www.mandrakelinux.com/en/10.1/features/8.php3
 i can't seem to find it.
 
 Regards Isak
 
 
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 
 
 
 
You need to install drakwizard - urpmi drakwizard

-- 
Christopher Taylor - Registered Linux User #383327

If this message is sent to a mailing list please 'Reply to List' or
re-write the To field.
This will save on a lot of duplicate emails going out.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba Server

2005-03-19 Thread Elwyn
Hiya Folks

What I'd like to do is set up a shared area within our network that all our 
(family) music files are on, plus other bits and bobs, that will only share 
files for most of its hard drive.

I've already got a working Samba place on this machine but I'm debating how to 
go about this.

Basically the box wil be without monitor, keyboard, mouse etc. Just have power 
and network to it.

However, the small problem I have is that as it is a closed secured network I 
don't want any username and passwords? Is that possible??

Because one of the problems I have is any files created with one ID cannot be 
moved/deleted with another ID, or have I missed something fundemental out??

Cheers, Elwyn


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Server

2005-03-19 Thread Anne Wilson
On Saturday 19 Mar 2005 08:33, Elwyn wrote:
 Hiya Folks

 What I'd like to do is set up a shared area within our network that all our
 (family) music files are on, plus other bits and bobs, that will only share
 files for most of its hard drive.

 I've already got a working Samba place on this machine but I'm debating how
 to go about this.

 Basically the box wil be without monitor, keyboard, mouse etc. Just have
 power and network to it.

 However, the small problem I have is that as it is a closed secured network
 I don't want any username and passwords? Is that possible??

 Because one of the problems I have is any files created with one ID cannot
 be moved/deleted with another ID, or have I missed something fundemental
 out??

Using Groups it's possible to sort that problem.  Make sure that everyone is 
in one group - either use User or create one for the purpose.  Then, in 
konqueror, go to the folder that represents the whole of the shared area.  As 
root, change the group to the chosen one and Set GID on the advanced 
permissions page, then check Apply changes to all subdirectories and their 
contents.  That should work.

Be aware, though, that you no longer have any kind of control over who does 
what, so anything you value should be copied there, not moved there.

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels


pgpk7cOq5beI1.pgp
Description: PGP signature


Re: [newbie] Samba Server

2005-03-19 Thread Elwyn
Alas my plans have gone a bit pear shaped.

The machine destined to become a server, whilst quiet and with enough memory 
has transpired to not support the required drives.

A variety of words spring to mind, most unrepeatable here ;(

So the 80gb drive is going in this linux machine and I'll modify the network 
to suit.

Thank you Anne for your description. Having also spoken to anther network 
freind here I think it'll be easier to stick to a shared user ID and 
password.

Cheers

Elwyn


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Server

2005-03-19 Thread Mikkel L. Ellertson
Elwyn wrote:
Hiya Folks
What I'd like to do is set up a shared area within our network that all our 
(family) music files are on, plus other bits and bobs, that will only share 
files for most of its hard drive.

I've already got a working Samba place on this machine but I'm debating how to 
go about this.

Basically the box wil be without monitor, keyboard, mouse etc. Just have power 
and network to it.

However, the small problem I have is that as it is a closed secured network I 
don't want any username and passwords? Is that possible??

Because one of the problems I have is any files created with one ID cannot be 
moved/deleted with another ID, or have I missed something fundemental out??

Cheers, Elwyn
This all depends on how you set up the share. You can use the force 
user and force group options when defining the share so that all 
files will be owned by the same user/group. You may also want to set it 
up so that guests can read, but not create/change/delete files.

Another way would be to set up security = share instead of user. It 
isn't used as often, and I am not sure how well the GUI config tools 
work with it, but it is something to look into.

I prefer to leave security set to user, and the force user option. That 
way, you can still have private home shares for each user, but that is 
just me...

Mikkel
--
  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Server

2005-03-19 Thread Elwyn
Thanks, I'll keep looking into options...

Elwyn


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Newbie!

2005-01-25 Thread Mike Adolf
On Monday 24 January 2005 06:09 am, et wrote:
 On Sunday 23 January 2005 04:22 pm, Mike Adolf wrote:
  On Sunday 23 January 2005 02:19 pm, Siposs Attila wrote:
   2005. január 23. 17.12 dátummal Mike Adolf ezt írta:
I recently went to 10.1 and now would like to set up a simple home
network consisting of:
   
Dlink DI-514 router connected to my linux box (it has my cloned mac)
XP wireless labtop
Another XP 10/100 connected machine.
   
I would like to:
share printer (connected to my linux box)
share files between all machines
   
What I know--not much
1. I setup private IPs in the router. (I am assuming router firewall
is sufficient).
2. All machines have internet access via router.
3. I can ping machines from my machine by ip and name (I've populated
the hosts file)
4 I can only ping by ip from the XP machines. (I guess I need a DNS
??, How??) 5. Using mdk control center, sbm mount points, search for
servers shows the other machines, but I can't connect. (no domain?)
6. Using XP network wizzard, seems to want a 10/100 connection not a
wireless. 7. The more I read the less I know.
   
What do I do on my box?
What do I do on the XP machines?
   
Mike
  
   1. install samba server and client, and smb4k packages if they are not
   installed.
   2. goto Mandrake Control Center and in section servers configure your
   samba server by the wizard. don't worry, it's easy
   3. start smb4k for browsing windows machines
   4. on win machines try to browse the local network. you should see your
   linux share as Samba Server ...
   5. enjoy :)
   Ati
 
  I installed drakwizard and now have the samba server wizard.  I
  configured samba to share my printer and a public folder.  However, from
  XP I can't see the printer or the public folder. I tried adding a printer
  from XP by letting it look for one.  It only found the windows work group
  containing the local machine.  I identified the windows work group to
  samba.  What now.?
 
  Mike

 create samba users (as root) with smbpasswd giving them the same names and
 passwords as the windows users on the windows boxes


Got it working!  Thanks.
Mike


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Newbie!

2005-01-24 Thread et
On Sunday 23 January 2005 04:22 pm, Mike Adolf wrote:
 On Sunday 23 January 2005 02:19 pm, Siposs Attila wrote:
  2005. január 23. 17.12 dátummal Mike Adolf ezt írta:
   I recently went to 10.1 and now would like to set up a simple home
   network consisting of:
  
   Dlink DI-514 router connected to my linux box (it has my cloned mac)
   XP wireless labtop
   Another XP 10/100 connected machine.
  
   I would like to:
   share printer (connected to my linux box)
   share files between all machines
  
   What I know--not much
   1. I setup private IPs in the router. (I am assuming router firewall is
   sufficient).
   2. All machines have internet access via router.
   3. I can ping machines from my machine by ip and name (I've populated
   the hosts file)
   4 I can only ping by ip from the XP machines. (I guess I need a DNS ??,
   How??) 5. Using mdk control center, sbm mount points, search for
   servers shows the other machines, but I can't connect. (no domain?)
   6. Using XP network wizzard, seems to want a 10/100 connection not a
   wireless. 7. The more I read the less I know.
  
   What do I do on my box?
   What do I do on the XP machines?
  
   Mike
 
  1. install samba server and client, and smb4k packages if they are not
  installed.
  2. goto Mandrake Control Center and in section servers configure your
  samba server by the wizard. don't worry, it's easy
  3. start smb4k for browsing windows machines
  4. on win machines try to browse the local network. you should see your
  linux share as Samba Server ...
  5. enjoy :)
  Ati

 I installed drakwizard and now have the samba server wizard.  I configured
 samba to share my printer and a public folder.  However, from XP I can't
 see the printer or the public folder. I tried adding a printer from XP by
 letting it look for one.  It only found the windows work group containing
 the local machine.  I identified the windows work group to samba.  What
 now.?

 Mike
create samba users (as root) with smbpasswd giving them the same names and 
passwords as the windows users on the windows boxes
-- 
linux counter #167806 (http://counter.li.org/)
website=http://ed-tharp.kicks-ass.org;


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba Newbie!

2005-01-23 Thread Mike Adolf
I recently went to 10.1 and now would like to set up a simple home network 
consisting of:

Dlink DI-514 router connected to my linux box (it has my cloned mac)
XP wireless labtop
Another XP 10/100 connected machine.

I would like to:
share printer (connected to my linux box)
share files between all machines

What I know--not much
1. I setup private IPs in the router. (I am assuming router firewall is 
sufficient).
2. All machines have internet access via router.
3. I can ping machines from my machine by ip and name (I've populated the 
hosts file)
4 I can only ping by ip from the XP machines. (I guess I need a DNS ??, How??)
5. Using mdk control center, sbm mount points, search for servers shows the 
other machines, but I can't connect. (no domain?)
6. Using XP network wizzard, seems to want a 10/100 connection not a wireless.
7. The more I read the less I know.

What do I do on my box?
What do I do on the XP machines?

Mike


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Newbie!

2005-01-23 Thread Siposs Attila
2005. janur 23. 17.12 dtummal Mike Adolf ezt rta:
 I recently went to 10.1 and now would like to set up a simple home network
 consisting of:

 Dlink DI-514 router connected to my linux box (it has my cloned mac)
 XP wireless labtop
 Another XP 10/100 connected machine.

 I would like to:
 share printer (connected to my linux box)
 share files between all machines

 What I know--not much
 1. I setup private IPs in the router. (I am assuming router firewall is
 sufficient).
 2. All machines have internet access via router.
 3. I can ping machines from my machine by ip and name (I've populated the
 hosts file)
 4 I can only ping by ip from the XP machines. (I guess I need a DNS ??,
 How??) 5. Using mdk control center, sbm mount points, search for servers
 shows the other machines, but I can't connect. (no domain?)
 6. Using XP network wizzard, seems to want a 10/100 connection not a
 wireless. 7. The more I read the less I know.

 What do I do on my box?
 What do I do on the XP machines?

 Mike
1. install samba server and client, and smb4k packages if they are not 
installed.
2. goto Mandrake Control Center and in section servers configure your samba 
server by the wizard. don't worry, it's easy
3. start smb4k for browsing windows machines
4. on win machines try to browse the local network. you should see your linux 
share as Samba Server ...
5. enjoy :)
Ati


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Newbie!

2005-01-23 Thread Mike Adolf
On Sunday 23 January 2005 02:19 pm, Siposs Attila wrote:
 2005. január 23. 17.12 dátummal Mike Adolf ezt írta:
  I recently went to 10.1 and now would like to set up a simple home
  network consisting of:
 
  Dlink DI-514 router connected to my linux box (it has my cloned mac)
  XP wireless labtop
  Another XP 10/100 connected machine.
 
  I would like to:
  share printer (connected to my linux box)
  share files between all machines
 
  What I know--not much
  1. I setup private IPs in the router. (I am assuming router firewall is
  sufficient).
  2. All machines have internet access via router.
  3. I can ping machines from my machine by ip and name (I've populated the
  hosts file)
  4 I can only ping by ip from the XP machines. (I guess I need a DNS ??,
  How??) 5. Using mdk control center, sbm mount points, search for servers
  shows the other machines, but I can't connect. (no domain?)
  6. Using XP network wizzard, seems to want a 10/100 connection not a
  wireless. 7. The more I read the less I know.
 
  What do I do on my box?
  What do I do on the XP machines?
 
  Mike

 1. install samba server and client, and smb4k packages if they are not
 installed.
 2. goto Mandrake Control Center and in section servers configure your samba
 server by the wizard. don't worry, it's easy
 3. start smb4k for browsing windows machines
 4. on win machines try to browse the local network. you should see your
 linux share as Samba Server ...
 5. enjoy :)
 Ati

I installed drakwizard and now have the samba server wizard.  I configured 
samba to share my printer and a public folder.  However, from XP I can't see 
the printer or the public folder. I tried adding a printer from XP by letting 
it look for one.  It only found the windows work group containing the local 
machine.  I identified the windows work group to samba.  What now.?

Mike


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-15 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 15 Dec 2004 00:41, Danesh Daroui wrote:
 Anne Wilson wrote:
 /*Thanks, here is my samba configurations file:*/

 # Samba config file created using SWAT
 # from 127.0.0.1 (127.0.0.1)
 # Date: 2004/12/14 22:25:01

 # Global parameters
 [global]
 workgroup = HOME
 server string = Print Server
 security = SHARE
 map to guest = Bad User
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 dns proxy = No
 ldap ssl = no
 printer admin = @adm

 [homes]
 comment = Home Directories
 read only = No
 browseable = No

 [printers]
 comment = All Printers
 path = /var/spool/samba
 create mask = 0700
 guest ok = Yes
 printable = Yes
 use client driver = Yes
 browseable = No

 [print$]
 path = /var/lib/samba/printers
 write list = @adm, root
 inherit permissions = Yes
 guest ok = Yes

 [pdf-gen]
 comment = PDF Generator (only valid users)
 path = /var/tmp
 printable = Yes
 printing = bsd
 print command = /usr/share/samba/scripts/print-pdf %s %H
 //%L/%u %m %I %J 
 lpq command = /bin/true
 lprm command = lprm -P'%p' %j

 [HPLaserJet1010]
 comment = HP LaserJet 1010
 path = /var/spool/samba
 read only = No
 create mask = 0700
 guest ok = Yes
 printable = Yes
 printer name = HPLaserJet1010
 use client driver = Yes
 oplocks = No
 share modes = No

 [HPColorLaserJet2550]
 comment = HP Color LaserJet 2550
 path = /var/spool/samba
 read only = No
 create mask = 0700
 guest ok = Yes
 printable = Yes
 printer name = HPColorLaserJet2550
 use client driver = Yes
 oplocks = No
 share modes = No

OK - I see nothing there about shares, other than home directories.  Is that 
what you intend?

Here is my homes section:

[homes]
   comment = Home Directories
   browseable = yes
   writable = yes

Try changing your settings to match.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBv/fokFAvMr/nNX8RAt3eAJwKwm7kvX2dWDXe/4yCZeOaewyfHgCglIET
w2MENoUPddJJZoEw4JSw1tk=
=hZ47
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-15 Thread mikkel
 [ SNIP ] --

 OK - I see nothing there about shares, other than home directories.  Is
 that
 what you intend?

 Here is my homes section:

 [homes]
comment = Home Directories
browseable = yes
writable = yes

 Try changing your settings to match.

 Anne

Anne,
  With this setting, don't all of the user's home directories show up in
the share list, and not just their own?  I have been using browsable =
no in my [homes] share for years, and it works, with the only home
directory matching the user name showing in when you brows the Network
Neighborhood. I believe this is still the default setting...


Mikkel
-- 
   Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-15 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 15 Dec 2004 15:43, [EMAIL PROTECTED] wrote:
  [ SNIP ] --

  OK - I see nothing there about shares, other than home directories.  Is
  that
  what you intend?
 
  Here is my homes section:
 
  [homes]
 comment = Home Directories
 browseable = yes
 writable = yes
 
  Try changing your settings to match.
 
  Anne

 Anne,
   With this setting, don't all of the user's home directories show up in
 the share list, and not just their own?  I have been using browsable =
 no in my [homes] share for years, and it works, with the only home
 directory matching the user name showing in when you brows the Network
 Neighborhood. I believe this is still the default setting...

I don't have a windows box here to see what's happening, Mikkel, and some 
things that did work with samba2 don't with samba3 - this is why I changed 
mine.  As far as I know they do show up, but you can't do anything you don't 
have permission for, so you will see a folder but not be able to enter it.  
Feel free to correct me, as I rarely have access to a windows box on this lan 
now.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBwFyikFAvMr/nNX8RAsWzAJ9Z9r1fmvCpqOfdTAZn+sCR4HU+fQCfe7WO
4fWLVo6XFXNMk0oDewA0rlw=
=noiy
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-15 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 15 Dec 2004 16:01, [EMAIL PROTECTED] wrote:

 Ok - that was what happened if you set brosable = yes in samba2.  That
 is why the default was to have it set to no - so you could only see your
 own home directory.  Ether way is ok for a home network, but it can
 cause problems in a larger setting.  Too many shares visable that you can
 not connect to makes it hard to find the ones you want.

I can see that.

 You can get a list of visable shares using smbclient -L machine name
 under Linux.  It gives you more information then from Windows.
 Linneighborhood will give you about the same picture as Windows sees.
 Just pick scan as user to see what that user would see.

I use smb4k to connect.  I see 'homes' and am invited to put in a username and 
password, so I don't see any others.  In konqueror's lan browser I see only 
my own home directory on the server machine.  As I said, I'm mainly concerned 
these days with linux to linux, but I've just borrowed my granddaughter's 
Win98 box to test this out.  She can only see her own home directory.  There 
is a folder called 'homes' which may be a bit confusing, but in there she 
again sees only her own home directory.

I struggled so long to sort out problems I had a couple of months ago, and 
it's possible that I've changed more than strictly necessary, but at least it 
is working.  I think Danesh's problem stems from write-access permissions, 
but we'll see what he reports back.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBwGjckFAvMr/nNX8RAg7VAJ0V1WQpC4MtGDArr/DJamtGV28LGACfbLxH
uBa7UphvSP9qBAOt78ntIWI=
=TfFg
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-15 Thread jdow
From: [EMAIL PROTECTED]

 Ok - that was what happened if you set brosable = yes in samba2.  That

Careful about typographical errors, Mikkel. browsable.
{^_-}



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-15 Thread mikkel

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Wednesday 15 Dec 2004 15:43, [EMAIL PROTECTED] wrote:
  [ SNIP ] --

  OK - I see nothing there about shares, other than home directories.
 Is
  that
  what you intend?
 
  Here is my homes section:
 
  [homes]
 comment = Home Directories
 browseable = yes
 writable = yes
 
  Try changing your settings to match.
 
  Anne

 Anne,
   With this setting, don't all of the user's home directories show up in
 the share list, and not just their own?  I have been using browsable 
 no in my [homes] share for years, and it works, with the only home
 directory matching the user name showing in when you brows the Network
 Neighborhood. I believe this is still the default setting...

 I don't have a windows box here to see what's happening, Mikkel, and some
 things that did work with samba2 don't with samba3 - this is why I changed
 mine.  As far as I know they do show up, but you can't do anything you
 don't
 have permission for, so you will see a folder but not be able to enter it.
 Feel free to correct me, as I rarely have access to a windows box on this
 lan
 now.

 Anne

Ok - that was what happened if you set brosable = yes in samba2.  That
is why the default was to have it set to no - so you could only see your
own home directory.  Ether way is ok for a home network, but it can
cause problems in a larger setting.  Too many shares visable that you can
not connect to makes it hard to find the ones you want.

You can get a list of visable shares using smbclient -L machine name
under Linux.  It gives you more information then from Windows. 
Linneighborhood will give you about the same picture as Windows sees. 
Just pick scan as user to see what that user would see.

Mikkel
-- 
   Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-15 Thread Brant Fitzsimmons
Danesh Daroui wrote:
Hi all,
I have installed samba on mandk 10.1 official for act as server for a 
small LAN (4 clients). All clietns have Windows XP. I have added unix 
user to server for all clients too. My server is visible to all 
clients but none of them can connect to server. The error message is 
The user doesn't have permission or something like that. I guess that 
there is something wrong with samba users. I have added samba users 
first by using SWAT but it is just confusing and Iused sambaclient at 
command line to add a user and it added succesfully. I couls even 
connect locally to my samba server by using added samba user. I used 
to install FC3 and it has a great graphical tool (except SWAT) to 
manage samba users ans shares and also to congifure Apache in a 
graphical UI and both was great. I did use that and it was working 
perfectly but I don't know here in mndk is anything like that. Can 
anybody help ?

Regards,
Danesh
What is the exact command you used to add the Samba users?
It should be:
smbpasswd -a username
It will then ask for your password.  For consistency it should match the 
password of the corresponding Unix user and the corresponding Windows 
user.  Watch the messages displayed after entering this info. to make 
sure that the addition was successful.

--
Brant Fitzsimmons
[EMAIL PROTECTED]
---
Linux user #322847 | Linux machine #207465 | http://counter.li.org/
Mandrake 10.1 for i586, kernel 2.6.8.1-12mdk
18:20:00 up 5:28, 1 user, load average: 0.18, 0.37, 0.26
---
Press on: nothing in the world can take the place of
perseverance. Talent will not; nothing is more common than
unsuccessful men with talent. Genius will not; unrewarded genius
is almost a proverb. Education will not; the world is full of
educated derelicts. Persistence and determination alone are
omnipotent.
-Calvin Coolidge


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba user adding

2004-12-14 Thread Danesh Daroui




Anne Wilson wrote:

  -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 14 Dec 2004 21:20, Danesh Daroui wrote:
  
  
Hi all,

I have installed samba on mandk 10.1 official for act as server for a
small LAN (4 clients). All clietns have Windows XP. I have added unix
user to server for all clients too. My server is visible to all clients
but none of them can connect to server. The error message is The user
doesn't have permission or something like that. I guess that there is
something wrong with samba users. I have added samba users first by
using SWAT but it is just confusing and Iused sambaclient at command
line to add a user and it added succesfully. I couls even connect
locally to my samba server by using added samba user. I used to install
FC3 and it has a great graphical tool (except SWAT) to manage samba
users ans shares and also to congifure Apache in a graphical UI and both
was great. I did use that and it was working perfectly but I don't know
here in mndk is anything like that. Can anybody help ?


  
  If you can see the shares from XP but have permission problems you must be 
well on the way to a working configuration.  It's possible to do all this 
from Webmin, but I think it is quicker and easier to manually edit the files.  
Open (as root) /etc/samba/smb.conf and copy the shares information to a 
message here.  Also, give one share as an example of what you are trying to 
achieve - give the path to the share, and whether you want all users to read 
and write to it.  If you only want some users to do this you will have to 
control access by user groups.

Give us this information and someone should be able to help.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBv2PfkFAvMr/nNX8RAjaTAKCD2+wqnXyECxFbXdlkmHcv7VlU8wCdFpq/
gNOKOn6F4OEJA3hiqfB56Hs=
=EZ9A
-END PGP SIGNATURE-

  
  


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com

  

Thanks, here is my samba configurations file:

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/12/14 22:25:01

# Global parameters
[global]
 workgroup = HOME
 server string = Print Server
 security = SHARE
 map to guest = Bad User
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 dns proxy = No
 ldap ssl = no
 printer admin = @adm

[homes]
 comment = Home Directories
 read >
 browseable = No

[printers]
 comment = All Printers
 path = /var/spool/samba
 create mask = 0700
 guest ok = Yes
 printable = Yes
 use client driver = Yes
 browseable = No

[print$]
 path = /var/lib/samba/printers
 write list = @adm, root
 inherit permissions = Yes
 guest ok = Yes

[pdf-gen]
 comment = PDF Generator (only valid users)
 path = /var/tmp
 printable = Yes
 printing = bsd
 print command = /usr/share/samba/scripts/print-pdf "%s" "%H"
"//%L/%u" "%m" "%I" "%J" 
 lpq command = /bin/true
 lprm command = lprm -P'%p' %j

[HPLaserJet1010]
 comment = HP LaserJet 1010
 path = /var/spool/samba
 read >
 create mask = 0700
 guest ok = Yes
 printable = Yes
 printer name = HPLaserJet1010
 use client driver = Yes
 oplocks = No
 share modes = No

[HPColorLaserJet2550]
 comment = HP Color LaserJet 2550
 path = /var/spool/samba
 read >
 create mask = 0700
 guest ok = Yes
 printable = Yes
 printer name = HPColorLaserJet2550
 use client driver = Yes
 oplocks = No
 share modes = No





Re: [newbie] Samba user adding

2004-12-14 Thread frengoGorgia
TURN OFF YOUR HTML MAIL FORMAT PLEASE



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba user adding

2004-12-14 Thread Danesh Daroui




Hi all,

I have installed samba on mandk 10.1 official for act as server for a
small LAN (4 clients). All clietns have Windows XP. I have added unix
user to server for all clients too. My server is visible to all clients
but none of them can connect to server. The error message is The user
doesn't have permission or something like that. I guess that there is
something wrong with samba users. I have added samba users first by
using SWAT but it is just confusing and Iused sambaclient at command
line to add a user and it added succesfully. I couls even connect
locally to my samba server by using added samba user. I used to install
FC3 and it has a great graphical tool (except SWAT) to manage samba
users ans shares and also to congifure Apache in a graphical UI and
both was great. I did use that and it was working perfectly but I don't
know here in mndk is anything like that. Can anybody help ?

Regards,

Danesh





Re: [newbie] Samba user adding

2004-12-14 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 14 Dec 2004 21:20, Danesh Daroui wrote:
 Hi all,

 I have installed samba on mandk 10.1 official for act as server for a
 small LAN (4 clients). All clietns have Windows XP. I have added unix
 user to server for all clients too. My server is visible to all clients
 but none of them can connect to server. The error message is The user
 doesn't have permission or something like that. I guess that there is
 something wrong with samba users. I have added samba users first by
 using SWAT but it is just confusing and Iused sambaclient at command
 line to add a user and it added succesfully. I couls even connect
 locally to my samba server by using added samba user. I used to install
 FC3 and it has a great graphical tool (except SWAT) to manage samba
 users ans shares and also to congifure Apache in a graphical UI and both
 was great. I did use that and it was working perfectly but I don't know
 here in mndk is anything like that. Can anybody help ?

If you can see the shares from XP but have permission problems you must be 
well on the way to a working configuration.  It's possible to do all this 
from Webmin, but I think it is quicker and easier to manually edit the files.  
Open (as root) /etc/samba/smb.conf and copy the shares information to a 
message here.  Also, give one share as an example of what you are trying to 
achieve - give the path to the share, and whether you want all users to read 
and write to it.  If you only want some users to do this you will have to 
control access by user groups.

Give us this information and someone should be able to help.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBv2PfkFAvMr/nNX8RAjaTAKCD2+wqnXyECxFbXdlkmHcv7VlU8wCdFpq/
gNOKOn6F4OEJA3hiqfB56Hs=
=EZ9A
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba and WinXP Ok, now Internet

2004-09-11 Thread EE
Dears,

I am really happy. Even though I am a newbie, I managed to Setup a Samba
server that works from WinXP. I can now access both computer from each
other. I even can surf my local website in Linux from WinXP.

The next step is that I would like to sign on the Internet from Linux
and be able to surf it from my WinXP. How can I do this?

Cheers

EE



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba and WinXP Ok, now Internet

2004-09-11 Thread Ryan Steffes
On Sat, 11 Sep 2004 17:04:48 +0300, EE [EMAIL PROTECTED] wrote:
 Dears,
 
 I am really happy. Even though I am a newbie, I managed to Setup a Samba
 server that works from WinXP. I can now access both computer from each
 other. I even can surf my local website in Linux from WinXP.
 
 The next step is that I would like to sign on the Internet from Linux
 and be able to surf it from my WinXP. How can I do this?
 
 Cheers
 
 EE
 
 
 
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 
 
 
 

The way I've always done this before is through iptables.  See if this
Howto on IP-Masqerade helps you:
http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba, Windows XP and Mdk10

2004-08-16 Thread Sian Siew Chew
You might want to try 'webmin'. It's a web based interface that you
can use to change the settings of most functions/servers on MDK. I
used it to set up Samba on my MDK10 and it was relatively easy. =)

Cheers!

On Mon, 16 Aug 2004 18:49:58 +0300, EE [EMAIL PROTECTED] wrote:
 Dears,
 
 I would like to connect a laptop running WinXP to MDK10 box through an Ethernet 
 Cable (cards of course).
 
 I installed Samba to start with but beside that I have no idea. I will try to search 
 the net but if anyone have an idea or an article that will help me out, I will 
 appreciate.
 
 Thank you
 
 EE
 
 
 
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 
 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] samba

2004-07-28 Thread Lee Wiggers
I'm going to get this unless it kills me.

I've been rtfming my butt off on samba.

smbadduser as root goes like this:

[EMAIL PROTECTED] lee]# smbadduser lee:lee
bash: smbadduser: command not found
[EMAIL PROTECTED] lee]#

What have I overlooked?

smb daemon is running and I can browse one win2k box from black.

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Stephen Kühn
On Wed, 2004-07-28 at 14:55, Lee Wiggers wrote:
 I'm going to get this unless it kills me.
 
 I've been rtfming my butt off on samba.
 
 smbadduser as root goes like this:
 
 [EMAIL PROTECTED] lee]# smbadduser lee:lee
 bash: smbadduser: command not found
 [EMAIL PROTECTED] lee]#
 
 What have I overlooked?
 
 smb daemon is running and I can browse one win2k box from black.
 
 Lee

Lee - the easiest - EASIEST way to configure Samba (and/or add/remove
users and all that fancy jazz) is to use Webmin and the SWAT plugin in
Webmin - not a joke. It's a PITA dealing with administration of Samba
from the command line - and you should make absolutely sure you have all
the wonderful Samba tools installed as well (urpmi --fuzzy samba ; and
choose all the packages); I have to rely on Samba here at home and on
quite a few job sites...ain't no better way to deal with it than with
Webmin (it's a tool that everyone using GNU/Linux should have)

stephen kuhn - proprietor
__
illawarra computer services :: a kuhn media australia venture
http://kma.0catch.com  :: mobile 0410.728.389
Serving Sydney, The Illawarra, South Coast and Rural NSW
__
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
__
  Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. 

Finagle's First Law: To study a subject best, understand it thoroughly
before you start. Finagle's Second Law: Always keep a record of data --
it indicates you've been working. Finagle's Fourth Law: Once a job is
fouled up, anything done to improve it only makes it worse. Finagle's
Fifth Law: Always draw your curves, then plot your readings. Finagle's
Sixth Law: Don't believe in miracles -- rely on them.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Lanman
Stephen Kühn wrote:
Finagle's First Law: To study a subject best, understand it thoroughly
before you start. Finagle's Second Law: Always keep a record of data --
it indicates you've been working. Finagle's Fourth Law: Once a job is
fouled up, anything done to improve it only makes it worse. Finagle's
Fifth Law: Always draw your curves, then plot your readings. Finagle's
Sixth Law: Don't believe in miracles -- rely on them.
OK, This really pisses me off Stephen! You forgot Finagle's Third Law, 
and it's driving me nuts! What is it? You can't just leave something 
this important out of your SIG! The suspense is killing me!

grin!
OH, Lee? Stephen is 110% right about webmin and Samba BTW.
Lanman


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Lee Wiggers
On Wed, 28 Jul 2004 19:07:09 +1000
Stephen Kühn [EMAIL PROTECTED] wrote:

 Lee - the easiest - EASIEST way to configure Samba (and/or
 add/remove users and all that fancy jazz) is to use Webmin and the
 SWAT plugin in Webmin - not a joke.

I know, Stephen, and I've done it like that before, but obviously
didn't learn anything.  This time I'm going to understand it.

I have 7 boxes here that I set up with a combination of webmin and
luck before.  I never had full network communication between all
boxes, but didn't care because I had the old original win2k box
serving files to everyone and all was well.

Well, that box crashed Sunday and I can't get it's replacement or
the Linux boxes together because I didn't understand what put them
together in the first place.

Hell, I can't even add a smbuser.

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Lee Wiggers
On Wed, 28 Jul 2004 19:07:09 +1000
Stephen Kühn [EMAIL PROTECTED] wrote:

 Lee - the easiest - EASIEST way to configure Samba (and/or
 add/remove users and all that fancy jazz) is to use Webmin and the
 SWAT plugin in Webmin - not a joke.

To add to the confusion:

Samba or Samba3?

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Lee Wiggers
On Wed, 28 Jul 2004 05:31:07 -0400
Lanman [EMAIL PROTECTED] wrote:

 OH, Lee? Stephen is 110% right about webmin and Samba BTW.
 
 Lanman

No doubt, but I'm never going to learn anything if I just make it
work.

Why can't I do the one command all the tutorials lead me to:

[EMAIL PROTECTED] lee]# smbadduser lee:lee
bash: smbadduser: command not found
[EMAIL PROTECTED] lee]#


Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Stephen Kühn
On Wed, 2004-07-28 at 15:36, Lee Wiggers wrote:
 On Wed, 28 Jul 2004 19:07:09 +1000
 Stephen Kühn [EMAIL PROTECTED] wrote:
 
  Lee - the easiest - EASIEST way to configure Samba (and/or
  add/remove users and all that fancy jazz) is to use Webmin and the
  SWAT plugin in Webmin - not a joke.
 
 I know, Stephen, and I've done it like that before, but obviously
 didn't learn anything.  This time I'm going to understand it.
 
 I have 7 boxes here that I set up with a combination of webmin and
 luck before.  I never had full network communication between all
 boxes, but didn't care because I had the old original win2k box
 serving files to everyone and all was well.
 
 Well, that box crashed Sunday and I can't get it's replacement or
 the Linux boxes together because I didn't understand what put them
 together in the first place.
 
 Hell, I can't even add a smbuser.
 
 Lee

Ok - long and short of it is that you have to have the same users on the
network as you do on the linux box that you want to be the server; you
can setup the shares on the server in such a way as to either have them
protected by user authentication, domain authentication or share
authentication; I personally prefer share authentication as I have
customer machines that i back up to the server constantly, so domain or
user authentication means diddly to me here.

Another issue is having SWAT trim down your /etc/samba/smb.conf so that
you don't have to spend three days reading through it; and you can use
the functionality in Webmin to synchronise the users for unix=samba
really easy...

If you tell more of the story, perchance that would give us more info to
set you straight?

stephen kuhn - proprietor
__
illawarra computer services :: a kuhn media australia venture
http://kma.0catch.com  :: mobile 0410.728.389
Serving Sydney, The Illawarra, South Coast and Rural NSW
__
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
__
  Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. 

serendipity, n.: The process by which human knowledge is advanced.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Hoyt Bailey
On Wednesday 28 July 2004 04:31, Lanman wrote:
 Stephen Kühn wrote:
  Finagle's First Law: To study a subject best, understand it
  thoroughly before you start. Finagle's Second Law: Always keep a
  record of data -- it indicates you've been working. Finagle's
  Fourth Law: Once a job is fouled up, anything done to improve it
  only makes it worse. Finagle's Fifth Law: Always draw your curves,
  then plot your readings. Finagle's Sixth Law: Don't believe in
  miracles -- rely on them.

 OK, This really pisses me off Stephen! You forgot Finagle's Third
 Law, and it's driving me nuts! What is it? You can't just leave
 something this important out of your SIG! The suspense is killing me!

 grin!

 OH, Lee? Stephen is 110% right about webmin and Samba BTW.

 Lanman
Talk about walking into one.
-- 
Regards;
Hoyt


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Aron Smith
Hoyt Bailey wrote:
On Wednesday 28 July 2004 04:31, Lanman wrote:
Stephen Kühn wrote:
Finagle's First Law: To study a subject best, understand it
thoroughly before you start. Finagle's Second Law: Always keep a
record of data -- it indicates you've been working. Finagle's
Fourth Law: Once a job is fouled up, anything done to improve it
only makes it worse. Finagle's Fifth Law: Always draw your curves,
then plot your readings. Finagle's Sixth Law: Don't believe in
miracles -- rely on them.
OK, This really pisses me off Stephen! You forgot Finagle's Third
Law, and it's driving me nuts! What is it? You can't just leave
something this important out of your SIG! The suspense is killing me!
grin!
OH, Lee? Stephen is 110% right about webmin and Samba BTW.
Lanman
Talk about walking into one.
fifth law  third law takes priority



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Lanman
Lee Wiggers wrote:
On Wed, 28 Jul 2004 19:07:09 +1000
Stephen Kühn [EMAIL PROTECTED] wrote:

Lee - the easiest - EASIEST way to configure Samba (and/or
add/remove users and all that fancy jazz) is to use Webmin and the
SWAT plugin in Webmin - not a joke.

To add to the confusion:
Samba or Samba3?
Lee
Lee; Your best bet is to lose Samba and to move up to Samba 3, but 
there's a trick to doing it.If any , and i mean ANY remnants of Samba 
are left on the Linux box, Webmin will try to use that set of files and 
the default folder as the home of Samba. Typically, that will mean that 
Webmin will spit out an error about not finding Samba.

What you need to do, is to un-install Samba and Samba3, making sure to 
visually check that their folders in /etc are completely gone, and then 
urpmi Samba3. If you successfully removed any leftovers of Samba and 
Samba3, Mandrake will install Samba3 in /etc/samba and NOT /etc/samba3.
Then Webmin will detect that Samba3 is in the Samba folder, and you're 
in business.

Of course, make sure that any usernames and matching passwords on any of 
your systems are also added to the Linux box before converting Unix 
users to Samba users. If you set up folder access as Shared, it helps if 
you make sure that each PC is in the correct workgroup, and that you 
create the appropriate User groups on each PC, then add the proper users 
to those groups.

So on PC #2, you would create a user (only an example) called linus 
and you would also create a workgroup called torvalds. This same user 
and group should exist on the Linux box and that user linus (on the 
server) should belong to the torvalds group on the server. Then 
convert your Unix users in Samba to Samba users. It's not so much a 
question of whether this will work or not (although it will certainly 
help), but more of a question of removing any possibilities that 
something might gum up the works. It will also help to create a standard 
way of setting up Samba for you so that you will have consistent results 
every time you need to set up Samba.

Add any users on your network to the torvalds workgroup as needed, and 
feel free to put some users in different workgroups both on the PC's and 
on the Linux box. This will give you a clearer idea of samba's quirks 
and the results you can expect in the future.

One thing to watch out for though - I noticed that Webmin is back to its 
old tricks. If you go to Webmin/Samba/Edit Samba users and 
passwords/Samba users, and select one of your Samba users, you will 
probably see that 2 of the 4 check-boxes have checkmarks in them. Until 
you fix this, it's unlikely that you will be able to connect to the 
samba server at all, or it's more likely that Samba will reject your 
username and password.

This minor irritation has been around for a while, and it seems to 
confuse Samba quite a bit. The second checkbox is the problem, because 
the default setting is to use the current Samba password for that user, 
but the second checkbox also states that NO password is required. Just 
uncheck the second box, select new password and type in the user's 
existing password. Do this for all Samba users on your network, then 
restart the Samba server and you should be good to go!

HTH
Lanman

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Lanman
Hoyt Bailey wrote:
On Wednesday 28 July 2004 04:31, Lanman wrote:
Stephen Kühn wrote:
Finagle's First Law: To study a subject best, understand it
thoroughly before you start. Finagle's Second Law: Always keep a
record of data -- it indicates you've been working. Finagle's
Fourth Law: Once a job is fouled up, anything done to improve it
only makes it worse. Finagle's Fifth Law: Always draw your curves,
then plot your readings. Finagle's Sixth Law: Don't believe in
miracles -- rely on them.
OK, This really pisses me off Stephen! You forgot Finagle's Third
Law, and it's driving me nuts! What is it? You can't just leave
something this important out of your SIG! The suspense is killing me!
grin!
OH, Lee? Stephen is 110% right about webmin and Samba BTW.
Lanman
Talk about walking into one.

LOL!
Lanman

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Lanman
Aron Smith wrote:
Hoyt Bailey wrote:
On Wednesday 28 July 2004 04:31, Lanman wrote:
Stephen Kühn wrote:
Finagle's First Law: To study a subject best, understand it
thoroughly before you start. Finagle's Second Law: Always keep a
record of data -- it indicates you've been working. Finagle's
Fourth Law: Once a job is fouled up, anything done to improve it
only makes it worse. Finagle's Fifth Law: Always draw your curves,
then plot your readings. Finagle's Sixth Law: Don't believe in
miracles -- rely on them.

OK, This really pisses me off Stephen! You forgot Finagle's Third
Law, and it's driving me nuts! What is it? You can't just leave
something this important out of your SIG! The suspense is killing me!
grin!
OH, Lee? Stephen is 110% right about webmin and Samba BTW.
Lanman

Talk about walking into one.
fifth law  third law takes priority
Oh, I see! You're trying to Finagle your way out of telling us Number 
Three, eh?

OK, I get it.
Lanman

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba

2004-07-28 Thread Erylon Hines
On Tuesday 27 July 2004 09:55 pm, Lee Wiggers wrote:
| I'm going to get this unless it kills me.
|
| I've been rtfming my butt off on samba.
|
| smbadduser as root goes like this:
|
| [EMAIL PROTECTED] lee]# smbadduser lee:lee
| bash: smbadduser: command not found
| [EMAIL PROTECTED] lee]#
|
| What have I overlooked?
|
| smb daemon is running and I can browse one win2k box from black.
|
| Lee

As root, edit your /etc/samba/smbuser
and make it look like this

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

Then from a root console:

smbpasswd -a lee

follow the prompt to add the password

Also, keep in mind that lee must be a log-in on each box that you want to 
browse via samba, and the password must be identical for lee on every box.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba 3.0+ on 9.1

2004-07-04 Thread Stephen Kuhn
Has anyone upgraded the standard Samba 2.2.8 on MDK 9.1 to 3.0+?

stephen kuhn - proprietor
__
illawarra computer services :: a kuhn media australia venture
http://kma.0catch.com  :: mobile 0410.728.389
Serving Sydney, The Illawarra, South Coast and Rural NSW
__
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
__
  Certified virus-free since we don't use Microsoft products

I've enjoyed just about as much of this as I can stand.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] Samba server not working

2004-05-27 Thread Video 4Linux
Can you read/write on a EXT2 FAT with a Windows machine connected to Samba? 
I thought that FAT32 was required for that? But maybe I'm confused with 
sharing a partition with a dual boot machine with Win and Linux (which I 
don't have).

Bas
From: Bill Shirley [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [newbie] Samba server not working
Date: Wed, 26 May 2004 21:39:15 -0400

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Video 4Linux
 Sent: Wednesday, May 26, 2004 8:01 AM
 To: [EMAIL PROTECTED]
 Subject: [newbie] Samba server not working


 I'm trying to set up a Samba server on my Linux Mandrake 10 machine. 
I've
 copied the smb.conf settings from the Samba Howto and look like this:

 [global]
 workgroup = Thuis
 netbios name = Linux
 printcap name = cups
 disable spoolss = Yes
 show add printer wizard = No
 printing = cups
 [homes]
 comment = Home Directories
 valid users = %S
 read only = No
 browseable = No
 [public]
 comment = Data
 path = /share
 force user = bas
 force group = users
 guest ok = Yes
 [printers]
 comment = All Printers
 path = /var/spool/samba
 printer admin = root, bas
 create mask = 0600
 guest ok = Yes
 printable = Yes
 use client driver = Yes
 browseable = No

 I started the smb and nmb services which repsond both with [OK].

 But when I run the command smbclient -L localhost I get:

 session request to LOCALHOST failed (Call returned zero bytes (EOF))
 session request to *SMBSERVER failed (Call returned zero bytes (EOF))


It's 'smbclient -L netbiosname', so for you it's:
smbclient -L Linux
 Note that because I want to share a certain partition with a windows XP
 machine /share is mounted at a FAT32 partition. No idea if that has
samba can share out any partition.  You don't have to make it a FAT
partition.  All my shares are ext3.  Unless this is a partition that
already has data, I would recomment NOT to use FAT.
 something to do with my problems. I also cannot chown the /share folder
 (operation not permitted). It is now owned by root.

 Help is very welcome.

 Bas

 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com

_
Play online games with your friends with MSN Messenger 
http://messenger.msn.nl/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba server not working

2004-05-27 Thread Derek Jennings
On Thursday 27 May 2004 12:00, Video 4Linux wrote:
 Can you read/write on a EXT2 FAT with a Windows machine connected to Samba?
 I thought that FAT32 was required for that? But maybe I'm confused with
 sharing a partition with a dual boot machine with Win and Linux (which I
 don't have).

 Bas


The remote Windows machine neither knows nor cares what file system the host 
is using.

The server can serve any type of file system to clients using Samba.
The only thing you have to worry about is the permissions. A Samba client can 
only read/write to folders to which they have permission.

For example a Samba client 'fred' cannot write to a Linux folder owned by 
'joe' unless the appropriate permissions are set.

This is true for FAT32 partitions as well as Ext3 (there is little need to use 
Ext2 anymore).  But because a FAT32 partition has no concept of permissions, 
when Linux mounts a FAT32 partition it will apply the permissions defined in 
your /etc/fstab file to the entire partition.

If you want all your Samba clients to be able to read/write to a FAT32 
partition you must set the option umask=0  in the line for that partition in 
the fstab file. This makes the perms 777 and anyone can read/write to the 
partition

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba server not working

2004-05-26 Thread Video 4Linux
I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've
copied the smb.conf settings from the Samba Howto and look like this:
[global]
workgroup = Thuis
netbios name = Linux
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
printing = cups
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[public]
comment = Data
path = /share
force user = bas
force group = users
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root, bas
create mask = 0600
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
I started the smb and nmb services which repsond both with [OK].
But when I run the command smbclient -L localhost I get:
session request to LOCALHOST failed (Call returned zero bytes (EOF))
session request to *SMBSERVER failed (Call returned zero bytes (EOF))
Note that because I want to share a certain partition with a windows XP
machine /share is mounted at a FAT32 partition. No idea if that has
something to do with my problems. I also cannot chown the /share folder
(operation not permitted). It is now owned by root.
Help is very welcome.
Bas
_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba server not working

2004-05-26 Thread Derek Jennings
On Wednesday 26 May 2004 13:00, Video 4Linux wrote:
 I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've
 copied the smb.conf settings from the Samba Howto and look like this:

 [global]
 workgroup = Thuis
 netbios name = Linux
 printcap name = cups
 disable spoolss = Yes
 show add printer wizard = No
 printing = cups
 [homes]
 comment = Home Directories
 valid users = %S
 read only = No
 browseable = No
 [public]
 comment = Data
 path = /share
 force user = bas
 force group = users
 guest ok = Yes
 [printers]
 comment = All Printers
 path = /var/spool/samba
 printer admin = root, bas
 create mask = 0600
 guest ok = Yes
 printable = Yes
 use client driver = Yes
 browseable = No

 I started the smb and nmb services which repsond both with [OK].

 But when I run the command smbclient -L localhost I get:

 session request to LOCALHOST failed (Call returned zero bytes (EOF))
 session request to *SMBSERVER failed (Call returned zero bytes (EOF))

 Note that because I want to share a certain partition with a windows XP
 machine /share is mounted at a FAT32 partition. No idea if that has
 something to do with my problems. I also cannot chown the /share folder
 (operation not permitted). It is now owned by root.

 Help is very welcome.

 Bas

Did you try with the default smb.conf file?
Samba works out of the box in mandrake. The only line you have to change is
workgroup = 

There is a copy of the default file at usr/share/samba

The reason /share is owned by root is because it is FAT32 and has no perm 
bits. It will have the permissions defined in /etc/fstab and will default to 
whoever mounted it (root)  You need to set the uid=value and gid=value 
options in the fstab line. You might also like to set the umask= option as 
well See 'man mount'

Mounting the FAT32 partition at /share may not be a good idea. The msec 
security system expects everything under / to be owned by root and will try 
to alter the perms. Being FAT32 it will not be able to, but all the same a 
better location would be /mnt/share.

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] Samba server not working

2004-05-26 Thread Misinezis Efstratios ([EMAIL PROTECTED])
Hello..
First time writing
I think that is a matter of resolving the localhost the box you got and not
a matter of permissions.
Have you tried? name of the box , IP of the box e.t.c

Check the checklist form samba documentation. since pretty new in Samba
but I did had the same problem using SWAT...so I assume the problem is how
to resolve your host..


-Original Message-
From: Derek Jennings [mailto:[EMAIL PROTECTED] 
Sent: , 26  2004 4:05 
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Samba server not working

On Wednesday 26 May 2004 13:00, Video 4Linux wrote:
 I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've
 copied the smb.conf settings from the Samba Howto and look like this:

 [global]
 workgroup = Thuis
 netbios name = Linux
 printcap name = cups
 disable spoolss = Yes
 show add printer wizard = No
 printing = cups
 [homes]
 comment = Home Directories
 valid users = %S
 read only = No
 browseable = No
 [public]
 comment = Data
 path = /share
 force user = bas
 force group = users
 guest ok = Yes
 [printers]
 comment = All Printers
 path = /var/spool/samba
 printer admin = root, bas
 create mask = 0600
 guest ok = Yes
 printable = Yes
 use client driver = Yes
 browseable = No

 I started the smb and nmb services which repsond both with [OK].

 But when I run the command smbclient -L localhost I get:

 session request to LOCALHOST failed (Call returned zero bytes (EOF))
 session request to *SMBSERVER failed (Call returned zero bytes (EOF))

 Note that because I want to share a certain partition with a windows XP
 machine /share is mounted at a FAT32 partition. No idea if that has
 something to do with my problems. I also cannot chown the /share folder
 (operation not permitted). It is now owned by root.

 Help is very welcome.

 Bas

Did you try with the default smb.conf file?
Samba works out of the box in mandrake. The only line you have to change
is
workgroup = 

There is a copy of the default file at usr/share/samba

The reason /share is owned by root is because it is FAT32 and has no perm 
bits. It will have the permissions defined in /etc/fstab and will default to

whoever mounted it (root)  You need to set the uid=value and gid=value 
options in the fstab line. You might also like to set the umask= option as 
well See 'man mount'

Mounting the FAT32 partition at /share may not be a good idea. The msec 
security system expects everything under / to be owned by root and will try 
to alter the perms. Being FAT32 it will not be able to, but all the same a 
better location would be /mnt/share.

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

###

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] Samba server not working

2004-05-26 Thread Bill Shirley


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Video 4Linux
 Sent: Wednesday, May 26, 2004 8:01 AM
 To: [EMAIL PROTECTED]
 Subject: [newbie] Samba server not working
 
 
 I'm trying to set up a Samba server on my Linux Mandrake 10 machine. I've
 copied the smb.conf settings from the Samba Howto and look like this:
 
 [global]
 workgroup = Thuis
 netbios name = Linux
 printcap name = cups
 disable spoolss = Yes
 show add printer wizard = No
 printing = cups
 [homes]
 comment = Home Directories
 valid users = %S
 read only = No
 browseable = No
 [public]
 comment = Data
 path = /share
 force user = bas
 force group = users
 guest ok = Yes
 [printers]
 comment = All Printers
 path = /var/spool/samba
 printer admin = root, bas
 create mask = 0600
 guest ok = Yes
 printable = Yes
 use client driver = Yes
 browseable = No
 
 I started the smb and nmb services which repsond both with [OK].
 
 But when I run the command smbclient -L localhost I get:
 
 session request to LOCALHOST failed (Call returned zero bytes (EOF))
 session request to *SMBSERVER failed (Call returned zero bytes (EOF))
 

It's 'smbclient -L netbiosname', so for you it's:
smbclient -L Linux


 Note that because I want to share a certain partition with a windows XP
 machine /share is mounted at a FAT32 partition. No idea if that has

samba can share out any partition.  You don't have to make it a FAT
partition.  All my shares are ext3.  Unless this is a partition that
already has data, I would recomment NOT to use FAT.

 something to do with my problems. I also cannot chown the /share folder
 (operation not permitted). It is now owned by root.
 
 Help is very welcome.
 
 Bas
 
 _
 Protect your PC - get McAfee.com VirusScan Online 
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
 
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] Samba server for shares

2004-05-24 Thread Tobias Cloete
Thanx

Will do.

Regards,
Jargon

-Original Message-
From: Derek Jennings [mailto:[EMAIL PROTECTED] 
Sent: 24 May 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Samba server for shares

On Monday 24 May 2004 06:07, Tobias Cloete wrote:
 Thanx,

 I'll setup die security to high only.
 I don't want anonymous access to the shares.
 Each user must access only their share and nothing more. They will
only
 have read access too. Eg. \share\jargon; \share\someone; etc...

 I did read upon samba a bit more.
 I'm trying to get dit box to use samba-winbind for domain
 authentication.
 Any ideas?

 I do use die net join . command but, when I try to see the usr's
om
 the windows dc, I get an error. I read somewhere on the list someone
 said something about, Keberos and using that to authenticate against a
 windows domain.

 Regards,
 Jargon


I know what you want to do is possible, but it is outside my own
experience.
If you get no further replies here, I suggest you ask in the forum at 
MandrakeClub www.mandrakeclub.com.  One of your fellow countrymen Buchan

Milne posts there and is a real whizz at all things to do with Samba. He

responds to virtually every Samba question on the forum.

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba server for shares

2004-05-22 Thread Tobias Cloete








Greetz all.



Ive installed mdk10 with only a console and
networking utils, selected samba as addon.

Security mode is set to Highest.



I want to use this server to store some documents from
different usrs on our domain. Like their cvs, monthly claims etc

I installed webmin afterwards, to enable me to administer
the box remotely and only opened ports 138 (smb) and 1 (webmin).



I want out domain users to be able to access \share\usernamehere
with their windows domain account. I dont want to setup a 1000 unix
users with 1000 different passwords, thats not going be easy to
administer.



I dont want the box to be on the domain, but I want
to be able to administer the shares with my normal windows usr account. Well,
this is easy by creating a unix usr account for myself only and giving me full
access to be \share and its contents, so that I can see it through my windowsbox
and backup the data to a cdrw.



I want the permissions on the usernamehere to
only allow the users domain account name.



Im confused as to how webmin works and if this will
solve the problem



Any ideas?



Thanx,

Jargon








RE: [newbie] Samba server for shares

2004-05-22 Thread Tobias Cloete








Ok. I had a type its port : 139/tcp
for samba  J





-Original Message-
From: Tobias Cloete
[mailto:[EMAIL PROTECTED] 
Sent: 22 May 2004 04:50 PM
To: [EMAIL PROTECTED]
Subject: [newbie] Samba server for
shares



Greetz all.



Ive installed mdk10 with only
a console and networking utils, selected samba as addon.

Security mode is set to Highest.



I want to use this server to store
some documents from different usrs on our domain. Like their cvs,
monthly claims etc

I installed webmin afterwards, to
enable me to administer the box remotely and only opened ports 138 (smb) and
1 (webmin).



I want out domain users to be
able to access \share\usernamehere with their windows domain
account. I dont want to setup a 1000 unix users with 1000 different
passwords, thats not going be easy to administer.



I dont want the box to be on
the domain, but I want to be able to administer the shares with my normal
windows usr account. Well, this is easy by creating a unix usr account for
myself only and giving me full access to be \share and its contents, so that I
can see it through my windowsbox and backup the data to a cdrw.



I want the permissions on the
usernamehere to only allow the users domain account name.



Im confused as to how webmin
works and if this will solve the problem



Any ideas?



Thanx,

Jargon








Re: [newbie] Samba server for shares

2004-05-22 Thread Derek Jennings
On Sat, 22 May 2004 16:49:30 +0200, Tobias Cloete [EMAIL PROTECTED]  
wrote:

Greetz all.
I've installed mdk10 with only a console and networking utils, selected
samba as addon.
Security mode is set to Highest.
I want to use this server to store some documents from different usr's
on our domain. Like their cv's, monthly claims etc...
I installed webmin afterwards, to enable me to administer the box
remotely and only opened ports 138 (smb) and 1 (webmin).
I want out domain user's to be able to access \share\'usernamehere' with
their windows domain account. I don't want to setup a 1000 unix users
with 1000 different passwords, that's not going be easy to administer.
I don't want the box to be on the domain, but I want to be able to
administer the shares with my normal windows usr account. Well, this is
easy by creating a unix usr account for myself only and giving me full
access to be \share and its contents, so that I can see it through my
windowsbox and backup the data to a cdrw.
I want the permissions on the 'usernamehere' to only allow the user's
domain account name.
I'm confused as to how webmin works and if this will solve the problem
Any ideas?
Thanx,
Jargon
A few points :-
With security level set to highest (paranoid), you are going to be quite  
restricted. If you are just getting to know Linux then you might find it  
easier to work with 'High' or 'Higher' Otherwise you will may get quite  
frustrated at how much the security system interferes with you.

One way the security system will interfere is on the ownership and  
permissions on your shared folders. The msec security script will check on  
which user/group owns folders and the read/write/execute permissions on  
them. If the permissions do not conform to the levels appropriate for your  
security level msec will **change the permissions** without consulting  
you. This confuses the socks off a lot of people.  To define the  
permissions you want to use on your shared folders use drakperm in the  
security section of Mandrake Control Centre.

Samba cannot override the permissions on the linux folder, so any Samba  
user can only have the permissions appropriate for the user thay are  
logged in as.
It is not necessary to have a 1:1 mapping between Samba users and Linux  
users, but if the Samba access is not to be anonymous, then the Samba  
users must be mapped to a Linux Group or User.

In your case I suspect anonymous access would be all you need unless you  
want to either set up 1000 Samba users, or else implement an LDAP  
authentication server. If you are using anonymous access then you must map  
your users to the guest user 'nobody' and the shared folders must allow  
access to 'nobody'.

You will find an example configuration for an anonymous share in the  
default /etc/samba/smb.conf   file.

It is not clear if you have webmin working or not.
After installing the webmin package run
chkconfig webmin on
service webmin start
That will make the webmin server run automatically when you boot the  
server. Then

https://server_ip_addy:1
from any browser on the local network will access webmin  (Note https not  
http)
The Samba module in webmin is simply a graphical way of editing the  
/etc/samba/smb.conf file

HTH
derek
--
www.jennings.homelinux.net

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba server for shares

2004-05-22 Thread Stephen Kuhn
On Sun, 2004-05-23 at 00:49, Tobias Cloete wrote:
 --  
 
 Greetz all.
 
  
 
 Ive installed mdk10 with only a console and networking utils,
 selected samba as addon.
 
 Security mode is set to Highest.
 
  
 
 I want to use this server to store some documents from different usrs
 on our domain. Like their cvs, monthly claims etc
 
 I installed webmin afterwards, to enable me to administer the box
 remotely and only opened ports 138 (smb) and 1 (webmin).
 
  
 
 I want out domain users to be able to access \share\usernamehere
 with their windows domain account. I dont want to setup a 1000 unix
 users with 1000 different passwords, thats not going be easy to
 administer.
 
  
 
 I dont want the box to be on the domain, but I want to be able to
 administer the shares with my normal windows usr account. Well, this
 is easy by creating a unix usr account for myself only and giving me
 full access to be \share and its contents, so that I can see it
 through my windowsbox and backup the data to a cdrw.
 
  
 
 I want the permissions on the usernamehere to only allow the users
 domain account name.
 
  
 
 Im confused as to how webmin works and if this will solve the problem
 
  
 
 Any ideas?
 
  
 
 Thanx,
 
 Jargon

You're going to have to set the box up for domain logins; it's highly
suggested you install SWAT if you haven't already; this is a very useful
tool for not only configuring your Samba box via Webmin, but also comes
with heaps of Help Files concerning Samba and it's configuration as
well as offering some of the more advanced configuration options.

stephen kuhn - owner
==
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
--
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
--
What George Washington did for us was to throw out the British, so that
we wouldn't have a fat, insensitive government running our country. Nice
try anyway, George. -- D.J. on KSFO/KYA



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] Samba server for shares

2004-05-22 Thread Stephen Kuhn
On Sun, 2004-05-23 at 01:02, Tobias Cloete wrote:
 --  
 
 Ok. I had a type its port : 139/tcp for samba  J

...port 137, 138 and 139 should be opened.

stephen kuhn - owner
==
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
--
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
--
'What shall we do?' said Twoflower. 'Panic?' said Rincewind hopefully.
(The Light Fantastic)



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] SAMBA and NetBIOS names

2004-05-21 Thread Marc Lijour
Hi 

I used to have Mandrake 9.2 machines on the (windows) network and it was fine 
to ping the windows machines by their netbios names, something that I came to 
enjoy!

I do not know how the network is set up. I assume DNS is used to keep track of 
machines' names... The only thing I know is that Linux was able to use their 
names in ping, ssh and others (like the cups wizard!).

I moved to Mandrake10Official, and I came to realize that the name resolution 
is not working anymore. I dont know what has been changed, and after looking 
closely to smb.conf, resolv.conf, nsswitch.conf, winbind and trying to enable 
the machine as domain master, wins server, etc.. nothing seem to solve my 
problem.

What I can do:
use nmblookup machine name resolves the IP correctly

What I cannot do:
ssh machine_name, ping machine, etc... does not work anymore.

Can somebody point me to some readings or, even better, a solution?

Thanks.,
marc


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] samba as DC

2004-05-19 Thread hugenots
Haiz newbie,

  can someone mail me working smb.conf file as domain contoler

  and please point out things I have to be avare of while setting up my
  own DC.


force, my friend, is violence!
 hugenots  [EMAIL PROTECTED]




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] samba configuration in 10.0

2004-05-16 Thread Bill Shirley
Yes, make a copy of your /etc/samba/smb.conf.  The 3.0 rpm
borked mine.

HTH,
Bill


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Raffaele BELARDI
 Sent: Wednesday, May 12, 2004 3:32 AM
 To: [EMAIL PROTECTED]
 Subject: [newbie] samba configuration in 10.0
 
 
 I'll install shortly 10.0 Official on my office PC, which I currently 
 use with 9.2 as samba server to share some Linux partitions (no 
 printers) with windows co-workers. I understand 10.0 includes 
 samba 3.x, 
 while 9.2 uses samba 2.x.
 
 Are there any gotchas I should be aware of for the porting of 
 the samba 
 configuration files, or is it painless? I am not using any graphical 
 configuration tool for this task.
 
 thanks,
 
 raffaele
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] samba configuration in 10.0

2004-05-12 Thread Raffaele BELARDI
I'll install shortly 10.0 Official on my office PC, which I currently 
use with 9.2 as samba server to share some Linux partitions (no 
printers) with windows co-workers. I understand 10.0 includes samba 3.x, 
while 9.2 uses samba 2.x.

Are there any gotchas I should be aware of for the porting of the samba 
configuration files, or is it painless? I am not using any graphical 
configuration tool for this task.

thanks,

raffaele


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Raffaele BELARDI
Klemens Arro wrote:
whats with samba and shorewall? I cant use samba server or Smb4K (guess that 
shorewall blocks it). When I take the whole firewall down Everything (no 
firewall) then samba works perfectly, but then I can't share my ADSL 
connection.
My /etc/shorewall/rules below, part relevant to samba server. It was 
taken from the shorewall documentation, it works for me.

raffaele

#ACTION  SOURCE DESTPROTO   DESTSOURCE ORIGINAL
#   PORTPORT(S)DEST
# samba ports
ACCEPT  net fw  udp 137:139
ACCEPT  net fw  tcp 137,139
ACCEPT  net fw  udp 1024:   137

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Derek Jennings
On Friday 30 Apr 2004 07:35, Raffaele BELARDI wrote:
 Klemens Arro wrote:
  whats with samba and shorewall? I cant use samba server or Smb4K (guess
  that shorewall blocks it). When I take the whole firewall down
  Everything (no firewall) then samba works perfectly, but then I can't
  share my ADSL connection.

 My /etc/shorewall/rules below, part relevant to samba server. It was
 taken from the shorewall documentation, it works for me.

 raffaele

 #ACTION  SOURCE DESTPROTO   DESTSOURCE ORIGINAL
 #   PORTPORT(S)DEST
 # samba ports
 ACCEPT  net fw  udp 137:139
 ACCEPT  net fw  tcp 137,139
 ACCEPT  net fw  udp 1024:   137

Well I hope you have another firewall further upstream from your computer, 
because what these lines do is to open up Windows networking directly to the 
Internet so anyone+dog can browse your shared folders.

If you want to enable Samba to  computers in your local network, the lines

ACCEPT  loc fw  udp 137,138,139
ACCEPT  loc fw  tcp 137,138,139

will do the trick  (assuming the local network is called 'loc'  in some cases 
it may be called 'masq' )

As an additional precaution it is a good idea to set the line
interfaces= eth1   (where eth1 is the local network)
in your /etc/samba/smb.conf  file.

This will force samba to only use that interface instead of the default which 
is all interfaces. 
Not only will it prevent people from outside connecting to samba, but it will 
stop samba timing out when it sends packets to the network interface which 
are then dropped by shorewall.

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Raffaele BELARDI
Derek Jennings wrote:
On Friday 30 Apr 2004 07:35, Raffaele BELARDI wrote:

Well I hope you have another firewall further upstream from your computer, 
because what these lines do is to open up Windows networking directly to the 
Internet so anyone+dog can browse your shared folders.
Yes I do, and also I use the hosts allow entry in smb.conf to limit 
access to a very limited set of co-workers' machines. Anyway, thanks for 
the tip, I admit I did not do much study on the samba/shorewall 
configuration.

raffaele



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Klemens Arro
On Friday 30 April 2004 03:02, Steve Jeppesen wrote:
 Klemens,
 I maybe wrong, but I thought you had to open ports 137, 138 and 139.

 Double check to be sure

Yes, you are right. But this didn't help either.
-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Klemens Arro
On Friday 30 April 2004 09:35, Raffaele BELARDI wrote:
 Klemens Arro wrote:
  whats with samba and shorewall? I cant use samba server or Smb4K (guess
  that shorewall blocks it). When I take the whole firewall down
  Everything (no firewall) then samba works perfectly, but then I can't
  share my ADSL connection.

 My /etc/shorewall/rules below, part relevant to samba server. It was
 taken from the shorewall documentation, it works for me.

 raffaele

 #ACTION  SOURCE DESTPROTO   DESTSOURCE ORIGINAL
 #   PORTPORT(S)DEST
 # samba ports
 ACCEPT  net fw  udp 137:139
 ACCEPT  net fw  tcp 137,139
 ACCEPT  net fw  udp 1024:   137

This doenn't help either :(
My /etc/shorewall/rules looks like this (made by mcc)
ACCEPT  net fw  udp 137,138,139 -
ACCEPT  net fw  tcp 80,443,20,21,25,137,138,139 -
ACCEPT  loc fw  udp 137,138,139 -
ACCEPT  loc fw  tcp 80,443,20,21,25,137,138,139 -
REDIRECTloc 3128tcp www -
ACCEPT  fw  net tcp www
-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Klemens Arro
On Friday 30 April 2004 09:35, Raffaele BELARDI wrote:
 Klemens Arro wrote:
  whats with samba and shorewall? I cant use samba server or Smb4K (guess
  that shorewall blocks it). When I take the whole firewall down
  Everything (no firewall) then samba works perfectly, but then I can't
  share my ADSL connection.

 My /etc/shorewall/rules below, part relevant to samba server. It was
 taken from the shorewall documentation, it works for me.

 raffaele

 #ACTION  SOURCE DESTPROTO   DESTSOURCE ORIGINAL
 #   PORTPORT(S)DEST
 # samba ports
 ACCEPT  net fw  udp 137:139
 ACCEPT  net fw  tcp 137,139
 ACCEPT  net fw  udp 1024:   137

This doenn't help either :(
My /etc/shorewall/rules looks like this (made by mcc)
ACCEPT  net fw  udp 137,138,139 -
ACCEPT  net fw  tcp 80,443,20,21,25,137,138,139 -
ACCEPT  loc fw  udp 137,138,139 -
ACCEPT  loc fw  tcp 80,443,20,21,25,137,138,139 -
REDIRECTloc 3128tcp www -
ACCEPT  fw  net tcp www

* Sorry, I had a spelling error, I fixed this ;)
-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Derek Jennings
On Friday 30 Apr 2004 10:20, Klemens Arro wrote:
 On Friday 30 April 2004 09:35, Raffaele BELARDI wrote:
  Klemens Arro wrote:
   whats with samba and shorewall? I cant use samba server or Smb4K (guess
   that shorewall blocks it). When I take the whole firewall down
   Everything (no firewall) then samba works perfectly, but then I can't
   share my ADSL connection.
 
  My /etc/shorewall/rules below, part relevant to samba server. It was
  taken from the shorewall documentation, it works for me.
 
  raffaele
 
  #ACTION  SOURCE DESTPROTO   DESTSOURCE
  ORIGINAL #   PORTPORT(S) 
DEST # samba ports
  ACCEPT  net fw  udp 137:139
  ACCEPT  net fw  tcp 137,139
  ACCEPT  net fw  udp 1024:   137

 This doenn't help either :(
 My /etc/shorewall/rules looks like this (made by mcc)
 ACCEPT  net fw  udp 137,138,139 -
You DO NOT want this line. As I commented to Raffaele this opens the firewall 
to Windows networking over the Internet interface *very insecure!*

 ACCEPT  net fw  tcp 80,443,20,21,25,137,138,139 -
This line opens your computer to the internet for Web server (80), Secure web 
server (443), ftp (20,21), SMTP (25), and Windows networking (137,138,139)

You should only have these ports open if you actually want to use them, and of 
course 137,138, and 139 should not be exposed to the Internet


 ACCEPT  loc fw  udp 137,138,139 -
 ACCEPT  loc fw  tcp 80,443,20,21,25,137,138,139 -
 REDIRECTloc 3128tcp www -
 ACCEPT  fw  net tcp www


Try adding the line to /etc/shorewall/policy

fw  loc ACCEPT

That will allow all services running on your firewall device samba, etc to 
connect to the local network. If that is too broad for you then add
ACCEPT  fw loc  udp 137,138,139 -
ACCEPT  fwloc  tcp 137,138,139 -

to /etc/shorewall/rules instead

After making any change to shorewall restart it
 with 
'shorewall restart' in a root terminal.


derek


-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Klemens Arro
On Friday 30 April 2004 13:54, Derek Jennings wrote:
 On Friday 30 Apr 2004 10:20, Klemens Arro wrote:
  On Friday 30 April 2004 09:35, Raffaele BELARDI wrote:
   Klemens Arro wrote:
whats with samba and shorewall? I cant use samba server or Smb4K
(guess that shorewall blocks it). When I take the whole firewall down
Everything (no firewall) then samba works perfectly, but then I
can't share my ADSL connection.
  
   My /etc/shorewall/rules below, part relevant to samba server. It was
   taken from the shorewall documentation, it works for me.
  
   raffaele
  
   #ACTION  SOURCE DESTPROTO   DESTSOURCE
   ORIGINAL #   PORT   
   PORT(S) DEST # samba ports
   ACCEPT  net fw  udp 137:139
   ACCEPT  net fw  tcp 137,139
   ACCEPT  net fw  udp 1024:   137
 
  This doenn't help either :(
  My /etc/shorewall/rules looks like this (made by mcc)
  ACCEPT  net fw  udp 137,138,139 -

 You DO NOT want this line. As I commented to Raffaele this opens the
 firewall to Windows networking over the Internet interface *very insecure!*

  ACCEPT  net fw  tcp 80,443,20,21,25,137,138,139 -

 This line opens your computer to the internet for Web server (80), Secure
 web server (443), ftp (20,21), SMTP (25), and Windows networking
 (137,138,139)

 You should only have these ports open if you actually want to use them, and
 of course 137,138, and 139 should not be exposed to the Internet

  ACCEPT  loc fw  udp 137,138,139 -
  ACCEPT  loc fw  tcp 80,443,20,21,25,137,138,139 -
  REDIRECTloc 3128tcp www -
  ACCEPT  fw  net tcp www

 Try adding the line to /etc/shorewall/policy

 fwloc ACCEPT

 That will allow all services running on your firewall device samba, etc to
 connect to the local network. If that is too broad for you then add
 ACCEPT  fw loc  udp 137,138,139 -
 ACCEPT  fwloc  tcp 137,138,139 -

 to /etc/shorewall/rules instead

 After making any change to shorewall restart it
  with
 'shorewall restart' in a root terminal.


 derek

now it shows me all computers at my network, but when i try to connect it 
tells me: Connection to X failed and nobody can't see me.

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-30 Thread Derek Jennings
On Friday 30 Apr 2004 19:24, Klemens Arro wrote:
 On Friday 30 April 2004 13:54, Derek Jennings wrote:
  On Friday 30 Apr 2004 10:20, Klemens Arro wrote:
   On Friday 30 April 2004 09:35, Raffaele BELARDI wrote:
Klemens Arro wrote:
 whats with samba and shorewall? I cant use samba server or Smb4K
 (guess that shorewall blocks it). When I take the whole firewall
 down Everything (no firewall) then samba works perfectly, but
 then I can't share my ADSL connection.
   
My /etc/shorewall/rules below, part relevant to samba server. It was
taken from the shorewall documentation, it works for me.
   
raffaele
   
#ACTION  SOURCE DESTPROTO   DESTSOURCE
ORIGINAL #   PORT
PORT(S) DEST # samba ports
ACCEPT  net fw  udp 137:139
ACCEPT  net fw  tcp 137,139
ACCEPT  net fw  udp 1024:   137
  
   This doenn't help either :(
   My /etc/shorewall/rules looks like this (made by mcc)
   ACCEPT  net fw  udp 137,138,139 -
 
  You DO NOT want this line. As I commented to Raffaele this opens the
  firewall to Windows networking over the Internet interface *very
  insecure!*
 
   ACCEPT  net fw  tcp 80,443,20,21,25,137,138,139 -
 
  This line opens your computer to the internet for Web server (80), Secure
  web server (443), ftp (20,21), SMTP (25), and Windows networking
  (137,138,139)
 
  You should only have these ports open if you actually want to use them,
  and of course 137,138, and 139 should not be exposed to the Internet
 
   ACCEPT  loc fw  udp 137,138,139 -
   ACCEPT  loc fw  tcp 80,443,20,21,25,137,138,139 -
   REDIRECTloc 3128tcp www -
   ACCEPT  fw  net tcp www
 
  Try adding the line to /etc/shorewall/policy
 
  fw  loc ACCEPT
 
  That will allow all services running on your firewall device samba, etc
  to connect to the local network. If that is too broad for you then add
  ACCEPT  fw loc  udp 137,138,139 -
  ACCEPT  fwloc  tcp 137,138,139 -
 
  to /etc/shorewall/rules instead
 
  After making any change to shorewall restart it
   with
  'shorewall restart' in a root terminal.
 
 
  derek

 now it shows me all computers at my network, but when i try to connect it
 tells me: Connection to X failed and nobody can't see me.

You need to check that the firewall is open from 'fw' to 'loc', and from 'loc' 
to 'fw'

If you look at your syslog you will be able to see if any packets are being 
discarded.

derek


-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba / Shorewall

2004-04-29 Thread Klemens Arro
Hy,

whats with samba and shorewall? I cant use samba server or Smb4K (guess that 
shorewall blocks it). When I take the whole firewall down Everything (no 
firewall) then samba works perfectly, but then I can't share my ADSL 
connection.

By allowing ports 193-194 doesn't help, neither by telling shorewall to allow 
Samba server!
-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba / Shorewall

2004-04-29 Thread Steve Jeppesen
On Fri, 30 Apr 2004 00:23:41 +0300
Klemens Arro [EMAIL PROTECTED] wrote:

 whats with samba and shorewall? I cant use samba server or Smb4K (guess that 
 shorewall blocks it). When I take the whole firewall down Everything (no 
 firewall) then samba works perfectly, but then I can't share my ADSL 
 connection.
 
 By allowing ports 193-194 doesn't help, neither by telling shorewall to allow 
 Samba server!
 -- 
 Klemens Arro

Klemens,
I maybe wrong, but I thought you had to open ports 137, 138 and 139.

Double check to be sure

-- 
Linux user #280097
Machines #162480 #191825

http://counter.li.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba security update?

2004-04-20 Thread Jerry Cornelius
I found this on my available updates tonight:

All versions of Samba prior to 2.2.8a are vulnerable.  The provided updates 
contain a patch from the Samba Team to correct the issue.

Oddly, the filename of the update is samba-client-2.2.7a-9.3.91mdk.  Was there 
a typo in the description or is this update not an update?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba problem

2004-04-08 Thread Klemens Arro
Thanks everybody, I got it working :P

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] samba problem

2004-04-07 Thread Klemens Arro
Hi,

I have samba server running, but I can't connect to any other win server's 
neither can they connect to my server.

I have tried to configure it with MCC samba wizard, but it fails when it asks 
for allowed users and I have tried to configure it with SWAT, but I cant get 
it to work. :'(

I added my smb.conf file as attachment.

Thanks!
-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/04/07 23:23:33

# Global parameters
[global]
dos charset = CP850
unix charset = UTF-8
display charset = LOCALE
workgroup = VIRTUALHOME
realm = 
netbios name = NOLIFE
netbios aliases = 
netbios scope = 
server string = Nolife systems
interfaces = 
bind interfaces only = No
security = SHARE
auth methods = 
encrypt passwords = Yes
update encrypted = No
client schannel = Auto
server schannel = Auto
allow trusted domains = Yes
hosts equiv = 
min passwd length = 5
map to guest = Bad User
null passwords = No
obey pam restrictions = No
password server = *
smb passwd file = /etc/samba/smbpasswd
private dir = /etc/samba
passdb backend = smbpasswd
algorithmic rid base = 1000
root directory = 
guest account = nobody
pam password change = No
passwd program = 
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
passwd chat timeout = 2
username map = 
password level = 0
username level = 0
unix password sync = No
restrict anonymous = 0
lanman auth = Yes
ntlm auth = Yes
client NTLMv2 auth = No
client lanman auth = Yes
client plaintext auth = Yes
preload modules = 
log level = 0
syslog = 1
syslog only = No
log file = /var/log/samba/log.%m
max log size = 50
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
smb ports = 445 139
protocol = NT1
large readwrite = Yes
max protocol = NT1
min protocol = CORE
unicode = Yes
read bmpx = No
read raw = Yes
write raw = Yes
disable netbios = No
acl compatibility = 
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts wins host bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = Yes
use spnego = Yes
client signing = auto
server signing = auto
client use spnego = Yes
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
kernel change notify = Yes
lpq cache time = 10
max smbd processes = 0
paranoid server security = Yes
max disk size = 0
max open files = 1
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
use mmap = Yes
hostname lookups = No
name cache timeout = 660
load printers = Yes
printcap name = cups
disable spoolss = No
enumports command = 
addprinter command = 
deleteprinter command = 
show add printer wizard = Yes
os2 driver map = 
mangling method = hash2
mangle prefix = 1
stat cache = Yes
machine password timeout = 604800
add user script = 
delete user script = 
add group script = 
delete group script = 
add user to group script = 
delete user from group script = 
set primary group script = 
add machine script = 
shutdown script = 
abort shutdown script = 
logon script = 
logon path = \\%N\%U\profile
logon drive = 
logon home = \\%N\%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = No
local master = Yes
domain master = No
browse list = Yes
enhanced browsing = Yes
dns proxy = No
wins proxy = No
wins server = 
wins support = Yes
wins hook = 
wins partners = 
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
ldap suffix = 
ldap machine suffix = 
ldap user suffix = 
ldap group suffix = 
ldap idmap suffix = 
ldap filter = (uid=%u)
ldap admin dn = 
  

Re: [newbie] samba problem

2004-04-07 Thread Klemens Arro
On Wednesday 07 April 2004 23:58, Klemens Arro wrote:
 Hi,

 I have samba server running, but I can't connect to any other win server's
 neither can they connect to my server.

 I have tried to configure it with MCC samba wizard, but it fails when it
 asks for allowed users and I have tried to configure it with SWAT, but I
 cant get it to work. :'(

 I added my smb.conf file as attachment.

 Thanks!

I forgot to tell, I have a samba 3 server (default from mdk 10/cooker)

sorry

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba problem

2004-04-07 Thread Stephen Kuhn
On Thu, 2004-04-08 at 06:58, Klemens Arro wrote:
 Hi,
 
 I have samba server running, but I can't connect to any other win server's 
 neither can they connect to my server.
 
 I have tried to configure it with MCC samba wizard, but it fails when it asks 
 for allowed users and I have tried to configure it with SWAT, but I cant get 
 it to work. :'(
 
 I added my smb.conf file as attachment.
 
 Thanks!

Could be that your firewall is blocking port 137, 138 and 139?

stephen kuhn - owner
==
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
--
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
--
All over the place, from the popular culture to the propaganda system,
there is constant pressure to make people feel that they are helpless,
that the only role they can have is to ratify decisions and to consume.
-- Noam Chomsky



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba problem

2004-04-07 Thread Klemens Arro
On Thursday 08 April 2004 00:50, Stephen Kuhn wrote:
 Could be that your firewall is blocking port 137, 138 and 139?


I don't think so. I have allowed Samba server from mcc Firewall

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba problem

2004-04-07 Thread Derek Jennings
On Wednesday 07 Apr 2004 21:58, Klemens Arro wrote:
 Hi,

 I have samba server running, but I can't connect to any other win server's
 neither can they connect to my server.

 I have tried to configure it with MCC samba wizard, but it fails when it
 asks for allowed users and I have tried to configure it with SWAT, but I
 cant get it to work. :'(

 I added my smb.conf file as attachment.

 Thanks!
The trouble with using SWAT is that it replaces the original Mandrake config 
file which is heavily annotated and has defaults which work out of the box.

I suggest you replace your config file with the default you will find 
at /usr/share/samba/smb.conf.clean and then start again from there.
Reading the default config file will give you a lot of hints.

Before users can connect to their home directories on your server you must 
execute the command
smbpasswd -a user_name
where user_name is a logon name that exits in both windows and Linux 
environments. You will be prompted for the *Windows* password of that user 
which does not have to be the same as that users Linux password.

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Samba limitations?

2004-03-31 Thread Edgars Smits
I'm running 10 here on my laptop, no problems. However I just noticed 
that for some reason my Samba mounted NT shares from network servers 
don't give me a complete listing but stop after 122 entries. The 
directory contains 4 subfolders and 414 m3u files (yup, it's my music 
server), yet no matter what I do all I see is 122 files (the first 122) 
and sometimes 1 folder. I've been using Nautilus, thought it was a 
Nautilus issue, installed gnome-commander, same thing. I've mounted and 
unmounted the share, no difference. As a final try I command lined it to 
the mount point and did ls, nothing showing.

I know that under 9.2 I didn't have this problem. When I rebuilt my 
laptop this weekend using the community DVD I decided to do a clean 
install rather than update, so I can't go back to see the difference.

Any ideas? I am a newbie and can use all the hand-holding you can provide.

ED


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba is not accessible

2004-03-09 Thread Derek Jennings
On Tuesday 09 Mar 2004 03:15, David Sexton wrote:
 can any one tell me why I cant access my samba server I keep getting the
 followingerror below. I also will put in my smb.conf file.  thanks

 David


 \\testserver is not accessible You might not have permission access  this
 network resource. Contact the administrator of the server to find out if
 you have access permissions.

 The network  path was not found.


First of all.
Are you running a firewall on your Linux box? By default Mandrake sets up the 
shorewall firewall to block access from the Internet to the Linux server, and 
*also* block access from the local network to the Linux server.
If you want to run Samba on a firewalled box you must open up ports 
137,138,139 from the local network to the server.

 # Uncomment this if you want a guest account, you must add this to
 /etc/passwd # otherwise the user nobody is used
 ;  guest account = pcguest
 # Allow users to map to guest:
 map to guest = Bad User

You have a linux account called 'Bad User' do you?
If so then you ought to put quotes around the name in this statement since 
Linux regards a space as delineating parameters. I would have thought using 
spaces in user names would have all sorts of nasty implications.



 # Share Definitions
 == [homes]
 comment = Home Directories
browsable = yes
available = yes
read only = no

In order for Windows users to see their home directory on the Linux server you 
must open a root terminal in Lux and enter
smbpasswd -a user_name
where user_name is the name of a user with a Linux AND a Windows identity
when prompted give the **Windows** password for that user.

HTH

derek


-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] samba is not accessible

2004-03-08 Thread David Sexton
can any one tell me why I cant access my samba server I keep getting the following
error below. I also will put in my smb.conf file.  thanks 

David 


\\testserver is not accessible You might not have permission access  this network 
resource. Contact the administrator of the server to find out if you have access 
permissions.

The network  path was not found.




# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command testparm
# to check that you have not made any basic syntactic errors.
#
#=== Global Settings =
[global]

# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MDK

# netbios name is the name you will see in Network Neighbourhood,
# but defaults to your hostname
netbios name = dsexton.servebeer.com

# server string is the equivalent of the NT Description field
server string = Samba Server %v

# Message command is run by samba when a popup message is sent to it.
# The example below is for use with LinPopUp:
; message command = /usr/bin/linpopup %f %m %s; rm %s

# 2. Printing Options:
# CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK
# (as cups is now used in linux-mandrake 7.2 by default)
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = cups

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups

# Samba 2.2 supports the Windows NT-style point-and-print feature. To
# use this, you need to be able to upload print drivers to the samba
# server. The printer admins (or root) may install drivers onto samba.
# Note that this feature uses the print$ share, so you will need to
# enable it below.
# This parameter works like domain admin group:
# printer admin = @group user
printer admin = @adm
# This should work well for winbind:
;   printer admin = @Domain Admins

# 3. Logging Options:
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Set the log (verbosity) level (0 = log level = 10)
; log level = 3

# 4. Security and Domain Membership Options:
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the loopback interface. For more examples of the syntax see
# the smb.conf man page. Do not enable this if (tcp/ip) name resolution does
# not work for all the hosts in your network.
;   hosts allow = 192.168.1. 192.168.2. 127.

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user nobody is used
;  guest account = pcguest
# Allow users to map to guest:
map to guest = Bad User

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server or security = domain
# When using security = domain, you should use password server = *
;   password server = NT-Server-Name
;   password server = *

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
# Encrypted passwords are required for any use of samba in a Windows NT domain
# The smbpasswd file is only required by a server doing authentication, thus
# members of a domain do not need one.
;encrypt passwords = yes

# The following are needed to allow password changing from Windows to
# also update the Linux system password.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#the encrypted SMB passwords. They allow the Unix password
#to be kept in sync with the SMB password.
;  unix password sync = Yes
# You either need to setup a passwd program and passwd chat, or
# enable pam password change
;  pam password change = yes
;  passwd program = /usr/bin/passwd %u
;  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n

Re: [newbie] Samba inconsistencies

2004-01-02 Thread pwpatter
On 1 Jan 2004 at 18:56, David wrote:

 
  On Fri, 02 Jan 2004 01:44:30 +0200
 
  robin pulled out a pad and began to scribble.:
 
 David wrote:
  
  
  I have some craziness going on with my Samba.  
  
  Samba seems to be set correctly.  My XP pro box can connect
with no
 problems, but my XP home box will not.  
  
  Whenever I attempt to add/connect to a Samba share with the XP
home
 machine, I get a login dialog box.  The dialog has guest as the
 login name and it is grayed out.  This does not happen on th4e XP pro
 box.  
  
 
 XP Home is LAN-disabled - it will connect to other Winboxes via
Network  Neighborhood but will not talk to any non-Windows
machines.  I've spent  hours trying to print to an XP Home box via
Samba, and extensive  googling indicates that it just isn't
possible, so I suspect the same is  true the other way round. The
only solution is to upgrade XP Home to Win  98 ;-)   Sir Robin
 
 
 You just gotta love those reverse-chronological microsoft upgrades! 
 
 
 goodbye eXtra craPpy home edition
 
 
 =
 David Steiner
 www.DavidLSteiner.com
 Proud Linux User #262493
 =
 
 
David,
A couple of weeks ago I was having similar problems. My solution ended up replacing 
the 
onboard nic on my samba server with a fully supported nic. I do not know if your 
problem is the 
same but xphome will definitely connect to the samba server and visa versa.

Pat


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba inconsistencies

2004-01-02 Thread Anne Wilson
On Friday 02 January 2004 02:49, E. Hines wrote:
 Screw XP Home--dual boot that machine with Mandrake.  You will use
 Windows less and less as time goes by, and you will NEVER regret
 it.  Put a Fat partition on it to share files between XP and Linux.

 My home has 8 machines, all but one dual boot.  I am in Windows
 maybe once a month.  If you play games it will be more, but dual
 boot is the answer.  My wife is on a Linux machine, and she said to
 a friend last week, If I can use Linux, it must be easy (we were
 talking about him installing dual boot with XP and Mandrake on a
 new machine he was buying).  Our friend is tired of virus crap and
 constant updates.  Aren't you???  And Mandrake is easy enough even
 your wife and kids can use it.

 E

Of course, if they want to go on using windows, let them until the 
next time they are infected g  Make sure that the data is being 
saved to a fat32 partition, then when their windows won't run show 
them that they can access all their work without it. ;-)

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba inconsistencies

2004-01-02 Thread Anne Wilson
On Friday 02 January 2004 04:19, David wrote:
 Yeah, that was the first thing I did was install Mandrake on it. 
 I'm only keeping the xp on it to run visual studio for a course I
 got next semester and for watching DVDs at the moment.

The dvd issue you can tackle, but as long as colleges insist on you 
learning windows software there's nothing much you can do about that 
:-(  Don't get me going about the EU 'Computer Driving License' that 
is nothing but a course in using M$ Office!

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba inconsistencies

2004-01-01 Thread E. Hines
Screw XP Home--dual boot that machine with Mandrake.  You will use Windows 
less and less as time goes by, and you will NEVER regret it.  Put a Fat 
partition on it to share files between XP and Linux.

My home has 8 machines, all but one dual boot.  I am in Windows maybe once a 
month.  If you play games it will be more, but dual boot is the answer.  My 
wife is on a Linux machine, and she said to a friend last week, If I can use 
Linux, it must be easy (we were talking about him installing dual boot with 
XP and Mandrake on a new machine he was buying).  Our friend is tired of 
virus crap and constant updates.  Aren't you???  And Mandrake is easy enough 
even your wife and kids can use it.

E


On Thursday 01 January 2004 03:44 pm, robin wrote:
 David wrote:
  I have some craziness going on with my Samba.
 
  Samba seems to be set correctly.  My XP pro box can connect with no
  problems, but my XP home box will not.
 
  Whenever I attempt to add/connect to a Samba share with the XP home
  machine, I get a login dialog box.  The dialog has guest as the login
  name and it is grayed out.  This does not happen on th4e XP pro box.

 XP Home is LAN-disabled - it will connect to other Winboxes via Network
 Neighborhood but will not talk to any non-Windows machines.  I've spent
 hours trying to print to an XP Home box via Samba, and extensive
 googling indicates that it just isn't possible, so I suspect the same is
 true the other way round. The only solution is to upgrade XP Home to Win
 98 ;-)

 Sir Robin


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba inconsistencies

2004-01-01 Thread David


Yeah, that was the first thing I did was install Mandrake on it.  I'm only keeping the 
xp on it to run visual studio for a course I got next semester and for watching DVDs 
at the moment.  



=
David Steiner
www.DavidLSteiner.com
Proud Linux User #262493
=


On Thu, 1 Jan 2004 18:49:10 -0800

E. Hines pulled out a pad and began to scribble.:

Screw XP Home--dual boot that machine with Mandrake.  You will use Windows 
less and less as time goes by, and you will NEVER regret it.  Put a Fat 
partition on it to share files between XP and Linux.

My home has 8 machines, all but one dual boot.  I am in Windows maybe once
a 
month.  If you play games it will be more, but dual boot is the answer.  My

wife is on a Linux machine, and she said to a friend last week, If I can
use 
Linux, it must be easy (we were talking about him installing dual boot
with 
XP and Mandrake on a new machine he was buying).  Our friend is tired of 
virus crap and constant updates.  Aren't you???  And Mandrake is easy
enough 
even your wife and kids can use it.

E


On Thursday 01 January 2004 03:44 pm, robin wrote:
 David wrote:
  I have some craziness going on with my Samba.
 
  Samba seems to be set correctly.  My XP pro box can connect with no
  problems, but my XP home box will not.
 
  Whenever I attempt to add/connect to a Samba share with the XP home
  machine, I get a login dialog box.  The dialog has guest as the login
  name and it is grayed out.  This does not happen on th4e XP pro box.

 XP Home is LAN-disabled - it will connect to other Winboxes via Network
 Neighborhood but will not talk to any non-Windows machines.  I've spent
 hours trying to print to an XP Home box via Samba, and extensive
 googling indicates that it just isn't possible, so I suspect the same is
 true the other way round. The only solution is to upgrade XP Home to Win
 98 ;-)

 Sir Robin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba inconsistencies

2004-01-01 Thread Ronald J. Hall
On Thursday 01 January 2004 11:19 pm, David wrote:
-
- Yeah, that was the first thing I did was install Mandrake on it.  I'm only
 keeping the xp on it to run visual studio for a course I got next semester
 and for watching DVDs at the moment. -

but you can watch DVDs under Linux just fine... :-)

-- 

   /\
 Dark Lord
   \/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba inconsistencies

2003-12-31 Thread Rob Blomquist
On Wednesday 31 December 2003 10:28 am, David droned on:
 I have some craziness going on with my Samba.

 Samba seems to be set correctly.  My XP pro box can connect with no
 problems, but my XP home box will not.

 Whenever I attempt to add/connect to a Samba share with the XP home
 machine, I get a login dialog box.  The dialog has guest as the login
 name and it is grayed out.  This does not happen on th4e XP pro box.

 Anyone have any ideas on what's going on here or anything to try?  I've
 pasted my entire smb.conf below my sig.

Having just wrestled with my own Samba problems, I'm gonna say that its not 
Samba giving you the problem, its XP home that is giving you the problem.

I found that the O'Reilley Book on Samba was a great time saver for me while I 
was wrestling with Samba, and it allowed me to win.

-- 

Linux: For the people, by the people.
Linux Counter #183693 http://counter.li.org/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba 3

2003-12-29 Thread Paul Kaplan
Try the samba mailing lists @ samba.org.  A very helpful group.

On Friday 26 December 2003 09:23 am, robin wrote:
 Has anyone here used Samba 3.0.*? I've got smbclient3 working, but
 smbtar3 seems to be broken - I get error messages about an unacceptable
 user-password combination, even thought the same password works in
 smbclient3.

 Sir Robin


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba 3

2003-12-29 Thread Robin Turner
Paul Kaplan wrote:
Try the samba mailing lists @ samba.org.  A very helpful group.
Thanks, I'll check them out (nothing came up in a search of the archives).

Sir Robin

--
The other major kind of computer is the Apple, which I do not
recommend, because it is a wuss-o-rama New-Age computer that you
basically just plug in and use. - Dave Barry
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Samba 3

2003-12-26 Thread robin
Has anyone here used Samba 3.0.*? I've got smbclient3 working, but 
smbtar3 seems to be broken - I get error messages about an unacceptable 
user-password combination, even thought the same password works in 
smbclient3.

Sir Robin

--
Certitude is possible for those who only own one encyclopedia.
- Robert Anton Wilson
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba help please?

2003-12-07 Thread Al Yaemes

- Original Message -
From: Lanman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 07, 2003 6:04 PM
Subject: Re: [newbie] Samba help please?


 On 12/7/2003 at 5:51 PM Al  Destiny wrote:

 Hi all,
 
 I have MDK 9.1 setup on an old box to link with my XP box.
 
 Samba seems to work great as a server...I can browse my home dir
 from the
 XP
 box.
 
 But I cannot see any files on the XP box from Linux.
 
 I can browse the network. I can find the XP box. I can see the
 share name
 ddrive (I know, not very imaginative, but it does the trick..I
 know what
 it is.)
 
 After opening ddrive there are no files shown.
 
 Any ideas what I could be doing wrong???
 
 TIA
 
 Shaz

 *** REPLY SEPARATOR  ***

 Is there a user on the XP box that is identical to the Samba box?
 This sounds like a permissions
 issue. Make sure that the new user not only has a password that is
 common to both boxes, but is
 also in the same workgroup.

 Speaking of Samba, has anyone tried Samba 3.0 ? Anything to know in
 advance about it?

 Lanman




XP User/Password:al/11

Linux User/Password: al/11



Easy passwords huh? but only temporary till i can get it all up and running
how I want it to be.

How do I change workgroup with Mandrake? I know how to change XP, but it
wants a reboot(as usual with M$) but I've heard that linux very
rarely needs rebooting.



Also, I keep hearing about Webmin as a configuration tool...where/how do I
find it???



TIA

Shaz




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba help please?

2003-12-07 Thread Anne Wilson
On Sunday 07 Dec 2003 6:32 pm, Al Yaemes wrote:

 XP User/Password:al/11

 Linux User/Password: al/11

 Easy passwords huh? but only temporary till i can get it all up and
 running how I want it to be.

Don't leave it too long.

 How do I change workgroup with Mandrake? I know how to change XP,
 but it wants a reboot(as usual with M$) but I've heard that
 linux very rarely needs rebooting.

Edit /etc/samba/smb.conf - BUT - make a backup copy of that file to 
smb.conf.orig first.  There's a lot of useful info in there that you 
may well want to read later, and it's too easy to lose it all, 
especially if you edit in Webmin.  Webmin is a great tool, but it 
does overwrite the existing file.


 Also, I keep hearing about Webmin as a configuration
 tool...where/how do I find it???

It comes as standard with Mandrake distros, but it's not installed by 
default.  Use Mandrake Control Center  Software Management to find 
and install it.  It can be accessed from a browser by 
https://localhost:1 (notice that it is http*s*)  or from a root 
console by just typing Webmin.  You have to give a root password to 
use it.  You'll see tabbed pages with links to configuration files 
for a huge number of programs.

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba help please?

2003-12-07 Thread Anne Wilson
On Sunday 07 Dec 2003 7:54 pm, Al Yaemes wrote:

 Ok, changed workgroup to match xp box..stopped and started samba.

 usernames and passwords match.

 same problem...

 can navigate all the way to ddrive but 0 files/0 directories..

 long/verbose explanations are not boring...they contain a lot of
 helpful information..especially when presented in plain English.

 I actually prefer long explanations :)

A common problem is case sensitivity in the workgroup name.  It's not 
helped by the fact that you can't easily tell in windows whether you 
used capitals or not.  I got round it by deliberately changing my 
windows workgroup to all lower-case, knowing that then I could 
guarantee that I had set the identically.  HTH

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba help please?

2003-12-07 Thread robin
Al  Destiny wrote:
Hi all,

I have MDK 9.1 setup on an old box to link with my XP box.

Samba seems to work great as a server...I can browse my home dir from the XP
box.
But I cannot see any files on the XP box from Linux.

I can browse the network. I can find the XP box. I can see the share name
ddrive (I know, not very imaginative, but it does the trick..I know what
it is.)
After opening ddrive there are no files shown.

Any ideas what I could be doing wrong???

What flavour of XP is it?  In XP Professional, there is a setting you 
need to turn off in the XP box (enable easy something-or-other - a 
google on samba and XP will turn it up).  As far as I (and the assembled 
brains of our univeristy computer centre) can tell, if it's XP Home, 
you're screwed.  That's why, since they've taken the printer off my box 
and hooked it up to a Windows box, if I want to print a document I have 
to convert it to a format that Windows can read, copy to a floppy, and 
take it over to one of the Windows boxes.  G.

Sir Robin

--
Certitude is possible for those who only own one encyclopedia.
- Robert Anton Wilson
Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba help please?

2003-12-07 Thread Lanman
On 12/8/2003 at 8:54 AM Al Yaemes wrote:
Ok, changed workgroup to match xp box..stopped and started samba.
usernames and passwords match. same problem...can navigate all the

way to ddrive but 0 files/0 directories..long/verbose
explanations are 
not boring...they contain a lot of helpful information..especially
when 
presented in plain English. I actually prefer long explanations :)

*** REPLY SEPARATOR  ***

Al; You shouldn't be having these problems. If I understand you
correctly, your Mandrake Box isn't 
seeing the files on your XP box, right? Ok, so we go through the
process starting with the stupid
questions, and working our way up from there. I ask you 2 or 3
questions, you check things out
on the XP box, and we cross them off the list, until we find the
answer, OK?

Here goes,

1) Is it XP Home or Pro?
2) Are there files in the XP share ( ddrive ) ?
3) Can you COPY files from the Mandrake Box to the XP box ?  
4) Why is the sky blue? Just Kidding - wanted to see if you were
paying attention ! Grin!
5) Have you checked to see what permissions are set for the
ddrive folder or hard disk?
Note; In XP, you have to select permissions for each user, and you
should be able to select
the workgroup, add users in that group, and set permissions as
well. Users in an XP group
that ONLY belong to a group on that one PC are the only ones who
have access permissions.
If you right-click on the shared folder, and select Sharing and
Security you should be able to 
find an applet window that lists the users who can access the
shared folder. The list usually
starts with the user everyone, and at the bottom of the applet
window you should see what 
permissions that this user has. Above the user list, should be a
drop-down dialog box that shows
the name of the computer. If you select the drop-down arrow, you'll
also see the workgroup 
that you created ( IE; Al's Worlkgroup ). Select the workgroup
your users belong to, and then 
look at the permissions. While you're at it, you can now add the
user Al to the list and set some 
permissions for him.

I know that sounds silly, but XP assigns different permissions to
Al - an administrator on that PC,
as opposed to Al - a member of the workgroup MyGroup ( just an
example ), even though the 
workgroup MyGroup may exist on that PC. Wierd huh? You have to
set new permissions for 
anyone who belongs to the workgroup MyGroup, and it might be
simpler to delete the share you 
made and create a new one.

While you're at it, make sure that you go to Control
PanelAdministrative Tools Computer
ManagementUsers and Groups, then create the new workgroup and add
your user Al to that 
group. Then set permissions to the folder you want to share as I
described above.

Get back to me.

Lanman  





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Samba help please?

2003-12-06 Thread Al Destiny
Hi all,

I have MDK 9.1 setup on an old box to link with my XP box.

Samba seems to work great as a server...I can browse my home dir from the XP
box.

But I cannot see any files on the XP box from Linux.

I can browse the network. I can find the XP box. I can see the share name
ddrive (I know, not very imaginative, but it does the trick..I know what
it is.)

After opening ddrive there are no files shown.

Any ideas what I could be doing wrong???

TIA

Shaz



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba help please?

2003-12-06 Thread Lanman
On 12/7/2003 at 5:51 PM Al  Destiny wrote:

Hi all,

I have MDK 9.1 setup on an old box to link with my XP box.

Samba seems to work great as a server...I can browse my home dir
from the
XP
box.

But I cannot see any files on the XP box from Linux.

I can browse the network. I can find the XP box. I can see the
share name
ddrive (I know, not very imaginative, but it does the trick..I
know what
it is.)

After opening ddrive there are no files shown.

Any ideas what I could be doing wrong???

TIA

Shaz

*** REPLY SEPARATOR  ***

Is there a user on the XP box that is identical to the Samba box?
This sounds like a permissions 
issue. Make sure that the new user not only has a password that is
common to both boxes, but is 
also in the same workgroup. 

Speaking of Samba, has anyone tried Samba 3.0 ? Anything to know in
advance about it?

Lanman 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba help please?

2003-12-06 Thread Jerry Barton
On Sun, 7 Dec 2003 17:51:28 +1300
Al  Destiny [EMAIL PROTECTED] wrote:

 Hi all,
 
 I have MDK 9.1 setup on an old box to link with my XP box.
 
 Samba seems to work great as a server...I can browse my home dir from
 the XP box.
 
 But I cannot see any files on the XP box from Linux.
 
 I can browse the network. I can find the XP box. I can see the share
 nameddrive (I know, not very imaginative, but it does the trick..I
 know what it is.)

That's the important part :-) 

 
 After opening ddrive there are no files shown.
 
 Any ideas what I could be doing wrong???
 

Depending on which application you are using to browse the network, you
may have to right click and choose scan group as and enter the
user/password of a user set up on your windows box.  I have found the
easiest way is to use LinNeighborhood to mount the shares and browse
them that way.

In LinNeighborhood right click on the workgroup of your windows box and
choose scan group as user.  Hope that helps.  I used to use komba as
well and had to do basically the same thing.  You may need to check your
user/password permissions and make sure they match between boxen.

Jerry.

-- 
_||_  Registered linux user #300600 
 (o_  Registered linux machine # 185855  
 //\at   
 V_/_ http://counter.li.org  

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] samba cant copy big files??

2003-11-23 Thread LtCdData
hi
i joined 3 movie files together to a size of 2.2 GB on windoze XP
when i viewed the file from linux mdk9.2 to copy the file over the file showed 
up as 16,777,216 TB. an attempt to copy the file also failed as it kept on 
copying well after the 2.2GB of the actual file size and i had to stop it.
however windozeXP was able to copy the file over correctly and continues to 
see the file as the correct size but samba still sees the file as  16,777,216 
TB. when viewed from either of my linux boxes???

does anyone know if this is a configuration problem or a samba bug?? 

cheerz
LtCdData


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba/NFS/SSH to access a Mandrake Box

2003-10-21 Thread Derek Jennings
On Monday 20 Oct 2003 2:03 pm, Thinker wrote:
 2nd try...


 I am currently using SuSE 8.2 (ftp version). I have Mandrake 9.0(MDK)
 installed on one box and Windows 2000 Professional (W2K)on another.

 The ultimate goal is to use the SuSE 8.2 box for work and such until
 SuSE 9.0 gets here. When the new SuSE gets here, I would like to have
 the MDK box clean and available. In order to do that, I need to copy my
 home directory from the MDK box to both the SuSE 8.2 box (for use of
 files) and more importantly to the W2K box (since it is the only machine
 with a working CD Burner).

 I cannot get ssh server installed correctly on the Mandrake box. I can see
 the box in LinNeighborhood but I cannot copy any files.

 How do I 'share' a directory so that I can copy the contents to both the
 Windows and SuSE 8.2 boxes?

 What is the easiest way to do this?


 Thanks in advance,

 -=Thinker

With the default samba comfiguration in Mandrake you will be able to see the 
home directories for any user so long as you run
smbpasswd -a user_name
as root. When prompted give the *windows* password for that user.
You will also need to set the workgroup name in the samba config file
/etc/samba/smb.conf

The default config file also contains lots of examples on how to set up 
different types of shares.

derek



-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Samba/NFS/SSH to access a Mandrake Box

2003-10-20 Thread Thinker
2nd try...


I am currently using SuSE 8.2 (ftp version). I have Mandrake 9.0(MDK)
installed on one box and Windows 2000 Professional (W2K)on another.

The ultimate goal is to use the SuSE 8.2 box for work and such until
SuSE 9.0 gets here. When the new SuSE gets here, I would like to have
the MDK box clean and available. In order to do that, I need to copy my
home directory from the MDK box to both the SuSE 8.2 box (for use of
files) and more importantly to the W2K box (since it is the only machine
with a working CD Burner).

I cannot get ssh server installed correctly on the Mandrake box. I can see the box in 
LinNeighborhood but I cannot copy any files.

How do I 'share' a directory so that I can copy the contents to both the Windows and 
SuSE 8.2 boxes?

What is the easiest way to do this?


Thanks in advance,

-=Thinker


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Samba vs LinNieghborhood

2003-10-03 Thread Mark Weaver
[EMAIL PROTECTED] wrote:
Mark Weaver wrote:

Burrows, Scott wrote:

Hi all,

I have my MDK 9.1 box connected to our Windows network here at work 
using
Samba.  From a windows box I can see my linux box on the network.

Using Samba alone should I be able to browse the windows network?  
Currently
I dont seem to be able to.

If yes can I log onto the Windows network from my linux box and 
browse the
network?

If I can use Samba for that then what is LinNieghborhood used for?

Thanks from a newbie.

Scott


Hi Scott,

In order to browse the Windows network you would be using 
LinNeighborhood and Samba together. LN would use the SambaClient to 
access the negotiate the connection to the windows network. For this 
all that is necessary is to have the Samba-client package installed on 
your machine. LinNeighborhood would do the rest.


Do you mean that once we install LinNeighborhood we can do all of that 
without the need for SWAT and WEBMIN?

Thanx,

ayoub890
something like that because all you need is the samba client and 
LinNeighborhood

--
Mark
If you don't share your concepts and ideals, they end up being worthless,
Sharing is what makes them powerful.
Registered Linux User # 186492

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Samba vs LinNieghborhood

2003-10-02 Thread Burrows, Scott
Hi all,

I have my MDK 9.1 box connected to our Windows network here at work using
Samba.  From a windows box I can see my linux box on the network.

Using Samba alone should I be able to browse the windows network?  Currently
I dont seem to be able to.


If yes can I log onto the Windows network from my linux box and browse the
network?


If I can use Samba for that then what is LinNieghborhood used for?


Thanks from a newbie.

Scott



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


  1   2   3   4   5   6   >