Re: [Samba] Newbie help - Sernet Samba [SOLVED]

2013-06-25 Thread Steve Meisner
Figured it out...

I had cleaned up all the old packages, but missed winbind. Doing;

apt-get purge winbind 

fixed the problem.

-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On 
Behalf Of Steve Meisner
Sent: Monday, June 24, 2013 7:08 PM
To: 'samba@lists.samba.org'
Subject: [Samba] Newbie help - Sernet Samba

I am working with a Debian Wheezy setup and have Sernet Samb Version 
4.0.6-SerNet-Debian-3.wheezy running successfully...but with one problem. When 
I did the original apt-get to install, I got an error indicating Winbind was 
not configured and the script stopped there. Now every time I run apt-get -f I 
get the following. Where should I be looking for clues as to how to fix this??

root@debian:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up sernet-samba-winbind (99:4.0.6-3) ...
insserv: script sernet-samba-winbindd: service winbind already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing sernet-samba-winbind (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sernet-samba-ad:
 sernet-samba-ad depends on sernet-samba-winbind (= 99:4.0.6-3); however:
  Package sernet-samba-winbind is not configured yet.

dpkg: error processing sernet-samba-ad (--configure):
 dependency problems - leaving unconfigured Errors were encountered while 
processing:
 sernet-samba-winbind
 sernet-samba-ad
E: Sub-process /usr/bin/dpkg returned an error code (1) root@debian:~#

Thanks!
Steve

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


[Samba] Newbie help - Sernet Samba

2013-06-24 Thread Steve Meisner
I am working with a Debian Wheezy setup and have Sernet Samb Version 
4.0.6-SerNet-Debian-3.wheezy running successfully...but with one problem. When 
I did the original apt-get to install, I got an error indicating Winbind was 
not configured and the script stopped there. Now every time I run apt-get -f I 
get the following. Where should I be looking for clues as to how to fix this??

root@debian:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up sernet-samba-winbind (99:4.0.6-3) ...
insserv: script sernet-samba-winbindd: service winbind already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing sernet-samba-winbind (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sernet-samba-ad:
 sernet-samba-ad depends on sernet-samba-winbind (= 99:4.0.6-3); however:
  Package sernet-samba-winbind is not configured yet.

dpkg: error processing sernet-samba-ad (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sernet-samba-winbind
 sernet-samba-ad
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~#

Thanks!
Steve

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


Re: [Samba] Newbie question but an Easy one

2012-01-11 Thread Jeremy Allison
On Wed, Jan 11, 2012 at 03:36:03PM -0500, Craig Ham wrote:
> Jeremy
> So I've got Ubuntu and Samba server up and running.
> I create a user in linux and on samba, both same username and password.
> I get to a workstation and double click the server name, I enter the samba
> username and password but fail to log in.
> What am I missing?

Please ask questions like this on the sa...@samba.org mailing list.

For a short answer, you need to ensure that the Samba users is
created using smbpasswd -a username, with the same Windows password.

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


Re: [Samba] Newbie question but an Easy one

2011-11-22 Thread Jeremy Allison
On Tue, Nov 22, 2011 at 12:47:34PM -0500, Craig Ham wrote:
> Our school needs to replace our Novell server.
> We have a collection of XP Pro computers and a few XP Home, Win98, Win95
> and Win2000 computers.
> All we need is file sharing.
> 
> Can Samba be setup so that all these computers can access a file share (F:\
> or G:\)  and run the program on the client pc?

Yes.

> What would be the minimum HW required for Samba server?

Depends on the client load. Shouldn't be much - you should
be able to use any generic Linux distro.

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


Re: [Samba] Newbie question but an Easy one

2011-11-22 Thread John Drescher
> Our school needs to replace our Novell server.
> We have a collection of XP Pro computers and a few XP Home, Win98, Win95
> and Win2000 computers.
> All we need is file sharing.
>
> Can Samba be setup so that all these computers can access a file share (F:\
> or G:\)  and run the program on the client pc?
>

Yes of course.

> What would be the minimum HW required for Samba server?

This depends on what type of performance you need. You can run samba
on 2W arm based cpus if you want.

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


[Samba] Newbie question but an Easy one

2011-11-22 Thread Craig Ham
Our school needs to replace our Novell server.
We have a collection of XP Pro computers and a few XP Home, Win98, Win95
and Win2000 computers.
All we need is file sharing.

Can Samba be setup so that all these computers can access a file share (F:\
or G:\)  and run the program on the client pc?

What would be the minimum HW required for Samba server?

Greatly thankful I am!

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


Re: [Samba] Newbie : bad uid in the smbpasswd file ?

2010-12-29 Thread Gary Dale

On 28/12/10 06:43 PM, Francois Lafont wrote:

tdb for the backend?
 
The easiest way to get things working is to stop fighting the 
distributors. Ubuntu gives you a fully functioning basic Samba 
configuration. SWAT allows you to easily configure it to add shares, 
printers, etc..


Breaking Samba, like anything else, is easier to do than to make it work 
correctly. When you replace Ubuntu's smb.conf file with your own 
hacked-up version, you will get the same results you previously had.


Use Ubuntu's default smb.conf as your starting point then use SWAT to 
update it.


So far as learning is concerned, try following Samba by Example or the 
Samba Howto Collection to get Samba to do something useful in a 
reasonably secure fashion.

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


Re: [Samba] Newbie : bad uid in the smbpasswd file ?

2010-12-28 Thread Francois Lafont
Le 28/12/2010 20:29, Gary Dale a écrit :

> Bonjour Francois. One question is why are you using smbpasswd instead of
> tdb for the backend?

As I said in the title of my post, I'm a newbie and I'm just learning
Samba and at the moment I'm just trying a few basic shares. I have seen
that "tdb backend" is better than "smbpasswd backend" but to begin I
thought It was clearer for me to use plain text file for the storage of
the users'accounts.

And I met this problem of uid that annoys me and I would like to understand.

> I suggest that you remove (purge) your samba implementation and
> reinstall it with the defaults. 

I have tried this:

# apt-get update
# apt-get purge samba
# apt-get install samba

But, with the smb.conf file that I have posted in my first message, I
have exactly the same problem:

#--
# smbpasswd -a francois -D 10 | grep -i 'uid'
New SMB password:
Retype new SMB password:
getsmbfilepwent: returning passwd entry for user francois, uid 0
getsmbfilepwent: returning passwd entry for user francois, uid 0

# cat smbpasswd
francois:0: [snip]

# cat /etc/passwd | grep francois
francois:x:1000:1000:francois,,,:/home/francois:/bin/bash
#--

I'd really like to understand the problem.


> Next use swat to configure things.

Is it not better to edit smb.conf with a simple editor?

> You need to consider the role the server plays, I highly recommend that
> you make it a domain controller unless you already have one. If you have
> a domain controller then join the server to the domain. If you don't
> have a domain controller, then use your samba server as domain controller.
> 
> Once you have your server's role established, add and enable the
> accounts using swat.
> 
> If this is a workstation that you are simply trying to share a folder
> from, then consider whether that is really a good idea. Sharing files
> exposes your machine unnecessarily. It is far better to set up a server
> with a shared folder.
> 
> You can get all kinds of network storage devices quite cheaply that will
> do the job. Or you can use an old computer and set it up as domain
> controller/file server. You can even share printers, scanners, etc. from
> it.
> 
> However, if you must use a workstation to share files, then use swat to
> configure it as a standalone or domain member server with whatever
> access rights you want. However, I strongly advise against using your
> account to provide guest access. Set up a real guest account that has no
> login rights (e.g. set the login shell to /bin/false).

Thanks for the pieces of advice. At the moment, I'm just learning with
my computer (Ubuntu 10.04) and client XP (Virtual machine with VirtualBox).


Francois Lafont

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


Re: [Samba] Newbie : bad uid in the smbpasswd file ?

2010-12-28 Thread Gary Dale

On 28/12/10 06:44 AM, Francois Lafont wrote:

Hello everybody,

I don't understand why the uid isn't correct in the /etc/samba/smbpasswd
file. My OS is Ubuntu 10.04. Some precise explanations below:

#---
# smbd -V
Version 3.4.7

# testparm -s /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[PARTAGE]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = MON-DOMAINE
netbios name = SAMBA-SRV
server string = ""
map to guest = Bad User
passdb backend = smbpasswd
guest account = francois
lanman auth = Yes
log level = 1
max log size = 10
wins support = Yes

[PARTAGE]
comment = Pour faire des tests
path = /resteDisque1/dossier
read only = No
guest ok = Yes

# service smbd restart
smbd start/running, process 6638

# service nmbd restart
nmbd start/running, process 6650

# cat /etc/samba/smbpasswd # no output, the file is empty

# pdbedit -L # no result, no samba user

# smbpasswd -a francois # I create the user francois
New SMB password:
Retype new SMB password:
Added user francois.

# cat /etc/samba/smbpasswd # In this file, the uid is 0, like root ?!
francois:0:96E3B942381CBE5BAAD3B435B51404EE:BBB4013EC9D4E3D7A88CA89C2519DB11:[U
  ]:LCT-4D116896:

# pdbedit -L # With this command, the uid is 1000 ?!
francois:1000:francois

# cat /etc/passwd | grep francois # 1000 is the *real* uid of francois
francois:x:1000:1000:francois,,,:/home/francois:/bin/bash

#---

The real uid of francois is 1000. Why is the uid equal to 0 in the
smbpasswd file ?

Thanks in advance for your help.

   
Bonjour Francois. One question is why are you using smbpasswd instead of 
tdb for the backend?


I suggest that you remove (purge) your samba implementation and 
reinstall it with the defaults. Next use swat to configure things.


You need to consider the role the server plays, I highly recommend that 
you make it a domain controller unless you already have one. If you have 
a domain controller then join the server to the domain. If you don't 
have a domain controller, then use your samba server as domain controller.


Once you have your server's role established, add and enable the 
accounts using swat.


If this is a workstation that you are simply trying to share a folder 
from, then consider whether that is really a good idea. Sharing files 
exposes your machine unnecessarily. It is far better to set up a server 
with a shared folder.


You can get all kinds of network storage devices quite cheaply that will 
do the job. Or you can use an old computer and set it up as domain 
controller/file server. You can even share printers, scanners, etc. from it.


However, if you must use a workstation to share files, then use swat to 
configure it as a standalone or domain member server with whatever 
access rights you want. However, I strongly advise against using your 
account to provide guest access. Set up a real guest account that has no 
login rights (e.g. set the login shell to /bin/false).


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


[Samba] Newbie : bad uid in the smbpasswd file ?

2010-12-28 Thread Francois Lafont
Hello everybody,

I don't understand why the uid isn't correct in the /etc/samba/smbpasswd
file. My OS is Ubuntu 10.04. Some precise explanations below:

#---
# smbd -V
Version 3.4.7

# testparm -s /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[PARTAGE]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = MON-DOMAINE
netbios name = SAMBA-SRV
server string = ""
map to guest = Bad User
passdb backend = smbpasswd
guest account = francois
lanman auth = Yes
log level = 1
max log size = 10
wins support = Yes

[PARTAGE]
comment = Pour faire des tests
path = /resteDisque1/dossier
read only = No
guest ok = Yes

# service smbd restart
smbd start/running, process 6638

# service nmbd restart
nmbd start/running, process 6650

# cat /etc/samba/smbpasswd # no output, the file is empty

# pdbedit -L # no result, no samba user

# smbpasswd -a francois # I create the user francois
New SMB password:
Retype new SMB password:
Added user francois.

# cat /etc/samba/smbpasswd # In this file, the uid is 0, like root ?!
francois:0:96E3B942381CBE5BAAD3B435B51404EE:BBB4013EC9D4E3D7A88CA89C2519DB11:[U
 ]:LCT-4D116896:

# pdbedit -L # With this command, the uid is 1000 ?!
francois:1000:francois

# cat /etc/passwd | grep francois # 1000 is the *real* uid of francois
francois:x:1000:1000:francois,,,:/home/francois:/bin/bash

#---

The real uid of francois is 1000. Why is the uid equal to 0 in the
smbpasswd file ?

Thanks in advance for your help.

-- 
Francois Lafont

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


Re: [Samba] Newbie Samba question from a (lowly) Mac user

2010-01-06 Thread Günter Kukkukk
Am Mittwoch 06 Januar 2010 22:44:40 schrieb Felix Miata:
> On 2010/01/06 16:31 (GMT-0500) Mick Mueck composed:
> > Felix Miata wrote:
> >>Answer by OS/2 user:
> >>
> >>Actually, Samba is server only. Client for using Samba shares has been
> >> called CIFS (on Linux at least; previously SMB) for a couple of years or
> >> more. Have you looked for a precompiled and/or updated CIFS for Mac?
> >>
> >>http://en.wikipedia.org/wiki/Cifs
> >
> > Thanks Felix - I'll try searching in the SMB/CIFS universe for the latest
> > Mac OS X compatible version.
> 
> There was a typo in what I wrote. The old Linux name is SMBFS. SMB is the
> generic acronym for all this Samba/CIFS/SMBFS networking stuff. Also, read
> the URL I provided. According to it, the name change from smbfs to cifs
> didn't happen on Mac.
> 

just some additional notes regarding some client smb/cifs kernel modules:

Linux:
  - smbfs (deprecated, no further development)
  - cifs(actively developed)

Apple - Mac OS X:
  - smbfs
This module is _not_ related to the one developed for linux, it's
a separate implementation. Afaik - the source can be found here:  
http://www.opensource.apple.com/source/smb/smb-348.7/

Cheers, Günter
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Newbie Samba question from a (lowly) Mac user

2010-01-06 Thread Felix Miata
On 2010/01/06 16:31 (GMT-0500) Mick Mueck composed:

> Felix Miata wrote:

>>Answer by OS/2 user:

>>Actually, Samba is server only. Client for using Samba shares has been called
>>CIFS (on Linux at least; previously SMB) for a couple of years or more. Have
>>you looked for a precompiled and/or updated CIFS for Mac?

>>http://en.wikipedia.org/wiki/Cifs

> Thanks Felix - I'll try searching in the SMB/CIFS universe for the latest Mac 
> OS X compatible version. 

There was a typo in what I wrote. The old Linux name is SMBFS. SMB is the
generic acronym for all this Samba/CIFS/SMBFS networking stuff. Also, read
the URL I provided. According to it, the name change from smbfs to cifs
didn't happen on Mac.
-- 
"Our Constitution was made only for a moral and religious
people. It is wholly inadequate to the government of any
other."  John Adams, 2nd US President

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Newbie Samba question from a (lowly) Mac user

2010-01-06 Thread Mick Mueck
Thanks Felix - I'll try searching in the SMB/CIFS universe for the latest Mac 
OS X compatible version. 

On Wednesday, January 06, 2010, at 02:09PM, "Felix Miata" 
 wrote:
>On 2010/01/06 12:44 (GMT-0500) Mick Mueck composed:
>
>> I'm a Mac user working in a company that is PC and Linux dominated. I have a 
>> Mac at work and I funnel everything through it. I mount my Linux box onto my 
>> Mac using Samba, and navigate it's filesystem through the Finder and run 
>> programs on it while displaying all the X-windows back to my Mac. It all 
>> works very well, except for several annoying issues pertaining to Samba e.g. 
>> mounts often lock up, I can't copy a file into my own Linux hierarchy 
>> because it says my Linux machine has no space left (which is not right). I'm 
>> guessing this is all the Mac's fault due to it's version or implementation 
>> of Samba. Apple is not very good at supporting/updating this kind of thing.
>
>> On macupdate.com I note that samba 3.4.3 is available for the Mac, but:
>> 1. Unlike pretty much every other platform, there is no prebuilt 
>> binary/installer for the Mac.
>> 2. It seems to be a server only and I'm guessing I just need a client.
>
>> Assuming my Samba issues are all on the Mac side, does anyone have a 
>> recommendation about upgrading my machine to something better in the Samba 
>> department - I'm running the latest 10.6 Snow Leopard operating system. 
>> Please bear in mind that I'm just a 'user' and a genuine fish out of water 
>> when it comes to manually building a software installation ('make' and 
>> library linking etc).
>
>Answer by OS/2 user:
>
>Actually, Samba is server only. Client for using Samba shares has been called
>CIFS (on Linux at least; previously SMB) for a couple of years or more. Have
>you looked for a precompiled and/or updated CIFS for Mac?
>
>http://en.wikipedia.org/wiki/Cifs
>-- 
>"Our Constitution was made only for a moral and religious
>people. It is wholly inadequate to the government of any
>other."  John Adams, 2nd US President
>
> Team OS/2 ** Reg. Linux User #211409
>
>Felix Miata  ***  http://fm.no-ip.com/
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Newbie Samba question from a (lowly) Mac user

2010-01-06 Thread Felix Miata
On 2010/01/06 12:44 (GMT-0500) Mick Mueck composed:

> I'm a Mac user working in a company that is PC and Linux dominated. I have a 
> Mac at work and I funnel everything through it. I mount my Linux box onto my 
> Mac using Samba, and navigate it's filesystem through the Finder and run 
> programs on it while displaying all the X-windows back to my Mac. It all 
> works very well, except for several annoying issues pertaining to Samba e.g. 
> mounts often lock up, I can't copy a file into my own Linux hierarchy because 
> it says my Linux machine has no space left (which is not right). I'm guessing 
> this is all the Mac's fault due to it's version or implementation of Samba. 
> Apple is not very good at supporting/updating this kind of thing.

> On macupdate.com I note that samba 3.4.3 is available for the Mac, but:
> 1. Unlike pretty much every other platform, there is no prebuilt 
> binary/installer for the Mac.
> 2. It seems to be a server only and I'm guessing I just need a client.

> Assuming my Samba issues are all on the Mac side, does anyone have a 
> recommendation about upgrading my machine to something better in the Samba 
> department - I'm running the latest 10.6 Snow Leopard operating system. 
> Please bear in mind that I'm just a 'user' and a genuine fish out of water 
> when it comes to manually building a software installation ('make' and 
> library linking etc).

Answer by OS/2 user:

Actually, Samba is server only. Client for using Samba shares has been called
CIFS (on Linux at least; previously SMB) for a couple of years or more. Have
you looked for a precompiled and/or updated CIFS for Mac?

http://en.wikipedia.org/wiki/Cifs
-- 
"Our Constitution was made only for a moral and religious
people. It is wholly inadequate to the government of any
other."  John Adams, 2nd US President

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Newbie Samba question from a (lowly) Mac user

2010-01-06 Thread Mick Mueck
Hi,

I'm a Mac user working in a company that is PC and Linux dominated. I have a 
Mac at work and I funnel everything through it. I mount my Linux box onto my 
Mac using Samba, and navigate it's filesystem through the Finder and run 
programs on it while displaying all the X-windows back to my Mac. It all works 
very well, except for several annoying issues pertaining to Samba e.g. mounts 
often lock up, I can't copy a file into my own Linux hierarchy because it says 
my Linux machine has no space left (which is not right). I'm guessing this is 
all the Mac's fault due to it's version or implementation of Samba. Apple is 
not very good at supporting/updating this kind of thing.

On macupdate.com I note that samba 3.4.3 is available for the Mac, but:
1. Unlike pretty much every other platform, there is no prebuilt 
binary/installer for the Mac.
2. It seems to be a server only and I'm guessing I just need a client.

Assuming my Samba issues are all on the Mac side, does anyone have a 
recommendation about upgrading my machine to something better in the Samba 
department - I'm running the latest 10.6 Snow Leopard operating system. Please 
bear in mind that I'm just a 'user' and a genuine fish out of water when it 
comes to manually building a software installation ('make' and library linking 
etc).

Many thanks in advance for your reply.

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


[Samba] Newbie: Samba Domain Controller

2009-09-25 Thread phiroc
Hi,

I would like to create a test Domain Controller to authenticate against via 
Kerberos on a Linux RedHat 3.4.6 server until my company's System Administrator 
provides a development Active Directory Domain Controller.

How difficult would it be to create a Samba DC containing a few user accounts 
and passwords?

Could someone please provide a sample smb.conf file to set up such a DC?

Many thanks.

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


Re: [Samba] Newbie question - force file permission to user's secondary groups.

2009-05-20 Thread Liutauras Adomaitis
On Mon, May 18, 2009 at 2:24 PM, Conta Falsa 337
 wrote:
> I read http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html the
> part regarding "group" or "force group" directive, and it's not clear to me
> if I can have more than one instance of this directive, since I need the
> group to be forced depending on which share the user is creating the file.
>
>  An example:
>
>   user: james
>   first share: projectX (he is a member of the group projectX)
>   second share: projectY (he is a member of the group projectY)
>
>  James is a member of both groups, since I don't use PDC (Vista clients),
> the first time the user tries to access the shared folder, he will be asked
> for the password, say he first opens /projectX, then he will be forced do
> group projectX, but what if he opens projectY and tries to write there?

To my knowledge - then user connects to server he is asked to submit
user and password (if security = user), then server authenticates user
and gives him a token with rights for further connections. So it
doesn't matter which share you are accessing, you are accessing server
with the token you got from first authentication.

>   - Is it possible to have "force group" on the shares section, so each
> share has one?
yes it is and that is were I use it.

>   - Will the user be asked for the password again,if he opens the second
> share (without rebooting Windows)? The "change" of the primary group will
> happen transparently, or the user would have to disconnect, and then open
> the /projectY (therefore having to type his username/password again)?

As I said - token is your rights to the server. It is valid until you
logoff (maybe command "net use * /d" on workstation may help to forget
token without logoff, but I'm not sure). User is asked for a password
once to get a token (if security = user in smb.conf).
force group directive is working on samba server file system, it does
not effect user membership. I think setting force group on share can
even be set to group the user does not belong to (again - not sure,
but you can test). This directive will force all files and folders
created on the share to be owned by group specified in force group
directive.

You set force group directive to make sure all files in that share are
created with appropriate group.

>  thanks for your time.
>
>
>
> 2009/5/15 Liutauras Adomaitis 
>>
>> On Fri, May 15, 2009 at 4:27 PM, Conta Falsa 337
>>  wrote:
>> > samba version is  3.0.28a-1ubuntu4.7
>> > --
>> >
>> > I created users on both samba and the linux system, and created 3 groups
>> > on
>> > the system. Each of these groups own a specific directory, the directory
>> > on
>> > the filesystem belongs to root.groupfoo. On my smb.conf I gave each of
>> > these
>> > groups write access to its directory (@groupfoo to the share /groupfoo).
>> > So
>> > now every linux user belonging to groupfoo can write there. The problem
>> > is,
>> > groupfoo is not the user's primary group, so the file is created with
>> > permission user1.user1, and not user1.groupfoo, therefore, other users
>> > belonging to groupfoo cannot edit or delete that file. I read smb.conf
>> > manual, but found no option to enforce that if the top directory belongs
>> > to
>> > root.groupfoo all files created under there will belong to
>> > "userxyz.groupfoo", so I set on the filesystem each of those 3
>> > directories
>> > to be setgid, so now every file created under, say, /groupbar (belongs
>> > to
>> > root.groupbar), has this permission: userabc.groupbar. I would like that
>> > the
>> > file/directory created belongs to the user executing the operation, and
>> > to
>> > the toplevel group owning that share, since a user can belong to 2 or
>> > all of
>> > those 3 groups mentioned, knowing that every user does not have any of
>> > those
>> > 3 groups as primary group.
>> >
>> >  Is this the right approach  or did I misunderstood the manual and I
>> > should
>> > do this only on smb.conf and not have to enforce it on the filesystem?
>> >
>>
>> Sounds to me this is a force group directive which should take care of
>> this.
>>
>> Liutauras
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Newbie question - force file permission to user's secondary groups.

2009-05-18 Thread Conta Falsa 337
I read http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html the
part regarding "group" or "force group" directive, and it's not clear to me
if I can have more than one instance of this directive, since I need the
group to be forced depending on which share the user is creating the file.

 An example:

  user: james
  first share: projectX (he is a member of the group projectX)
  second share: projectY (he is a member of the group projectY)

 James is a member of both groups, since I don't use PDC (Vista clients),
the first time the user tries to access the shared folder, he will be asked
for the password, say he first opens /projectX, then he will be forced do
group projectX, but what if he opens projectY and tries to write there?

  - Is it possible to have "force group" on the shares section, so each
share has one?
  - Will the user be asked for the password again,if he opens the second
share (without rebooting Windows)? The "change" of the primary group will
happen transparently, or the user would have to disconnect, and then open
the /projectY (therefore having to type his username/password again)?


 thanks for your time.



2009/5/15 Liutauras Adomaitis 

> On Fri, May 15, 2009 at 4:27 PM, Conta Falsa 337
>  wrote:
> > samba version is  3.0.28a-1ubuntu4.7
> > --
> >
> > I created users on both samba and the linux system, and created 3 groups
> on
> > the system. Each of these groups own a specific directory, the directory
> on
> > the filesystem belongs to root.groupfoo. On my smb.conf I gave each of
> these
> > groups write access to its directory (@groupfoo to the share /groupfoo).
> So
> > now every linux user belonging to groupfoo can write there. The problem
> is,
> > groupfoo is not the user's primary group, so the file is created with
> > permission user1.user1, and not user1.groupfoo, therefore, other users
> > belonging to groupfoo cannot edit or delete that file. I read smb.conf
> > manual, but found no option to enforce that if the top directory belongs
> to
> > root.groupfoo all files created under there will belong to
> > "userxyz.groupfoo", so I set on the filesystem each of those 3
> directories
> > to be setgid, so now every file created under, say, /groupbar (belongs to
> > root.groupbar), has this permission: userabc.groupbar. I would like that
> the
> > file/directory created belongs to the user executing the operation, and
> to
> > the toplevel group owning that share, since a user can belong to 2 or all
> of
> > those 3 groups mentioned, knowing that every user does not have any of
> those
> > 3 groups as primary group.
> >
> >  Is this the right approach  or did I misunderstood the manual and I
> should
> > do this only on smb.conf and not have to enforce it on the filesystem?
> >
>
> Sounds to me this is a force group directive which should take care of
> this.
>
> Liutauras
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Newbie question - force file permission to user's secondary groups.

2009-05-15 Thread Liutauras Adomaitis
On Fri, May 15, 2009 at 4:27 PM, Conta Falsa 337
 wrote:
> samba version is  3.0.28a-1ubuntu4.7
> --
>
> I created users on both samba and the linux system, and created 3 groups on
> the system. Each of these groups own a specific directory, the directory on
> the filesystem belongs to root.groupfoo. On my smb.conf I gave each of these
> groups write access to its directory (@groupfoo to the share /groupfoo). So
> now every linux user belonging to groupfoo can write there. The problem is,
> groupfoo is not the user's primary group, so the file is created with
> permission user1.user1, and not user1.groupfoo, therefore, other users
> belonging to groupfoo cannot edit or delete that file. I read smb.conf
> manual, but found no option to enforce that if the top directory belongs to
> root.groupfoo all files created under there will belong to
> "userxyz.groupfoo", so I set on the filesystem each of those 3 directories
> to be setgid, so now every file created under, say, /groupbar (belongs to
> root.groupbar), has this permission: userabc.groupbar. I would like that the
> file/directory created belongs to the user executing the operation, and to
> the toplevel group owning that share, since a user can belong to 2 or all of
> those 3 groups mentioned, knowing that every user does not have any of those
> 3 groups as primary group.
>
>  Is this the right approach  or did I misunderstood the manual and I should
> do this only on smb.conf and not have to enforce it on the filesystem?
>

Sounds to me this is a force group directive which should take care of this.

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


[Samba] Newbie question - force file permission to user's secondary groups.

2009-05-15 Thread Conta Falsa 337
samba version is  3.0.28a-1ubuntu4.7
--

I created users on both samba and the linux system, and created 3 groups on
the system. Each of these groups own a specific directory, the directory on
the filesystem belongs to root.groupfoo. On my smb.conf I gave each of these
groups write access to its directory (@groupfoo to the share /groupfoo). So
now every linux user belonging to groupfoo can write there. The problem is,
groupfoo is not the user's primary group, so the file is created with
permission user1.user1, and not user1.groupfoo, therefore, other users
belonging to groupfoo cannot edit or delete that file. I read smb.conf
manual, but found no option to enforce that if the top directory belongs to
root.groupfoo all files created under there will belong to
"userxyz.groupfoo", so I set on the filesystem each of those 3 directories
to be setgid, so now every file created under, say, /groupbar (belongs to
root.groupbar), has this permission: userabc.groupbar. I would like that the
file/directory created belongs to the user executing the operation, and to
the toplevel group owning that share, since a user can belong to 2 or all of
those 3 groups mentioned, knowing that every user does not have any of those
3 groups as primary group.

 Is this the right approach  or did I misunderstood the manual and I should
do this only on smb.conf and not have to enforce it on the filesystem?

 thanks for your time.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba Newbie

2009-02-13 Thread Jeremy Allison
On Thu, Feb 12, 2009 at 12:26:11PM -, Eddie Humphries wrote:
> Hello,
> 
>  
> 
> I have been looking for a Windows alternative for File & Print servers.
> Currently, we are using Win 2003. Patching overhead and virus outbreaks
> are becoming problematic with reducing head count. I have looked at the
> site, but there is no reference to 'better or the same as Win2003' only
> NT is referenced. I'm trying to put a business case together to convince
> management that this is a viable alternate strategy for the long term
> future.
> 
>  
> 
> Has anyone put a document together that might contribute to this
> business case?

No, that's a really good idea and thanks for bringing it up.
I used to do a lot of Samba marketing, but have been working
more on code recently. If anyone would like to help take on
the job I'd be very happy to work with them.

For the record I believe we are still faster than Win2003
(although we don't have production AD server support yet,
we are a very happy and integrated AD client :-).

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


[Samba] Samba Newbie

2009-02-12 Thread Eddie Humphries
Hello,

 

I have been looking for a Windows alternative for File & Print servers.
Currently, we are using Win 2003. Patching overhead and virus outbreaks
are becoming problematic with reducing head count. I have looked at the
site, but there is no reference to 'better or the same as Win2003' only
NT is referenced. I'm trying to put a business case together to convince
management that this is a viable alternate strategy for the long term
future.

 

Has anyone put a document together that might contribute to this
business case?

 

Regards

 

Eddie Humphries

IT Audit Manager

HomeServe

Cable Drive

Walsall

WS2 7BN

Tel: 01922 427925

Mob: 07875529373

Email: eddie.humphr...@homeserve.com

 

 

NOTICE - This e-mail and its attachments are strictly confidential. If you are 
not the intended recipient please delete the e-mail (including attachments) 
from your system without printing copying disclosing or otherwise using its 
contents. If you have received this e-mail in error please notify the sender 
immediately by e-mail or telephone on 0845 155. Any e-mails sent in an 
employee's personal capacity are not sent on behalf of the sender's 
employer and are the personal responsibility of the sender. Any views or 
opinions expressed in this email are those of the author only.
WARNING - Data conveyed by e-mail could be deliberately or accidentally 
intercepted or corrupted. The company does not accept any responsibility for 
any changes or breaches of confidence which may arise through use of this 
medium. The content of e-mails sent and received by company employees 
may be intercepted or monitored by the company. It is the responsibility of the 
recipient to ensure that this e-mail has not been tampered with and that 
any attachments are virus-free. Whilst we make every effort to ensure that this 
e-mail is free from viruses this cannot be guaranteed. We recommend 
that you scan all e-mail for viruses with appropriate and frequently updated 
virus checking software.

Homeserve plc Company number 2648297. Homeserve Claims Management Limited 
Company number 3913960. Homeserve Membership Limited Company number 2770612.

All the above companies are registered in England, and each has its registered 
office at Cable Drive, Walsall,  WS2 7BN.

Homeserve Membership Limited is authorised and regulated by the Financial 
Services Authority (FSA). Registration number 312518.

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


Re: [Samba] newbie question/authenticate

2008-12-02 Thread Condic
Good news & bad news:  With the help of "Richard Nelson", I was able 
to generate a batch file, that will prompt for an username and 
password in Windows XP:


The following batch file, disconnects J: (incase a user forgot to 
logoff), then requests the username.
The "*" after the password will prompt for the password.  I was 
unable to get "net" to prompt for a password correctly.


edit netuser.bat
@echo off
set/p Username=Enter your Username:
rem disconnects "J:" incase a user forgot to logoff
net use J: /delete /y
rem the net use with a "*" password will prompt for a password
net use J: \\liuxserver\files /USER:%Username% * /persistent:no
j:
dir
rem the last pause will allow us to see any error messages incase of errors
Pause

Can someone try my batch file on Vista?

Now the bad news:  My batch file does not work under 
Windows98se.  The net use command does not allow a username.  The 
whole idea is to not have to logon to a windows98 machine.


Can someone come up with a direction or a simple solution that would 
work on Windows98???


Here is [files] section that I added to smb.conf.  Don't forget to 
add username/passwd to smbpasswd.

[files]
   comment = Work area files
   path = /students/%U
   read only = No

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


[Samba] newbie question/authenticate

2008-11-30 Thread Condic
I have a small network running in a school.  My network is 
working.  samba is running on openSuSE 11.0 and Windows XP and 
Windows98se can access the non protect samba shares/sections.


I have one problem that I been struggling with.  I have read the 
howto's, and searched the lists, but can not find the solution.


I would like to implement [homes] or [usershares] for student 
directories and file storage:


When accessing the /students or /homes directory, students would be 
prompted for a username and password.  The student would not need to 
be login to the Windows OS.  That is, I just want a prompt for both 
username and password when the share is accessed.  This should work 
from either Windows 98se or Windows XP.


Linux:  Do students need Linux/UNIX accounts? [yes]
Linux:  what do I need to set the security = share/user/server/domain/ADS ?
Linux:  Do I need to add each student to the smbpasswd directory? [yes]
Linux:  What are the minimum parameters that I need to implement [homes] ?
Linux:  What are the parameters that I need to implement [usershares] ?

Windows question:  I have setup the Linux samba shares.  When I 
access the shares, the windows box that pops up does not allow me to 
change the username, only the password.  The user name is 
/guest/login-name.  I would like windows to prompt me for the "user 
name" as well as the "password".  On XP, if the user is login'ed to 
the machine, then adding the password gets the right share.  If I 
knew the name of the windows service, I would have a chance at 
searching for the solution.


# samba parameters from testparm

[global]
workgroup = TAKE5
interfaces = 192.168.1.203/255.255.255.0
bind interfaces only = Yes
security = SHARE
map to guest = Bad User
log level = 2
smb ports = 139
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = /etc/printcap
mangling method = hash
os level = 255
preferred master = Yes
case sensitive = No
mangled names = No

[files]
comment = Work area files
path = /students/%U
read only = No

[teacher]
comment = Master work area files
path = /students
valid users = srannie
read only = No

I have setup Linux accounts, and samba passwords for each 
student.  If the student is login'ed to Windows XP, and accesses the 
/files directory, there is no problem, but if the student is not 
login, I can't seem to get this to work.  What can I do to make this 
work?  Thanks. 
--

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


Re: [Samba] Newbie question for samba 3.0.28 configuration

2008-10-20 Thread Lunix1618

Norberto Bensa wrote:

On Monday October 20 2008 06:47:27 Lunix1618 wrote:
  
I tried "security = user" and "guest ok = yes" in [global] 



try removing that and add "guest ok = Yes" in [PUBLIC].

  

Norberto,
I success with anonymous access for PUBLIC, what I want is access 
control on ADMINISTRATIVE, any thoughts ?

thanks,

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


Re: [Samba] Newbie question for samba 3.0.28 configuration

2008-10-20 Thread Norberto Bensa
On Monday October 20 2008 06:47:27 Lunix1618 wrote:
> I tried "security = user" and "guest ok = yes" in [global] 

try removing that and add "guest ok = Yes" in [PUBLIC].

Regards,

-- 
Norberto Bensa

Linux 2.6.27-gentoo Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
 09:01:17 up 18:46,  1 user,  load average: 0.01, 0.07, 0.08
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Newbie question for samba 3.0.28 configuration

2008-10-20 Thread Lunix1618

Hello everyone,

I am new to samba so after some trial, I got stuck with my setup, so I 
decide to post here to look for your assist, so thank you first! and 
below is my installation requirement:


I have 01 server ( running CentOS 5.2) and I will use it as file server 
for 20 workstations that running Windows XP. The setup look easy at 
requested that:
- 01 Directory will permit EVERYBODY in office access with read/write 
permission, I name it PUBLIC
- 01 Directory only permit some persons in office access with 
read/write, another will not permited. I name it ADMINISTRATIVE


I can make it work with the PUBLIC directory but how can I configure it 
to limit access on ADMINISTRATIVE directory


I tried "security = user" and "guest ok = yes" in [global] section of 
configuration file and put "guest ok = no" in section [ADMINISTRATIVE] 
but when I put an user name I not permit to write on ADMINISTRATIVE 
directory when asked, it still can write to it.

So what am I wrong and which permission I need to set on that directory ?
I've used Windows XP to test access to it
My samba version is 3.0.28 (which shipped by CentOS 5.2)

Thank you for your assist!
regards.


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


Re: [Samba] Newbie - sharing b/w OSX, Windows & Linu

2008-06-28 Thread John Drescher
> I am trying to upgrade my home backup system.  So, I was considering one of 
> those network router devices into which you can plug in USB external hard 
> drives so that they function as network drives.  Now, I have 3 computers - 1 
> with Vista, 1 OSX and linux and I wanted to backup all of them over the 
> network on the same external drive.
>
> (1) Can I use Samba in such a situation with a single ext3 FS on the external 
> drives ?
>
Yes. Do this on your linux machine.
>
> (2) Do I need to connect the external drive to a linux box on which I run 
> Samba ?
Yes
>Or is it possible to do some kind of firmware install of Samba on the external 
>drive itself (I did read somewhere that there are some ethernet drives 
>available with Samba installed as firmware).  That way I can plug in my 
>external drives directly into the router.
>
Unless you are a linux expert I would not attempt this.

>
> (3) Finally, do I have to install some versions of Samba on both the Vista 
> and the OSX computers
>  so that they can see the Samba exported external network drive ?  If so, are 
> there binaries available for OSX & Vista or do I have to do a cygwin install ?
>
You never install samba on windows machines. But the OSX machine you
will probably need samba.

With all of that said why not use a network backup solution like
bacula or amanda?

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


[Samba] Newbie - sharing b/w OSX, Windows & Linux

2008-06-28 Thread Shriram Ramanathan
Hi,

I am trying to upgrade my home backup system.  So, I was considering one of 
those network router devices into which you can plug in USB external hard 
drives so that they function as network drives.  Now, I have 3 computers - 1 
with Vista, 1 OSX and linux and I wanted to backup all of them over the network 
on the same external drive.  

(1) Can I use Samba in such a situation with a single ext3 FS on the external 
drives ?

(2) Do I need to connect the external drive to a linux box on which I run Samba 
?  Or is it possible to do some kind of firmware install of Samba on the 
external drive itself (I did read somewhere that there are some ethernet drives 
available with Samba installed as firmware).  That way I can plug in my 
external drives directly into the router.

(3) Finally, do I have to install some versions of Samba on both the Vista and 
the OSX computers
 so that they can see the Samba exported external network drive ?  If so, are 
there binaries available for OSX & Vista or do I have to do a cygwin install ?

Since I am new to Samba, any additional comments are also welcome.






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


[Samba] newbie

2007-08-31 Thread Peter Edley
Hi folks,

I'm playing around and trying to teach myself some basic samba stuff.  I got
the system setup as a PDC no problem win xp clients logging in.  Everything
working well.

Then decided could i set up a second pdc for a different domain got this
working fine to, then created a 2 way trust between the 2, with a view to
the following.

Domain A
  pc1
  user a
Domain B
  pc2
  user b

What i want is for user b to be able to use pc1 to login to domain B.

Now
user a on pc1 can log into domain A
user b on pc2 can log into domain B

But
user b on pc1 gets domain not available.

I ran net rpc trustdom lists on both servers and trusts appear to be set up
correctly there.

Any help please

Pete

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


Re: [Samba] Newbie Setup.

2007-08-07 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Grant Peel wrote, On 07-08-2007 10:42:
> I have a working setup (apparently) using this configuration file:
> # Samba config file created using SWAT
> # from 192.168.1.101 (192.168.1.101)
> # Date: 2007/07/21 16:09:38
> [global]
> workgroup = OFFICE
> server string = Home UNIX
> log file = /var/log/samba/log.%m
> max log size = 50
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 
> SO_SNDBUF=8192
> os level = 99
> 
> [homes]
> read only = no
> guest ok = no
> browseable = no
> 
> And a regular /usr/local/etc/samba/smbpassword file.
> 
> Again, All I am looking for is the ability to have my 
> users map thier unix folder on my servers to thier
> Windows Explorer as another drive, again, that appears
> to be working.
> 
> A few last questions if anyone has time for them:
> 1. Are there any show stopper security risks I need to 
> address with this type of setup?

Maybe, do you have your other parameters like
'security', 'invalid users', probably the result of
'testparm' and 'testparm -v' would make the trick. ;)

The default configuration of samba (from official
samba source) is pretty sane, but security is a process
not a product, so you may have more higher standards of
security than others.


> 2. How does Samba allow authenticating from the Samba 
> file when it seems there is no (apparent) mapping to
> the master.passwd file?

'testparm' probably can answer that. ;)


> 3. For this simple setup, should I be adding any more 
> Samba directives to the samba.conf file?

Long time ago, and 'old school' sysadmin said
to me that you should never trust the defaults, always
explicit add in the config file what you want, and if
the default change you will be safe.

testparm can show you the values as they are
now, you can them make the result of testparm your new
smb.conf, but there is no big point on doing that if
you trust the default values.

The Official Samba HOWTO has tips about security
all over the chapters, restrict the bind interfaces, the
IPs networks, the users, for example, some people use
'valid users = %S' in their [homes].


> I can't believe it was that simple to setup...should 
> it have been, or am I missing something that created
> a big security hole?

Samba is simple, it just requires some patience,
care and attention. ;)   And so far, I didn't see any
"big security hole", but again, your security is as
strong as the weakest link in the chain.  The type of
your passwords, the measures to ensure they are safe
and with right permissions, and other small options can
make the difference.


> P.S. I AM reading all the howtos and Faqs and things!

That's good. ;)

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

iD8DBQFGuH8rCj65ZxU4gPQRCLyWAKCGdrUWKPG3pZ6SRuL2yuGRX4r7BgCeNFzR
FLb6WaEjLXq5XWhPoSn2+qE=
=Zpkt
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Newbie Setup.

2007-08-07 Thread Grant Peel
Hi all,

Thanks for all the help sent to me on my previous email.

I have a working setup (apparently) using this configuration file:

# Samba config file created using SWAT
# from 192.168.1.101 (192.168.1.101)
# Date: 2007/07/21 16:09:38

[global]
workgroup = OFFICE
server string = Home UNIX
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 
SO_SNDBUF=8192
os level = 99

[homes]
read only = no
guest ok = no
browseable = no

And a regular /usr/local/etc/samba/smbpassword file.

Again, All I am looking for is the ability to have my users map thier unix 
folder on my servers to thier Windows Explorer as another drive, again, that 
appears to be working.

A few last questions if anyone has time for them:

1. Are there any show stopper security risks I need to address with this type 
of setup?

2. How does Samba allow authenticating from the Samba file when it seems there 
is no (apparent) mapping to the master.passwd file?

3. For this simple setup, should I be adding any more Samba directives to the 
samba.conf file?

I can't believe it was that simple to setup...should it have been, or am I 
missing something that created a big security hole?

TIA,

-Grant

P.S. I AM reading all the howtos and Faqs and things!

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


[Samba] Newbie Question

2007-08-05 Thread Grant Peel
Hi all,

I am completely new to Samba. In fact, I have just installed it to a FreeBSD 
6.2 developemnet server at my office and am reading all the info, FAQs, HowTos 
ect.

The Same sever is running and can connect to it using the SWAT interface.

My problem is I cant make any client connections.

My servers (4) of them are all running FreebSD 6.1 and 6.2, All I am looking to 
do is configure Samba to allow the clients to map thier home directory (on the 
servers) to thier local machine. There is no chance that the clients use the 
same Windows login name as we have assinged them on the servers. Each client 
has 1, and only 1, home directory on the server.

1. Is there a way that samba can authenticate using master.passwd and map the 
client to thier home directory? If so, can someone show me how?

2. If I must use the Samba passwd file, can someone show me how to configure it 
to map the client to thier home directory?

Right now, When I try to connect, after the username/password is entered, I am 
getting a Windows text box message saying I may not have access to the server I 
am trying to connect to.

Any help would be appreciated,

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


[Samba] Newbie User Migration Questions

2007-05-09 Thread Mike Rushton


OK,  As I plan and plot this migration .  This is what I think I wanna 
try to do.   What do you thing of this - 
Our old NT server, has a Domain called Engineering.   We were not 
retiring users, because in NT, if you retire a user you can never use it 
again.  So when we retired  jones for Susie Jones, when Tom Jones  was 
hired we could not use jones as a user again.  So we had to make  user 
like tjones or jonest or jones1.

When someone would leave we would just disable the account.
We really never got into the roaming profiles or groups for that 
matter.  I see that there are migration tools, but if we have 50 users 
that must authenticate, that is a high estimate.


What I want to do is get the Linux/Samba box running, and maybe make a 
new domain, lets say Corporate.  Because the users are all screwed up 
and I don't want to import all of them, I guess I could create them on 
this new machine.
From what I read, I would have to add the user to unix, add the user to 
Samba, and if the machine is Win2k or XP,  add the machine to the 
domain.   Then I would move everyone over to this new domain. 
The old NT PDC has DHCP on it, excluding likethe first 75 ip's for the 
servers.  I would have to set up DHCP the same way on the new server and 
disable it on the old one.

Does this sound logical ???
We have a real, fussy application running on the old server, that I 
really can not change, nor change the client on the workstations - all 
of the stuff is written into the registry - we don't have support so I 
want to leave it on the old server until we can convert.


We just may be able to pull this off.I never liked Microsoft's 
support.We may be better off on Linux or Unix.


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


[Samba] Newbie User Migration Question

2007-05-08 Thread Mike Rushton
OK,  As I plan and plot this migration .  This is what I think I wanna 
try to do.   What do you thing of this -  

Our old NT server, has a Domain called Engineering.   We were not 
retiring users, because in NT, if you retire a user you can never use it 
again.  So when we retired  jones for Susie Jones, when Tom Jones  was 
hired we could not use jones as a user again.  So we had to make  user 
like tjones or jonest or jones1. 

When someone would leave we would just disable the account. 

We really never got into the roaming profiles or groups for that 
matter.  I see that there are migration tools, but if we have 50 users 
that must authenticate, that is a high estimate.


What I want to do is get the Linux/Samba box running, and maybe make a 
new domain, lets say Corporate.  Because the users are all screwed up 
and I don't want to import all of them, I guess I could create them on 
this new machine. 

From what I read, I would have to add the user to unix, add the user to 
Samba, and if the machine is Win2k or XP,  add the machine to the 
domain.   Then I would move everyone over to this new domain.  

The old NT PDC has DHCP on it, excluding likethe first 75 ip's for the 
servers.  I would have to set up DHCP the same way on the new server and 
disable it on the old one. 

Does this sound logical ??? 

We have a real, fussy application running on the old server, that I 
really can not change, nor change the client on the workstations - all 
of the stuff is written into the registry - we don't have support so I 
want to leave it on the old server until we can convert. 



We just may be able to pull this off.I never liked Microsoft's 
support.We may be better off on Linux or Unix. 



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


Re: [Samba] Newbie Question - can users create directory on thier own from Win Client ???

2007-05-08 Thread Mike Rushton
Thak you for your response.  This may work well.  

Do you know if thier is a version of SAMBA that works with SCO Unixware 
7 ???I don't recall what is on that machine -  I think in the past 
someone tried to get SAMBA or some sort of filesharing to work and could 
not.I have to get the machine to boot so I can see what is on it.  

This could work. 

Above all, I must follow the Prime Directive - DON'T SPEND ANY MONEY 
!!! Windows 2003 CALS cost an arm and a leg.   I never was a real 
fan of NT 4.0 either. 




Gary Dale wrote:


Silly question actually.  :)

