RE: Samba and Active Directory

2011-03-01 Thread Johan Hendriks
>Hello list,

>I have tried putting this on the samba mail list seems that no knows or
is willing to share, having got good help with freebsd >on here before,
I figured its worth a shot, apologises if it is not 100% OT.

>I am sure this has been asked a million times but here goes for +1

>I am looking for help, or pointers to a good resource to get FreeBSD
8.2 and Samba 3.5 working within a Win 2008 AD >environment, the samba
how to got me so far, but I am missing something somewhere as none of
the shares defined within the >smb.conf will connect without asking for
a username and password.

>Regards

>Graeme

I made a little effort helping somebody on the FreeBSD forum.

http://forums.freebsd.org/showthread.php?t=20007

Use the directions i (Sylhouette) made in the above thread.
It should get you into a running state.


Regards 
Johan 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Samba and busy network

2009-08-29 Thread Saifi Khan
On Fri, 28 Aug 2009, stan wrote:

> I have a FreeBSD machine serving as (among other  things) a Samba server
> for an XP instance running under VirtualBox. The XP application is a data
> gathering one that polls continuously. I have set up things so that XP
> mounts the Samba share, and logs it's data there.
> 
> Problem is that every morning I come in to find that the XP app is
> complaining of disk problems from the share. I am fairly certain that this
> problem is occurring in the middle of the night, when my Amanda backups run.
> This does load the network fairly good. The FreeBSD box, and the Linux box
> are on the same switch, and same subnet. Anyone have suggestions as to how
> to address this issue?
> 
> 

Can you please share error logs on the xp share side ?

What is the backup set size that Amanda is handling ?


thanks
Saifi.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Samba and LDAP install on FreeBSD

2008-07-23 Thread Tim Judd

[EMAIL PROTECTED] wrote:

Here is my problem.  I installed the OpenLdap 2.4.10 server and SASL
client.  I then went to install the Samba 3.0.30 Port and it tells me that
it needs to install OpenLDAP client 2.3.42, but the 2.4.10 is in the same
place and I need to deinstall it.  I deinstall 2.4.10 and samba will
install, but now openldap will not run because it has missing files.  I
went to reinstall the 2.4.10 SASL client, but it tells me that the
openldap 2.3.42 needs to be removed.

If I go to remove the 2.3.42 openldap client, it tells me that samba
3.0.30 relies on it.  I am kind of stuck here.  Does samba 3.0.30 not work
with openldap 2.4?  Do I have to have openldap 2.3?

Thanks for any suggestions.

  
as I had also written in a previous mail just moments ago earlier in the 
queue 


A 2.4.x database already established (as soon as 2.4 was run) may not be 
compatible with 2.3.x (not verified).


the missing rc.conf values to start 2.3?

and OpenLDAP won't log to ANYTHING until configured to do so.

I'm going from memory on this last peice --
in slapd.conf, insert a "loglevel 256" statement anywhere before the 
database definitions
in /etc/syslog.conf define before the middle chunk of comments (seems 
it's picky) you need to add EITHER (which I think is the latter of these 
two):

slapd.*   /var/log/slapd.log-OR-
local4.*   /var/log/slapd.log

touching (creating) /var/log/slapd.log to create the file,
restarting syslogd
restart slapd

That should start logging.  Now why it's not any easier to setup, I 
don't know.


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


Re: Samba and Swat are not restarting the daemons.

2007-10-11 Thread Lowell Gilbert
Lisandro Grullon <[EMAIL PROTECTED]> writes:

> I have install samba version:3.0.26a from ports, the daemons appear to be 
> working fine by enabling the apropiate parameters in rc.conf, yet I am 
> speriencing the issue where SWAT is showing as the smbd and nmbd are not 
> running nor will they restart. Can someone point me in the right direction of 
> what is going on. Why is swat no allowing the process to be manipulated 
> accordingly? Thanks in advance. Lisandro Grullon

The actual problem is not really clear to me:
Are you able to connect to the SMB shares? 
Are you able to connect to SWAT at all?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and IPv6

2007-06-24 Thread David Holder
Hi! You can find more about the status of Samba and IPv6 in my 
presentation from SambaXP (see 
http://www.ipv6consultancy.com/ipv6blog/?p=8).


I have also provide a patch that enables IPv6 in the Samba4 server. A 
Howto and the Samba4 IPv6 patch can be found at 
http://www.ipv6consultancy.com/ipv6blog/?p=12. There is no patch for 
Samba3 yet. However, Samba3 can be made to serve CIFS over IPv6 using a 
superdaemon or a port forwarder (see my presentation for details).


Let me know if you have any questions and good luck. It will be sometime 
before Samba3 and Samba4 have full support for IPv6. You might be 
interested to know that the Linux CIFS client has IPv6 support in the 
development tree. See my blog for a fix to this if you decide to try it out!


Best Regards,
David

Dr David Holder CEng MIET MIEEE

Erion Ltd, Oakleigh, Upper Sutherland Road, Halifax, HX3 8NT

Reception: +44 (0)1422 207000

Direct Dial: +44 (0)131 2026317

Cell: +44 (0) 7768 456831
Web: http://www.ipv6training.com, http://www.ipv6consultancy.com and 
http://www.erion.co.uk

Blog: http://www.ipv6consultancy/ipv6blog

Registered in England and Wales. Registered Number 3521142
VAT Number: GB 698 3633 78


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


Re: samba and IPv6

2007-06-14 Thread Lowell Gilbert
"Andrew Falanga" <[EMAIL PROTECTED]> writes:

> On 6/14/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:
>> "Andrew Falanga" <[EMAIL PROTECTED]> writes:
>>
>> > Does samba actually support this?  I'm not turning up much information
>> > from the "official HOW-TO" at samba.org.  In fact, not a single link
>> > in the HOW-TO even mentions IPv6.
>>
>> There's a link on the Samba front page from last week.
>> The short version is that it doesn't do it yet, and probably won't
>> until Samba 4 (which has other changes for interoperating with
>> Vista -- which is the first Windows to really do IPv6 well).
>> There are patch sets around if you're willing to get your hands
>> a bit dirty.
>
> Nope, don't mind getting my hands dirty (I do most of the work on my
> automobiles too).  However, I take it from this that because I must
> get my hands dirty, none of these patches are in the ports system?  I

As far as I can see, they are not.  

> ask because I noticed as I installed vim last night that many patches
> were downloaded along with the main vim tar-ball.

You could talk to the maintainer about that.  Samba4 probably isn't
ready to be added to the ports system anyway, but patches against
Samba3 seem to exist also.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and IPv6

2007-06-14 Thread Andrew Falanga

On 6/14/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

"Andrew Falanga" <[EMAIL PROTECTED]> writes:

> Does samba actually support this?  I'm not turning up much information
> from the "official HOW-TO" at samba.org.  In fact, not a single link
> in the HOW-TO even mentions IPv6.

There's a link on the Samba front page from last week.
The short version is that it doesn't do it yet, and probably won't
until Samba 4 (which has other changes for interoperating with
Vista -- which is the first Windows to really do IPv6 well).
There are patch sets around if you're willing to get your hands
a bit dirty.


Nope, don't mind getting my hands dirty (I do most of the work on my
automobiles too).  However, I take it from this that because I must
get my hands dirty, none of these patches are in the ports system?  I
ask because I noticed as I installed vim last night that many patches
were downloaded along with the main vim tar-ball.

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


Re: samba and IPv6

2007-06-14 Thread Lowell Gilbert
"Andrew Falanga" <[EMAIL PROTECTED]> writes:

> Does samba actually support this?  I'm not turning up much information
> from the "official HOW-TO" at samba.org.  In fact, not a single link
> in the HOW-TO even mentions IPv6.

There's a link on the Samba front page from last week.
The short version is that it doesn't do it yet, and probably won't
until Samba 4 (which has other changes for interoperating with
Vista -- which is the first Windows to really do IPv6 well).
There are patch sets around if you're willing to get your hands 
a bit dirty.  

Be well.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and automounting upon login (update)

2007-05-19 Thread Zane C.B.
On Sat, 19 May 2007 13:01:51 -0400
"Zane C.B." <[EMAIL PROTECTED]> wrote:

> On Fri, 18 May 2007 21:46:33 -0400
> "Zane C.B." <[EMAIL PROTECTED]> wrote:
> 
> > Any one know where I can find info on setting up FreeBSD so it
> > tries to automounting their home from a Samba server?
> 
> Came across pam_exec, which after a bit of tweaking sort of takes
> care of this.
> 
> Here is a patch to pam_exec.c to make it export PAM_AUTHTOK.
> 
> Now the current issues is making mount_smbfs handle pulling the
> password from a environmental variable or STDIN.

http://www.freebsd.org/cgi/query-pr.cgi?pr=112794

Just submitted as a PR. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and automounting upon login (update)

2007-05-19 Thread Zane C.B.
On Fri, 18 May 2007 21:46:33 -0400
"Zane C.B." <[EMAIL PROTECTED]> wrote:

> Any one know where I can find info on setting up FreeBSD so it tries
> to automounting their home from a Samba server?

Came across pam_exec, which after a bit of tweaking sort of takes
care of this.

Here is a patch to pam_exec.c to make it export PAM_AUTHTOK.

Now the current issues is making mount_smbfs handle pulling the
password from a environmental variable or STDIN.--- pam_exec.c.orig	Sat May 19 12:51:42 2007
+++ pam_exec.c	Sat May 19 12:56:50 2007
@@ -57,6 +57,7 @@
 	ENV_ITEM(PAM_TTY),
 	ENV_ITEM(PAM_RHOST),
 	ENV_ITEM(PAM_RUSER),
+	ENV_ITEM(PAM_AUTHTOK),
 };
 
 static int
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-21 Thread L Goodwin
The "fdisk -I da1" failed with SCSI parity error, so I took another look at the 
manual for the 9GB drives and noticed that the J-4 pin block (12 pairs of pins 
where SCSI Device ID's are set) on these drives says Pin 11 is a "Disable SCSI 
Parity Check" jumper. I added a jumper on pin 11 on both 9GB drives.

This resolved the SCSI parity error (note that SCSI Parity Checking is still 
Enabled in the SCSI BIOS). Then I did:

1) dd if=/dev/zero of=/dev/da1 bs=512 count=1024
RESULT: OK

2) fdisk -I da1
RESULT: ERROR - Output:
*** Working on device /dev/da1 ***
fdisk: invalid fdisk partition table found
fdisk: Geom not found

3) gmirror label -v -b round-robin gm0 /dev/da1
(to see what would happen) RESULT: OK!
Metadata value stored on /dev/da1.
Done.

4) dd if=/dev/zero of=/dev/da1s1 bs=512 count=1024
RESULT: OK

5) bsdlabel -w da1s1
RESULT: OK

6) bsdlabel -e da1s1
Confusion on what to do here and why. Your instructions were: 
"Then in the editor it brings up, put all the slice in a: - 
just copy the c: line and change the type to BSD4.2 from UNUSED
and make the   [fsize  bsize  bps/cpg] columns  be  2048  16384  28552"
Why "copy the c: line"? Shouldn't I just edit the "a:" line and leave the "c:" 
line alone?

