Mount command...again

2003-06-06 Thread jonr
Ok, here is what I am trying to do. I am trying to mount a samba served
directory on a remote system onto my local system. Both servers are
running freebsd4.8. I want to mount the remote directory with the
priveliges of the remote owner of the directory onto my local system.

In Linux I can do it this way:
mount -t smbfs -o username=,password=,
uid=jonr,gid=jonr //sambaserver/ /path/to/mount/point

This will send my username and password then mount the share with the
remote users uid and gid.

Is there a way to do this on FreeBSD? I have been reading the man pages
for mount and mount_smbfs and can't find out how to do this.
-- 
Jon Reynolds <[EMAIL PROTECTED]>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd4.7 and Samba and OS X

2003-02-06 Thread jonr
Hello,

We are having this issue with samba and OSX 10.2.3. We are using
freebsd4.7 serving samba as a fileserver for our company, we have a mix
of windows and macs connecting to it. The windows machines work just
fine the macs are another story.

I have narrowed it down to this: I can open a file/document from the
fileserver on my mac and edit it but it tells me I dont have the
permissions to copy it back. This is from a volume that I mounted on the
desktop using the 'apple+k' to mount it. When I mount it by command line
I can edit the file/document(anyfile) and copy it back with no problem.

I have also found this to be true on my linux system. Exact same
problem when trying to edit and copy a file back to the fileserver that
has been mounted on the desktop, I get the permission denied error. When
mounted by command line I can open any file and edit it then copy it
back.

Has anyone run into this before and have found a solution they would
like to share? I have done google searches but from everything I find it
doesn't answer my question or im just not posing the question correctly.

Thanks for any help,

Jon




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Internal mail server

2003-01-05 Thread jonr
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Sunday, January 05, 2003 3:55 PM
 To: [EMAIL PROTECTED]
 Subject: Internal mail server


 Here is my problem:

I have a lab with students that is going to be taught how
 to use an email client(Outlook). I want to set them up on an
 internal server that will not be visible from the outside
 world(Internet). I have the mail server setup using qmail and
 freebsd4.7. I also want to use a fake domain name, i.e.
 labcomps.net,.org,.com whatever, so that I will be able to
 send email within the class and no email will go outside or
 from the outside to the inside.
>>>
>>> Ironically, i just finished doing exactly that, if I understand you
>>> correctly.
>>>
>>>

 Questions:
 1. Can I setup a dns server to do this with the fake domain
 name and not be visible to the outside?
>>>
>>> Yup.  I set up a DNS server on my lan to respond to my fake domain.
>>> Sorry, I used a friend's DNS configuration as a guide, so I cannot
>>> give too many examples.  I did check the freebsd handbook for many
>>> small items for dns though.  Just make sure your hostname matches the
>>> dns stuff to make life easier.
>>>

 2. Has somebody done this type of setup before and have any
 online documentation that I could follow?
>>>
>>> Qmail:
>>> http://logicsquad.net/freebsd/qmail-how-to.html
>>>
>>>
>>>

 3. Can somebody tell me if this is even a possibility?

 Thank You,

 Jon



>> Excellent! This is what I was hoping I would hear. The one question I
>> forgot to ask is probably the most important one. The lab computers
>> get their IP's from dhcp on the external router so that they can surf
>> the Internet for other classes that they have. These are all win98
>> clients, so after I put up the dns server would I just have to
>> configure the lab computers to also look at the internal dns that I
>> created with the fake domain name to be able to do the mx lookups?
>> Would this cause any problems for the lab computers to get to the
>> Internet and still be able to use the fake dns server setup for mail?
>>
>> Jon
>>
>
> Not a problem at all.  Just give named authority over the 'fake' domain
> and give it some forwarders (in example named.conf file supplied with
> FreeBSD).  Then point all the m$ clients at the internal dns.  Added
> bonus...  it'll cache the results and depending on how dns was
> previously set up you could see some reduction in external lookups.
>
Thanks to all who have given me advice on this question. I hope most of
you will be up at around 2:30am Alaska time as this is when I will
probably run into my errors and questions. 8^) I have my O'reilly DNS and
Bind book and Gregs FreeBSD Handbook plus I can use sample configs from my
own dns server and any other doc I can find. If any one else has more
suggestions I would appreciate any and all. I have to try and have this
setup by Monday morning and will use every reference I can find. Thanks
again, signing up to this list has been a godsend to me.