Basically, if a Windows client can do it while connected to a Windows 
server, they can do it while connected to a Samba server. This is a 
basic permissions issue. If the client has permission to create a 
directory on the share, it should work. The easiest way to set Windows 
permissions is to log on from a Windows client with a Domain 
Administrator account and set the group permissions, etc. from there.



Mike Rushton wrote:


First some background -

We got an old, tired PII, 233 server running NT 4.0

We have a Compaq Proliant that is a quad 550 Xeon CPU, 4 GB, 320 GB 
of HD, a tape drive etc.   It formerly was an Oracle Server that had 
SCO UnixWare 7 on it.  Currently it is having a problem - bad 
controller card, but we intend to get it fixed.  (Not sure if 
UnixWare comes with Samba or what version to use, but we also can get 
out hands on Red Hat Enterprise Linux)   The Idea is to put some sort 
of Unix / Linux on it and Samba, and replace the NT 4.0 machine.


Although we have some work ahead of us, I was wondering, if you set 
up a shared directory on a machine, can user create a directory in it 
on their own from a client Windows machine 


If it is not easy for the users to work with, they will not like it. ...






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


Re: [Samba] Newbie Question - can users create directory on thier own from Win Client ???

2007-05-08 Thread Gary Dale

Silly question actually.  :)

Basically, if a Windows client can do it while connected to a Windows 
server, they can do it while connected to a Samba server. This is a 
basic permissions issue. If the client has permission to create a 
directory on the share, it should work. The easiest way to set Windows 
permissions is to log on from a Windows client with a Domain 
Administrator account and set the group permissions, etc. from there.



Mike Rushton wrote:

First some background -

We got an old, tired PII, 233 server running NT 4.0

We have a Compaq Proliant that is a quad 550 Xeon CPU, 4 GB, 320 GB of 
HD, a tape drive etc.   It formerly was an Oracle Server that had SCO 
UnixWare 7 on it.  Currently it is having a problem - bad controller 
card, but we intend to get it fixed.  (Not sure if UnixWare comes with 
Samba or what version to use, but we also can get out hands on Red Hat 
Enterprise Linux)   
The Idea is to put some sort of Unix / Linux on it and Samba, and 
replace the NT 4.0 machine.


Although we have some work ahead of us, I was wondering, if you set up 
a shared directory on a machine, can user create a directory in it on 
their own from a client Windows machine 


If it is not easy for the users to work with, they will not like it. ...


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


[Samba] Newbie Question - can users create directory on thier own from Win Client ???

2007-05-07 Thread Mike Rushton

First some background -

We got an old, tired PII, 233 server running NT 4.0

We have a Compaq Proliant that is a quad 550 Xeon CPU, 4 GB, 320 GB of 
HD, a tape drive etc.   It formerly was an Oracle Server that had SCO 
UnixWare 7 on it.  Currently it is having a problem - bad controller 
card, but we intend to get it fixed.  (Not sure if UnixWare comes with 
Samba or what version to use, but we also can get out hands on Red Hat 
Enterprise Linux)

The Idea is to put some sort of Unix / Linux on it and Samba, and 
replace the NT 4.0 machine.


Although we have some work ahead of us, I was wondering, if you set up a 
shared directory on a machine, can user create a directory in it on 
their own from a client Windows machine 


If it is not easy for the users to work with, they will not like it. ... 


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


[Samba] Newbie cannot install from source

2007-05-05 Thread reykentj

Env: Mandriva 2007 with recent updates. 
I go into the source directory as root
./configure,
 make, 
make install 
Using 3.024 and 3.025rc3 with the same result. usr/local/samba/bin/smbpasswd
is a shared library. 
-- 
View this message in context: 
http://www.nabble.com/Newbie-cannot-install-from-source-tf3696056.html#a10335501
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] Newbie question, authentication with UNIX accounts, not smbusers/smbpasswd

2007-02-15 Thread Philip Gleghorn

Hi all,
I would like to access my RedHat Enterprise box which has Samba 3.0.9, 
by mapping a network drive from WinXP and specifying the UNIX 
account/password on the server. Is this possible? I can duplicate 
account usernames/passwords into smbusers/smbpasswd, but doing this for 
every user is a pain.

Thanks in advance for any suggestions or pointers,
Phil

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


[Samba] newbie question

2007-01-04 Thread sick

Hello,

i'm trying to implement a samba server in one of the branches of the
organization that i'm working for.

at the present i have a w2k3 pdc and dns with active directory wich
handles all the domain secrity policies as the user profiles, the
problem is that the branch is very far and the networking channel is
very poor.

we decided to install a server in samba wich would handle the dns,
dhcp and the authentication of the users in the branch, is very small,
only 10 clients.

now, (don't fall sleep please) i've really read the samba docs, but i
cant seem to find how can it be integrated with active directory?,
because i really need to use the user privileges that are set on the
ad, all i seem to find is reference to unix user in windows domains,
but in my case all the users are on the ad using windows xp, i have 20
linux/unix servers but this would be the first incoporated to the
windows domain and active directory...

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


Re: [Samba] newbie question

2006-12-13 Thread Gary Dale

javier rojas wrote:

no, i haven'tthanks...

any idea on the part 3?...:)

On 12/12/06, Gary Dale <[EMAIL PROTECTED]> wrote:

On part 2, did you restart xinetd?



The error message state "idmap uid range missing or invalid". I'd 
suggest believing it and adding a uid range in your smb.conf.  :)


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


Re: [Samba] newbie question

2006-12-12 Thread javier rojas

no, i haven'tthanks...

any idea on the part 3?...:)

On 12/12/06, Gary Dale <[EMAIL PROTECTED]> wrote:

On part 2, did you restart xinetd?



--
Ciao, Javier
linux counter #393724
GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E
I'm doing a (free) operating system (just a hobby, won't be big and
professional like gnu)
  --Linus Torvalds
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] newbie question

2006-12-12 Thread Gary Dale

On part 2, did you restart xinetd?


javier rojas wrote:

Hello,

i know i'm a newbie, but here i go (help me lord), i just
installed/configured samba 3.0.23d on my suse 10.1, but i have a
couple of questions about what's on the manual

1-  when trying to secure swat with ssl, i installed openssl, and then
generate the certificates, but when i try to start the tunnel with:

stunnel -p /etc/stunnel/stunnel.pem -d 901 \
 -l /usr/local/samba/bin/swat swat
i get:
2006.12.12 16:56:58 LOG3[4418:1]: -p: No such file or directory (2)

Syntax:
stunnel [] | -fd  | -help | -version | -sockets
 - use specified config file instead of 
/etc/stunnel/stunnel.conf

   -fd  - read the config file from a file descriptor
   -help   - get config file help
   -version- display version and defaults
   -sockets- display default socket options

wich seems to be a bad option...it;s on the manual
http://us5.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html

2- even tough i cannot browse to swat, it's installed just as is says
on the same page, i enable it on xinetd, but i cant browse it,
everything is configured as it says, even on /etc/services, i mean i
really don't know what to check next

3- when starting samba i get this on the logs..:

[2006/12/12 15:06:07, 1] nsswitch/winbindd.c:main(979)
 winbindd version 3.0.22-13.18-SUSE-CODE10 started.
 Copyright The Samba Team 2000-2004
[2006/12/12 15:06:07, 0] 
nsswitch/winbindd_util.c:winbindd_param_init(790)

 winbindd: idmap uid range missing or invalid
[2006/12/12 15:06:07, 0] 
nsswitch/winbindd_util.c:winbindd_param_init(791)

 winbindd: cannot continue, exiting.
[2006/12/12 15:06:07, 1] nsswitch/winbindd.c:main(1012)
 Could not init idmap -- netlogon proxy only

i read that it could be a space on the uid line, but i got none!!,
here's the smb.config:
[global]
   workgroup = BAV.com.ve
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   map to guest = Bad User
   include = /etc/samba/dhcp.conf
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
[homes]
   comment = Home Directories
   valid users = %S, %D%w%S
   browseable = No
   read only = No
   inherit acls = Yes
[profiles]
   comment = Network Profiles Service
   path = %H
   read only = No
   store dos attributes = Yes
   create mask = 0600
   directory mask = 0700
[users]
   comment = All users
   path = /home
   read only = No
   inherit acls = Yes
   veto files = /aquota.user/groups/shares/
[groups]
   comment = All groups
   path = /home/groups
   read only = No
   inherit acls = Yes
[printers]
   comment = All Printers
   path = /var/tmp
   printable = Yes
   create mask = 0600
   browseable = No
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/drivers
   write list = @ntadmin root
   force group = ntadmin
   create mask = 0664
   directory mask = 0775

can anybody give me a hand, please?, i really don't know ehere to look 
for.




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


[Samba] newbie question

2006-12-12 Thread javier rojas

Hello,

i know i'm a newbie, but here i go (help me lord), i just
installed/configured samba 3.0.23d on my suse 10.1, but i have a
couple of questions about what's on the manual

1-  when trying to secure swat with ssl, i installed openssl, and then
generate the certificates, but when i try to start the tunnel with:

stunnel -p /etc/stunnel/stunnel.pem -d 901 \
 -l /usr/local/samba/bin/swat swat
i get:
2006.12.12 16:56:58 LOG3[4418:1]: -p: No such file or directory (2)

Syntax:
stunnel [] | -fd  | -help | -version | -sockets
 - use specified config file instead of /etc/stunnel/stunnel.conf
   -fd  - read the config file from a file descriptor
   -help   - get config file help
   -version- display version and defaults
   -sockets- display default socket options

wich seems to be a bad option...it;s on the manual
http://us5.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html

2- even tough i cannot browse to swat, it's installed just as is says
on the same page, i enable it on xinetd, but i cant browse it,
everything is configured as it says, even on /etc/services, i mean i
really don't know what to check next

3- when starting samba i get this on the logs..:

[2006/12/12 15:06:07, 1] nsswitch/winbindd.c:main(979)
 winbindd version 3.0.22-13.18-SUSE-CODE10 started.
 Copyright The Samba Team 2000-2004
[2006/12/12 15:06:07, 0] nsswitch/winbindd_util.c:winbindd_param_init(790)
 winbindd: idmap uid range missing or invalid
[2006/12/12 15:06:07, 0] nsswitch/winbindd_util.c:winbindd_param_init(791)
 winbindd: cannot continue, exiting.
[2006/12/12 15:06:07, 1] nsswitch/winbindd.c:main(1012)
 Could not init idmap -- netlogon proxy only

i read that it could be a space on the uid line, but i got none!!,
here's the smb.config:
[global]
   workgroup = BAV.com.ve
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   map to guest = Bad User
   include = /etc/samba/dhcp.conf
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
[homes]
   comment = Home Directories
   valid users = %S, %D%w%S
   browseable = No
   read only = No
   inherit acls = Yes
[profiles]
   comment = Network Profiles Service
   path = %H
   read only = No
   store dos attributes = Yes
   create mask = 0600
   directory mask = 0700
[users]
   comment = All users
   path = /home
   read only = No
   inherit acls = Yes
   veto files = /aquota.user/groups/shares/
[groups]
   comment = All groups
   path = /home/groups
   read only = No
   inherit acls = Yes
[printers]
   comment = All Printers
   path = /var/tmp
   printable = Yes
   create mask = 0600
   browseable = No
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/drivers
   write list = @ntadmin root
   force group = ntadmin
   create mask = 0664
   directory mask = 0775

can anybody give me a hand, please?, i really don't know ehere to look for.

--
Ciao, Javier
linux counter #393724
GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E
I'm doing a (free) operating system (just a hobby, won't be big and
professional like gnu)
  --Linus Torvalds
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Newbie looking to move from Netware to Linux/Samba

2006-11-12 Thread jmailand

> I'm looking to move my companies server from an old Netware 5.0 file
> server to a Linux/Samba server on new hardware.
>
> Since my companies' systems are not mission critical (I can afford to be
> down for a few hours at a time after a switch-over) I feel I have the
> tolerance for some problems in getting it installed.
>
> Is this something I should be able to handle on my own (I installed the
> NW 5.0 box on my own) and can I depend on support from the community in
> doing so?
>
> Thanks in advance,
> Boaz
>

Hi Boaz:

I moved our file server from NW5.1 to Samba on Linux, we're about the same size 
shop
as you.  I build the samba box on some newer hardware, installed rsync on both
machines (there's a netware rsync package, I think I got it on the developer's
network), and used that to transfer files for the migration.

I had to write a script to change ownership and permissions after the file xfer,
that information didn't come across in a usable way after the file sync.  
Someone
else may know a more elegant way of getting the files over.

After a few gotcha's, it's all been very stable.  I learned not to restart the 
samba
process during the middle of the day when everyone's got files open ;-).  I had 
some
legacy printing issues (dos app printing to Netware LPT1: port mapping, worked 
in
Netware) which I could never get to print just so using Linux CUPS, so I just 
have
them print direct.  Gotta love that legacy stuff that never, ever goes away...

Hope your migration goes well!

- Joe

-- 
Joe Mailander
[EMAIL PROTECTED]

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


Re: [Samba] Newbie looking to move from Netware to Linux/Samba

2006-11-09 Thread Aaron Kincer
You will most likely run into the infamous archive bit problem with MS 
Word (if you use it there) and a few other applications, so I'll save 
you the scratching of your head and suggest you read my solution after 
you get your server up and running:


http://lists.samba.org/archive/samba/2006-September/125314.html

The short short version is that archive bits on Samba and some 
applications don't play well together. Since many backup software 
packages rely on this to determine if something needs to be backed up, 
you need to be aware of it and know the solution ahead of time.


Good luck.

Aaron Kincer

Boaz Bezborodko wrote:

Gary Dale wrote:
  

Boaz Bezborodko wrote:


I'm looking to move my companies server from an old Netware 5.0 file
server to a Linux/Samba server on new hardware.

Since my companies' systems are not mission critical (I can afford to be
down for a few hours at a time after a switch-over) I feel I have the
tolerance for some problems in getting it installed.

Is this something I should be able to handle on my own (I installed the
NW 5.0 box on my own) and can I depend on support from the community in
doing so?

Thanks in advance,
Boaz
  
  

Most distributions install a working Samba by default or as a
selectable option. However, you will have to set up users and shares.
You may find SWAT handy for doing this.

You haven't told us a lot about your setup but is sounds like you
don't have too much going on. It should be a piece of cake.



Current hardware:  PII-350 on an ASUS P2BL motherboard, Compaq Smart
Array 3200 SCSI controller, Compaq Storage array UE, Sony 20GB Tape
backup SDT-1

OS: Netware 5.0
Backup Software: Backup Exec
Major Application:  FilePro Database

The critical application is the FilePro database which, I understand,
might take some adjustments to the file locking configuration on Samba. 
I'll also need to have a backup solution.


I wanted to stick with an industrial-class SCSI Array and was thinking
of picking up some used HP SCSI hardware on ebay.  The Smart Array 3200
has saved me on a number of occasions and was pretty easy to use so I
like the idea of sticking with it unless others know why not to do so or
have suggestions they think are better.

I only have about 10 users so even moving stuff manually shouldn't be
that difficult.

Boaz
  


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


Re: [Samba] Newbie looking to move from Netware to Linux/Samba

2006-11-09 Thread Boaz Bezborodko


Gary Dale wrote:
> Boaz Bezborodko wrote:
>> I'm looking to move my companies server from an old Netware 5.0 file
>> server to a Linux/Samba server on new hardware.
>>
>> Since my companies' systems are not mission critical (I can afford to be
>> down for a few hours at a time after a switch-over) I feel I have the
>> tolerance for some problems in getting it installed.
>>
>> Is this something I should be able to handle on my own (I installed the
>> NW 5.0 box on my own) and can I depend on support from the community in
>> doing so?
>>
>> Thanks in advance,
>> Boaz
>>   
> Most distributions install a working Samba by default or as a
> selectable option. However, you will have to set up users and shares.
> You may find SWAT handy for doing this.
>
> You haven't told us a lot about your setup but is sounds like you
> don't have too much going on. It should be a piece of cake.
>
Current hardware:  PII-350 on an ASUS P2BL motherboard, Compaq Smart
Array 3200 SCSI controller, Compaq Storage array UE, Sony 20GB Tape
backup SDT-1

OS: Netware 5.0
Backup Software: Backup Exec
Major Application:  FilePro Database

The critical application is the FilePro database which, I understand,
might take some adjustments to the file locking configuration on Samba. 
I'll also need to have a backup solution.

I wanted to stick with an industrial-class SCSI Array and was thinking
of picking up some used HP SCSI hardware on ebay.  The Smart Array 3200
has saved me on a number of occasions and was pretty easy to use so I
like the idea of sticking with it unless others know why not to do so or
have suggestions they think are better.

I only have about 10 users so even moving stuff manually shouldn't be
that difficult.

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


Re: [Samba] Newbie looking to move from Netware to Linux/Samba

2006-11-09 Thread Gary Dale

Boaz Bezborodko wrote:

I'm looking to move my companies server from an old Netware 5.0 file
server to a Linux/Samba server on new hardware.

Since my companies' systems are not mission critical (I can afford to be
down for a few hours at a time after a switch-over) I feel I have the
tolerance for some problems in getting it installed.

Is this something I should be able to handle on my own (I installed the
NW 5.0 box on my own) and can I depend on support from the community in
doing so?

Thanks in advance,
Boaz
  

Most distributions install a working Samba by default or as a selectable
option. However, you will have to set up users and shares. You may find
SWAT handy for doing this.

You haven't told us a lot about your setup but is sounds like you don't
have too much going on. It should be a piece of cake.


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


[Samba] Newbie looking to move from Netware to Linux/Samba

2006-11-09 Thread Boaz Bezborodko
I'm looking to move my companies server from an old Netware 5.0 file
server to a Linux/Samba server on new hardware.

Since my companies' systems are not mission critical (I can afford to be
down for a few hours at a time after a switch-over) I feel I have the
tolerance for some problems in getting it installed.

Is this something I should be able to handle on my own (I installed the
NW 5.0 box on my own) and can I depend on support from the community in
doing so?

Thanks in advance,
Boaz








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


[Samba] Newbie using John T's Examples (AD)

2006-08-04 Thread Indiana Fats

I'm following along with John T's examples book and I'm still
befuddled on getting Samba working.

The server is Fedora Core 5, Samba 3.0.23a-1.fc5.1
PDC is W2K SP4 with AD

I basically copied/pasted the example smb.conf and nsswitch.conf to
get a basic working config. The lines "template primary group" gave
problems so I removed that one line.

I run testparm -s and get:

[EMAIL PROTECTED] samba]# testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[shared]"
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
<<-- What's that all about?
Server role: ROLE_DOMAIN_MEMBER

Here's smb.conf as reported by testparm:

[global]
   unix charset = LOCALE
   workgroup = CONVEYORS
   realm = WWW.SYSTECCONVEYORS.COM
   server string = Cartman File Server
   security = ADS
   username map = /etc/samba/smbusers
   log level = 1
   syslog = 0
   log file = /var/log/samba/%m
   max log size = 50
   printcap name = CUPS
   ldap ssl = no
   idmap uid = 1-2
   idmap gid = 1-2
   template shell = /bin/bash
   winbind separator = +

[shared]
   comment = Shared Folder
   path = /home/shared
   read only = No
[EMAIL PROTECTED] samba]#

nsswitch.conf:

passwd: files ldap
shadow: files ldap
group:  files ldap

hosts:  files dns wins
networks:   files dns

services:   files
protocols:  files
rpc:files
ethers: files
netmasks:   files
netgroup:   files
publickey:  files

bootparams: files
automount:  files
aliases:files

The Fedora box joins properly.

[EMAIL PROTECTED] etc]# net ads join -UAdministrator%##
Using short domain name -- CONVEYORS
Joined 'CARTMAN' to realm 'WWW.SYSTECCONVEYORS.COM'

I then start smb and winbind.

[EMAIL PROTECTED] etc]# /etc/rc.d/init.d/smb start
Starting SMB services: [  OK  ]
Starting NMB services: [  OK  ]
[EMAIL PROTECTED] etc]# /etc/rc.d/init.d/winbind start
Starting Winbind services: [  OK  ]

On my XP-SP2 workstation I go to Network Neighborhood, and in
CONVEYORS I see the Fedora server there. I double click and it gives
me:

"\\CARTMAN is not accessible. You might not have permission ..." yadda
yadda yadda

wbinfo -u and wbinfo -g give me the names and groups as defined in the
AD realm. However as John writes in the examples getent passwd and
getent group do not. These just show me the linux groups and users and
nothing from the AD.

Ideas?

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


Re: [Samba] Newbie questions?

2006-07-06 Thread John H Terpstra
On Thursday 06 July 2006 14:43, Michael Westmoreland wrote:
> I have the book, "The Official Samba-3 Howto and Reference Guide" and
> I'm trying to get 3.0.22 running on Aix 5.2.  All I want to do is setup
> some file sharing at the moment and map a drive from an XP pc to a
> directory on Aix.  We have a Windows domain setup, the domain name is
> mobot.org.  

So this sounds like it might be an Active Directory (Windows 200x) domain. 
Correct?

If so, then your Windows NT4 compatible domain name is most probably MOBOT.

> The Aix server is named mobot.  

Well, you can not have a machine name and the NT4 compatible domain name the 
same. That breaks badly. That is specified quite clearly in chapter 9 of 
TOSHARG.

So let's rename the Samba server to GEORGE; in smb.conf [global]:

netbios name = GEORGE

Now, stop nmbd and smbd, delete the wins.dat and browse.dat files, restart 
nmbd and smbd.

> I've been searching through  
> the archives for "NT_Status_Bad_Network_Name" and
> "NT_Status_Logon_Failure".  And, I see examples of smb.conf files that
> look quite a bit different from what's in the book.  Would some one
> point me to a good example of an smb.conf file for an Aix box in a
> Windows domain?

In what manner do you expect that the smb.conf configuration will depend on 
the host OS? It should not.

> And, how do you handle user names longer than eight characters?  For
> example, on the Aix box my user name is westmore, in the Windows domain
> it's mwestmoreland.

In smb.conf [global] add:

username map = /etc/samba/smbusers

In /etc/samba/smbusers add:

westmore = mwestmoreland

Execute:

smbpasswd -a westmore

Now try to connect from the UNIX console:

smbclient -L GEORGE -U%

That should give a null-session listing of resources.

Now try:

smbclient //GEORGE/westmore -Uwestmore%thesmbpassword

> Right now I can't map a drive from my XP pc to a share on the Aix box.
> \\mobot\tmp   returns "The network path cannot be
> found."  I've tried connecting using a different user name "westmore"
> from my XP pc, but get the same message.  I've added my Aix account name
> "westmore" to the Samba password file.

\\george\westmore

If your westmore smbpassword is the same as your mwestmoreland password the 
connection should be transparent. (ie: no password prompt).

>  I added this line to my /etc/ services file "swat 901/tcp" and these
> lines to my /etc/inetd.conf file and rebooted the server.
>
> netbios-ssn stream tcp nowait root /opt/Samba/3.0.22/sbin/smbd smbd
>
> netbios-ns dgram upd wait root /opt/Samba/3.0.22/sbin/nmbd nmbd
>
> swat stream tcp nowait.400 root /opt/Samba/3.0.22/sbin/swat swat
>
>
>
> The SWAT utility tells me the smbd and nmbd daemons are running.  But,
> when I use ps -ef | grep smbd, I don't see a process ID. This makes me
> wonder if the daemons are really running.  I'd expect to see a process
> id returned from the grep command.

ps -afe | grep mbd


> Is there a particular section of the book I should be reading like 2.3.2
> Domain Member Server?  Any help is appreciated.  Thanks

Follow Samba-3 by Example chapter by chapter. You'll get there.
http://www.samba.org/samba/docs/Samba3-ByExample.pdf

Enjoy!

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


[Samba] Newbie questions?

2006-07-06 Thread Michael Westmoreland
I have the book, "The Official Samba-3 Howto and Reference Guide" and
I'm trying to get 3.0.22 running on Aix 5.2.  All I want to do is setup
some file sharing at the moment and map a drive from an XP pc to a
directory on Aix.  We have a Windows domain setup, the domain name is
mobot.org.  The Aix server is named mobot.  I've been searching through
the archives for "NT_Status_Bad_Network_Name" and
"NT_Status_Logon_Failure".  And, I see examples of smb.conf files that
look quite a bit different from what's in the book.  Would some one
point me to a good example of an smb.conf file for an Aix box in a
Windows domain?  

 

And, how do you handle user names longer than eight characters?  For
example, on the Aix box my user name is westmore, in the Windows domain
it's mwestmoreland.

Right now I can't map a drive from my XP pc to a share on the Aix box.
\\mobot\tmp   returns "The network path cannot be
found."  I've tried connecting using a different user name "westmore"
from my XP pc, but get the same message.  I've added my Aix account name
"westmore" to the Samba password file.  

 

 I added this line to my /etc/ services file "swat 901/tcp" and these
lines to my /etc/inetd.conf file and rebooted the server.

netbios-ssn stream tcp nowait root /opt/Samba/3.0.22/sbin/smbd smbd

netbios-ns dgram upd wait root /opt/Samba/3.0.22/sbin/nmbd nmbd

swat stream tcp nowait.400 root /opt/Samba/3.0.22/sbin/swat swat

 

The SWAT utility tells me the smbd and nmbd daemons are running.  But,
when I use ps -ef | grep smbd, I don't see a process ID. This makes me
wonder if the daemons are really running.  I'd expect to see a process
id returned from the grep command.

 

Is there a particular section of the book I should be reading like 2.3.2
Domain Member Server?  Any help is appreciated.  Thanks

 

Mike Westmoreland

Missouri Botanical Garden

4344 Shaw Ave.

St. Louis, Mo. 63110

314-577-9564

[EMAIL PROTECTED]

 

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


Re: [Samba] Samba newbie question

2006-06-28 Thread Frederick C. Damen
Your situtation seems close to mine awhile back.
I could only access the share using the ip address for the host.
After starting windbindd the samba server started showing up in the network 
places/neighborhood.
I have not seen any documentation that states that windbind needs to be running 
in this simple
setup and I don't remember any replies to my request to fix and/or understand 
this problem.
Hope this helps though.

Fred


On Wed, June 28, 2006 9:50 am, Erik Hertzel wrote:
> Here is the rest, sorry...
>
> [homes]
> comment = Home Directories
> valid users = %S
> read only = No
> "smb.conf" 38L, 893C
>
> create mask = 0664
> directory mask = 0775
> browseable = Yes
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
>
> [net-progs]
> path = /hdb
> read only = No
> guest ok = Yes
> hosts allow = 192.168.1. 192.168.0.
>
> Torsten Geile wrote:
>> Erik Hertzel schrieb:
>>> All,
>>>
>>> I am setting up a SAMBA server on a Redhat 8 Linux box.  I have
>>> gotten it set up and can ping the server and do have SAMBA installed
>>> on the machine.  I have gotten SWAT set up and can access the SAMBA
>>> server on a Windows PC on the network going through SWAT.  But, I
>>> can't see the SAMBA server yet in my Network Places.  I have set up
>>> the smb.conf file and changed the workgroup to the right name and
>>> have set the hostname for the SAMBA server.  I just can't see it.  I
>>> have disabled the iptables and still can't see it.
>>>
>>> Then, once I get that far, I am having problems getting the shares
>>> setup.  I just need one share for a new hard drive that I set up (the
>>> server has two hard drives, the 10 GIG is for the LINUX redhat
>>> installations, etc...) and the 80 GIG (hdb) is for my SAMBA file
>>> server.  How do I set the share up with the hdb so I can see it and
>>> copy files to it from a Windows box on the same workgroup?
>>>
>>
>> Please post your smb.conf to see, what you have configured already.
>>
>> Torsten
>>
>>
>
> --
> Erik Hertzel
> Systems Analyst
> Airlanco
> 402-245-2325
> [EMAIL PROTECTED]
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>

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


Re: [Samba] Samba newbie question

2006-06-28 Thread Torsten Geile

Erik Hertzel schrieb:

Here is the rest, sorry...

[homes]
   comment = Home Directories
   valid users = %S
   read only = No
"smb.conf" 38L, 893C

   create mask = 0664
   directory mask = 0775
   browseable = Yes


I have never tried this without giving a path like

path =  /home/