Here's what it looks like unmodified:
-
# /dev/da1s1:
8 partitions:
#  sizeoffsetfstype[fsize bsize bps/cpg]
a: 1790830016unused0   0
c: 17908316  0unused0   0  # "raw" part, don't edit
-
 
Is this what it should look like after mods, or should I change size to 
17908316 and offset to 0?:
-
 # /dev/da1s1:
 8 partitions:
 #  sizeoffsetfstype[fsize bsize bps/cpg]
 a: 17908300164.2BSD   2048 16384  28552 
c: 17908316  0unused0   0  # "raw" part, don't edit
-

More questions later... (thanks)
  
Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Apr 20, 2007 at 03:12:46PM 
-0700, L Goodwin wrote:

> Hi, Jerry:
> 
> Yes, I want to run Samba (sorry the list of requirements from my original 
> email got left off). I also want to have the server run scheduled backups of 
> the mirror disk. However...

OK.   I saw that later in your subject line, but all information
should be in the body of the message too.

> 
> I am not able to initialize da1 and da2 successfully. I went through the 
> process of running FDISK and the Label Editor from the sysinstall menu, both 
> without any error messages, but it does not work! (see the steps I took below)
> 
> Here are the detailed steps I took and results (FAIL). Did I miss any 
> important steps or do something incorrectly, or is there a problem with these 
> disks?:
> 
> 1) Boot FreeBSD and login as user "root".
> 
> 2) Start sysinstall from the shell prompt.
> 
> 3) Select the Configure menu option and run FDISK.
> 
> 4) Created a single slice ("da1s1") on da1, then repeated the process for da2 
> ("da2s1"). Both slices are the same size (17912475 blocks).
>  
> 5) Select "Label  Disk Label Editor" in FreeBSD Configuration Menu.
> [See attached file containing FDISK and Label settings]
> 
> 6) I then tried to format the "da1s1" partition using:
> newfs /dev/da1s1d
> ...which failed with "newfs /dev/sa1s1d: could not find special device"

Is there any reason you were making it a partition 'd:' instead of 'a:'
I don't think it would matter, but it might lead to errors keeping
track of things when typing in commands.

> Checked /dev and found "da1" and "da2", but not the expected "da1s1d" and 
> "da2s1d", so I tried: 
> newfs /da1
> ...which failed with:
> ...
> (da1:ahc0:0:1:0): WRITE(06). CDB: a 0 0 a0 80 0
> (da1:ahc0:0:1:0): CAM Status: SCSI Status Error
> (da1:ahc0:0:1:0): SCSI Status: Check Condition
> (da1:ahc0:0:1:0): ABORTED COMMAND asc:47,0
> (da1:ahc0:0:1:0): SCSI parity error
> (da1:ahc0:0:1:0): Retries Exhausted
> newfs: wtfs: 65536 bytes at sector 160: Input/output error

Well, a SCSI parity error is a bad sign.   That is pointing to
a hardware problem of some kind.  It could be media (disk) or
cables or controller failure, etc.

Try this and if you still get SCSI parity errors, better open up
the box and work on parts.

NOTE that those two dd commands are not quite the same.
The first writes to da1 and the second to da1s1

   dd if=/dev/zero of=/dev/da1 bs=512 count=1024
   fdisk -I da1
   dd if=/dev/zero of=/dev/da1s1 bs=512 count=1024
   bsdlabel -w da1s1
   bsdlabel -e da1s1

Then in the editor it brings up, put all the slice in a: - 
just copy the c: line and change the type to BSD4.2 from UNUSED
and make the   [fsize  bsize  bps/cpg] columns  be  2048  16384  28552 

Then do:newfs /dev/da1s1a

If that still ge

Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-20 Thread Jerry McAllister
On Fri, Apr 20, 2007 at 03:12:46PM -0700, L Goodwin wrote:

> Hi, Jerry:
> 
> Yes, I want to run Samba (sorry the list of requirements from my original 
> email got left off). I also want to have the server run scheduled backups of 
> the mirror disk. However...

OK.   I saw that later in your subject line, but all information
should be in the body of the message too.

> 
> I am not able to initialize da1 and da2 successfully. I went through the 
> process of running FDISK and the Label Editor from the sysinstall menu, both 
> without any error messages, but it does not work! (see the steps I took below)
> 
> Here are the detailed steps I took and results (FAIL). Did I miss any 
> important steps or do something incorrectly, or is there a problem with these 
> disks?:
> 
> 1) Boot FreeBSD and login as user "root".
> 
> 2) Start sysinstall from the shell prompt.
> 
> 3) Select the Configure menu option and run FDISK.
> 
> 4) Created a single slice ("da1s1") on da1, then repeated the process for da2 
> ("da2s1"). Both slices are the same size (17912475 blocks).
>  
> 5) Select "Label  Disk Label Editor" in FreeBSD Configuration Menu.
> [See attached file containing FDISK and Label settings]
> 
> 6) I then tried to format the "da1s1" partition using:
> newfs /dev/da1s1d
> ...which failed with "newfs /dev/sa1s1d: could not find special device"

Is there any reason you were making it a partition 'd:' instead of 'a:'
I don't think it would matter, but it might lead to errors keeping
track of things when typing in commands.

> Checked /dev and found "da1" and "da2", but not the expected "da1s1d" and 
> "da2s1d", so I tried: 
> newfs /da1
> ...which failed with:
> ...
> (da1:ahc0:0:1:0): WRITE(06). CDB: a 0 0 a0 80 0
> (da1:ahc0:0:1:0): CAM Status: SCSI Status Error
> (da1:ahc0:0:1:0): SCSI Status: Check Condition
> (da1:ahc0:0:1:0): ABORTED COMMAND asc:47,0
> (da1:ahc0:0:1:0): SCSI parity error
> (da1:ahc0:0:1:0): Retries Exhausted
> newfs: wtfs: 65536 bytes at sector 160: Input/output error

Well, a SCSI parity error is a bad sign.   That is pointing to
a hardware problem of some kind.  It could be media (disk) or
cables or controller failure, etc.

Try this and if you still get SCSI parity errors, better open up
the box and work on parts.

NOTE that those two dd commands are not quite the same.
The first writes to da1 and the second to da1s1

   dd if=/dev/zero of=/dev/da1 bs=512 count=1024
   fdisk -I da1
   dd if=/dev/zero of=/dev/da1s1 bs=512 count=1024
   bsdlabel -w da1s1
   bsdlabel -e da1s1

Then in the editor it brings up, put all the slice in a: - 
just copy the c: line and change the type to BSD4.2 from UNUSED
and make the   [fsize  bsize  bps/cpg] columns  be  2048  16384  28552 

Then do:newfs /dev/da1s1a

If that still gets SCSI errors, then your problems are below the 
level of the software. 

jerry

> 
> I then tried "fdisk -BI da1" from the shell prompt, I get "fdisk: Failed to 
> write sector zero" (SCSI parity error).
>  
> There's something fishy going on here, but I don't know what to do about it.
> As stated in a previous posting, I ran the "Verify Disk Media" and "Low-level 
> Format" on both disks last night (no media problems found). NOW, WHAT???
>  
> Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Apr 20, 2007 at 
> 12:39:28PM -0700, L Goodwin wrote:
> 
> > Thanks for the steps, Laszlo. I got as far as creating a freebsd slice on 
> > da1 (both da1 and da2 have been low-level formatted).
> > Now I have two questions:
> > 
> > 1) When creating the slice on da1, I specified to use the entire disk, but 
> > there are 2 unused sections -- one before and one after the new slice 
> > (please see attached file). Should I start over and specify a smaller size? 
> > What size should I specify?:'
> > 
> > 2) About creating partitions on da1: You specified to add partitions to the 
> > slice (/dev/da1s1a, /dev/da1s1b,/dev/da1s1c etc.). 
> > 
> > Please note: 
> > a) The entire FreeBSD filesystem is on da0. 
> > b) I want to use the entire da1 disk for users on Windows clients to store 
> > files/documents on. I also want the mirror disk (da2) to be backed up 
> > regularly.
> > 
> > Do I need to create more than one partition on da1? What are the 
> > requirements for naming partitions in this situation?
> 
> Probably there is some confusion.
> If you alredy have your FreeBSD stuff on da0 and only want to put
> the windows stuff on da1, then you don't need it divided up in
> to all the extra partitions.   
> 
> If you want Windows clients to use it, do you plan to run Samba? 
> If not, maybe you should just make the disk a Windows disk, but make 
> it FAT32 so FreeBSD can both read and write it.   If it will be the 
> store for Samba, then forget this comment.
> 
> As for the unused bit before and after the slice, if I understand what
> you are pointing to, that is normal.   It is now normal to just skip
> the first whole track where an 

Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-20 Thread L Goodwin
Hi, Jerry:

Yes, I want to run Samba (sorry the list of requirements from my original email 
got left off). I also want to have the server run scheduled backups of the 
mirror disk. However...

I am not able to initialize da1 and da2 successfully. I went through the 
process of running FDISK and the Label Editor from the sysinstall menu, both 
without any error messages, but it does not work! (see the steps I took below)

Here are the detailed steps I took and results (FAIL). Did I miss any important 
steps or do something incorrectly, or is there a problem with these disks?:

1) Boot FreeBSD and login as user "root".

2) Start sysinstall from the shell prompt.

3) Select the Configure menu option and run FDISK.

4) Created a single slice ("da1s1") on da1, then repeated the process for da2 
("da2s1"). Both slices are the same size (17912475 blocks).
 
5) Select "Label  Disk Label Editor" in FreeBSD Configuration Menu.
[See attached file containing FDISK and Label settings]

6) I then tried to format the "da1s1" partition using:
newfs /dev/da1s1d
...which failed with "newfs /dev/sa1s1d: could not find special device"
Checked /dev and found "da1" and "da2", but not the expected "da1s1d" and 
"da2s1d", so I tried: 
newfs /da1
...which failed with:
...
(da1:ahc0:0:1:0): WRITE(06). CDB: a 0 0 a0 80 0
(da1:ahc0:0:1:0): CAM Status: SCSI Status Error
(da1:ahc0:0:1:0): SCSI Status: Check Condition
(da1:ahc0:0:1:0): ABORTED COMMAND asc:47,0
(da1:ahc0:0:1:0): SCSI parity error
(da1:ahc0:0:1:0): Retries Exhausted
newfs: wtfs: 65536 bytes at sector 160: Input/output error

I then tried "fdisk -BI da1" from the shell prompt, I get "fdisk: Failed to 
write sector zero" (SCSI parity error).
 
There's something fishy going on here, but I don't know what to do about it.
As stated in a previous posting, I ran the "Verify Disk Media" and "Low-level 
Format" on both disks last night (no media problems found). NOW, WHAT???
 
Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Apr 20, 2007 at 12:39:28PM 
-0700, L Goodwin wrote:

