[Samba] samba essential files

2002-12-25 Thread Sergey Klusov
Hello

I'm considering to reinstall my server with fresh FreeBSD and and
fresh install of newest samba
Right now i'm running 2.2.5 as a domain controller
Which files i should preserve (along with /etc/passwd, /etc/group,
smb.conf) to put new server at work without reentering client machines
to domain and creating user accounts ?

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



Re: [Samba] xp problem

2002-12-25 Thread Dan Sopher


Pippo,

I experienced the same problem before, but it had
nothing to do with XP or Win2k. It has to do with the
computer browser service. Anyway, my resoluction was
this:

[globals]
preferred master = No
local master = No
domain master = No

Please let me know ifyou try this, and if it works.
Thanks.

--Dan



Message: 2
Date: Mon, 23 Dec 2002 12:05:52 -0500
To: John H Terpstra <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Subject: Re: [Samba] xp problem
Cc: [EMAIL PROTECTED]

At 08:27 PM 12/21/2002 +, you wrote:
>Pippo,
>
>We will need more information than this to help you.
Please explain in
>detail what happens when you try to access the WinXP
machine from 
Win2K
>and vica versa.
>
>You need to explain how your samba is configured as
well as how the
>Win2K/XP systems are configured. Without this
information we would be 
jst
>guessing - not very productive.

Sorry, but I don't quite understand. I thought I had
explained my setup 
fairly concisely. The Win2k and XP boxes are
configured for workgroup 
file 
and printer sharing. There is no domain or domain
server.
FBSD is running samba as a file and printer server. I
can only see the 
XP 
machine in My Network Places and the samba connection
to the FBSD 
machine.
When FBSD is running, I can connect from the XP
machine both for file 
and 
printer access. When I try to connect to one of the
other computers in 
the 
workgroup, I get the message: the path could not be
found.

Perhaps I am not clear enough: Before installing
XP_Pro, I was able to 
see 
and connect between Win2K machines as well as the FBSD
both for file 
shareing and printing. After installing XP, I can ping
between the 
machines, I can map to the shares, I can print from
the XP but I can no 
longer see the machines in the WORKGROUP on Network
Neighborhood or 
Network 
Places (Childish nomenclature by MS).

If I disconnect FBSD from the LAN, the Windows
machines can, once 
again, 
intercommunicate.

Perhaps I should dump the NetBEUI protocol on Windows
and just map the 
shares on each machine. (Kindof a pain, IYAM)

Maybe I just don't understand what the relationship
should be between 
the 
samba machine and the others.

The static address (192.168.1.240) of the FBSD machine
show up as 
WORKSTATION and not as COMPUTER_NAME.

If I may make an observation, it looks to me that MS
is getting 
kprogressively bloated an unecessarily complicated as
it evolves. I am 
trying to get away from it as much as possible but
that is a little 
difficult as too many "common people" are still
brainwashed by MS.

Please let me know  what specifics I should provide. I
have been 
searching 
the documentation and the HOW_TO's with little
success.

Pippo

>On Sat, 21 Dec 2002 [EMAIL PROTECTED] wrote:
>
> > I would appreciate it if someone can point me in
the right 
direction.
> > I am having a problem connecting to other
computers on my LAN.
> > Configuration is this:
> > 1. XP machine, 2 Win2K's, 1 FreeBSD running Samba
(current or 
latest 
> version).
> > From XP, I can connect and read/write and print to
FBSD but cannot 
connect
> > to Win2k's.
> > Win2k's cannot connect to XP.
> > I suspect it has to do with the domain master and
the os level 
settings
> > for, when the FBSD machine is off, connections
between XP and Win2k 
are ok.
> > What do I have to to to be able to connect to
Win2k's at the same 
time as
> > the FBSD (Samba)?
> > I am not running a domain, workgroup only. :))
> > Thanks in advance,
> > Pippo



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] problems using samba as PDC

2002-12-25 Thread Bradley W. Langhorst
On Wed, 2002-12-25 at 18:09, Mitchell Smith wrote:
> Hi list,
> 

> I believe I have configured everything correctly however when I login from a
> Windows client it is creating the users profile under there home directory
> rather than in the profile directory which is stored under their home
> directory.
nope 
you don't even have a profiles share defined...

make a profiles share and set logon path to ...
logon path = \\servername\profiles\%U

don't put the profile into the user's home directory...

brad
-- 
Bradley W. Langhorst <[EMAIL PROTECTED]>

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



[Samba] problems using samba as PDC

2002-12-25 Thread Mitchell Smith
Hi list,

We are in the process of replacing our current Windows 2k file server with a
Debian Linux one running Samba.

I am running Samba 2.999+3.0.Alpha21 which is packaged for Debian in the
Unstable tree.

I believe I have configured everything correctly however when I login from a
Windows client it is creating the users profile under there home directory
rather than in the profile directory which is stored under their home
directory.

For example for user mjs the home directory is /home/users/mjs and the
profile directory should be /home/users/mjs/profile which already exists
with a profile in it.  When I login from windows though it creates a new
profile under /home/users/mjs.

Having said this, when I created the user with pdbedit it told me that the
profile location would be \\NUKLEUZ\MJS\profile

Script started on Thu Dec 26 09:57:38 2002
nukleuz:~# pdbedit --create --user=mjs
new password:
retype new password:
Unix username:mjs
NT username:
Account Flags:[U  ]
User ID/Group ID: 1000/1000
User SID: S-1-5-21-2310093224-2481310486-3802226842-3000
Primary Group SID:S-1-5-21-2310093224-2481310486-3802226842-3001
Full Name:Mitchell,,,
Home Directory:   \\nukleuz\mjs
HomeDir Drive:
Logon Script: logon.cmd
Profile Path: \\nukleuz\mjs\profile
Domain:   BLITZ
Account desc:
Workstations:
Munged dial:
Logon time:   0
Logoff time:  Sat, 14 Dec 1901 07:45:51 GMT
Kickoff time: Sat, 14 Dec 1901 07:45:51 GMT
Password last set:Thu, 26 Dec 2002 09:58:09 GMT
Password can change:  0
Password must change: Thu, 16 Jan 2003 09:58:09 GMT
Script done on Thu Dec 26 09:58:26 2002

I have also attached my smb.conf file here

# configuration file for samba

[global]
workgroup = BLITZ
netbios name = NUKLEUZ
 server string = %h server (Samba %v)
 interfaces = 192.168.1.2
 obey pam restrictions = Yes
 passdb backend = tdbsam, unixsam
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 logon script = logon.cmd
logon home = \\%N\%U
logon path = \\%N\%U\profile
 domain logons = Yes
time server = yes
 os level = 65
local master = yes
 preferred master = Yes
 domain master = Yes
 wins support = Yes
 panic action = /usr/share/samba/panic-action %d
 invalid users = root
 hosts allow = 192.168.1.0/24

[netlogon]
 comment = Network Logon
 path = /home/intranet/netlogon
 browseable = No

[homes]
 comment = Home Directories
 read only = No
 create mask = 0700
 directory mask = 0700
 browseable = No
# ends smb.conf


Can anyone offer any suggestions on where I might be going wrong here?

Any help greatly appreciated.

>From Mitchell




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



Re: [Samba] Trouble installing samba

2002-12-25 Thread Michael
Actuallly I am starting to think that this is a distro problem.  I am
using Mandrake 9.0 on an x86 machine 300 Mhz.  When I first downloaded
mandrake 9.0 I only burned the first disk, cause I only had one CD R
available.  I am going to go back and download the other disk and also
the supllementary disk, hopefully this will solve the problem.  I don't
even think I have all of the neccesary compilers, source and header
files (good thing my major is CS or I would have know idea what I was
talking about 6 months ago!) 

Any how, thanks for the advice, I know this is out of the range of this
email group but if anyone can help me getting mandrake (or if there is
another distro that is better for newbies, then by all means I am up for
suggestions) you ca reach me at this email ([EMAIL PROTECTED])

Thanx Agian!
Michael S.

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



Fw: [Samba] need roaming profile + local profile (srry for resending it but plz try to help me)

2002-12-25 Thread sander



Hi
 
I've got a samba pdc set up but I've got a strange 
problem.  Everything works fine I can login with the roaming profile BUT I 
also need a local profile, without the local profile he says that he cannot find 
the domain name.  And the local profile has to be administrator or he 
doesn't remember my preferences of all my programs and settings.
 
Any idea what I'm doing wrong?
 
 
Sander
 
-"Are 
you still wasting your time with spam?...There is a solution!"
 
Protected by GIANT Company's Spam InspectorThe 
most powerful anti-spam software available.http://www.giantcompany.com
 
 


[Samba] authenticating NIS via Samba trusted by AD

2002-12-25 Thread avi wollman
excuse me but is this possible ?
i want to have users logging into a active directory server when there 
usernames and passwords are really only on a NIS server.
the chain of authentification whould be AD <--> samba (2.x) <--> NIS.
I want to have a single username database authentification and login to 
AD using NIS's data.

