[Samba] Samba 3.0.3pre2 & MySQL compilation problem

2004-04-17 Thread Nejc Skoberne
ncing pointer to incomplete type
passdb/pdb_mysql.c:471: dereferencing pointer to incomplete type
passdb/pdb_mysql.c:476: dereferencing pointer to incomplete type
passdb/pdb_mysql.c:477: dereferencing pointer to incomplete type
passdb/pdb_mysql.c:478: dereferencing pointer to incomplete type
passdb/pdb_mysql.c:479: dereferencing pointer to incomplete type
passdb/pdb_mysql.c:480: dereferencing pointer to incomplete type
passdb/pdb_mysql.c:481: dereferencing pointer to incomplete type
passdb/pdb_mysql.c:485: dereferencing pointer to incomplete type
make: *** [passdb/pdb_mysql.po] Error 1

So, it says there is no mysql/mysql.h file... I configured the source
with:

./configure   --with-fhs \
  --prefix=/usr \
  --localstatedir=/var \
  --bindir=/usr/bin \
  --sbindir=/usr/sbin \
  --with-lockdir=/var/cache/samba \
  --sysconfdir=/etc \
  --with-configdir=/etc/samba \
  --with-privatedir=/etc/samba/private \
  --with-codepagedir=/etc/codepages \
  --with-smbmount \
  --with-quotas \
  --with-syslog \
  --with-utmp \
  --with-sambabook=/usr/share/swat/using_samba \
  --with-ssl \
  --with-sslinc=/usr/include/openssl \
  --with-ssllib=/usr \
  --with-libsmbclient \
  --with-expsam=mysql \
  --with-mysql-prefix=/usr/mysql \
  --with-mysql-exec-prefix=/usr/mysql/bin

And everything looks OK. I have MySQL in /usr/mysql (MySQL.com's
binary distro). I also tried to use mysql-prefix=/usr,
/usr/mysql/include, I even made a directory /usr/mysql/mysql and
copied all include and library files in there (because the error says
that it looks for mysql/mysql.h file).

Do you have any ideas?

Slackware 9.0, Linux 2.4.21, MySQL 4.0.13.

Thanks.

-- 
Nejc Skoberne
E-mail: [EMAIL PROTECTED]

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


[Samba] MySQL user information storage

2004-02-28 Thread Nejc Skoberne
Hello,

I would like to know if it is possible not to have Samba users as
UNIX systems users (at least without system passwords!), if I use MySQL
backend with Samba 3.0.2b?

Also, is there any good documentation about Samba and MySQL
cooperation besides Samba HOWTO?

My goal is to use same MySQL database (same users table!) for Samba
authentication, Postfix, Courier-IMAP and ProFTPd.

Thank you.

-- 
Nejc Skoberne
Grajska 5
SI-5220 Tolmin
E-mail: [EMAIL PROTECTED]

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


Re: [Samba] Huh... 2.2.8 exploit?!

2003-06-30 Thread Nejc Skoberne
Hi.

> Signal 11, mmm, that could be a memory error(hardware).
> Is the hardware certified? (www.memtest86.com)

If it was a hardware error; why would be smbd deleted?

-- 
Nejc Skoberne
Grajska 5
SI-5220 Tolmin
E-mail: [EMAIL PROTECTED]

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


Re: [Samba] Huh... 2.2.8 exploit?!

2003-06-30 Thread Nejc Skoberne
Hi.

> ... By my mistake a 2.2.8a-1 running on RH8 was exposed to the Internet. It
> was cracked in a matter of hours. I noticed it because they've deleted my
> smbd. :-| 

2.2.8a cracked? Isn't this supposed to be the most stable release?

> I'm ready to reinstall the machine, if there are any logs that anybody is
> interested into please say it now. 

Please send them to me. Thank you.

-- 
Nejc Skoberne
Grajska 5
SI-5220 Tolmin
E-mail: [EMAIL PROTECTED]

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


[Samba] Incorrectly formatted request

2003-06-30 Thread Nejc Skoberne
Hi.

I found these in my Windows 2000 Server log:

30.6.2003   9:38:51 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1.
30.6.2003   8:43:03 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   8:14:57 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   8:09:40 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   7:59:40 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   7:56:23 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   7:43:14 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   7:36:54 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   7:02:28 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   6:35:29 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   6:22:18 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 
30.6.2003   6:05:19 Srv Error   None2006N/A SERVER  The server 
received an incorrectly formatted request from \\10.106.6.1. 

10.106.6.1 is a Slackware Linux 8.1 running Samba 2.2.8a which is
member of the domain.

My smb.conf looks like this:

[global]
client code page = 852
workgroup = COMPANY
server string = Samba SMB Server
interfaces = 10.106.6.1/24 127.0.0.1/24
security = DOMAIN
encrypt passwords = Yes
password server = 10.106.5.1
wins server = 10.106.5.1
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
character set = ISO8859-2
guest account = smbuser
hide dot files = No

[public]
comment = Public
path = /home/public
read only = No
create mask = 0664
directory mask = 0775
guest ok = Yes

[homes]
comment = Homes
read only = No
create mask = 0640
directory mask = 0750
browseable = No

[data]
comment = Data
path = /home/samba/data
valid users = +super
force group = +super
read only = No
create mask = 0660
directory mask = 02770

[backup]
comment = Backup
path = /var/backup
valid users = +super
force group = +super
read only = No
create mask = 0660
directory mask = 02770

I have read in smb.conf manual that "password server" should be
NetBIOS name. (It works for me this way too.) Is it possible that this
might be causing those log events in Windows 2000 Server?

Thank you in advance,

Best regards.

-- 
Nejc Skoberne
Grajska 5
SI-5220 Tolmin
E-mail: [EMAIL PROTECTED]

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


[Samba] Multiple wins server entries

2003-06-25 Thread Nejc Skoberne
Hi.

I have 2 questions:

1. Is it possible to specify mutiple "wins servers" in smb.conf file?
man smb.conf doesn't say that, so I don't know. If it is possible how
do I do it? "wins server = IP_1, IP_2"?

2. man smb.conf says "password server" must be a NetBIOS name. I have
IP addresses specified and it works OK anyway. How come?

Thank you in advance,

-- 
Nejc Skoberne
Grajska 5
SI-5220 Tolmin
E-mail: [EMAIL PROTECTED]

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