> Thanks for the steps, Laszlo. I got as far as creating a freebsd slice on da1 
> (both da1 and da2 have been low-level formatted).
> Now I have two questions:
> 
> 1) When creating the slice on da1, I specified to use the entire disk, but 
> there are 2 unused sections -- one before and one after the new slice (please 
> see attached file). Should I start over and specify a smaller size? What size 
> should I specify?:'
> 
> 2) About creating partitions on da1: You specified to add partitions to the 
> slice (/dev/da1s1a, /dev/da1s1b,/dev/da1s1c etc.). 
> 
> Please note: 
> a) The entire FreeBSD filesystem is on da0. 
> b) I want to use the entire da1 disk for users on Windows clients to store 
> files/documents on. I also want the mirror disk (da2) to be backed up 
> regularly.
> 
> Do I need to create more than one partition on da1? What are the requirements 
> for naming partitions in this situation?

Probably there is some confusion.
If you alredy have your FreeBSD stuff on da0 and only want to put
the windows stuff on da1, then you don't need it divided up in
to all the extra partitions.   

If you want Windows clients to use it, do you plan to run Samba? 
If not, maybe you should just make the disk a Windows disk, but make 
it FAT32 so FreeBSD can both read and write it.   If it will be the 
store for Samba, then forget this comment.

As for the unused bit before and after the slice, if I understand what
you are pointing to, that is normal.   It is now normal to just skip
the first whole track where an MBR might be written rather than just
one sector.   That is the 63 extra blocks at the beginning.
Then, fdisk will ignore trailing stuff that doesn't conveniently fit
in to the addressing scheme.Neither part amounts to much actual
disk space by today's standards so it is just ignored.   If you are
going to make a mirror, then try to get the two slices to come out
to the same size.  Otherwise don't worry about it.

jerry

> 
> Thanks!
> 
> Nagy László Zsolt  wrote: *L Goodwin wrote:
>  >
>  > Both assume you only have 2 drives and want to mirror the drive 
> containing FreeBSD. I only want to mirror the data drive da1, and would 
> appreciate a concise set of steps for doing this right the first time.
> 1. First of all, you should install the base system on da0 and boot it. 
> (Leave da1 and da2 untouched)
> 2. Create a slice on da1 ("fdisk"). The name of the new slice will 
> probably be "da1s1". (You will find this inside sysinstall) I found that 
> sometimes I had to use a bit smaller slice than the available space, 
> because equally looking disks are not always equal. (Not kidding!)
> 3. Use disklabel editor to add partitions to the slice 
> (/dev/da1s1a,/dev/da1s1b,/dev/da1s1c etc.) and format them with newfs as 
> needed.
> 4. Change loader.conf, add this line:
> 
> geom_mirror_load="YES"
> 
> 5. Execute these:
> 
> gmirror load
> gmirro

Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-20 Thread Jerry McAllister
On Fri, Apr 20, 2007 at 12:39:28PM -0700, L Goodwin wrote:

> Thanks for the steps, Laszlo. I got as far as creating a freebsd slice on da1 
> (both da1 and da2 have been low-level formatted).
> Now I have two questions:
> 
> 1) When creating the slice on da1, I specified to use the entire disk, but 
> there are 2 unused sections -- one before and one after the new slice (please 
> see attached file). Should I start over and specify a smaller size? What size 
> should I specify?:'
> 
> 2) About creating partitions on da1: You specified to add partitions to the 
> slice (/dev/da1s1a, /dev/da1s1b,/dev/da1s1c etc.). 
> 
> Please note: 
> a) The entire FreeBSD filesystem is on da0. 
> b) I want to use the entire da1 disk for users on Windows clients to store 
> files/documents on. I also want the mirror disk (da2) to be backed up 
> regularly.
> 
> Do I need to create more than one partition on da1? What are the requirements 
> for naming partitions in this situation?

Probably there is some confusion.
If you alredy have your FreeBSD stuff on da0 and only want to put
the windows stuff on da1, then you don't need it divided up in
to all the extra partitions.   

If you want Windows clients to use it, do you plan to run Samba? 
If not, maybe you should just make the disk a Windows disk, but make 
it FAT32 so FreeBSD can both read and write it.   If it will be the 
store for Samba, then forget this comment.

As for the unused bit before and after the slice, if I understand what
you are pointing to, that is normal.   It is now normal to just skip
the first whole track where an MBR might be written rather than just
one sector.   That is the 63 extra blocks at the beginning.
Then, fdisk will ignore trailing stuff that doesn't conveniently fit
in to the addressing scheme.Neither part amounts to much actual
disk space by today's standards so it is just ignored.   If you are
going to make a mirror, then try to get the two slices to come out
to the same size.  Otherwise don't worry about it.

jerry

> 
> Thanks!
> 
> Nagy László Zsolt <[EMAIL PROTECTED]> wrote: *L Goodwin wrote:
>  >
>  > Both assume you only have 2 drives and want to mirror the drive 
> containing FreeBSD. I only want to mirror the data drive da1, and would 
> appreciate a concise set of steps for doing this right the first time.
> 1. First of all, you should install the base system on da0 and boot it. 
> (Leave da1 and da2 untouched)
> 2. Create a slice on da1 ("fdisk"). The name of the new slice will 
> probably be "da1s1". (You will find this inside sysinstall) I found that 
> sometimes I had to use a bit smaller slice than the available space, 
> because equally looking disks are not always equal. (Not kidding!)
> 3. Use disklabel editor to add partitions to the slice 
> (/dev/da1s1a,/dev/da1s1b,/dev/da1s1c etc.) and format them with newfs as 
> needed.
> 4. Change loader.conf, add this line:
> 
> geom_mirror_load="YES"
> 
> 5. Execute these:
> 
> gmirror load
> gmirror label -v -b round-robin gm0 /dev/da1
> 
> 
> 6. Carefully rename all references in /etc/fstab
> 
> /dev/da1s1X becomes /dev/mirror/gm0s1X  (where X can be a,b,c,d etc.)
> 
> 7. Reboot
> 
> 8. Check your mirror with "gmirror list" and "gmirror status", and see 
> if your filesystems are mounted with "df".
> 
> 9. Add da2 to your mirror with this command:
> 
> gmirror insert gm0 /dev/da2
> 
> 
> Please ask others, as I did not try this and I'm not 100% sure it will 
> work. But I think it should.
> 
> Best,
> 
>Laszlo
> 
> 
> *
> 
> 
>
> -
> Ahhh...imagining that irresistible "new car" smell?
>  Check outnew cars at Yahoo! Autos.
Content-Description: 2793854837-FDISK.txt
> Prepare disks da1 and da2 (after low-level format):
> 
> Run FDISK from systinstall:
> 
> DISK name: da1  FDISK Partition 
> Editor
> Disk Geometry: 1115 cyls/255 heads/63 sectors = 17912475 sectors
> 
> Offset  Size(ST)End  Name  PType  Desc  Subtype  
> Flags
> 0   1791624017916239 - 12 unused0
> 
> After Create slice (size = 17916240, type = 165):
> 
> Offset  Size(ST)End  Name  PType  Desc  Subtype  
> Flags
> 0   63  62   - 12 unused0
> 63  179124121912474  da1s1 8  freebsd   165
> 17912475376517916239 - 12 unused0

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


Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-20 Thread L Goodwin
Thanks for the steps, Laszlo. I got as far as creating a freebsd slice on da1 
(both da1 and da2 have been low-level formatted).
Now I have two questions:

1) When creating the slice on da1, I specified to use the entire disk, but 
there are 2 unused sections -- one before and one after the new slice (please 
see attached file). Should I start over and specify a smaller size? What size 
should I specify?:'

2) About creating partitions on da1: You specified to add partitions to the 
slice (/dev/da1s1a, /dev/da1s1b,/dev/da1s1c etc.). 

Please note: 
a) The entire FreeBSD filesystem is on da0. 
b) I want to use the entire da1 disk for users on Windows clients to store 
files/documents on. I also want the mirror disk (da2) to be backed up regularly.

Do I need to create more than one partition on da1? What are the requirements 
for naming partitions in this situation?

Thanks!

Nagy László Zsolt <[EMAIL PROTECTED]> wrote: *L Goodwin wrote:
 >
 > Both assume you only have 2 drives and want to mirror the drive 
containing FreeBSD. I only want to mirror the data drive da1, and would 
appreciate a concise set of steps for doing this right the first time.
1. First of all, you should install the base system on da0 and boot it. 
(Leave da1 and da2 untouched)
2. Create a slice on da1 ("fdisk"). The name of the new slice will 
probably be "da1s1". (You will find this inside sysinstall) I found that 
sometimes I had to use a bit smaller slice than the available space, 
because equally looking disks are not always equal. (Not kidding!)
3. Use disklabel editor to add partitions to the slice 
(/dev/da1s1a,/dev/da1s1b,/dev/da1s1c etc.) and format them with newfs as 
needed.
4. Change loader.conf, add this line:

geom_mirror_load="YES"

5. Execute these:

gmirror load
gmirror label -v -b round-robin gm0 /dev/da1


6. Carefully rename all references in /etc/fstab

/dev/da1s1X becomes /dev/mirror/gm0s1X  (where X can be a,b,c,d etc.)

7. Reboot

8. Check your mirror with "gmirror list" and "gmirror status", and see 
if your filesystems are mounted with "df".

9. Add da2 to your mirror with this command:

gmirror insert gm0 /dev/da2


Please ask others, as I did not try this and I'm not 100% sure it will 
work. But I think it should.

Best,

   Laszlo


*


   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.Prepare disks da1 and da2 (after low-level format):

Run FDISK from systinstall:

DISK name: da1  FDISK Partition 
Editor
Disk Geometry: 1115 cyls/255 heads/63 sectors = 17912475 sectors

Offset  Size(ST)End  Name  PType  Desc  Subtype  
Flags
0   1791624017916239 - 12 unused0

After Create slice (size = 17916240, type = 165):

Offset  Size(ST)End  Name  PType  Desc  Subtype  
Flags
0   63  62   - 12 unused0
63  179124121912474  da1s1 8  freebsd   165
17912475376517916239 - 12 unused0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-19 Thread L Goodwin
One more thought: I had to disable ACPI (as with the first server) to get 
FreeBSD to boot. Could this have something to do with my problem, i.e., is some 
manual configuration necessary to set up SCSI devices in FreeBSD?

Derek Ragona <[EMAIL PROTECTED]> wrote:   At 06:36 PM 4/19/2007, L Goodwin 
wrote:
 This is a different machine from the original one I was trying to install 
FreeBSD on. However, the two 9GB SCSI-3 drives are from the original machine.

 There seems to be a problem with how they are configured or with one or both 
of the 9GB drives (details are in my posting that appears after yours).
 The 4.3GB SCSI-2 drive that I installed FreeBSD 6.2 on is fine. This is da0.
 The errors are on da1.

 Derek Ragona <[EMAIL PROTECTED]> wrote:
 At 02:24 PM 4/19/2007, you wrote:
 Hello. I have a server with 3 SCSI drives. FreeBSD is installed on da0 
(4.3GB), and da1 and da2 (both identical 9GB drives) are to be used in a RAID 1 
array for file storage on a LAN with Windows XP and Vista clients, using Samba 
to share the filesystem on da1. Backups will be taken from da2.
  
 Drives da1 and da2 are currently "unused" (reclaimed from a Windows server). I 
