Well, first you need to create/configure /etc/smb.conf or
/etc/samba/smb.conf (in later versions): see
http://www.oreilly.com/catalog/samba2/book/toc.html Test the configuration
with testparm. Start the smbd in daemon mode (smbd -D) and your off and
running

My config is as follows:

# Global parameters
[global]
        workgroup = RB_LAW
        server string = RB_LAW Samba Server %v
        encrypt passwords = Yes
        update encrypted = Yes
        smb passwd file = /etc/smbpasswd
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*password* %n\n *new*password* %n\n *success*
        passwd chat debug = Yes
        unix password sync = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = wins lmhosts hosts bcast
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = lpstat
        logon script = %U.bat
        domain logons = Yes
        time server = yes
        os level = 34
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        hosts allow = 192.168.7. localhost
        min print space = 2000
        printing = cups
        print command = /usr/bin/lp -d%p -oraw %s; rm %s
        lpq command = /usr/bin/lpstat -o%p
        lprm command = /usr/bin/cancel %p-%j
        queuepause command = /usr/bin/disable %p
        queueresume command = /usr/bin/enable %p

[netlogon]
        comment = Rankin-Bertin logon services
        path = /home/samba/logon
        browseable = No

[guillory]
        comment = David Guillory
        path = /home/samba/guillory
        valid users = @guillory
        force group = guillory
        writeable = Yes
        inherit permissions = Yes

[homes]
        comment = Homes Directory
        writeable = Yes
        browseable = No

[Applications]
        comment = Windows Applications
        path = /home/samba/winapps
        valid users = @rbpllc,@guillory,@price
        force group = rbpllc
        writeable = Yes
        map archive = Yes
        inherit permissions = Yes

[printers]
        comment = All the Printing SOB's
        path = /var/spool
        guest ok = Yes
        printable = Yes
        printer = lp


--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
--
----- Original Message ----- 
From: "Michael Lothian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 12:03 AM
Subject: Re: [expert] Login from Windows and Linux


> Erm how?
>
> david wrote:
>
> >Yep, any linux box running samba will do....
> >
> >On Wednesday 27 August 2003 12:19, Michael Lothian wrote:
> >
> >
> >
> >
> >>Hi again
> >>
> >>I've got a few more questions for you/
> >>
> >>I was just wondering if it was possible to set up a server that both
> >>windows and linux could log into.
> >>
> >>I'd like to be able to log in from any of my pc's and be able to access
> >>all my files and the same from linux too.
> >>
> >>Is this possible?
> >>
> >>Also is it posible to set up both systems under a domain? Rather that a
> >>workgroup? If so how?
> >>
> >>Erm I know these questions are a bit vague but I'm not entirely sure how
> >>all this works but I'm wanting to learn.
> >>
> >>Thanks again
> >>
> >>Mike
> >>
> >>
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >Want to buy your Pack or Services from MandrakeSoft?
> >Go to http://www.mandrakestore.com
> >
> >
>
>
>


----------------------------------------------------------------------------
----


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


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

Reply via email to