Jon



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Internal mail server

2003-01-05 Thread jonr
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]] On Behalf Of
>> [EMAIL PROTECTED]
>> Sent: Sunday, January 05, 2003 3:55 PM
>> To: [EMAIL PROTECTED]
>> Subject: Internal mail server
>>
>>
>> Here is my problem:
>>
>>I have a lab with students that is going to be taught how
>> to use an email client(Outlook). I want to set them up on an
>> internal server that will not be visible from the outside
>> world(Internet). I have the mail server setup using qmail and
>> freebsd4.7. I also want to use a fake domain name, i.e.
>> labcomps.net,.org,.com whatever, so that I will be able to
>> send email within the class and no email will go outside or
>> from the outside to the inside.
>
> Ironically, i just finished doing exactly that, if I understand you
> correctly.
>
>
>>
>> Questions:
>> 1. Can I setup a dns server to do this with the fake domain
>> name and not be visible to the outside?
>
> Yup.  I set up a DNS server on my lan to respond to my fake domain.
> Sorry, I used a friend's DNS configuration as a guide, so I cannot give
> too many examples.  I did check the freebsd handbook for many small
> items for dns though.  Just make sure your hostname matches the dns
> stuff to make life easier.
>
>>
>> 2. Has somebody done this type of setup before and have any
>> online documentation that I could follow?
>
> Qmail:
> http://logicsquad.net/freebsd/qmail-how-to.html
>
>
>
>>
>> 3. Can somebody tell me if this is even a possibility?
>>
>> Thank You,
>>
>> Jon
>>
>>
>>
Excellent! This is what I was hoping I would hear. The one question I
forgot to ask is probably the most important one. The lab computers get
their IP's from dhcp on the external router so that they can surf the
Internet for other classes that they have. These are all win98 clients, so
after I put up the dns server would I just have to configure the lab
computers to also look at the internal dns that I created with the fake
domain name to be able to do the mx lookups? Would this cause any problems
for the lab computers to get to the Internet and still be able to use the
fake dns server setup for mail?

Jon



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Internal mail server

2003-01-05 Thread jonr
Here is my problem:

   I have a lab with students that is going to be taught how to use an
email client(Outlook). I want to set them up on an internal server that
will not be visible from the outside world(Internet). I have the mail
server setup using qmail and freebsd4.7. I also want to use a fake
domain name, i.e. labcomps.net,.org,.com whatever, so that I will be
able to send email within the class and no email will go outside or
from the outside to the inside.

Questions:
1. Can I setup a dns server to do this with the fake domain name and not
be visible to the outside?

2. Has somebody done this type of setup before and have any online
documentation that I could follow?

3. Can somebody tell me if this is even a possibility?

Thank You,

Jon



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Need help installing FreeBSD

2002-12-27 Thread jonr
You can download the .iso image here:

ftp://ftp1.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/4.7/

then burn that image to a CD. It is for the i386 arch.

Jon

On Fri, 2002-12-27 at 12:56, venkat reddy wrote:
> Hi all,
>
> I am new to the FreeBSD community, I want to install
> FreeBSD in my lab and I am getting problems installing
> it.
>
> I am trying to install Free-BSD on a Pentium-II
> machine with 10 GB hard disk space.
>
> I have downloaded the kern.flp and mfsroot.flp and
> image copied them on to the floppies and booted my
> system with those floppies.
>
> Now when it prompts for the further installation I
> have selected the "ftp passive" because i have a
> firewall to my lab. but it says could not log on to
> the ftp.
>
> My question is If I want to load it from a CD. What
> should I write on the CD from the ftp site. I am too
> confused with the directories in the ftp site.
>
> Please help me what to download from the ftp site. And
>  are there any bootable images for the complete
> installation process in the ftp site.
>
> Thanks in advance.
>
> Venkat




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message