have not done anything to prepare these 2 drives yet.
  
 I also have not configured Samba yet.
  
 Please walk me through the process of setting up a FreeBSD 6.2 fileserver 
given these conditions?

 I tried configuring the RAID1 array using the following sources, but got 
judging from the errors I got, it looks like I need to prepare da1/da2 first:

 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

 Both assume you only have 2 drives and want to mirror the drive containing 
FreeBSD. I only want to mirror the data drive da1, and would appreciate a 
concise set of steps for doing this right the first time.

 Thanks!
 The errors look like it is having a problem writing in the first cylinder 
where the RAID configuration is kept.  If you haven't done a low-level format 
and diagnostics on this drive, I would start there.

 -Derek
 
--  
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 
MailScanner thanks transtec Computers for their support. 

   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-19 Thread L Goodwin
There appears to be an issue with da1. 
Please advise as to what the problem is and how to resolve it.

I'm getting similar "SCSI parity error" messages for BOTH of the following 
commands:

1) gmirror label -b load sambavol /dev/da1 /dev/da2
2) fdisk -BI da1

Here is the output from the gmirror call:
--
(da1:ahc0:0:0:1:0): WRITE(10): CDB: 2a 0 1 11 61 4f 0 0 10
(da1:ahc0:0:0:1:0): CAM Status: SCSI Status Error
(da1:ahc0:0:0:1:0): SCSI Status: Check Condition
(da1:ahc0:0:0:1:0): ABORTED COMMAND asc:47,0
(da1:ahc0:0:0:1:0): SCSI parity error
...
(da1:ahc0:0:0:1:0): Retries Exhausted
Can't store metadata on /dev/da1: Input/output error.
Not fully done.
--
 
...and output from fdisk (nearly identical):
--
WRITE(06): CDB: a 0 0 0 1 0
CAM Status: SCSI Status Error
SCSI Status: Check Condition
ABORTED COMMAND asc:47,0
SCSI parity error
Retrying Command (per Sense Data)
...
Retries Exhausted
fdisk: Failed to write sector zero
 
--
 
Please note:
* After disk swap, verified that these 3 SCSI drives appear as DEV 0,1 and 2, 
respectively in the SCSI Disk Utilities device listing.
* Both da1 and da2 appear in /var/run/dmesg.boot. 
* I have the SCSI ID jumpers set correctly for all 3 drives.
* I ran the Hitachi/IBM drive fitness test (Quick Test only) on both of the 9GB 
drives before moving them from the other server -- both passed. Did not run the 
Advanced Test on these drives

John Nielsen <[EMAIL PROTECTED]> wrote: On Thursday 19 April 2007 03:24:36 pm L 
Goodwin wrote:
> Hello. I have a server with 3 SCSI drives. FreeBSD is installed on da0
> (4.3GB), and da1 and da2 (both identical 9GB drives) are to be used in a
> RAID 1 array for file storage on a LAN with Windows XP and Vista clients,
> using Samba to share the filesystem on da1. Backups will be taken from da2.
>
> Drives da1 and da2 are currently "unused" (reclaimed from a Windows
> server). I have not done anything to prepare these 2 drives yet.
>
> I also have not configured Samba yet.
>
> Please walk me through the process of setting up a FreeBSD 6.2 fileserver
> given these conditions?
>
> I tried configuring the RAID1 array using the following sources, but got
> judging from the errors I got, it looks like I need to prepare da1/da2
> first:
>
> http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

man gmirror
man newfs
man mount
man fstab
man smb.conf
man samba

gmirror label -b load sambavol /dev/da1 /dev/da2
newfs -U /dev/mirror/sambavol
mkdir /sambavol
mount /dev/mirror/sambavol /sambavol
echo '/dev/mirror/sambavol /sambavol ufs rw 2 2' >> /etc/fstab

The samba config depends a log on how you want to use the share and handle 
authentication and permissions, etc. The sample config file has most of what 
you need.  Here's a starting point for a section to share a /sambavol 
directory with a samba share name of sambavol:

[sambavol]
   path = /sambavol
   browseable = yes
   writable = yes
   printable = no

You will of course need a correctly configured global section and you'll 
probably want additional entries in the volume section like "public", "guest 
ok", "only guest", etc.

JN



   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-19 Thread Nagy László Zsolt

*L Goodwin wrote:
>
> Both assume you only have 2 drives and want to mirror the drive 
containing FreeBSD. I only want to mirror the data drive da1, and would 
appreciate a concise set of steps for doing this right the first time.
1. First of all, you should install the base system on da0 and boot it. 
(Leave da1 and da2 untouched)
2. Create a slice on da1 ("fdisk"). The name of the new slice will 
probably be "da1s1". (You will find this inside sysinstall) I found that 
sometimes I had to use a bit smaller slice than the available space, 
because equally looking disks are not always equal. (Not kidding!)
3. Use disklabel editor to add partitions to the slice 
(/dev/da1s1a,/dev/da1s1b,/dev/da1s1c etc.) and format them with newfs as 
needed.

4. Change loader.conf, add this line:

geom_mirror_load="YES"

5. Execute these:

gmirror load
gmirror label -v -b round-robin gm0 /dev/da1


6. Carefully rename all references in /etc/fstab

/dev/da1s1X becomes /dev/mirror/gm0s1X  (where X can be a,b,c,d etc.)

7. Reboot

8. Check your mirror with "gmirror list" and "gmirror status", and see 
if your filesystems are mounted with "df".


9. Add da2 to your mirror with this command:

gmirror insert gm0 /dev/da2


Please ask others, as I did not try this and I'm not 100% sure it will 
work. But I think it should.


Best,

  Laszlo


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


Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-19 Thread Steve Franks

I was initially hung up on the boot disk issue as well - everything in
the handbook applies to a data-only drive as well, except the part
about dumping the filesystem, etc.  I presume your disks are
uninitialized.

I suggest a look at the actual gmirror manpage, it has more & better
examples, and I pretty much followed one of those exactly.

There's really only 2 things to do:

1) make sure gmirror gets loaded on startup (specific directions are
in the handbook/man)

2) initialize your disks with gmirror as per the man page.

After that works, you'll have something like /dev/mirror/gm0 (you'll
still have /dev/da1 and da2, but you want to use the gm0 in fstab
instead, otherwise, it won't be mirrored).  Then, if you are a newbie
like me, you can just run sysinstall to fdisk and label (aka.
'partition/format') your new disk.  It was quite easier than I
expected, acutally, and my disks have live data on them - no problems
ensued.  Since it's a 'normal' disk after gmirror is configured, samba
works with it just like the rest of your filesystem.

Samba was a bit more work for me, but again, just followed the
handbook and samba.org instructions, and I had no major issues.

Steve

On 4/19/07, L Goodwin <[EMAIL PROTECTED]> wrote:

Hello. I have a server with 3 SCSI drives. FreeBSD is installed on da0 (4.3GB), 
and da1 and da2 (both identical 9GB drives) are to be used in a RAID 1 array 
for file storage on a LAN with Windows XP and Vista clients, using Samba to 
share the filesystem on da1. Backups will be taken from da2.

Drives da1 and da2 are currently "unused" (reclaimed from a Windows server). I 
have not done anything to prepare these 2 drives yet.

I also have not configured Samba yet.

Please walk me through the process of setting up a FreeBSD 6.2 fileserver given 
these conditions?

I tried configuring the RAID1 array using the following sources, but got 
judging from the errors I got, it looks like I need to prepare da1/da2 first:

http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

Both assume you only have 2 drives and want to mirror the drive containing 
FreeBSD. I only want to mirror the data drive da1, and would appreciate a 
concise set of steps for doing this right the first time.

Thanks!


-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba and RAID 1 using gmirror on 2 new disks

2007-04-19 Thread John Nielsen
On Thursday 19 April 2007 03:24:36 pm L Goodwin wrote:
> Hello. I have a server with 3 SCSI drives. FreeBSD is installed on da0
> (4.3GB), and da1 and da2 (both identical 9GB drives) are to be used in a
> RAID 1 array for file storage on a LAN with Windows XP and Vista clients,
> using Samba to share the filesystem on da1. Backups will be taken from da2.
>
> Drives da1 and da2 are currently "unused" (reclaimed from a Windows
> server). I have not done anything to prepare these 2 drives yet.
>
> I also have not configured Samba yet.
>
> Please walk me through the process of setting up a FreeBSD 6.2 fileserver
> given these conditions?
>
> I tried configuring the RAID1 array using the following sources, but got
> judging from the errors I got, it looks like I need to prepare da1/da2
> first:
>
> http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

man gmirror
man newfs
man mount
man fstab
man smb.conf
man samba

gmirror label -b load sambavol /dev/da1 /dev/da2
newfs -U /dev/mirror/sambavol
mkdir /sambavol
mount /dev/mirror/sambavol /sambavol
echo '/dev/mirror/sambavol /sambavol ufs rw 2 2' >> /etc/fstab

The samba config depends a log on how you want to use the share and handle 
authentication and permissions, etc. The sample config file has most of what 
you need.  Here's a starting point for a section to share a /sambavol 
directory with a samba share name of sambavol:

[sambavol]
   path = /sambavol
   browseable = yes
   writable = yes
   printable = no

You will of course need a correctly configured global section and you'll 
probably want additional entries in the volume section like "public", "guest 
ok", "only guest", etc.

JN

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


Re: samba and vista computers

2007-03-29 Thread Gerald Freymann
On Thu, 29 Mar 2007 13:10:01 -0700 (PDT)
[EMAIL PROTECTED] wrote:

>You should update your ports tree. The latest version available is
>3.0.24, and it's recommended because there was a format string error of
>some kind in <=3.0.23d.

 Ok, so I've updated my ports tree on my FreeBSD 6.2R system.

 I have managed to install the latest SAMBA3 port and I can now use
smbclient to view the shares on my Vista computer. I can even send print
jobs over to it, but on the Vista box, all I get is ERROR in the queue.

 If I go here:

http://hplip.sourceforge.net/supported_devices/inkjet_aio.html

 it says sure, HPLIP 0.9.5 supports the HP OfficeJet 5610.

 I got there from here:

http://openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_5610

 I don't see HPLIP anywhere in ASPFILTER. Now I'm lost again.

 Mind you, I'm sure it said HPIJS was the best driver to choose, but it
comes up with error messages in the print queue on the Vista box.

 Been up all night trying to figure this out. Time for bed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and vista computers

2007-03-29 Thread Bill Campbell
On Thu, Mar 29, 2007, Gerald Freymann wrote:
>On Thu, 29 Mar 2007 15:14:38 -0400
>Gerard Seibert <[EMAIL PROTECTED]> wrote:
>
>>I heard that Vista home was not designed for networking. You might be
>>better served by checking out an MS News forum regarding this problem. I
>>have often gotten better results regarding the use of MS products with
>>non-MS products from there.
>
> Oh no, Vista Home Premium is fine for basic home networks.
>
> After searching samba.org, I believe issues with Vista and Vista printer
>sharing are 'improved upon' in later releases, especially samba-3.0.25
>(and we are at 3.0.23).
>
> Since I can see the shares on the Xp box just fine, but can't see
>anything on the Vista box, I think I'll likely end up waiting for a newer
>release of Samba and trying again then.

It sounds like a variation on an old Microsoft saying ``the jobs
not done while Lotus(Samba) still runs''.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Democracy must be sometihng more than two wolves and a sheep voting on what
to have for dinner -- James Bovard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and vista computers

2007-03-29 Thread youshi10




On Thu, 29 Mar 2007, Gerald Freymann wrote:


On Thu, 29 Mar 2007 15:14:38 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:


I heard that Vista home was not designed for networking. You might be
better served by checking out an MS News forum regarding this problem. I
have often gotten better results regarding the use of MS products with
non-MS products from there.


Oh no, Vista Home Premium is fine for basic home networks.

After searching samba.org, I believe issues with Vista and Vista printer
sharing are 'improved upon' in later releases, especially samba-3.0.25
(and we are at 3.0.23).


You should update your ports tree. The latest version available is 3.0.24, and 
it's recommended because there was a format string error of some kind in 
<=3.0.23d.

-Garrett

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


Re: samba and vista computers

2007-03-29 Thread Gerald Freymann
On Thu, 29 Mar 2007 15:14:38 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:

>I heard that Vista home was not designed for networking. You might be
>better served by checking out an MS News forum regarding this problem. I
>have often gotten better results regarding the use of MS products with
>non-MS products from there.

 Oh no, Vista Home Premium is fine for basic home networks.

 After searching samba.org, I believe issues with Vista and Vista printer
sharing are 'improved upon' in later releases, especially samba-3.0.25
(and we are at 3.0.23).

 Since I can see the shares on the Xp box just fine, but can't see
anything on the Vista box, I think I'll likely end up waiting for a newer
release of Samba and trying again then.

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


Re: samba and vista computers

2007-03-29 Thread Gerry Freymann
On Thu, 29 Mar 2007 14:36:56 -0400
Gerard Seibert <[EMAIL PROTECTED]> wrote:

>On Thu, 29 Mar 2007 13:30:40 -0400
>Gerald Freymann <[EMAIL PROTECTED]> wrote:
>
>> Now that I have my nice new HP OfficeJet 5610 printer here, I'm
>> trying to print to it remotely (it's connected to my Vista Home
>> Premium computer).
>> 
>> smbclient doesn't seen to want to co-operate.
>> 
>> smbclient in free(): error: junk pointer, too high to make sense
>> Abort trap: 6 (core dumped)
>> 
>> I've got
>> 
>> samba-3.0.23c_2,1
>> samba-libsmbclient-3.0.23c
>> 
>> installed. Trying to use CUPS and APSFILTER. Not having any luck :-(
>
>Check the output of 'smbclient'. Make sure that samba can see your
>shared printer. See 'man smbclient' for further information.
>
>I am really surprised that apsfilter does not work. I have never had a
>problem with it printing to a remote printer on a Windows based machine.

 Yes, I've always had good luck with this configuration too.

 I believe the problem is Vista (Home Premium). 

 I can list the resources on my old P3 XP machine just fine with

smbclient -L 192.168.0.104

 (it asks for a password, which I enter).

 When I try to list the shares on the Vista box:

===[root] /usr/local/share/apsfilter > smbclient -L 192.168.0.20
Password:
smbclient in free(): error: junk pointer, too high to make sense
Abort trap: 6 (core dumped)

 and then I'm stuck :-(

 I had to hack the registry in the Vista machine in order for it to see
and use a share on my FreeBSD hard drive, and that works fine. But since
moving from XP to Vista, I can't seem to see or use any shares on the
Vista box from FreeBSD (and I have 6.2R now and the versions of samba
are noted above).

 I'm starting to look around samba.org but nothing is popping up just yet.

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


Re: samba and vista computers

2007-03-29 Thread Gerard Seibert
On Thu, 29 Mar 2007 13:30:40 -0400
Gerald Freymann <[EMAIL PROTECTED]> wrote:

> Now that I have my nice new HP OfficeJet 5610 printer here, I'm
> trying to print to it remotely (it's connected to my Vista Home
> Premium computer).
> 
> smbclient doesn't seen to want to co-operate.
> 
> smbclient in free(): error: junk pointer, too high to make sense
> Abort trap: 6 (core dumped)
> 
> I've got
> 
> samba-3.0.23c_2,1
> samba-libsmbclient-3.0.23c
> 
> installed. Trying to use CUPS and APSFILTER. Not having any luck :-(

Check the output of 'smbclient'. Make sure that samba can see your
shared printer. See 'man smbclient' for further information.

I am really surprised that apsfilter does not work. I have never had a
problem with it printing to a remote printer on a Windows based machine.


-- 
Gerard

I used to be an agnostic, but now I'm not so sure.


signature.asc
Description: PGP signature


Re: Samba and fstab

2006-02-08 Thread A. Clausen



Ken Stevenson wrote:


A. Clausen wrote:

Slowly educating myself in FreeBSD.  Have managed to get Samba set up 
and can access my FreeBSD server, but trying to get SMBFS shares 
mounted in fstab is causing me grief.  Either I get errors about 
invalid file system or I get nothing at all when I issue "mount -a", 
but the share still isn't mounted.  I've tried adding some info to 
nsmb.conf, but that doesn't seem to make much difference.


I'm running FreeBSD 6 and Samba 3.0.14a.

Are you trying to mount Windows shares under Samba? If so here's what 
my fstab looks like:


//[EMAIL PROTECTED]/c/smb/amiserversmbfsrw00

I'm mounting the share named c on a Windows 2000 server named 
amiserver at the mount point /smb/amiserver on my FreeBSD server.


Edit /etc/nsmb.conf and set the workgroup, addr and password values 
for your windows share.


Thanks for the tips.  It looks like my big mistake was not putting the 
user name in nsmb.conf in all-caps.  Once I did that, mount -a mounted 
all my SMB shares.


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


Re: Samba and fstab

2006-02-07 Thread Kevin Kinsey

A. Clausen wrote:


Slowly educating myself in FreeBSD.  Have managed
to get Samba set up and can access my FreeBSD server,
but trying to get SMBFS shares mounted in fstab is
causing me grief.  Either I get errors about invalid
file system or I get nothing at all when I issue
"mount -a", but the share still isn't mounted.  I've
tried adding some info to nsmb.conf, but that
doesn't seem to make much difference.



I'd think that the contents of /etc/fstab, a short
sample of the command with the error message (e.g.
"cut-n-pasted" CLI transcript), and perhaps even
a little more explanation might go a ways in helping
someone to help you.



I'm running FreeBSD 6 and Samba 3.0.14a.


On both systems?

Kevin Kinsey

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


Re: Samba and fstab

2006-02-07 Thread Ken Stevenson

A. Clausen wrote:
Slowly educating myself in FreeBSD.  Have managed to get Samba set up 
and can access my FreeBSD server, but trying to get SMBFS shares mounted 
in fstab is causing me grief.  Either I get errors about invalid file 
system or I get nothing at all when I issue "mount -a", but the share 
still isn't mounted.  I've tried adding some info to nsmb.conf, but that 
doesn't seem to make much difference.


I'm running FreeBSD 6 and Samba 3.0.14a.

Are you trying to mount Windows shares under Samba? If so here's what 
my fstab looks like:


//[EMAIL PROTECTED]/c   /smb/amiserver  smbfs   rw  0   0

I'm mounting the share named c on a Windows 2000 server named 
amiserver at the mount point /smb/amiserver on my FreeBSD server.


Edit /etc/nsmb.conf and set the workgroup, addr and password values 
for your windows share.


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


Re: Samba and ADS Support PLEASE...

2003-10-24 Thread Matt Edwards
Yep that did the trick.  I removed the krb5 port and added the heimdal port.
Everything is ok now!

Thanks a whole heap Joerg!

I certainly appreciate all the support.

Matt
- Original Message - 
From: "Joerg Pulz" <[EMAIL PROTECTED]>
To: "Matt Edwards" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 12:03 PM
Subject: Re: Samba and ADS Support PLEASE...


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 24 Oct 2003, Matt Edwards wrote:

> Date: Fri, 24 Oct 2003 11:31:05 -0600
> From: Matt Edwards <[EMAIL PROTECTED]>
> To: Alexander Kühn <[EMAIL PROTECTED]>
> Cc: Joerg Pulz <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: Samba and ADS Support PLEASE...
>
> Ok here is what I have done thus far:
>
> 1) After I recieved Joerg's files and installed them I moved the
gssapi.org
> file back to it's original location: /usr/include/gssapi.h
> 2) ran make clean twice in /usr/ports/samba-devel directory
> 3) I did not build krb5 with ldap so I went back to
> /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean
> twice followed by: make WITH_LDAP=yes
> then after a succesfull build I ran: make WITH_LDAP=yes install
> 4) I went back to /usr/ports/net/samba-devel and ran: make
> KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes
> 5) I have verified that the file /usr/lib/libkrb5.so exists
>
> So far the make does not complete it still stops in the location here:
>
> >  checking for memory keytab support...yes
> >  configure: error: libkrb5 is needed for Active Directory Support
> >  (report problem instructions)
> >  *** Error Code 1
> >  Stop in /usr/ports/net/samba-devel
>
> I am totally open to trying anything at all to get this to work.  Please
let
> me know if I can make any other changes.  I can also post my config.log
file
> if that may help.

Matt,

sorry, but i've never tried to compile samba-devel with krb5 from the
ports tree. i only use the heimdal stuff from plain FreeBSD-5.1 and i
specified KRB5_HOME=/usr

configure is running great and make too.

joerg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/mWl5SPOsGF+KA+MRAtBeAJ43VSKRUBFTWzOI0RN+sd2Q2tSz+ACgqFkz
kG9eINDfgIOArvkj+Rm+4x4=
=n8cM
-END PGP SIGNATURE-

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


Re: Samba and ADS Support PLEASE...

2003-10-24 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 24 Oct 2003, Matt Edwards wrote:

> Date: Fri, 24 Oct 2003 11:31:05 -0600
> From: Matt Edwards <[EMAIL PROTECTED]>
> To: Alexander Kühn <[EMAIL PROTECTED]>
> Cc: Joerg Pulz <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: Samba and ADS Support PLEASE...
>
> Ok here is what I have done thus far:
>
> 1) After I recieved Joerg's files and installed them I moved the gssapi.org
> file back to it's original location: /usr/include/gssapi.h
> 2) ran make clean twice in /usr/ports/samba-devel directory
> 3) I did not build krb5 with ldap so I went back to
> /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean
> twice followed by: make WITH_LDAP=yes
> then after a succesfull build I ran: make WITH_LDAP=yes install
> 4) I went back to /usr/ports/net/samba-devel and ran: make
> KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes
> 5) I have verified that the file /usr/lib/libkrb5.so exists
>
> So far the make does not complete it still stops in the location here:
>
> >  checking for memory keytab support...yes
> >  configure: error: libkrb5 is needed for Active Directory Support
> >  (report problem instructions)
> >  *** Error Code 1
> >  Stop in /usr/ports/net/samba-devel
>
> I am totally open to trying anything at all to get this to work.  Please let
> me know if I can make any other changes.  I can also post my config.log file
> if that may help.

Matt,

sorry, but i've never tried to compile samba-devel with krb5 from the
ports tree. i only use the heimdal stuff from plain FreeBSD-5.1 and i
specified KRB5_HOME=/usr

configure is running great and make too.

joerg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/mWl5SPOsGF+KA+MRAtBeAJ43VSKRUBFTWzOI0RN+sd2Q2tSz+ACgqFkz
kG9eINDfgIOArvkj+Rm+4x4=
=n8cM
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba and ADS Support PLEASE...

2003-10-24 Thread Matt Edwards
Ok here is what I have done thus far:

1) After I recieved Joerg's files and installed them I moved the gssapi.org
file back to it's original location: /usr/include/gssapi.h
2) ran make clean twice in /usr/ports/samba-devel directory
3) I did not build krb5 with ldap so I went back to
/usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean
twice followed by: make WITH_LDAP=yes
then after a succesfull build I ran: make WITH_LDAP=yes install
4) I went back to /usr/ports/net/samba-devel and ran: make
KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes
5) I have verified that the file /usr/lib/libkrb5.so exists

So far the make does not complete it still stops in the location here:

>  checking for memory keytab support...yes
>  configure: error: libkrb5 is needed for Active Directory Support
>  (report problem instructions)
>  *** Error Code 1
>  Stop in /usr/ports/net/samba-devel

I am totally open to trying anything at all to get this to work.  Please let
me know if I can make any other changes.  I can also post my config.log file
if that may help.

Matt

- Original Message - 
From: "Alexander Kühn" <[EMAIL PROTECTED]>
To: "Matt Edwards" <[EMAIL PROTECTED]>
Cc: "Joerg Pulz" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 9:31 AM
Subject: Re: Samba and ADS Support PLEASE...


> When you build kerberos make sure you build it with WITH_LDAP=yes as well!
>
> Quoting Matt Edwards <[EMAIL PROTECTED]>:
>
>  Joerg,
>
>  That makefile looks like it will work much better, however I having some
>  trouble getting it to configure completely as well.  The config process
>  stops and the error says:
>
>  checking for memory keytab support...yes
>  configure: error: libkrb5 is needed for Active Directory Support
>  (report problem instructions)
>  *** Error Code 1
>  Stop in /usr/ports/net/samba-devel
>
>  I copied the three files to the locations you specified.  When I
attempted
>  the make I used these params:
>
>  make WITH_ADS=yes WITH_LDAP=yes KRB5_HOME=/usr/local
>
>  I have OpenLDAP22 installed and went with the KRB5 port (this port is
>  installed with all of the defaults)  I have configured KRB5 so that I CAN
>  get a valid ticket from my ADS server using kinit.
>
>  Please let me know if there is anything further I need to do on my end!
I
>  am more than willing to work this issue out!
>
>  Thanks,
>
>  Matt
>
>  - Original Message - 
>  From: "Joerg Pulz" <[EMAIL PROTECTED]>
>  To: <[EMAIL PROTECTED]>
>  Sent: Friday, October 24, 2003 12:11 AM
>  Subject: Re: Samba and ADS Support PLEASE...
>
>
>  > -BEGIN PGP SIGNED MESSAGE-
>  > Hash: SHA1
>  >
>  > On Thu, 23 Oct 2003, Matt Edwards wrote:
>  >
>  > > Date: Thu, 23 Oct 2003 18:47:55 -0600
>  > > From: Matt Edwards <[EMAIL PROTECTED]>
>  > > To: [EMAIL PROTECTED]
>  > > Subject: Samba and ADS Support PLEASE...
>  > >
>  > > Is it necessary to modify the Makefile of the samba-devel port on
>  FreeBSD in order to build the package with ADS support?  I am not very
>  familiar with the syntax of a Makefile, but I can not seem to find
anything
>  in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a
>  requirement to ADS support.  If it is necessary could some one help me
out
>  with this?
>  > >
>  > > I have tried several times with still ADS support will not compile
in.
>  Also the /usr/include/gssapi.h file must be removed before any make (even
>  the just plain "make") on samba completes.  I have tried it about 3 times
>  with 3 fresh installs of FreeBSD 5.1 and a cvsup.  I think there is
>  something wrong with
>  > > the samba port but I am too inexperienced to know for sure.
>  > >
>  > > Has anyone else had this problem?
>  >
>  > i had this problem to.
>  > i've made some changes to the Makefile and added some more knobs.
>  > i've send my changes to the port maintainer.
>  > for anyone else who wants to use my modified version i've attached
these
>  > files.
>  >
>  > Makefilereplaces the original samba-devel/Makefile
>  > pkg-plistreplaces the original samba-devel/pkg-plist
>  > patch-Makefile.in  make wrepld buildable
>  samba-devel/files/patch-Makefile.in
>  >
>  > i will rewrite the whole Makefile and the pkg-plist again to get rid of
>  > the user-definable path stuff.
>  >
>  > regards
>  > Joerg
>  > -BEGIN PGP SIGNATURE-
>  > Version: GnuPG v1.2.2 (FreeBSD)
>  >
>  > iD8DBQE/mMKMSPOsGF+KA+MRAkQ+AKC7a07oyDkNw

Re: Samba and ADS Support PLEASE...

2003-10-24 Thread Matt Edwards
Joerg,

That makefile looks like it will work much better, however I having some
trouble getting it to configure completely as well.  The config process
stops and the error says:

checking for memory keytab support...yes
configure: error: libkrb5 is needed for Active Directory Support
(report problem instructions)
*** Error Code 1
Stop in /usr/ports/net/samba-devel

I copied the three files to the locations you specified.  When I attempted
the make I used these params:

make WITH_ADS=yes WITH_LDAP=yes KRB5_HOME=/usr/local

I have OpenLDAP22 installed and went with the KRB5 port (this port is
installed with all of the defaults)  I have configured KRB5 so that I CAN
get a valid ticket from my ADS server using kinit.

Please let me know if there is anything further I need to do on my end!  I
am more than willing to work this issue out!

Thanks,

Matt

- Original Message - 
From: "Joerg Pulz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 12:11 AM
Subject: Re: Samba and ADS Support PLEASE...


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Thu, 23 Oct 2003, Matt Edwards wrote:
>
> > Date: Thu, 23 Oct 2003 18:47:55 -0600
> > From: Matt Edwards <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: Samba and ADS Support PLEASE...
> >
> > Is it necessary to modify the Makefile of the samba-devel port on
FreeBSD in order to build the package with ADS support?  I am not very
familiar with the syntax of a Makefile, but I can not seem to find anything
in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a
requirement to ADS support.  If it is necessary could some one help me out
with this?
> >
> > I have tried several times with still ADS support will not compile in.
Also the /usr/include/gssapi.h file must be removed before any make (even
the just plain "make") on samba completes.  I have tried it about 3 times
with 3 fresh installs of FreeBSD 5.1 and a cvsup.  I think there is
something wrong with
> > the samba port but I am too inexperienced to know for sure.
> >
> > Has anyone else had this problem?
>
> i had this problem to.
> i've made some changes to the Makefile and added some more knobs.
> i've send my changes to the port maintainer.
> for anyone else who wants to use my modified version i've attached these
> files.
>
> Makefilereplaces the original samba-devel/Makefile
> pkg-plistreplaces the original samba-devel/pkg-plist
> patch-Makefile.in  make wrepld buildable
samba-devel/files/patch-Makefile.in
>
> i will rewrite the whole Makefile and the pkg-plist again to get rid of
> the user-definable path stuff.
>
> regards
> Joerg
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.2 (FreeBSD)
>
> iD8DBQE/mMKMSPOsGF+KA+MRAkQ+AKC7a07oyDkNwFopgDI4Nuw2TSCd0wCgh8LP
> Ieg+szTkWYyTb9vBV6Od92g=
> =H9Uc
> -END PGP SIGNATURE-

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


Re: Samba and ADS Support PLEASE...

2003-10-23 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 23 Oct 2003, Matt Edwards wrote:

> Date: Thu, 23 Oct 2003 18:47:55 -0600
> From: Matt Edwards <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Samba and ADS Support PLEASE...
>
> Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order 
> to build the package with ADS support?  I am not very familiar with the syntax of a 
> Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel 
> Makefile that talks of OpenLDAP, a requirement to ADS support.  If it is necessary 
> could some one help me out with this?
>
> I have tried several times with still ADS support will not compile in.  Also the 
> /usr/include/gssapi.h file must be removed before any make (even the just plain 
> "make") on samba completes.  I have tried it about 3 times with 3 fresh installs of 
> FreeBSD 5.1 and a cvsup.  I think there is something wrong with
> the samba port but I am too inexperienced to know for sure.
>
> Has anyone else had this problem?

i had this problem to.
i've made some changes to the Makefile and added some more knobs.
i've send my changes to the port maintainer.
for anyone else who wants to use my modified version i've attached these
files.

Makefile   replaces the original samba-devel/Makefile
pkg-plist  replaces the original samba-devel/pkg-plist
patch-Makefile.in  make wrepld buildable samba-devel/files/patch-Makefile.in

i will rewrite the whole Makefile and the pkg-plist again to get rid of
the user-definable path stuff.

regards
Joerg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/mMKMSPOsGF+KA+MRAkQ+AKC7a07oyDkNwFopgDI4Nuw2TSCd0wCgh8LP
Ieg+szTkWYyTb9vBV6Od92g=
=H9Uc
-END PGP SIGNATURE-# New ports collection makefile for:samba
# Date created: 11th Feb 1995
# Whom: gpalmer
#
# $FreeBSD: ports/net/samba-devel/Makefile,v 1.96 2003/10/10 21:24:14 obraun Exp $
#

PORTNAME=   samba
PORTVERSION=3.0.0
PORTEPOCH=  1
CATEGORIES= net
MASTER_SITES=   http://us3.samba.org/samba/ftp/%SUBDIR%/
MASTER_SITE_SUBDIR= . rc
#DISTNAME=  ${PORTNAME}-${PORTVERSION:S/.r/rc/}

MAINTAINER= [EMAIL PROTECTED]
COMMENT=A free SMB and CIFS client and server for UNIX

USE_BZIP2="YES"

.if !defined(WITHOUT_CUPS)
WITH_CUPS=  yes
.endif

.if defined(WITH_CUPS)
LIB_DEPENDS=cups.2:${PORTSDIR}/print/cups-base
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.endif

# directories
VARDIR= /var
SAMBA_SPOOL=${VARDIR}/spool/samba
SAMBA_LOGDIR=   ${VARDIR}/log
SAMBA_PRIVATE=  ${PREFIX}/private
SAMBA_CONFDIR=  ${PREFIX}/etc
# sample files
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/samba.sh.sample
SAMPLE_CONFIG=  ${SAMBA_CONFDIR}/smb.conf.default
DOCSDIR=${PREFIX}/share/doc/samba

NO_LATEST_LINK= yes
USE_AUTOCONF=   yes
WANT_AUTOCONF_VER=  253
CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
--localstatedir=${VARDIR} --with-swatdir=${PREFIX}/share/swat \
--with-sambabook=${PREFIX}/share/swat/using_samba \
--with-lockdir=${VARDIR}/lock --with-privatedir=${SAMBA_PRIVATE} \
--exec-prefix=${PREFIX} --with-pam --without-manpages-langs \
--with-piddir=${VARDIR}/run --with-logfilebase=${SAMBA_LOGDIR} \
--with-configdir=${SAMBA_CONFDIR}

.include 

.if defined(WITH_WREPLD)
ALL_TARGET+=all bin/wrepld
PLIST_SUB=  HAVE_WREPLD=""
.else
PLIST_SUB=  HAVE_WREPLD="@comment"
.endif

.if defined(WITH_LDAP_COMPAT)
.ifndef(WITH_LDAP)
LIB_DEPENDS+=   ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.endif
CONFIGURE_ARGS+=--with-ldapsam
.endif

.if defined(WITH_LDAP)
.ifndef(WITH_LDAP_COMPAT)
LIB_DEPENDS+=   ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.endif
CONFIGURE_ARGS+=--with-ldap
.endif

.if defined(WITH_LDAP) && defined(WITH_LDAP_COMPAT)
LIB_DEPENDS+=   ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.endif

.if defined(WITH_ADS)
.ifndef(KRB5_HOME)
BROKEN= "Needs KRB5_HOME=/path/to/Kerberos5_prefix"
.endif
.ifndef(WITH_LDAP) && !defined(WITH_LDAP_COMPAT)
BROKEN= "Needs WITH_LDAP=yes or WITH_LDAP_COMPAT=yes"
.endif
CONFIGURE_ARGS+=--with-ads
.endif

.if defined(WITH_SYSLOG)
CONFIGURE_ARGS+=--with-syslog
.endif

.if defined(WITH_QUOTAS)
CONFIGURE_ARGS+=--with-quotas
.endif

.if defined(WITH_SYS_QUOTAS)
CONFIGURE_ARGS+=--with-sys-quotas
.endif

.if defined(WITH_UTMP)
CONFIGURE_ARGS+=--with-utmp
.endif

.if defined(WITH_MSDFS)
CONFIGURE_ARGS+=--with-msdfs
.endif

.if defined(WITH_WINBIND)
CONFIGURE_ARGS+=--with-winbind

Re: Samba and ADS Support PLEASE...

2003-10-23 Thread Matt Edwards
Nice to know I am not alone thanks.  I am really thinking this whole issue
is related to that one file I removed.  To remove the file I simply mv it
gssapi.org and samba built successfully, though with out ADS support.  I
decided to look through the file and noticed that it made quite a few
references to kerberos.  2+2=4 but I am still not sure why, how or even what
to do to fix it.  Suppose that's why I got into unix in the first place, the
challenge of it all.

Thanks,

Matt
- Original Message - 
From: "Jeronimo Romero" <[EMAIL PROTECTED]>
To: "Matt Edwards" <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 10:41 PM
Subject: RE: Samba and ADS Support PLEASE...


*This message was transferred with a trial version of CommuniGate(tm) Pro*
I had the same problem. I ended up downloading the source from samba.org
and compiling myself. It took far less time than trying to figure out
what was wrong with the port.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Edwards
Sent: Thursday, October 23, 2003 8:48 PM
To: [EMAIL PROTECTED]
Subject: Samba and ADS Support PLEASE...

Is it necessary to modify the Makefile of the samba-devel port on
FreeBSD in order to build the package with ADS support?  I am not very
familiar with the syntax of a Makefile, but I can not seem to find
anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP,
a requirement to ADS support.  If it is necessary could some one help me
out with this?

I have tried several times with still ADS support will not compile in.
Also the /usr/include/gssapi.h file must be removed before any make
(even the just plain "make") on samba completes.  I have tried it about
3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup.  I think there
is something wrong with
the samba port but I am too inexperienced to know for sure.

Has anyone else had this problem?

Thanks in Advance,

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



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


Re: Samba and $

2003-08-14 Thread Justin Burdine
hmm, try using the pw command to create your users.  This is the command 
line version of adduser and enables you to create users with a $.

I use the following script to quickly add machine trust accounts...  
hope it helps.

#- begin script -#
#!/bin/csh -f
set MNAME = $1
set MGID  = 201
set MUID  = `cat muid`
/usr/sbin/pw useradd ${MNAME}$ -g 201 -u $MUID -c ${MNAME} -d /dev/null 
-s /usr/bin/false

/usr/local/bin/smbpasswd -a -m ${MNAME}

@ MUID ++

echo $MUID > muid
#- end script -#
note that it calls a file "muid" which contains the currently availble 
machine trust uid.  I started at 1 and am now at 10050.  To create 
this file just do the following in the same directory that this script 
is in:

echo 1 > muid

the usage is:

mtrust {machine_name}

no need to add the dollarsign on the command line as the script adds it 
for you.

BTW: I am no script genius...  as I am sure is quite obvious.  ;)

-Justin





Bob Collins wrote:

At 02:07 PM 8/4/2003 -0500, gfsd wrote:

Why can't i create a user with a $ on the end? For machine trust 
accounts i need to add each one by hand, instead of on the fly 
creation. When I use adduser it will not let me add a user with a $ 
on the end, is there a way around that?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


That is to be expected in FreeBSD and Samba. It is in the notes. So, 
what you do, is make your user. The edit, by hand, the password file. 
vipw is the command to use. Add the $ and save the file.

No real way around it that I know of.

-- Bob

NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5,
Subchapter II, 227, and all unsolicited commercial e-mail sent to this
address is subject to a download and archival fee in the amount of 
$500 US

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


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


RE: Samba and $

2003-08-14 Thread Garance A Drosihn
At 1:41 PM +0800 8/12/03, Katinka Mills wrote:
I thought in the version with Freebsd 4.8 that you could
now use accounts with $ signs in them
The 'pw' command has been changed so that you can create
user accounts (and user groups) which end in a $.  That's
all samba should need.  I'm pretty sure that change was
included in 4.8-release.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Samba and $

2003-08-14 Thread Katinka Mills


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Micheas Herman
> Sent: Tuesday, 5 August 2003 2:52 PM
> To: FreeBSD List
> Cc: FreeBSD List
> Subject: Re: Samba and $
> 
> 
> On Mon, 2003-08-04 at 17:41, Jon Reynolds wrote:
> > On Mon, 2003-08-04 at 12:25, Bob Collins wrote:
> > > At 02:07 PM 8/4/2003 -0500, gfsd wrote:
> > > >Why can't i create a user with a $ on the end? For machine 
> trust accounts 
> > > >i need to add each one by hand, instead of on the fly 
> creation. When I use 
> > > >adduser it will not let me add a user with a $ on the end, 
> is there a way 
> > > >around that?
> 
> adduser is a perl script in 4.x. You can edit the file to allow
> '$' in the user name. Or further hack it so that it knows that
> any name that ends in '$' is a samba machine name and have it
> execute the correct smbpasswd command as well.
> 
> 
> A quick visit to an active irc channel should get you any help
> you need. (it did me a long time ago.)
> 
> good luck,
> 
> 
> Micheas

For a good IRC channel and network here is the place I use :

  #c and #freebsd on irc.freenode.net

Regards,

Kat.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003

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


RE: Samba and $

2003-08-14 Thread Katinka Mills


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Guillaume
> Sent: Wednesday, 6 August 2003 5:22 AM
> To: [EMAIL PROTECTED]
> Cc: FreeBSD List
> Subject: Re: Samba and $
>
>
> Le Lun 04/08/2003 à 20:41, Jon Reynolds a écrit :
> > On Mon, 2003-08-04 at 12:25, Bob Collins wrote:
> > > At 02:07 PM 8/4/2003 -0500, gfsd wrote:
> > > >Why can't i create a user with a $ on the end? For machine
> trust accounts
> > > >i need to add each one by hand, instead of on the fly
> creation. When I use
> > > >adduser it will not let me add a user with a $ on the end,
> is there a way
> > > >around that?
> > > >___
> > > >[EMAIL PROTECTED] mailing list
> > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > >To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> > >
> > >
> > > That is to be expected in FreeBSD and Samba. It is in the
> notes. So, what
> > > you do, is make your user. The edit, by hand, the password
> file. vipw is
> > > the command to use. Add the $ and save the file.
> > >
> > > No real way around it that I know of.
> > >
> > > -- Bob

I thought in the version with Freebsd 4.8 that you could now use accounts
with $ signs in them

Regards,

Kat.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003

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


Re: Samba and $

2003-08-14 Thread Guillaume
Le Lun 04/08/2003 à 20:41, Jon Reynolds a écrit :
> On Mon, 2003-08-04 at 12:25, Bob Collins wrote:
> > At 02:07 PM 8/4/2003 -0500, gfsd wrote:
> > >Why can't i create a user with a $ on the end? For machine trust accounts 
> > >i need to add each one by hand, instead of on the fly creation. When I use 
> > >adduser it will not let me add a user with a $ on the end, is there a way 
> > >around that?
> > >___
> > >[EMAIL PROTECTED] mailing list
> > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > 
> > 
> > That is to be expected in FreeBSD and Samba. It is in the notes. So, what 
> > you do, is make your user. The edit, by hand, the password file. vipw is 
> > the command to use. Add the $ and save the file.
> > 
> > No real way around it that I know of.
> > 
> > -- Bob
> > 
> > NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5,
> > Subchapter II, 227, and all unsolicited commercial e-mail sent to this
> > address is subject to a download and archival fee in the amount of $500 US
> 
> Is there a good howto for setting up freebsd as a pdc with winxp? I am
> having a helluva time trying to get the xp box to logon.
> 

You need to apply this patch
(/usr/local/share/doc/samba/Registry/WinXP_SignOrSeal.reg) in your WinXP
registry. If your PDC works with Win2000 client, it will work with
WinXP+registry hack.



Guillaume

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

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


Re: Samba and $

2003-08-08 Thread Micheas Herman
On Mon, 2003-08-04 at 17:41, Jon Reynolds wrote:
> On Mon, 2003-08-04 at 12:25, Bob Collins wrote:
> > At 02:07 PM 8/4/2003 -0500, gfsd wrote:
> > >Why can't i create a user with a $ on the end? For machine trust accounts 
> > >i need to add each one by hand, instead of on the fly creation. When I use 
> > >adduser it will not let me add a user with a $ on the end, is there a way 
> > >around that?

adduser is a perl script in 4.x. You can edit the file to allow
'$' in the user name. Or further hack it so that it knows that
any name that ends in '$' is a samba machine name and have it
execute the correct smbpasswd command as well.


A quick visit to an active irc channel should get you any help
you need. (it did me a long time ago.)

good luck,


Micheas

> > >___
> > >[EMAIL PROTECTED] mailing list
> > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > 
> > 
> > That is to be expected in FreeBSD and Samba. It is in the notes. So, what 
> > you do, is make your user. The edit, by hand, the password file. vipw is 
> > the command to use. Add the $ and save the file.
> > 
> > No real way around it that I know of.
> > 
> > -- Bob
> > 
> > NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5,
> > Subchapter II, 227, and all unsolicited commercial e-mail sent to this
> > address is subject to a download and archival fee in the amount of $500 US
> 
> Is there a good howto for setting up freebsd as a pdc with winxp? I am
> having a helluva time trying to get the xp box to logon.
> 
> Jon
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Samba and $

2003-08-05 Thread Jon Reynolds
On Tue, 2003-08-05 at 00:02, Katinka Mills wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Micheas Herman
> > Sent: Tuesday, 5 August 2003 2:52 PM
> > To: FreeBSD List
> > Cc: FreeBSD List
> > Subject: Re: Samba and $
> > 
> > 
> > On Mon, 2003-08-04 at 17:41, Jon Reynolds wrote:
> > > On Mon, 2003-08-04 at 12:25, Bob Collins wrote:
> > > > At 02:07 PM 8/4/2003 -0500, gfsd wrote:
> > > > >Why can't i create a user with a $ on the end? For machine 
> > trust accounts 
> > > > >i need to add each one by hand, instead of on the fly 
> > creation. When I use 
> > > > >adduser it will not let me add a user with a $ on the end, 
> > is there a way 
> > > > >around that?
> > 
> > adduser is a perl script in 4.x. You can edit the file to allow
> > '$' in the user name. Or further hack it so that it knows that
> > any name that ends in '$' is a samba machine name and have it
> > execute the correct smbpasswd command as well.
> > 
> > 
> > A quick visit to an active irc channel should get you any help
> > you need. (it did me a long time ago.)
> > 
> > good luck,
> > 
> > 
> > Micheas
> 
> For a good IRC channel and network here is the place I use :
> 
>   #c and #freebsd on irc.freenode.net
> 
> Regards,
> 
> Kat.
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003

Thanks for the tips, I have never used an irc channel before and have
been hooked on mailing lists like a crack addict. Are irc channels
really that good at helping? I was under the impression they were just
like chat rooms.

Jon

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


Re: Samba and $

2003-08-04 Thread Jon Reynolds
On Mon, 2003-08-04 at 12:25, Bob Collins wrote:
> At 02:07 PM 8/4/2003 -0500, gfsd wrote:
> >Why can't i create a user with a $ on the end? For machine trust accounts 
> >i need to add each one by hand, instead of on the fly creation. When I use 
> >adduser it will not let me add a user with a $ on the end, is there a way 
> >around that?
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
> That is to be expected in FreeBSD and Samba. It is in the notes. So, what 
> you do, is make your user. The edit, by hand, the password file. vipw is 
> the command to use. Add the $ and save the file.
> 
> No real way around it that I know of.
> 
> -- Bob
> 
> NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5,
> Subchapter II, 227, and all unsolicited commercial e-mail sent to this
> address is subject to a download and archival fee in the amount of $500 US

Is there a good howto for setting up freebsd as a pdc with winxp? I am
having a helluva time trying to get the xp box to logon.

Jon

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


Re: Samba and $

2003-08-04 Thread Bob Collins
At 02:07 PM 8/4/2003 -0500, gfsd wrote:
Why can't i create a user with a $ on the end? For machine trust accounts 
i need to add each one by hand, instead of on the fly creation. When I use 
adduser it will not let me add a user with a $ on the end, is there a way 
around that?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


That is to be expected in FreeBSD and Samba. It is in the notes. So, what 
you do, is make your user. The edit, by hand, the password file. vipw is 
the command to use. Add the $ and save the file.

No real way around it that I know of.

-- Bob

NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5,
Subchapter II, 227, and all unsolicited commercial e-mail sent to this
address is subject to a download and archival fee in the amount of $500 US
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba and XP?

2003-02-02 Thread Doug Reynolds
On Fri, 31 Jan 2003 16:08:44 -0500, John Wilson wrote:

>I am currently seeking advice in regard to allowing an XP Home Edition
>machine to have access to a FreeBSD mount.  I've looked over Samba, and not
>only have I seen references to XP's inability to join a 'domain
>based-network', but also don't really like the idea of installing Samba as
>it's a rather large package (relatively speaking) for what it simply does.
>
>My only other alternative, if I am correct, is trying to obtain an NFS
>client for the XP machine and simply serve NFS mounts on the FBSD host.  The
>downside to this is the cost of the NFS clients for the XP machine. :)
>
>Are there any other alternatives available here?  If not, which of the above
>two 'solutions' would be best?  I only have one BSD machine and one XP
>machine, and I'd like to allow read/write access to a FBSD mount from the XP
>machine.

I have SAMBA 2.2.6 and Windows XP working great.  I have Samba setup as
a PDC.  the worst you have to do is run the SignOrSeal.reg fix from
microsoft to login.  you have to do that with NT 5.0 as well.


---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



OT - Re: Samba and XP?

2003-02-01 Thread William Palfreman
On Sat, 1 Feb 2003, Jason Hunt wrote:

> OT, but my understanding is that Windows XP Home Edition will not log
> in to NT4-based (SMB-only) networks, but only Windows 2000 (Active
> Directory) networks.  However, Windows XP Professional will log in to
> both.

In my experience, XP Home is completely useless.  One of the tricks it
does is randomly drop any static IP addresses it has been set and grant
itself new ones from ranges that are already assigned.  Also, sometimes
when there is nothing wrong network-wise other than an unplugged cable,
it will lead the clueless user through a whole rigmarole where they are
encouraged to "Set up home networking" or some such, which rips through
every network setting on the box and they end up trying to do some
non-IP nonsense called "Bridged connection" or whatever (nothing to do
with Ethernet bridging I'm sure), and then the user wonders why they
can't "get on the net" anymore - "Nothing works, I've followed all the
instructions, I think your firewall thing is broken".  XP pro doesn't
seem to do anything like that, presumably because its designed to be
actually used on a corporate network where they might be people around
who'll see through it.

-- 
W. Palfreman.

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



RE: Samba and XP?

2003-02-01 Thread Michael Ritchie
XP Home will not 'log into' ANY server-based network (NT4 domain model OR
Active Directory).  However, this does not mean you can't access samba
shares on other machines.  ie. it supports workgroup networking but not
domain networking.  Login to the local XP Home box, browse on the network to
find the SMB server you want, and open it up.  The XP Home box will attempt
to authenticate using the local user's username and password: if that fails,
it will pop up a box asking for a valid username and password.  This should
work just fine.  XP Home CAN also access shares on servers that are part of
a domain, using this same method.  The only difference is that the username
and password used must be valid on the domain.

BTW: just to make it clear, if the credentials used to login to the local XP
Home box exist on the SMB server, the user will be let straight through
without being asked for another password.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jason Hunt
Sent: Sunday, 2 February 2003 9:33 AM
To: Bill Moran
Cc: John Wilson; [EMAIL PROTECTED]
Subject: Re: Samba and XP?


On Fri, 31 Jan 2003, Bill Moran wrote:

> There's an XP machine right behind me that talks to our Samba server just
> fine.  Just don't configure Samba to be a domain server.
>
> And, it does work just fine under domain systems as well.  Samba just
doesn't
> do active directory yet.
>

OT, but my understanding is that indows XP Home Edition will not log in to
NT4-based (SMB-only) networks, but only Windows 2000 (Active Directory)
networks.  However, Windows XP Professional will log in to both.



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


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



Re: Samba and XP?

2003-02-01 Thread Jason Hunt
On Fri, 31 Jan 2003, Bill Moran wrote:

> There's an XP machine right behind me that talks to our Samba server just
> fine.  Just don't configure Samba to be a domain server.
>
> And, it does work just fine under domain systems as well.  Samba just doesn't
> do active directory yet.
>

OT, but my understanding is that indows XP Home Edition will not log in to
NT4-based (SMB-only) networks, but only Windows 2000 (Active Directory)
networks.  However, Windows XP Professional will log in to both.



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



Re: Samba and XP?

2003-01-31 Thread Philip Hallstrom
If you don't want to install samba, find a windows ftp client that is easy
to use... seems I've seen some that pretend to be hard drives on your
desktop... can't remember the name, but the friend that had it seemed to
like it.

-philip

On Fri, 31 Jan 2003, John Wilson wrote:

> Good Day,
>
> I am currently seeking advice in regard to allowing an XP Home Edition
> machine to have access to a FreeBSD mount.  I've looked over Samba, and not
> only have I seen references to XP's inability to join a 'domain
> based-network', but also don't really like the idea of installing Samba as
> it's a rather large package (relatively speaking) for what it simply does.
>
> My only other alternative, if I am correct, is trying to obtain an NFS
> client for the XP machine and simply serve NFS mounts on the FBSD host.  The
> downside to this is the cost of the NFS clients for the XP machine. :)
>
> Are there any other alternatives available here?  If not, which of the above
> two 'solutions' would be best?  I only have one BSD machine and one XP
> machine, and I'd like to allow read/write access to a FBSD mount from the XP
> machine.
>
> Any help or suggestions would be appreciated.
>
> - John
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


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



Re: Samba and XP?

2003-01-31 Thread Bill Moran
John Wilson wrote:

Good Day,

I am currently seeking advice in regard to allowing an XP Home Edition
machine to have access to a FreeBSD mount.  I've looked over Samba, and not
only have I seen references to XP's inability to join a 'domain
based-network',


There's an XP machine right behind me that talks to our Samba server just
fine.  Just don't configure Samba to be a domain server.

And, it does work just fine under domain systems as well.  Samba just doesn't
do active directory yet.


but also don't really like the idea of installing Samba as
it's a rather large package (relatively speaking) for what it simply does.


Well, I didn't think it was a terribly big package, but that's my opinion.


My only other alternative, if I am correct, is trying to obtain an NFS
client for the XP machine and simply serve NFS mounts on the FBSD host.  The
downside to this is the cost of the NFS clients for the XP machine. :)


I don't recommend this.  Aside from the cost, I've never found one that worked
worth a damn.


Are there any other alternatives available here?  If not, which of the above
two 'solutions' would be best?  I only have one BSD machine and one XP
machine, and I'd like to allow read/write access to a FBSD mount from the XP
machine.


I think you'll be just fine with Samba.  Just make sure you're properly firewalled
off (you should be with Windows anyway)

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



RE: Samba and XP?

2003-01-31 Thread Harald Schmalzbauer
You could go upside-down and use the FreeBSD machine mounting a
XP-share.
You say that you're using XPhome so ActiveDirectroy or any other
Domain-Controlling issues shouldn't play a role.
I think mount_smbfs is your friend.

Best regards,

-Harry

[EMAIL PROTECTED] wrote:
> Good Day,
>
> I am currently seeking advice in regard to allowing an XP Home Edition
> machine to have access to a FreeBSD mount.  I've looked over Samba,
> and not only have I seen references to XP's inability to join a
> 'domain based-network', but also don't really like the idea of
> installing Samba as it's a rather large package (relatively speaking)
> for what it simply does.
>
> My only other alternative, if I am correct, is trying to obtain an NFS
> client for the XP machine and simply serve NFS mounts on the FBSD
> host.  The downside to this is the cost of the NFS clients for the XP
> machine. :)
>
> Are there any other alternatives available here?  If not, which of
> the above two 'solutions' would be best?  I only have one BSD machine
> and one XP machine, and I'd like to allow read/write access to a FBSD
> mount from the XP machine.
>
> Any help or suggestions would be appreciated.
>
> - John
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message



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