Displaying 20 results from an estimated 2000 matches similar to: "Authenticating against samba passdb using PAM"
2006 Mar 27
0
access share on machine running server again
Hi all,
A while ago I posted about needing to access samba shares on the same machine
that the samba server was running on.
Someone posted a script to mount the shares and all was well till I upgraded
my PC hadware and had a small accident :(
I have tried modifing /etc/init.d/samba adding ...
mount -t smbfs //127.0.0.1/common /mnt/samba/common -o
2002 Jun 13
1
[mntent]: line x in /etc/fstab is bad
Hi !
I'm having trouble trying to mount a win2k share from my linux box
with the mount command.
My linux box is a RH 7.2 and samba version is 2.2.4.
It is part of the windows domain 'VALBONE' and the smb.conf option
"winbind use default domain" is set to yes.
So when the user slautier log into the machine, it does it without
specifying the domain name.
slautier is a member
2006 Jan 22
0
cant add files + variables ? (Newbe:)
First time samberer :)
I have a home network, samba server running on kubuntu, wifes system running
kubuntu and company laptop running XP.
To start with I want to just share files.
I can read files in shares from my wifes system but no matter what I do I
cannot add files to the mounted share. I get 'cannot create regular file ....
no such file or directory', even though the mounted
2010 Jul 03
2
pam_smbpass.so passdb.tdb support
Hi,
Recently I have installed samba 3.4.8 on my device. Since then ftp
(vsftp,proftpd) which is taking users from samba database with
pam_smbpass.so is not working. After enabling detailed log I have
noticed it is looking for the passwords in smbpasswd
(/etc/samba/private) which is of zero size . I think all users passwd
are located in passwd.tdb.I could fix this by giving "passdb
2004 Jul 27
3
passdb requires /etc/passwd entry?
Greetings everyone,
I have a question about the smbpasswd encrypted
database and /etc/passwd -- why does the passdb
backend require an entry in /etc/passwd? Is it
possible to create samba encrypted users without a
/etc/passwd entry?
I have a samba PDC setup that is mainly just a login
server, then a separate server for $HOME's. I have
all of my PAM configs setup to remotely authenticate
2003 Oct 23
1
pam_smbpass on Solaris box
Hello
I decided to test password migration (on Solaris 8 box with SUNWspro C) and built samba with pam_smbpass module :
CC=cc ./configure --prefix=/opt/local/samba --with-acl-support --with-pam --with-pam_smbpass
Then installed bin/pam_smbpass.so in /usr/lib/security :
# ls -al /usr/lib/security/pam_smbpass.so
-rwxr-xr-x 1 root sys 2091380 Oct 23 11:01
2001 Nov 01
1
Sol 2.8 - Samba 222- --with-pam compile errors
Hi
I'm attempting to compile samba 222 on Solaris 2.8 using Sun Forte 6 C
compiler but I'm getting error messages.
I used the following sequence of commands:
setenv CC cc
./configure --prefix=/usr/local/samba.22 --with-acl-support --with-pam
--with-pam_smbpass --with-syslog
make
See messages below:
================================================================
..........
2008 Jul 28
1
Problems authenticating Ubuntu 8.04 client (gdm) against Samba (Ubuntu 8.04) domain server
Hello,
Does anyone have a working pam configuration that allows gdm logins? My
current config works with ssh and bash logins. I'd like gdm to work
with usernames like DOMAIN\\USERNAME.
MORE DETAIL:
-------------------
I'm trying to get a Linux client (Ubuntu 8.04) to authenticate against a
Samba domain controller (also Ubuntu8.04). WindowsXP clients work fine
with the samba
2003 Oct 24
0
pam_smbpass can't find password database
Hello
Sorry for disturbing again. It looks like I must pass lot of compilation issues to force pam_smbpass working. And I don't believe, that nobody faced same problems as I do, because I am using quite trivial configuration without success, so maybes somebody can share experience with pam_smbpass under Solaris or help me identify what's wrong with it ?
So finally I wrote my own pam
2014 Jun 09
1
Cannot mount a remote volume after system upgrade
openSUSE v13.1
linux 3.11.10-11-desktop x86_64
samba 4.1.6
I recently upgraded an openSUSE server from v12.3 to v13.1. In the
older version there was no problem about mounting a remote volume
offered by an ancient OS/2 system. Now there is.
Trying to mount it by command line:
root:/home/sma-user3x> mount /t2
Retrying with upper case share name
mount error(6): No such device or address
2002 Oct 09
1
Strange issue with pam_smbpass
Hello all!!
Something strange is happening recently with pam_smbpass.so.
I get the errors:
passwd: PAM unable to dlopen(pam_smbpass.so)
passwd: PAM [dlerror: pam_smbpass.so: undefined symbol: ldap_value_free]
passwd: PAM adding faulty module: pam_smbpass.so
And the passwd command returns "Module unknown".
The rest of Samba is working fine as a PDC - can log in, out, copy
files, etc.
2013 Jan 18
1
pam_smbpass.so on AIX
Yet another odd one...
I've got it set up now so that swat uses pam_smbpass.so, and once a user logs into swat at least once, it'll update their password in the passdb backend configured for Samba. But, I also need to ensure that when a user changes their password via passwd, it also gets updated. I added the following in /etc/security/login.cfg:
usw:
auth_type = PAM_AUTH
and
2007 May 13
0
pam_smbpass migrate & null passwords
Hi!
I'm configuring Samba for Unix<->Samba account synchronization and have
come across a situation which I like, but cannot explain with absolute
certainty, and am therefore worried about security.
I have set the following:
(Debian uses a bit different structure, but I have expanded @includes in
this email)
1) Samba -> Unix password sync
/etc/samba/smb.conf:
unix
2002 Jul 25
2
pam_smbpass.so won't load
I've just built samba debs from 2_2 head.
looks like all is cool except pam_smbpass.so
Jul 25 17:44:42 bitc passwd[18770]: PAM unable to
dlopen(/lib/security/pam_smbpass.so)
Jul 25 17:44:42 bitc passwd[18770]: PAM [dlerror:
/lib/security/pam_smbpass.so: undefined symbol: ldap_value_free]
Jul 25 17:44:42 bitc passwd[18770]: PAM adding faulty module:
/lib/security/pam_smbpass.so
ldd
2016 Mar 03
0
Broken pipe when using ssh with pam_smbpass.so migrate
Hi Simon,
I never played with Samba in the way you are playing with.
Anyway your issue seems to be very located to pam_smbpass.so or its usage.
Bug from software or admin mistake? As said, I have no idea but perhaps if
you post Samba version, pam version, smb.conf perhaps too... anything to be
more specific about what is really your installation. This could help those
who have played with that
2003 Nov 18
1
pamsmb_pass, userPassword & samba(LM/NT)Password
Hi All,
Has anyone used pam_smbpass before with Samba 3 and Solaris 9?
The problem I am facing is that the sambaNTPassword/sambaLMPassword and
the posixAccount userPassword attributes are not the same.
While I can use "net rpc vampire" to migrate the lanman password hashes
the posixAccount attribute remains unpopulated.
I have discovered that the smbldap tools has scripts to
2016 Mar 03
1
Broken pipe when using ssh with pam_smbpass.so migrate
As Mathias suggested:
samba 4.3.5-1
pam 1.2.1-3
linux-sun7i 3.4.90-4
openssh 7.2p1-1
#### /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
netbios name = NAS
security = user
# I also tried encrypt password = no
encrypt passwords = yes
[homes]
path = /data/%u
There is no complex configuration.
> Am 03.03.2016 um 17:38 schrieb mathias dufresne <infractory at gmail.com>:
>
> Hi
2013 Jul 04
1
Configuring pam_smbpass with Solaris
Hello all.
I'm trying to configure pam_smbpass for Samba 3.6.16 on Solaris 10.
However, I'm getting a strange result: instead of sync'ing the password,
it *removes* it. That is not quite what I expect...
I have this line in /etc/pam.conf:
other password required pam_smbpass_csw.so debug use_authtok
try_first_pass nonull
To start the test, I make sure passwords are already
2003 Sep 08
0
pam_smbpass.so + samba300RC2 + LDAP
We've got the 'ldap auth sync = yes' working perfectly, but we'd like to have
the SMB's passwords updated via passwd an PAM aware apps.
We tryed pam_smbpass.so but without any effects no matter of the different
required, sufficient or optionnal keywords in the /etc.pam.d/passwd :
passwd sufficient pam_ldap.so
passwd optionnal pam_smbpass.so audit nullok use_authtok
2003 Feb 19
2
pam_smbpass and ldap
On a Debian 3.0 system with user accounts stored in openldap, I have
unix and windows auth working just fine through ldap. smbpasswd can
change the samba passwd attributes, and passwd can change the unix
password attributes.
I'm trying to get pam_smbpass to work to keep everything in sync, but
it only says "Failed to find entry for user test0." which indicates to
me that its