thank you



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


[Samba] Multiple Profiles

2002-12-25 Thread jspive1
We running multiple profiles, i want 5 of my users to run roaming profiles and 
50 other users to run mandatory is it possible in samba?  i can't seem to 
figure out how to push the logon path for the group of 50 users to be 
\\server\mygroup and my 5 users logon path will be \\server\%u

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



Re: [Samba] Trouble installing samba

2002-12-25 Thread Joel Hammer
Have you gotten any replies?
This doesn't appear to be a samba problem. This is a compilation problem. Have you 
tried
compiling anything else on this machine? What version of Mandrake are you
using. You may just need a new distro.
Are you sure you are in the right directory when you run configure and make?
Are you running this as root?
Joel

 On Tue, Dec 24, 2002 at 08:09:39PM -0600, Michael wrote:
> 
> Well Hello one and all,
> I am just getting my feet wet here with Linux (Using Mandr...
> x86 300 Mhz machine) and I have been having a bit of troub...
>  samba.
> 
>  
> > I have downloaded RPM's, source files, binaries, and what not, read
> > tutorials after tutorials, FAQ's up the wazo and have still not be
> able
> > to get this damned program to work.
> > 
> > To simplify things I will go step by step through what I am doing and
> see
> > if anyone can help me:
> > 
> > First things first I goto the following ftp site for the files:
> > 
> > http://us1.samba.org/samba/ftp/
> > 
> > I then click on the the doc directory and click on the .pdf file
> "samba
> > howto collection.pdf"
> > 
> > I attempt to follow the directions on building the binaries and goto
> the
> > source directory and run the program ,/configure and after that I
> > continue to follow the directions and type make..  This is what I get:
> > 
> > [root@localhost source]# ./configure
> > loading cache ./config.cache
> > checking for gcc... gcc
> > checking whether the C compiler (gcc -O  ) works... yes
> > checking whether the C compiler (gcc -O  ) is a cross-compiler... no
> > checking whether we are using GNU C... yes
> > checking whether gcc accepts -g... yes
> > checking for a BSD compatible install... /usr/bin/install -c
> > checking for gawk... gawk
> > checking if the linker (ld) is GNU ld... yes
> > checking for passwd... /usr/bin/passwd
> > checking whether gcc and cc understand -c and -o together... yes
> > checking that the C compiler understands volatile... yes
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > checking build system type... i686-pc-linux-gnu
> > checking config.cache system type... same
> > checking for LFS support... yes
> > checking for inline... inline
> > checking how to run the C preprocessor... gcc -E
> > checking for ANSI C header files... yes
> > checking for dirent.h that defines DIR... yes
> > checking for opendir in -ldir... no
> > checking whether time.h and sys/time.h may both be included... yes
> > checking for sys/wait.h that is POSIX.1 compatible... yes
> > checking for arpa/inet.h... yes
> > checking for sys/fcntl.h... yes
> > checking for sys/select.h... yes
> > checking for fcntl.h... yes
> > checking for sys/time.h... yes
> > checking for sys/unistd.h... yes
> > checking for unistd.h... yes
> > checking for utime.h... yes
> > checking for grp.h... yes
> > checking for sys/id.h... no
> > checking for limits.h... yes
> > checking for memory.h... yes
> > checking for net/if.h... yes
> > checking for compat.h... no
> > checking for rpc/rpc.h... yes
> > checking for rpcsvc/nis.h... yes
> > checking for rpcsvc/yp_prot.h... yes
> > checking for rpcsvc/ypclnt.h... yes
> > checking for stdlib.h... yes
> > checking for string.h... yes
> > checking for strings.h... yes
> > checking for syslog.h... yes
> > checking for sys/file.h... yes
> > checking for sys/param.h... yes
> > checking for ctype.h... yes
> > checking for sys/wait.h... (cached) yes
> > checking for sys/resource.h... yes
> > checking for sys/ioctl.h... yes
> > checking for sys/ipc.h... yes
> > checking for sys/mode.h... no
> > checking for sys/mman.h... yes
> > checking for sys/filio.h... no
> > checking for sys/priv.h... no
> > checking for sys/shm.h... yes
> > checking for sys/socket.h... yes
> > checking for syslog.h... (cached) yes
> > checking for sys/syslog.h... yes
> > checking for sys/mount.h... yes
> > checking for sys/vfs.h... yes
> > checking for sys/fs/s5param.h... no
> > checking for sys/filsys.h... no
> > checking for termios.h... yes
> > checking for termio.h... yes
> > checking for sys/termio.h... no
> > checking for sys/statfs.h... yes
> > checking for sys/dustat.h... no
> > checking for sys/statvfs.h... yes
> > checking for stdarg.h... yes
> > checking for sys/sockio.h... no
> > checking for security/pam_modules.h... no
> > checking for security/_pam_macros.h... no
> > checking for dlfcn.h... yes
> > checking for synch.h... no
> > checking for pthread.h... yes
> > checking for nsswitch.h... no
> > checking for shadow.h... yes
> > checking for netinet/ip.h... yes
> > checking for netinet/tcp.h... yes
> > checking for netinet/in_systm.h... yes
> > checking for netinet/in_ip.h... no
> > checking for nss.h... yes
> > checking for nss_common.h... no
> > checking for ns_api.h... no
> > checking for sys/security.h... no
> > checking for security/pam_appl.h... no
> > checking for security/pam_modules.h... (cached) no
> > checking for stropts.h... yes
> > checking for po