[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No

[net-progs]
   path = /hdb

This is not going to work. You cannot use a physical disk as path.

What is the mount pint of /dev/hdb ? Use it instead


   read only = No
   guest ok = Yes
   hosts allow = 192.168.1. 192.168.0.


You might want to add

browseable = yes

here.

"seeing" the server in the network neighborhood could take a few 
minutes. Try to setup samba as a domain master browser and wins server.


Put this in your global section

[global]
.

domain master = yes
local master = yes
preferred master = yes
os level = 65

wins support  = yes

Then setup your clients to use it as a wins server.

Hth

Torsten

btw.

dont use swat. use a text editor of your choice to make these changes.



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


Re: [Samba] Samba newbie question

2006-06-28 Thread Erik Hertzel

Here is the rest, sorry...

[homes]
   comment = Home Directories
   valid users = %S
   read only = No
"smb.conf" 38L, 893C

   create mask = 0664
   directory mask = 0775
   browseable = Yes

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No

[net-progs]
   path = /hdb
   read only = No
   guest ok = Yes
   hosts allow = 192.168.1. 192.168.0.

Torsten Geile wrote:

Erik Hertzel schrieb:

All,

I am setting up a SAMBA server on a Redhat 8 Linux box.  I have 
gotten it set up and can ping the server and do have SAMBA installed 
on the machine.  I have gotten SWAT set up and can access the SAMBA 
server on a Windows PC on the network going through SWAT.  But, I 
can't see the SAMBA server yet in my Network Places.  I have set up 
the smb.conf file and changed the workgroup to the right name and 
have set the hostname for the SAMBA server.  I just can't see it.  I 
have disabled the iptables and still can't see it.


Then, once I get that far, I am having problems getting the shares 
setup.  I just need one share for a new hard drive that I set up (the 
server has two hard drives, the 10 GIG is for the LINUX redhat 
installations, etc...) and the 80 GIG (hdb) is for my SAMBA file 
server.  How do I set the share up with the hdb so I can see it and 
copy files to it from a Windows box on the same workgroup?




Please post your smb.conf to see, what you have configured already.

Torsten




--
Erik Hertzel
Systems Analyst
Airlanco
402-245-2325
[EMAIL PROTECTED]

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


Re: [Samba] Samba newbie question

2006-06-28 Thread Erik Hertzel

# Samba config file created using SWAT
# from 192.168.1.108 (192.168.1.108)
# Date: 2006/06/21 15:11:08

# Global parameters
[global]
   workgroup = MYWORKGROUP
   netbios name = CYBORG
   server string = Cyborg File Server
   security = SHARE
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*al

l*authentication*tokens*updated*successfully*
   log file = /var/log/samba/%m.log
   max log size = 0
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = No
   hosts allow = 192.168.1. 192.168.0.
   printing = lprng

[homes]
   comment = Home Directories
   valid users = %S
   read only = No

Torsten Geile wrote:

Erik Hertzel schrieb:

All,

I am setting up a SAMBA server on a Redhat 8 Linux box.  I have 
gotten it set up and can ping the server and do have SAMBA installed 
on the machine.  I have gotten SWAT set up and can access the SAMBA 
server on a Windows PC on the network going through SWAT.  But, I 
can't see the SAMBA server yet in my Network Places.  I have set up 
the smb.conf file and changed the workgroup to the right name and 
have set the hostname for the SAMBA server.  I just can't see it.  I 
have disabled the iptables and still can't see it.


Then, once I get that far, I am having problems getting the shares 
setup.  I just need one share for a new hard drive that I set up (the 
server has two hard drives, the 10 GIG is for the LINUX redhat 
installations, etc...) and the 80 GIG (hdb) is for my SAMBA file 
server.  How do I set the share up with the hdb so I can see it and 
copy files to it from a Windows box on the same workgroup?




Please post your smb.conf to see, what you have configured already.

Torsten



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


Re: [Samba] Samba newbie question

2006-06-28 Thread Torsten Geile

Erik Hertzel schrieb:

All,

I am setting up a SAMBA server on a Redhat 8 Linux box.  I have gotten 
it set up and can ping the server and do have SAMBA installed on the 
machine.  I have gotten SWAT set up and can access the SAMBA server on 
a Windows PC on the network going through SWAT.  But, I can't see the 
SAMBA server yet in my Network Places.  I have set up the smb.conf 
file and changed the workgroup to the right name and have set the 
hostname for the SAMBA server.  I just can't see it.  I have disabled 
the iptables and still can't see it.


Then, once I get that far, I am having problems getting the shares 
setup.  I just need one share for a new hard drive that I set up (the 
server has two hard drives, the 10 GIG is for the LINUX redhat 
installations, etc...) and the 80 GIG (hdb) is for my SAMBA file 
server.  How do I set the share up with the hdb so I can see it and 
copy files to it from a Windows box on the same workgroup?




Please post your smb.conf to see, what you have configured already.

Torsten


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


[Samba] Samba newbie question

2006-06-28 Thread Erik Hertzel

All,

I am setting up a SAMBA server on a Redhat 8 Linux box.  I have gotten 
it set up and can ping the server and do have SAMBA installed on the 
machine.  I have gotten SWAT set up and can access the SAMBA server on a 
Windows PC on the network going through SWAT.  But, I can't see the 
SAMBA server yet in my Network Places.  I have set up the smb.conf file 
and changed the workgroup to the right name and have set the hostname 
for the SAMBA server.  I just can't see it.  I have disabled the 
iptables and still can't see it.


Then, once I get that far, I am having problems getting the shares 
setup.  I just need one share for a new hard drive that I set up (the 
server has two hard drives, the 10 GIG is for the LINUX redhat 
installations, etc...) and the 80 GIG (hdb) is for my SAMBA file 
server.  How do I set the share up with the hdb so I can see it and copy 
files to it from a Windows box on the same workgroup?


Thanks.

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


[Samba] newbie question reguarding kerberos tickets

2006-05-11 Thread Doug Tucker
I recently joined a samba 3.0.22 server to AD.  When I did the kinit,
the AD gave me a 24 hour ticket with a 1 week renewal.  Setting -r and
-l to 365d did not change anything, the ticket still came back the same.
However, my question is in reguard to whether this is really even
needed?  First, I deleted the ticket, and everything seemed to continue
to work perfectly.  Now, I let the ticket expire for a couple of weeks
now, and yet, the samba server is working fine and users still
authenticate against AD just fine.  Am I missing something, or is the
creation of that ticket not even needed?  Thank you for your assistance.

doug...

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


[Samba] Newbie problem setting up samba print server with no authenticati on

2006-03-21 Thread Lott, Edward M
I am trying to set up a standalone samba print server, however when I
try to select the server in the Add Printer Dialog or in network
neighborhood from a Windows XP Professional machine that is on a Domain
I get a password prompt which I do not want. The results of the
testparm command is below:

 

Load smb config files from /etc/samba/smb.conf

Processing section "[printers]"

Processing section "[tmp]"

Loaded services file OK.

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters

[global]

  workgroup = WORKGROUP797

  server string = Samba Server 797

  username map = /etc/samba/smbusers

  log file = /var/log/samba/%m.log

  max log size = 50

  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

  printcap name = cups

  dns proxy = No

  wins server = 131.110.80.31

  idmap uid = 16777216-33554431

  idmap gid = 16777216-33554431

  hosts allow = 131.110.88.70, 127.0.0.1, 131.110.88.222

  cups options = raw

 

[printers]

  comment = All Printers

  path = /var/spool/samba

  printer admin = root

  guest ok = Yes

  printable = Yes

  browseable = No

 

[tmp]

  comment = Temporary file space

  path = /tmp

  read only = No

  guest ok = Yes

 

 

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


[Samba] Newbie problem setting up samba print server with no authentication

2006-03-21 Thread Ed Lott
I am trying to set up a standalone samba print server, however when I
try to select the server in the Add Printer Dialog or in network
neighborhood from a Windows XP Professional machine that is on a Domain
I get a password prompt which I do not want. The results of the
testparm command is below:
 

Load smb config files from /etc/samba/smb.conf

Processing section "[printers]"

Processing section "[tmp]"

Loaded services file OK.

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters

[global]

  workgroup = WORKGROUP797

  server string = Samba Server 797

  username map = /etc/samba/smbusers

  log file = /var/log/samba/%m.log

  max log size = 50

  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

  printcap name = cups

  dns proxy = No

  wins server = 131.110.80.31

  idmap uid = 16777216-33554431

  idmap gid = 16777216-33554431

  hosts allow = 131.110.88.70, 127.0.0.1, 131.110.88.222

  cups options = raw

 

[printers]

  comment = All Printers

  path = /var/spool/samba

  printer admin = root

  guest ok = Yes

  printable = Yes

  browseable = No

 

[tmp]

  comment = Temporary file space

  path = /tmp

  read only = No

  guest ok = Yes

 

 

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


[Samba] newbie : mapping problem between linux and samba users

2006-02-04 Thread stephane durieux

Hello

I have a mapping problem between linux and samba users
logged as a domain user steph under windows, I try to update the 
password but a message like

"you don't have the right to do that operation" appeals.
Logged as root I can do it.

When  I  dismiss  the  synchronisation between linux and windows users, 
it works !!
I have also noticed that I can only make mapping between pre defined 
windows
with "net groupmap set" and not "net groupmap add sid= unixgroup= "  
which started to fail each time.

(don t know if it s a normal behaviour)

So I have though it was due to a problem in my tdb database file and I 
run a check tools giving no problem.


So I put here my mappings :

System Operators (S-1-5-32-549) -> -1
Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> -1
Domain Admins (S-1-5-21-3113648812-2111614216-3829755549-512) -> root
Domain Guests (S-1-5-21-3113648812-2111614216-3829755549-514) -> -1
Power Users (S-1-5-32-547) -> users
Print Operators (S-1-5-32-550) -> -1
Administrators (S-1-5-32-544) -> -1
Account Operators (S-1-5-32-548) -> -1
Backup Operators (S-1-5-32-551) -> -1
Users (S-1-5-32-545) -> -1
Domain Users (S-1-5-21-3113648812-2111614216-3829755549-513) -> users


the logs I have obtained  (noticing there is a problem with a share 
secret between the window host and the server but which secret ? a 
secret for trusted domain ??  no relation with my problem !!!) :




[[2006/02/03 15:53:35, 5] auth/auth_util.c:make_user_info_map(224)
 make_user_info_map: Mapping user [GII]\[steph] from workstation [ESSAI]
[2006/02/03 15:53:35, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/02/03 15:53:35, 3] smbd/uid.c:push_conn_ctx(365)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/02/03 15:53:35, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/02/03 15:53:35, 5] auth/auth_util.c:debug_nt_user_token(485)
 NT user token: (NULL)
[2006/02/03 15:53:35, 5] auth/auth_util.c:debug_unix_user_token(506)
 UNIX token of user 0
 Primary group is 0 and contains 0 supplementary groups
[2006/02/03 15:53:35, 5] auth/auth_util.c:is_trusted_domain(1560)
 is_trusted_domain: Checking for domain trust with [GII]
[2006/02/03 15:53:35, 5] 
passdb/secrets.c:secrets_fetch_trusted_domain_password(333)

 secrets_fetch failed!
[2006/02/03 15:53:35, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/02/03 15:53:35, 10] lib/gencache.c:gencache_get(285)
 Cache entry with key = TDOM/GII couldn't be found
[2006/02/03 15:53:35, 5] libsmb/trustdom_cache.c:trustdom_cache_fetch(184)
 no entry for trusted domain GII found.
[2006/02/03 15:53:35, 5] auth/auth_util.c:make_user_info(132)
 attempting to make a user_info for steph (steph)
[2006/02/03 15:53:35, 5] auth/auth_util.c:make_user_info(142)
 making strings for steph's user_info struct
[2006/02/03 15:53:35, 5] auth/auth_util.c:make_user_info(184)
 making blobs for steph's user_info struct
[2006/02/03 15:53:35, 10] auth/auth_util.c:make_user_info(200)
 made an encrypted user_info for steph (steph)
[2006/02/03 15:53:35, 3] auth/auth.c:check_ntlm_password(219)
 check_ntlm_password:  Checking password for unmapped user 
[EMAIL PROTECTED] with the new password interface

[2006/02/03 15:53:35, 3] auth/auth.c:check_ntlm_password(222)
 check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2006/02/03 15:53:35, 10] auth/auth.c:check_ntlm_password(231)
 check_ntlm_password: auth_context challenge created by NTLMSSP 
callback (NTLM2)

[2006/02/03 15:53:35, 10] auth/auth.c:check_ntlm_password(233)
 challenge is:
[2006/02/03 15:53:35, 5] lib/util.c:dump_data(1995)
 [000] 25 C6 28 63 8E 66 60 20   %.(c.f` 
[2006/02/03 15:53:35, 10] auth/auth.c:check_ntlm_password(259)

 check_ntlm_password: guest had nothing to say
[2006/02/03 15:53:35, 8] lib/util.c:is_myname(1815)
 is_myname("GII") returns 0
[2006/02/03 15:53:35, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/02/03 15:53:35, 3] smbd/uid.c:push_conn_ctx(365)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/02/03 15:53:35, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/02/03 15:53:35, 5] auth/auth_util.c:debug_nt_user_token(485)
 NT user token: (NULL)
[2006/02/03 15:53:35, 5] auth/auth_util.c:debug_unix_user_token(506)
 UNIX token of user 0


here is my smb.conf
-


[global]

  netbios name = samba-1
  workgroup = GII
  server string = %h server
  wins support = yes 
  dns proxy = no


  log file = /var/log/samba/log.%m
  syslog=0
  log level = 200
  max log size = 1000

  panic action = /usr/share/samba/panic-action %d

  security = user

  encrypt passwords = true
  passdb backend = tdbsam
  obey pam restrictions = no
  unix password sync = yes
  passwd chat = "*Enter\snew\sUNIX\spassword:*" %n\n 
"*Retype\snew\sUNIX\spassword:*" %n\n "*"

[Samba] Newbie - samba 3 as PDC

2006-02-03 Thread ahall
winanjaya said...

"is it possible to make it automatically add machine name to both unix
account and smbpasswd?"

I believe so yes. you need to create certain add user scripts on the samba 
server
though.

please do read the two chapters I refer to in my previous post. they will 
explain
what you need to do.

and as for your question regarding "change password at next logon" I believe the
pdbedit command may do what you're looking for...

http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#pdbeditthing





 - Message sent via Madasafish Webmail - http://www.madasafish.com/ Up to 
8Mb Broadband now from just £11.99 a month
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Newbie - samba 3 as PDC

2006-02-02 Thread Winanjaya - PBXSoftwares.com

Hi, Thanks

So it does not automatically add the machine name into unix account and also
add the machine name as smbpasswd.. ;<(
is it possible to make it automatically add machine name to both unix
account and smbpasswd?

Regards
Winanjaya

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Friday, February 03, 2006 5:59 AM
Subject: Re: [Samba] Newbie - samba 3 as PDC



Winanjaya,

Please see here regarding domain control and membership...

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-pdc.html

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.htm
l

...but from a quick glance your smb.conf file seems OK.

so then you need to add a machine account. first as a unix account...

useradd -c "machine account" -d /dev/null -s /sbin/nologin netbiosname$

(netbiosname$ being the hostname of the windows client with a dollar
appended)

then as a samba account...

smbpasswd -a -m netbiosname

(note the dollar is not required here)

then add the client to the domain. when asked for an account with
permissions to
do so use the root account you set up when first configuring samba as a
domain
controller.

apologies if you've done this already and are still experiencing problems,
but
you weren't particularly verbose in your post so I'm not not sure what stage
you're at. if possible then describe what you've actually tried and what
errors
you're getting.

 - Message sent via Madasafish Webmail - http://www.madasafish.com/ Up
to 8Mb Broadband now from just £11.99 a month
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

***
Your mail has been scanned by MSS.
***




***
Our outgoing mail has been scanned by MSS.
***

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


Re: [Samba] Newbie - samba 3 as PDC

2006-02-02 Thread ahall
Winanjaya,

Please see here regarding domain control and membership...

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-pdc.html

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html

...but from a quick glance your smb.conf file seems OK.

so then you need to add a machine account. first as a unix account...

useradd -c "machine account" -d /dev/null -s /sbin/nologin netbiosname$

(netbiosname$ being the hostname of the windows client with a dollar appended)

then as a samba account...

smbpasswd -a -m netbiosname

(note the dollar is not required here)

then add the client to the domain. when asked for an account with permissions to
do so use the root account you set up when first configuring samba as a domain
controller.

apologies if you've done this already and are still experiencing problems, but
you weren't particularly verbose in your post so I'm not not sure what stage
you're at. if possible then describe what you've actually tried and what errors
you're getting.

 - Message sent via Madasafish Webmail - http://www.madasafish.com/ Up to 
8Mb Broadband now from just £11.99 a month
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Newbie: Directory Not Accessible

2006-02-02 Thread Deryck Hodge
On 1/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am a newbie to samba. I have successfully setup a similar samba share on 1 
> machine in the past.
>
> I have everything setup as User access with the pcguest as a guest account. 
> If I create a share to
> the /tmp, network users can access normally. I created a directory /var/snd 
> and set permissions to
> be rwxrwxrwx. I changed the smb.conf so that permission were identical to the 
> share for /tmp. I
> restarted samba. But, Windows XP network users cannot access this public 
> share (while they can
> still hit the share to /tmp). Both shares are visible on the network.
>
> This has got to be obvious to others, but I don't get it. It has to be a 
> security setting. I can
> post the smb.conf here, but it is so basic, that it would probably be 
> meaningless.
>

Are you trying to allow guest access to the new share just like with
the /tmp share?  Go ahead and post the smb.conf, too.

Cheers,
deryck

--
Deryck Hodge
http://www.devurandom.org/
http://www.samba.org/

"Aimless days, uncool ways of decathecting" --Mike Doughty (2005)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Newbie - samba 3 as PDC

2006-02-01 Thread Winanjaya - PBXSoftwares.com

Dear The Expert,

I am very new with this, I don't understand why my Windows 2000 Prof PC failed 
when trying to register as member of domain "LINUX".. but I am able to login by 
using Windows 9x client , below is my /etc/samba/smb.conf

I need advise.. thanks a lot in advance


[global]

workgroup = LINUX
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
preferred master = yes
domain logons = yes
 logon script = logon.bat
wins support = yes
dns proxy = no

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

 [netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   writable = no
   public = no

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

[public]
path = /home/public
read only = no
browsable = yes
guest ok = no
map archive = yes
writable = yes
create mask = 0600
directory mask = 0700


***
Our outgoing mail has been scanned by MSS.
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Newbie: Directory Not Accessible

2006-02-01 Thread [EMAIL PROTECTED]
I am a newbie to samba. I have successfully setup a similar samba share on 1 
machine in the past.

I have everything setup as User access with the pcguest as a guest account. If 
I create a share to
the /tmp, network users can access normally. I created a directory /var/snd and 
set permissions to
be rwxrwxrwx. I changed the smb.conf so that permission were identical to the 
share for /tmp. I
restarted samba. But, Windows XP network users cannot access this public share 
(while they can
still hit the share to /tmp). Both shares are visible on the network.

This has got to be obvious to others, but I don't get it. It has to be a 
security setting. I can
post the smb.conf here, but it is so basic, that it would probably be 
meaningless.

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

[Samba] Newbie: Samba Directory Security Issue

2006-02-01 Thread Twang
I am pretty much a samba newbie. In the past, I have created a share like 
this without a problem, but my troubleshooting skills with samba are minimal 
as I have minimal experience.

I am trying to create a user share (using the pcguest user) that is wide 
open to the network. The directory is /var/snd. Network users on Windows can 
see the folder, but get the general permission denied when trying to access 
it. I created a share to the /tmp and had NO problems accessing it from the 
Windows boxes. Then, I changed the smb configuration for the /tmp to point 
to /var/snd and I still could not access it. Directory permissions are 
RWXRWXRWX. pcguest is uid 98 gid 99

This has to be obvious to others... but I am not seeing it.

smb.conf:

workgroup = Rad
server string = Rdell
hosts allow = 192.168.0. 192.168.10.
printcap name = /etc/printcap
guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 50
security = user
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
domain master = no
dns proxy = no
winbind uid = 16777216-33554431
winbind gid = 16777216-33554431
restrict anonymous = no
preferred master = no
netbios name = Rdell
max protocol = NT
ldap ssl = No
server signing = Auto
map to guest = Bad User
guest ok = yes
force user = pcguest
inherit acls = yes
case sensitive = no
msdfs proxy = no
[homes]
comment = Home Directories
browseable = no
read only = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
printable = yes
[snd]
read only = no
path = /var/snd
guest only = yes 



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


Re: [Samba] newbie help with remote access

2005-12-12 Thread Tomasz Chmielewski

andy flatt schrieb:

I have a kurobox that I can access with my in-house network (dynamic
external ip).  I would love to be able to access from my work network
(dynamic external ip) as well as allow my brother a few states away
access it (dynamic external ip).

Where do I start?  Console level control only, no GUI on the kuro.

For those who are kuro savvy, I am running Alan's Mac Friendly version 2.


use openvpn?

--
Tomek
http://wpkg.org
WPKG - software management with Samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] newbie help with remote access

2005-12-12 Thread andy flatt
I have a kurobox that I can access with my in-house network (dynamic
external ip).  I would love to be able to access from my work network
(dynamic external ip) as well as allow my brother a few states away
access it (dynamic external ip).

Where do I start?  Console level control only, no GUI on the kuro.

For those who are kuro savvy, I am running Alan's Mac Friendly version 2.

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


Re: [Samba] Newbie

2005-12-08 Thread Dimitri Yioulos
On Thursday December 08 2005 9:30 am, Craig White wrote:
> On Thu, 2005-12-08 at 09:20 -0500, john steele wrote:
> > Hello,
> >
> > I am new to SAMBA and Linux and need help finding documentation on the
> > setup and how to integrate SAMBA and LDAP with Windows based clients.  I
> > have done a lot of looking around and found a lot of information, but it
> > all seems to be written for someone with some knowledge of both software
> > packages.  I did pickup two Linux Admin books from Tech Republic and they
> > are helpful.  But they seem to be missing parts that I guess someone with
> > more knowledge then myself would know.   I guess I should give you a
> > little background on myself.  I am a Network Engineer with 21 year of
> > Microsoft experience. In the past few years I have been getting fed up
> > with MS forcing me to upgrade all me servers just because just want to
> > sell a new OS.  So I have begun looking into LINUX.  Because of the large
> > MS client base (over 1000 clients) my employer wants a solution that will
> > integrate easily and SAMBA looks like that option.
> >
> > Can you point me in the direction of some doc's or even some books that
> > will give the whole story or at least fill in the blanks.  Thanks up
> > front for all help.
>
> 
> The official Samba documentation...
>
> http://www.samba.org/samba/docs
>
> See the 'How-To' for a very complete reference
> See the 'By Example' for installation guidance
>
> Both are available in dead tree form at your favorite bookseller or
> online above in html/pdf form
>
> Craig
>

First, welcome to Linux!  I'm confident you'll find it a great operating 
system - robust, scalable, extensible, etc.  It'll do all you want, and more.

Samba is an excellent tool for making Linux shares available to Windows 
clients.  The two Samba references that Craig mentioned above are excellent, 
and should be your starting point; they're well-written and very thorough (as 
always, thanks John T., and all the Samba team).  Now, I'm guilty of this 
too, at times, but do read the Samba reference guides.  Then, use this 
mailing list.  I don't want to do the whole love-fest thing here (well, ok, 
yes I do), but this list's members are among the most patient and helpful 
I've found.  So, do use their knowledge, but use it wisely.

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Samba] Newbie

2005-12-08 Thread Craig White
On Thu, 2005-12-08 at 09:20 -0500, john steele wrote:
> Hello,
>  
> I am new to SAMBA and Linux and need help finding documentation on the setup
> and how to integrate SAMBA and LDAP with Windows based clients.  I have done
> a lot of looking around and found a lot of information, but it all seems to
> be written for someone with some knowledge of both software packages.  I did
> pickup two Linux Admin books from Tech Republic and they are helpful.  But
> they seem to be missing parts that I guess someone with more knowledge then
> myself would know.   I guess I should give you a little background on
> myself.  I am a Network Engineer with 21 year of Microsoft experience. In
> the past few years I have been getting fed up with MS forcing me to upgrade
> all me servers just because just want to sell a new OS.  So I have begun
> looking into LINUX.  Because of the large MS client base (over 1000 clients)
> my employer wants a solution that will integrate easily and SAMBA looks like
> that option. 
>  
> Can you point me in the direction of some doc's or even some books that will
> give the whole story or at least fill in the blanks.  Thanks up front for
> all help.

The official Samba documentation...

http://www.samba.org/samba/docs

See the 'How-To' for a very complete reference
See the 'By Example' for installation guidance

Both are available in dead tree form at your favorite bookseller or
online above in html/pdf form

Craig

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


[Samba] Newbie

2005-12-08 Thread john steele
Hello,
 
I am new to SAMBA and Linux and need help finding documentation on the setup
and how to integrate SAMBA and LDAP with Windows based clients.  I have done
a lot of looking around and found a lot of information, but it all seems to
be written for someone with some knowledge of both software packages.  I did
pickup two Linux Admin books from Tech Republic and they are helpful.  But
they seem to be missing parts that I guess someone with more knowledge then
myself would know.   I guess I should give you a little background on
myself.  I am a Network Engineer with 21 year of Microsoft experience. In
the past few years I have been getting fed up with MS forcing me to upgrade
all me servers just because just want to sell a new OS.  So I have begun
looking into LINUX.  Because of the large MS client base (over 1000 clients)
my employer wants a solution that will integrate easily and SAMBA looks like
that option. 
 
Can you point me in the direction of some doc's or even some books that will
give the whole story or at least fill in the blanks.  Thanks up front for
all help.
 
 
John Steele
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Newbie-Authentication for term. em. software?

2005-11-21 Thread Michael Merker
We're a Windows shop just getting our feet wet with Linux.  We want to use a 
terminal emulation package from our Windows desktops to access an application 
running on Linux.  Right now, our users have to authenticate three times - 
once into Active Directory, once into Linux and then, finally, into the 
application itself.  Would the use of Samba allow us to skip the 2nd step of 
having to authenticate to Linux when we use the terminal emualtion software?  
Thanks.

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


[Samba] newbie question

2005-10-31 Thread Kevin Campbell
Hello,

I was wondering how this configuration could be accomplished with
in Linux/Samba. I'm running samaba 3/Gentoo/Linux 2.6. I have two
hard drives, each of them I'm sharing across my network. The problem
is each drive is shown as its own share. So drive 1 one is seen as
share 1 and drive 2 is seen as share 2. My question is how to combine
the shares into one. So it would be drive 1 and drive 2 would be seen
as share 1. Thanks, Kevin.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Newbie question about security

2005-10-28 Thread Martyn D. Wheeler
Dear Samba users,

I have just set up a home network consisting of two XP computers and a linux
box running FC4.  The linux box is currently acting as my webserver.  The
whole network lies behind a router (belkin) with a hardware firewall and
each of the computers are running software firewalls.  OK all is well and
everything works.  I wish to use my XP pc to edit files on the linux
webserver, so i figured that samba was the right option.  I have it set up
and can access my files on the webserver.  I am just concerned about
security.  On the XP machines we do not use a password to login so I have
had to set the samba password to no characters in order to access the samba
share.  Since the only machines on the local network are trustworthy (ie I
control them and only me and my wife have direct console access) IS THIS A
SAFE SITUATION, can anyone get to my samba share from outside the local
network?  I have restricted access to the IP addresses of my two loacl
machines on a 192.168.2. type network.

The only two ports that are specifically open to my linux box from the
outside world are 80 for the webserver and 22 for ssh access.

Any ideas suggestions are appreciated.

Can I use a password to access my samba share without having to use a
password in windows???

Thanks
Martyn


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


[Samba] Newbie - HOMES

2005-10-17 Thread bdehn
All -

I have created a Samba member server (NT4 domain and Winbind) and would 
like to have "home" directories automatically created. The "home" 
directory data location is not in /home it is located at /data/home. Can I 
still use pam_mkhomedir.so to create the directories? Any suggestions / 
wisdom?

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


Re: [Samba] newbie: Samba with Mysql question

2005-08-11 Thread Lonnie
Yes, they are generally coming from over the Internet and is the reason 
for the OpenVPN part of the project.


Thanks,

Lonnie Cumberland


Lee Ball wrote:

Are the people who you want to connect to Samba locally on your 
network or will they be connecting over the Internet? Its just I don't 
see why you would need OpenVPN unless they were connecting over a 
public network.


You may also want to look at 
http://samba.linuxforum.net/samba/docs/man/Samba-HOWTO-Collection/passdb.html#id2571894 



Lonnie wrote:


Greetings All,

I am new to this list and currently have a Fedora 3 server set up 
with Samba which just needs to be configured.


I would like to set up the MySQL database support for users and 
passwords as we have another project that will want to add entries to 
the Samba database so when the users are created so that they will 
have access to their home directories via samba.


Could someone please give me a little guidance on how to set this up?

I have Samba "samba-3.0.10-1.fc3" installed and my next step after 
getting it to function cleanly will be to install the OpenVPN 
software on the server so the clients will have clean and secure 
access through samba.


Thanks for any help and guidance that you could provide to get me 
started on the configurations.


Lonnie Cumberland






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


Re: [Samba] newbie: Samba with Mysql question

2005-08-11 Thread Lee Ball
Are the people who you want to connect to Samba locally on your network 
or will they be connecting over the Internet? Its just I don't see why 
you would need OpenVPN unless they were connecting over a public network.


You may also want to look at 
http://samba.linuxforum.net/samba/docs/man/Samba-HOWTO-Collection/passdb.html#id2571894


Lonnie wrote:


Greetings All,

I am new to this list and currently have a Fedora 3 server set up with 
Samba which just needs to be configured.


I would like to set up the MySQL database support for users and 
passwords as we have another project that will want to add entries to 
the Samba database so when the users are created so that they will 
have access to their home directories via samba.


Could someone please give me a little guidance on how to set this up?

I have Samba "samba-3.0.10-1.fc3" installed and my next step after 
getting it to function cleanly will be to install the OpenVPN software 
on the server so the clients will have clean and secure access through 
samba.


Thanks for any help and guidance that you could provide to get me 
started on the configurations.


Lonnie Cumberland





--
Lee Ball
08707 45 87 14
effective  it.

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


[Samba] newbie: Samba with Mysql question

2005-08-10 Thread Lonnie

Greetings All,

I am new to this list and currently have a Fedora 3 server set up with 
Samba which just needs to be configured.


I would like to set up the MySQL database support for users and 
passwords as we have another project that will want to add entries to 
the Samba database so when the users are created so that they will have 
access to their home directories via samba.


Could someone please give me a little guidance on how to set this up?

I have Samba "samba-3.0.10-1.fc3" installed and my next step after 
getting it to function cleanly will be to install the OpenVPN software 
on the server so the clients will have clean and secure access through 
samba.


Thanks for any help and guidance that you could provide to get me 
started on the configurations.


Lonnie Cumberland


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


[Samba] NEWBIE: libsendfile.so.1 missing

2005-07-12 Thread Dave . Turner
I've installed samba before, but it was an older version. This time I'm
having some trouble. I'm using the Solaris8-Sparc packages from
sunfreeware.com and got the error:
 
/usr/local/samba/sbin/smbd: fatal: libsendfile.so.1:  
 
I made sure that libiconv-1.8-sol8-intel-local was installed and then
reinstalled it anyway, but the libsendfile.so.1 was not located in /usr/bin
where it is located on my other server with the older version of Samba. I
tried manually copying the files over and got this error:
 
fatal: /usr/local/lib/libiconv.so.2: wrong ELF data format: ELFDATA2LSB
 
What could I be screwing up? 
 
Thanks,
Dave
___
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.

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


RE: [Samba] newbie - samba as PDC

2005-07-05 Thread Geoff Scott
Winanjaya - PBXSoftwares wrote:
> Hi all,
> 
> I am very new with samba, I am trying to configure my samba as PDC,
> my samba is running on FC2, I have configured my /etc/samba/smb.conf
> as below: now, I cannot login to my samba .. I am very sure that I
> already missed something.. please advise what's am I missing?  
> many thanks in advance
> Regards
> Winanjaya
> 

Have look at the log in /var/log/samba/log."machinename"  Google for info on
the errors you see and if you can't work it out for yourself post the errors
back to this list.


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


Re: [Samba] newbie - samba as PDC

2005-07-05 Thread Mark Sarria

Here is a partial config file, with the things you are missing
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n  add machine script = 
/usr/sbin/useradd -s /bin/false -d /dev/null \
-g machines %u username map = /etc/samba/smbusers- Original 
Message - 
From: "Winanjaya - PBXSoftwares" <[EMAIL PROTECTED]>

To: "Mark Sarria" <[EMAIL PROTECTED]>; 
Sent: Tuesday, July 05, 2005 1:14 AM
Subject: Re: [Samba] newbie - samba as PDC



sorry, I don;t understand what do you mean by path to password file? ..
could you please more spesific ?.. thanks a lot in advance

Regards
Winanjaya

- Original Message -
From: "Mark Sarria" <[EMAIL PROTECTED]>
To: "Winanjaya - PBXSoftwares" <[EMAIL PROTECTED]>;

Sent: Tuesday, July 05, 2005 12:33 PM
Subject: Re: [Samba] newbie - samba as PDC



Have you been able to add machine accounts (join the domain). It looks

like
you are missing that part, also missing is the path to the password file 
.



- Original Message -
From: "Winanjaya - PBXSoftwares" <[EMAIL PROTECTED]>
To: 
Sent: Monday, July 04, 2005 8:10 PM
Subject: [Samba] newbie - samba as PDC


> Hi all,
>
> I am very new with samba, I am trying to configure my samba as PDC, my
> samba
> is running on FC2, I have configured my /etc/samba/smb.conf as below:
> now,I cannot login to my samba .. I am very sure that I already missed
> something.. please advise what's am I missing?
> many thanks in advance
> Regards
> Winanjaya
>
> [global]
>workgroup = edp
>netbios name = portal
>server string = Samba PDC running %v
>socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
> SO_RCVBUF=8192
>
>os level = 64
>preferred master = yes
>local master = yes
>domain master = yes
>
>security = user
>encrypt passwords = yes
>log file = /var/log/samba/log.%m
>log level = 2
>max log size = 50
>#hosts allow = 127.0.0.1 172.16.0.0/255.255.0.0
> 192.168.1.0/255.255.255.0
>
>logon home = \\%L\%U\
>logon drive = H:
>logon path = \\%L\profiles\%U
>
> [homes]
>comment = Home Directories
>browseable = no
>writeable = yes
>
> [profiles]
>path = /home/samba/profiles
>writeable = yes
>browseable = no
>create mask = 0600
>directory mask = 0700
>
> [netlogon]
>comment = Network Logon Service
>path = /home/netlogon
>read only = yes
>browseable = no
>write list = tom
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba






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


Re: [Samba] newbie - samba as PDC

2005-07-05 Thread Winanjaya - PBXSoftwares
sorry, I don;t understand what do you mean by path to password file? ..
could you please more spesific ?.. thanks a lot in advance

Regards
Winanjaya

- Original Message -
From: "Mark Sarria" <[EMAIL PROTECTED]>
To: "Winanjaya - PBXSoftwares" <[EMAIL PROTECTED]>;

Sent: Tuesday, July 05, 2005 12:33 PM
Subject: Re: [Samba] newbie - samba as PDC


> Have you been able to add machine accounts (join the domain). It looks
like
> you are missing that part, also missing is the path to the password file .
>
>
> - Original Message -
> From: "Winanjaya - PBXSoftwares" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, July 04, 2005 8:10 PM
> Subject: [Samba] newbie - samba as PDC
>
>
> > Hi all,
> >
> > I am very new with samba, I am trying to configure my samba as PDC, my
> > samba
> > is running on FC2, I have configured my /etc/samba/smb.conf as below:
> > now,I cannot login to my samba .. I am very sure that I already missed
> > something.. please advise what's am I missing?
> > many thanks in advance
> > Regards
> > Winanjaya
> >
> > [global]
> >workgroup = edp
> >netbios name = portal
> >server string = Samba PDC running %v
> >socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
> > SO_RCVBUF=8192
> >
> >os level = 64
> >preferred master = yes
> >local master = yes
> >domain master = yes
> >
> >security = user
> >encrypt passwords = yes
> >log file = /var/log/samba/log.%m
> >log level = 2
> >max log size = 50
> >#hosts allow = 127.0.0.1 172.16.0.0/255.255.0.0
> > 192.168.1.0/255.255.255.0
> >
> >logon home = \\%L\%U\
> >logon drive = H:
> >logon path = \\%L\profiles\%U
> >
> > [homes]
> >comment = Home Directories
> >browseable = no
> >writeable = yes
> >
> > [profiles]
> >path = /home/samba/profiles
> >writeable = yes
> >browseable = no
> >create mask = 0600
> >directory mask = 0700
> >
> > [netlogon]
> >comment = Network Logon Service
> >path = /home/netlogon
> >read only = yes
> >browseable = no
> >write list = tom
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
>
>

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


Re: [Samba] newbie - samba as PDC

2005-07-04 Thread Mark Sarria
Have you been able to add machine accounts (join the domain). It looks like 
you are missing that part, also missing is the path to the password file .



- Original Message - 
From: "Winanjaya - PBXSoftwares" <[EMAIL PROTECTED]>

To: 
Sent: Monday, July 04, 2005 8:10 PM
Subject: [Samba] newbie - samba as PDC



Hi all,

I am very new with samba, I am trying to configure my samba as PDC, my 
samba

is running on FC2, I have configured my /etc/samba/smb.conf as below:
now,I cannot login to my samba .. I am very sure that I already missed
something.. please advise what's am I missing?
many thanks in advance
Regards
Winanjaya

[global]
   workgroup = edp
   netbios name = portal
   server string = Samba PDC running %v
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192

   os level = 64
   preferred master = yes
   local master = yes
   domain master = yes

   security = user
   encrypt passwords = yes
   log file = /var/log/samba/log.%m
   log level = 2
   max log size = 50
   #hosts allow = 127.0.0.1 172.16.0.0/255.255.0.0
192.168.1.0/255.255.255.0

   logon home = \\%L\%U\
   logon drive = H:
   logon path = \\%L\profiles\%U

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

[profiles]
   path = /home/samba/profiles
   writeable = yes
   browseable = no
   create mask = 0600
   directory mask = 0700

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   read only = yes
   browseable = no
   write list = tom

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


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


[Samba] newbie - samba as PDC

2005-07-04 Thread Winanjaya - PBXSoftwares
Hi all,

I am very new with samba, I am trying to configure my samba as PDC, my samba
is running on FC2, I have configured my /etc/samba/smb.conf as below:
now,I cannot login to my samba .. I am very sure that I already missed
something.. please advise what's am I missing?
many thanks in advance
Regards
Winanjaya

[global]
workgroup = edp
netbios name = portal
server string = Samba PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192

os level = 64
preferred master = yes
local master = yes
domain master = yes

security = user
encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
#hosts allow = 127.0.0.1 172.16.0.0/255.255.0.0
192.168.1.0/255.255.255.0

logon home = \\%L\%U\
logon drive = H:
logon path = \\%L\profiles\%U

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

[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = yes
browseable = no
write list = tom

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


[Samba] Newbie Samba RACF

2005-04-20 Thread sim128
Greetings,


   I am very new to Samba and at my job I have been 
tasked with the making Samba passwords sync with RACF(running on a mainframe) 
passwords . I am running Redhat Linux 3.0 ES on a Dell box . I searched 
Samba.org but did not find anything on Samba and RACF . My main questions are :

1. Can this be done?  The version of Samba I am running is 3.0.14

2. the version of Redhat is :
Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
---
If someone has done this or can tell me where to start I would appreciate it .

Thanks,
Sim 


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


Re: [Samba] Newbie: listing workgroups and hosts

2005-04-13 Thread John H Terpstra
On Wednesday 13 April 2005 19:07, Bruce Hohl wrote:
> > Hello everybody,
> >
> > I think that this should a be a trivial task but I've
> > already read the documentation but couldn't find out how
> > to get a list of all workgroups and their hosts with
> > "smbclient". Could somebody give me a hint please(and
> > sorry for that silly question)?
> >
> > Greetings,
> > -Rainer Hahnekamp
>
> try: # nmbstatus

The 'findsmb' utility should do what you want. It is part of Samba but not all 
distributions include it.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Newbie: listing workgroups and hosts

2005-04-13 Thread Bruce Hohl
> Hello everybody,
> 
> I think that this should a be a trivial task but I've
> already read the documentation but couldn't find out how
> to get a list of all workgroups and their hosts with
> "smbclient". Could somebody give me a hint please(and
> sorry for that silly question)?
> 
> Greetings,
> -Rainer Hahnekamp
> 
try: # nmbstatus

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


[Samba] Newbie: listing workgroups and hosts

2005-04-12 Thread Rainer Hahnekamp
Hello everybody,

I think that this should a be a trivial task but I've already read the
documentation but couldn't find out how to get a list of all
workgroups and their hosts with "smbclient".
Could somebody give me a hint please(and sorry for that silly question)?

Greetings,
-Rainer Hahnekamp

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


[Samba] Newbie configuration Q

2005-03-11 Thread Rob Saville
Hi,
I need a v simple samba setup in order to share files between a 
Windows AD network (W2003 server) and a SCO Unix box. Samba is 
installed, albeit the oldish version which comes on the SCO CD - v2.2 
IIRC.

A user (any user) can login to unix, run a program which generates a 
file in the /shared folder. This needs to be accessible to a program 
which runs in windows from anyone's PC (or from a background task on 
the server). I'm not concerned about security - I don't mind if 
everyone on the network has RW access to /shared.

I've managed to get it to work using authentication - ie. I've 
generated an smbpasswd file, created the user (pcuser) in unix and 
smb, set use encypted passwords = yes, and manually logged in from 
the Windows box as pcuser and can see /shared OK.

What I'd like to do is open the /shared up to anybody so that it 
doesn't need any authentication. Is this possible?

thanks for any tips

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


Re: [Samba] newbie help, please?

2005-01-30 Thread Phil Temples
Re my earlier posting today: A little more work and persistence finally 
paid off. My problem turned out to be the firewall on the Samba server 
running Fedora. After going back to the aarly chapters in the book and 
doing some basic pings and telnets to the ports in question it became 
clear what was going on.

Sorry for the wasted bandwidth.
Phil

Phil Temples wrote:
Hi,
I'm trying to get a Samba (version 3.0.8pre1-0.pre1.3) to play with some 
WinXP boxes. I'm using WORKGROUPS, not DOMAIN. The server is running 
under Fedora Core 3. And I'm following the troubleshooting chapter in 
the O'Reilly book, Chapter 9.

I cannot browse the shares from my WinXP machine. I CAN browse and 
access shares okay as a client on the Samba server machine.

<...>
--
Phil Temples <[EMAIL PROTECTED]>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] newbie help, please?

2005-01-30 Thread Phil Temples
Hi,
I'm trying to get a Samba (version 3.0.8pre1-0.pre1.3) to play with some 
WinXP boxes. I'm using WORKGROUPS, not DOMAIN. The server is running 
under Fedora Core 3. And I'm following the troubleshooting chapter in 
the O'Reilly book, Chapter 9.

I cannot browse the shares from my WinXP machine. I CAN browse and 
access shares okay as a client on the Samba server machine.

I may have a combination of network and/or authentiation problems.
I keep getting an "Error 5: Network path was not found" when attempting 
to see my "tmp" share on the server from the WinXP client. Googling this 
error tells me that it's an authentication problem.

I have password encryption turned on in smb.conf. And I have the 
identical username/password on the linux box and the WinXP box. And I 
have the same username/password set in the Samba password file via 
smbpasswd.

Even setting the password to null for a samba user doesn't work.
On another note, I'm thinking address resolution isn't working correctly.
When I attempt a "nmblookup -B clientname '*' (where I type in "europa" 
for the clientmame) I get:

   [EMAIL PROTECTED] samba]$ nmblookup -B europa '*'
   querying * on 192.168.1.104
   name_query failed to find name *
(I have europa entered in my linux/samba server's /etc/hosts file.)
This is supposed to indicate a spelling error, or the client software on 
the PC isn't installed, started or bound to TCP/IP.

My smb.conf file has:
[global]
# no printers for now
load printers = no
# map drive
logon drive = S:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = jupiter
server string = SambaServer
;   hosts allow = 192.168.1. 127.0.0.1
hosts allow = 192.168.1.  127.
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# all log information in one file
#   log file = /var/log/samba/smbd.log
# Put a capping on the size of the log files (in Kb).
max log size = 50
# 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
smb passwd file = /etc/samba/smbpasswd
# Unix users can map to different SMB User names
  username map = /etc/samba/smbusers
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24
# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
#   a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = yes
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
os level = 64
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
#   domain master = yes
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
preferred master = yes
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
domain logons = yes
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat
# Where to store roving profiles (only for Win95 and WinNT)
#%L substitutes for this servers netbios name, %U is username
#You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U
# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, 
/etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that

[Samba] [newbie] SQUID/SAMBA problems with NTLM_Auth

2004-11-29 Thread Stuart Chase
Hello, I havn't gotten an answer over on the squid usergroup - so I'm hoping
someone can help me here.

SUSE - 9.1
SQUID - 2.5.STABLE5
SAMBA - 3.0.2a-SUSE (the one that came with SUSE Installer by YAST)

I have set up squid, samba, got the winbind to work great 
Wbinfo -t, -u, -g all work great 
Squid also worked great until I tried to tie in NTLM_Auth 
If I authenticate using /usr/bin/ntlm_auth --username=administrator 


It authenticates perfectly. 


I have this in my squid.conf 


auth_param ntlm program /usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp 
auth_param ntlm children 45 
auth_param ntlm max_challenge_reuses 0 
auth_param ntlm max_challenge_lifetime 2 minutes 
auth_param basic program /usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-basic 
auth_param basic children 5 
auth_param basic realm Squid proxy-caching web server 
auth_param basic credentialsttl 2 hours 


And my ACL's 


acl all src 0.0.0.0/0.0.0.0 
acl localhost src 127.0.0.1/255.255.255.255 
http_access allow localhost 
acl AuthorizedUsers proxy_auth REQUIRED 
http_access allow all AuthorizedUsers 
http_access deny all 
http_reply_access allow all 


And if I try to browse anywebsite at all, the squid access.log shows 
TCP_DENIED/407 


In the squid cache.log I can see it authenticateValidateUser: Validating 
Auth_user request '0x8487f80' 
Then authenticateValidateUser: Validated Auth_user request '0x8487f80' 
Then 
User not fully authenticated 
It will continue like that counting 4,3,2,1 And will eventually say 
The request GET http://www.yahoo.com/ is DENIED, because it matched 
'AuthorizedUsers' 
Access Denied: http://www.yahoo.com 
AciMatchedName = AuthorizedUsers 
Proxy Auth message =  


Later down the log I'll see 
Creating entry 0x832c000: near 'X-Squid-Error: ERR_CACHE_ACCESS DENIED 0' 
Creating entry 0x832c000' near 'Proxy-Authenticate: NTLM - a whole bunch of 
letters, then trying more lookups. 



Any ideas where I seem to be going awry here? 


Thank you. 

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


Re: [Samba] Newbie needs help with failed RAID5 disk

2004-11-01 Thread rruegner
Ronald Sand schrieb:
I was hoping someone could either help me or point me in the direction
of a resource.  I have searched the web for any howto on repairing a
failed array, but keep coming up short.  I have a home file server
running a RAID 5 array that now will not mount my array.  I believe it
is telling me there is a problem with the second drive.
The basics:
RedHat 8.0
kernel 2.4.20-28.8
don't know the samba version
system is a PIII 600 with 3 Maxtor 80 GB drives
all three drives are recognized by the BIOS
The Grub loader comes up, but the system hangs when I try to bot the
OS.  Following are some of the errors that show up.  I can't scroll up
to see more as the system is frozen.
I have all my family photos on here and would really like to preserve
them.  The timing is ironic.  On the day the system failed I was
building a new windows machine with a DVD burner to backup my data -
all I needed was one more day!
Any help would be greatly appreciated.
Ron
md0: 2 data -disks, max readahead per data-disk: 256
raid5:L device hdf1 operational as raid disk 1
raid5: not enough operational divices for md0 (2/3 failed)
RAID5 conf printout:
--- rd:3 wd:1 fd:2
disk 0, s:0, o:0, n:0 rd:0 us:1 dev:[dev 00:00]
disk 1, s:0, o:0, n:0 rd:0 us:1 dev:hdf1
disk 2, s:0, o:0, n:0 rd:0 us:1 dev:[dev 00:00]
raid5: failed to run raid set md0
md: pers->run() failed ...
md :do_md_run() returned -22
md: md0 stopped.
md: unbindSorry what has this to do wtih samba?
try contact the vendor of your raid controller,the failure
seems clear
raid5: not enough operational divices for md0 (2/3 failed)
so check cables etc
Regards
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Newbie needs help with failed RAID5 disk

2004-11-01 Thread Ronald Sand
I was hoping someone could either help me or point me in the direction
of a resource.  I have searched the web for any howto on repairing a
failed array, but keep coming up short.  I have a home file server
running a RAID 5 array that now will not mount my array.  I believe it
is telling me there is a problem with the second drive.

The basics:
RedHat 8.0
kernel 2.4.20-28.8
don't know the samba version
system is a PIII 600 with 3 Maxtor 80 GB drives
all three drives are recognized by the BIOS

The Grub loader comes up, but the system hangs when I try to bot the
OS.  Following are some of the errors that show up.  I can't scroll up
to see more as the system is frozen.

I have all my family photos on here and would really like to preserve
them.  The timing is ironic.  On the day the system failed I was
building a new windows machine with a DVD burner to backup my data -
all I needed was one more day!

Any help would be greatly appreciated.

Ron

md0: 2 data -disks, max readahead per data-disk: 256
raid5:L device hdf1 operational as raid disk 1
raid5: not enough operational divices for md0 (2/3 failed)
RAID5 conf printout:
--- rd:3 wd:1 fd:2
disk 0, s:0, o:0, n:0 rd:0 us:1 dev:[dev 00:00]
disk 1, s:0, o:0, n:0 rd:0 us:1 dev:hdf1
disk 2, s:0, o:0, n:0 rd:0 us:1 dev:[dev 00:00]
raid5: failed to run raid set md0
md: pers->run() failed ...
md :do_md_run() returned -22
md: md0 stopped.
md: unbindhttp://lists.samba.org/mailman/listinfo/samba


Re: [Samba] newbie to samba

2004-10-23 Thread John H Terpstra
On Friday 22 October 2004 19:41, Hiu Yen Onn wrote:
> i am pretty new to samba. all i can say, samba is my first time. so,
> anyway, i have a small network, i wish samba powers everything for my
> network.
> may be i should go for samba+ldap. any proper documentation? pls guide
> me. thanks.
> --

http://www.samba.org/samba/docs


- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] newbie to samba

2004-10-22 Thread Hiu Yen Onn
i am pretty new to samba. all i can say, samba is my first time. so, 
anyway, i have a small network, i wish samba powers everything for my 
network.
may be i should go for samba+ldap. any proper documentation? pls guide 
me. thanks.
--
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


  1   2   3   >