[Samba] make install warnings

2002-12-17 Thread Skip Dobrin
Can someone give me an explanation of the following warnings that I
encountered during the make install of 2.2.7a?

passdb/secrets.c: In function `secrets_named_mutex':
passdb/secrets.c:287: warning: passing arg 2 of `tdb_lock_bystring' discards
qualifiers from pointer target type

tdb/tdbutil.c: In function `tdb_chainlock_with_timeout':
tdb/tdbutil.c:46: warning: passing arg 1 of `tdb_set_lock_alarm' discards
qualifiers from pointer target type

smbd/quotas.c:382: warning: static declaration for `xdr_getquota_args'
follows non-static
smbd/quotas.c:391: warning: static declaration for `xdr_getquota_rslt'
follows non-static

Skip :-)


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Drew Boyles
Sent: Tuesday, December 17, 2002 2:29 PM
To: [EMAIL PROTECTED]
Subject: [Samba] samba domain controller + Windows 2000

I have a Linux machine running Samba 2.2.1a (dated, I know) as a domain
controller for Windows clients (NT and 2000).  I can add NT machines to the
domain just fine; I use useradd and smbpasswd to generate the appropriate
entries, and it works fine.  I tried doing the same thing with a couple of
2000 (SP3) machines, and although I'm allowed to join the domain, after
rebooting and trying to log in to the domain, I get this error:

the system cannot log you on to the domain because the system's computer
account in its primary domain is missing or the password on that account is
incorrect

The entries in the passwd files look like this (me4151 is the computer's
name):

/etc/passwd:me4151$:x:5013:501:Machine Account:/dev/null:/bin/false
/etc/samba/smbpasswd:me4151$:5013:19BBAA8B3D38DCD6DEFDF3EBF955A1E3:D5B6485D4
C87A37D5458069DDA4E126E:[W  ]:LCT-3DFF6C01:

I've also added this line to my smb.conf to allow the creation of the
machine account when adding the computer to the domain on the Windows side:

add user script = /usr/sbin/useradd -d /dev/null -g 501 -c 'Machine Acco
unt' -s /bin/false -M %u

It seems to work (the passwd and smbpasswd entries are generated), but the
result (error message when I try to log on) is the same.

I do find entries such as the one below in the me4151.log file:

[2002/12/17 12:10:03, 0] smbd/reply.c:reply_sesssetup_and_X(898)
  restrict anonymous is True and anonymous connection attempted. Denying
  access.

After seeing that, I changed restrict anonymous to no, restarted the smb
service, and it allowed me to log in.  Of course, I'd much prefer to leave
that option on yes.

That's all the relevent information I can think of.  Any help in solving
this problem is appreciated.

--
Drew Boyles
[EMAIL PROTECTED]
--
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] Installation Samba 2.2.7

2002-12-08 Thread Skip Dobrin
What the error is telling you is that you do not have a C Compiler installed
on your system or that the path to it is not configured correctly.  If
ThizLinux is not shipped with a C Compiler, you can download gcc from
www.GNU.org http://www.GNU.org .  Once the compiler is installed and the
paths are set correctly then attempt to install samba again.

Skip :-) 

 -Original Message-
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent:   Sunday, December 08, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject:[Samba] Installation Samba 2.2.7

Hello!

I have a question about installing samba on my linux.
I have ThizLinux 6.0 (delivered with the mainboard Chaintech
7VJL) on my PC.
There isnĀ“t any samba-server installed, so I have download
it from your server
(samba-2.2.7.tar.gz) after using tar (tar xvfz
samba-2.2.7.tar.gz) and reading
your instruction i did like you say:
I chang the directory (cd /root/Download/samba-2.2.7/source)
and execute
./configure  and then the problems starts.
Following terms were listed:
   creating cache ./config.cache
   checking for gcc... no
   checking for cc... no
   configure: error: no acceptable cc found in $PATH
and the program stopt.
Calling make:
   make: *** No targets specified and no makefile found.
Stop.

Is it a wrong directory? Is there a bug? ???

And now somthing special:
My knowledge in linux is not very got, because I am a very
beginner!
My english is not very well, so please try to use a simple
style to answer me.


Thanks!!!

From good cold ...sorry... old germany.
Hajo Thiel

attachment: winmail.dat

RE: [Samba] Re-Send - Non-HTML - (Sorry) Samba and Solaris and Linux

2002-10-31 Thread Skip Dobrin
Scott,

Make sure that you have either the complete C Libraries from Sun  or
download the complete GNU C compiler and libraries.   Otherwise you will get
failures in the configure script when attempting to compile the source code.

Skip :)

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]On
Behalf Of Scott Wrosch
Sent: Thursday, October 31, 2002 10:22 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Re-Send - Non-HTML - (Sorry) Samba and Solaris and Linux

Hello everyone,

Just kind of a generalized question, and looking more for caveats than
anything else.  We're getting ready to implement the latest and greatest
release of Samba on one of our Sun servers.  Unfortunately, we haven't
determined which one yet, but we only have two, so it's not a big deal.

Anyways, I've set up Samba successfully on Linux on multiple occasions, the
most recent being on a domain with a Win2k Server as the domain controller.

Given that Linux is a UNIX clone (more or less), are there any caveats I
should perhaps take heed to when setting up Samba on Solaris?  It will be
set up for the domain here.

Thanks,

Scott Wrosch
desk 248.333.7700 x227
pager 248.806.7657
text [EMAIL PROTECTED]
email [EMAIL PROTECTED]

Our greatest glory is not in never falling
but in rising every time we fall. -- Confucius

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



RE: [Samba] Security issue

2002-10-23 Thread Skip Dobrin
Bart,
Check the permissions on the unix/linux file system.  Since access is
determined by these permissions.  You are probably the owner of the
filesystem and the other user is not in the group that was assigned when it
was created.  Check the samba create mask setting in the smb.conf as well.

Regards,

Skip  :)

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]On
Behalf Of Bart
Sent: Wednesday, October 23, 2002 8:08 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Security issue


Ls,

My question is probable more a windows 2000 issue, but since my
experience is that linux-related mailinglists result in more usable
information, I give his a try.

I have running a network with win98 and win2000 clients, and a
samba server to deal with user level security.

When I tried to share a folder on a win200 machine for full
control for me and another user, I had no problem accessing and
modifying the files. The other user on the other hand, could not even
browse (nor read) the files in the folder.

Does anybodyy know how the access control in shared win2000
folders works? I assumed that if you put it on the network with a share,
and you would give access rights to the share, this would be sufficient.
Or do you need to change secutity rights on the files in the folder as
well? Since I am 'administrator' I can maybe modify files more easy in a
share.

 I hope somebody will be able to help me,

  Best regards,
   Bart.



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



RE: [Samba] NMBD going down almost immediately after startup

2002-10-16 Thread Skip Dobrin

This is an obvious question, but needs to be asked.  When you said that the
smb.conf is exactly the same, did you change the netbios name for your
second server?  The netbios names cannot be the same on two machines.

Skip Dobrin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Bart
Sent: Wednesday, October 16, 2002 11:06 AM
To: [EMAIL PROTECTED]
Subject: [Samba] NMBD going down almost immediately after startup


Hi,
I'm having problems getting nmbd running.
Server is RH7.3 + ACL patches.

The problem is that the nmbd deamon crashes with the following error :

[2002/10/09 04:42:43, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/10/09 04:42:47, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(234)
  find_response_record: response packet id 4894 received with no matching
record.
[2002/10/09 04:42:47, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(234)
  find_response_record: response packet id 4895 received with no matching
record.
[2002/10/09 05:38:50, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...

smb.conf configuration is exactly the same as on another test server and it
works over there.

Could there be a problem with 'pam' that causes these issues ?

wbinfo -t returns : secret is good
wbinfo -g returns all PDC+groups
wbinfo -u returns all PDC+users
smbclient -L PDC returns pdc shares

What is probably going wrong and what can I do to check certain settings or
fix my problem ?
Any suggestions/solutions anyone ?

Thanks in advance

Bart


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



RE: [Samba] How to forbid user to login?

2002-10-09 Thread Skip Dobrin

Vladamir,

If you modify the /etc/passwd file and use /dev/null in the shell field for
the users you wish to disable for unix login, they will not be able to login
but will still have access to the permissions for smb access to the
services.

Skip Dobrin




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Vladimir I. Umnov
Sent: Wednesday, October 09, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: [Samba] How to forbid user to login?


Hello, samba.

How to forbid user to login, but user can access to the services.

--
 Vladimir I. Umnov mailto:[EMAIL PROTECTED]


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