Re: [Samba] A problem about ICMP Destination Unreachable

2002-12-25 Thread Joel Hammer
Have you gotten any responses?
This sounds like a network issue, not a samba issue.
As an amateur, I track these problems down by:
1. Looking at the output of tcpdump.
2. Looking at arp -n.
3. Looking into misconfigured DNS. 
4. Putting the server into lmhosts or hosts.
5. Looking at route -n.

Joel


On Tue, Dec 24, 2002 at 09:34:38AM -0800, bo wang wrote:
> Hello, 
> I have installed samba in a 
> Linux RedHat 8.0 PC in my lab
> as a file server. The clients
> of samba are PCs with MS Windows98.
> Now I meet some problems, I can see
> samba server name in Network Neighborhood,
> but when I click the icon, I get this
> error message after a long delay:
> Cannot link to Linuxserver(server name).
> And I used Ethereal to track the packets
> to find the problem, I found that there
> were errors like "ICMP: Destination Unreachable"
> when packets came from server to client.
> The same problem  occured when I used 
> FTP from client to check the TCP. 
> Ping is ok(I can ping form server to client and
> client to server), so I don't understand this problem,
> thank you for your helps and advices.
> 
> 
> WANG BO
> Institute of Mobile Communication
> Southwest Jiaotong University
> China
> --
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] nmbd dies regularly, no log files

2002-12-25 Thread Joel Hammer
Is there anything in /var/log/messages?

Joel

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



Re: [Samba] smbtar

2002-12-25 Thread Joel Hammer
There are several ways to get around the space and other character problems
in windows file names.
For example:
Problem name
can be writen as:
Problem\ name
or
"Problem name"

Joel

On Tue, Dec 24, 2002 at 09:44:58PM +1100, Colin Jenkins wrote:
> Hi all,
> 
> using smbtar to back-up users directories on a winnt server and use -X
> to exclude files/directories.
> How do I specify windows directories with spaces i.e. Application Data
>   
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] A problem about ICMP Destination Unreachable

2002-12-25 Thread bo wang
Hello, 
I have installed samba in a 
Linux RedHat 8.0 PC in my lab
as a file server. The clients
of samba are PCs with MS Windows98.
Now I meet some problems, I can see
samba server name in Network Neighborhood,
but when I click the icon, I get this
error message after a long delay:
Cannot link to Linuxserver(server name).
And I used Ethereal to track the packets
to find the problem, I found that there
were errors like "ICMP: Destination Unreachable"
when packets came from server to client.
The same problem  occured when I used 
FTP from client to check the TCP. 
Ping is ok(I can ping form server to client and
client to server), so I don't understand this problem,
thank you for your helps and advices.


WANG BO
Institute of Mobile Communication
Southwest Jiaotong University
China
--



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] (no subject)

2002-12-25 Thread Robert McDonald



 


[Samba] diagnosis file suggestion

2002-12-25 Thread Przemek Borys
EHLO!

When I configured samba, I was new to samba and firewalls.
My problem was not covered in diagnosis file, but probably may be quite
common. I'd add a following step to diagnosis file:

- Check whether you have DENY entries in /var/log/messages when you try to
log in.
- if so, add required ACCEPT entries, or remove blocking DENY entries from
firewall.

-- 
\___\___
(_(\|,|_|,|_  Gassho! [http://dione.ids.pl/~pborys][pinfo,Fizyka FAQ]
|   | |.  [PTM, teksty o programowaniu,Moje SF,X Window FAQ,inne]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba