Displaying 20 results from an estimated 200 matches similar to: "pdb_mysql.c | SQL insert command missing data"
2004 Apr 13
0
v3.0.2a: can't login into domain after switching to pdb_mysql
Hello list.samba.org
FreeBSD-5.2.1, samba from port with tdbsam-backend configured as PDC
Everything is working fine: i.e. registering at samba domain and logging on
to it,
but after I switch to mysql-backend (pdb-mysql)
I can only successfully register my Windows 2k3 at Samba domain
(messagebox 'Welcome to slavel.ru domain' has appiered),
i.e. can successfully change domain of my
2009 Jun 12
1
SAMBA+PDC+Mysql authentication Backend
I ne w in samba world but i was configured a Samba with shares folder linkable to users and it was successfull.
Now i try to extend to PDC but the client can't logon into the server:
the log.smbd could this
[2009/06/12 15:51:21, 0] smbd/server.c:main(1209)
smbd version 3.2.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/06/12 15:51:21, 1]
2005 Dec 11
1
how to use MySQL-backend !?
Hi,
i want to run a standalone-samba-PDC with a mysql-passdb backend and i
configured the mysql-database as required.
but how should i add/remove users ?
when i try
smbpasswd -a username
most columns in database have [NULL] values
i also tried pdbedit but it exits with "No user SID retrieved from database!"
is there another tool to add/remove users ?
is my smb.conf ok, or do i need to
2005 Mar 27
1
problem with listing users on winXP/2k+3
Hello list,
Some days ago i sent an email to this ML about a problem im having with listing
users on winXP/2k+3 computers.
The thing is our samba PDC has +1600 users and, this time i counted, there only
appear on the "security advanced settings" list box (where we select users that
can read/write/execute on a windows directory share), about 500/550 users.
There is no evident reason
2009 Oct 06
0
Update from pdbsql (MySQL) to LDAP
Hi All!
I have a Samba as PDC for my domain MY_NETWORK running normally.
What I want to do is to install another server with OpenLDAP as
backend, and migrate the users and the domain to it.
Can anyone point me how to do it?
Below is my configuration.
# smbd -V
Version 3.2.15-0.36.fc10
# uname -a
Linux svrmain2 2.6.27.35-170.2.94.fc10.x86_64 #1 SMP Thu Oct 1
14:41:38 EDT 2009 x86_64 x86_64
2004 Apr 19
1
Samba + pdb_mysql - password hashes disappearing?
This is using samba-3.0.2a, as downloaded from us2.samba.org today (19th
of April), on Debian Linux.
I have setup and gotten mostly-working the MySQL PDB for Samba. It
queries the database correctly, pulls in the data, etc.
However, when I connect as a user, I get:
[2004/04/19 15:56:23, 3] libsmb/ntlm_check.c:ntlm_password_check(182)
ntlm_password_check: NO NT password stored for user
2005 Apr 10
0
Trouble adding users with pdbedit
Hi list,
I hope you can help me out here...
Freebsd 5.3
Samba 3.0.12 installed from ports
I use MySQL as backed and when I try to add users with pdbedit I get the
following error:
"Username not found!"
My command looks like this:
pdbedit -d 20 -a -u <username> -f "<Users name>" -c U
Doing a little debugging I can tell that pdbedit tries to do a select
2005 Oct 25
1
Authentication problem with Mysql backend
hi,
/****************************************************
i'm trying to configure samba with the mysql backend but it doesn't
work. my smb.conf file is this:
/****************************************************
#BOF
[global]
security = user
workgroup = CABRERA
encrypt passwords = no
;passdb backend = mysql:/usr/local/samba/lib/pdb/mysql.so
passdb backend = mysql:mysql
mysql:mysql host =
2007 Feb 28
2
samba problems. accounts expire after a hour, but work after reset
Hello I'm having some strange problems with samba 3.0.23d (PDC) on my FC6
if i start samba, everything works fine, but after an hour orso(some
times 2 hours if there is not mutch traffic)
machines and user accounts start expiring.
i don't know why, but it is ?! after i do a restart, samba comes up and
works again.
i checked the mysql server (coz' i use pdb-sql as backend) but the
2003 Sep 23
0
[PATCH] tdb multiple format
Hi,
As I said yesterday, I worked on a solution for tdb format in order to
manage easily new fields for this format.
So I add small changes to init_sam_from_buffer and init_buffer_from_sam
in this purpose.
The data TDB_FORMAT_STRING became an array which contains the list of
the different fields format which exist.
When the tdb file is read, for each records, Samba will try the most
recent
2004 Aug 11
4
pdb_mysql.so?
This has probably been asked before, but where is pdb_mysql.so?
Utilizing the current FC2 kernel.org update.
--
Raymond
2002 Nov 07
1
pdb_mysql isn't working for me :-(
Hiya...
Trying to auth users against a mysql database using pdb_mysql. Using
samba3.0 from CVS, running as a PDC.
Few questions as well: In the "username column:", I'm assuming I need a
real unix user here? Can I have a whole bunch of "nt username" users
(i.e. non-unix users) in the mysql db to be auth'ed with samba, but
they're all using the same unix user?
2002 Nov 07
1
smbpasswd (adding machines?) with pdb_mysql doesn't work
Hiya.
Still having fun with his mysql module - it appears to read from the
mysql database fine, but I can't seem to add machine accounts (and I
can't get too far unless I do this).
It might also be my own stupidity too - let me know ;-)
I've got a machine called "bbmachine" - without pdb_mysql, I can join
the domain no problems. However, I need to rejoin the
2003 Sep 27
1
pdb_mysql question...
Hello everybody,
First of all, congratulations on samba 3.0 :o)
Iam trying to install samba 3.0 with pdb_mysql support though im getting some trouble i cant understand.
After reading the output of ./configure --help, i used the following configure args:
./configure --with-expsam=xml,mysql --with-pam --with-pam_smbpass
make
make install
then i took a look at ./examples/pdb/mysql/smb.conf and:
2005 Sep 23
1
pdb_mysql, pdb_pgsql and pdb_xml modules: request for maintainer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
The experimental pdb modules (pdb_mysql, pdb_pgsql and pdb_xml) have
been a bit neglected during the last few releases of Samba 3 as they
haven't been actively maintained. I was the original author and
maintainer, but I no longer work on Samba 3 and I no longer use any of
the modules in production.
I'll remove these modules unless
2004 Mar 04
1
where is the pdb_mysql.so
i download samba3.02 source tar package from samba.org , do the below
steps on my freebsd5.2
#./configure --with-mysql-prefix=/usr/local/mysql
#....
#make
#....
#make install
#.....
after install, i add a user:
#pdbedit -a billy
then use the simple smb.conf
[global]
security=user
[tmp]
path=/tmp
guest ok=yes
everything is ok, i can access this samba server using windows client.
2005 Apr 02
2
RE: MYSQL - Was Functional till Update to 3.13
I updated samba from 3.10 to 3.13 to get the updated print fixes, but I
noticed today that the smbpasswd script no longer functions. It fails to
update the the following fields.
domain
2004 Nov 04
1
samba and mysql backend
Hello,
I have successfully compiled samba with the mysql module. I had to
make this change for it to compile. In:
samba-3.0.7/source/passwd/pdb_mysql.c
change
#include <mysql/mysql.h>
to
#include <mysql.h>
Then I setup the smb.conf file for mysql:
netbios name = machine
workgroup = coach
security = user
domain logons = yes
domain master = yes
passdb backend = mysql:samba
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
the following problem occurs when using samba 2.2.4 or 2.2.5 with ldap
support as PDC:
any time when a user logs on he is asked to change his/her password.
whether he change it or not he will be asked again next time he logs on.
this is annoying.
the reason is, that the LDAP attribute 'pwdMustChange' is not updated at all.
the easiest way to solve this to set the attribute to the
2004 Apr 18
1
Samba 3.0.3pre2 & MySQL compilation problem
Hi.
I have this problem when trying to compile Samba with MySQL passdb
backend:
Linking bin/smbcquotas
Linking bin/smbmount
Linking bin/wbinfo
Compiling dynconfig.c with -fPIC
Linking nsswitch/libnss_wins.so
Linking libsmbclient non-shared library bin/libsmbclient.a
Linking libsmbclient shared library bin/libsmbclient.so
Compiling passdb/pdb_mysql.c with -fPIC
passdb/pdb_mysql.c:21:25: