Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] Problems with Samba Authentication (samba.i386 0:3..

 
   Linux (Home) -> Samba RSS
Next:  [Samba] username map script never runs  
Author Message
Jeff Coffler

External


Since: Apr 19, 2007
Posts: 2



(Msg. 1) Posted: Thu Apr 19, 2007 11:20 pm
Post subject: [Samba] Problems with Samba Authentication (samba.i386 0:3.0.24-4.fc6 or 3.0.25rc1)
Archived from groups: linux>samba (more info?)

Hi folks,

Be gentle - first time I've posted to this list! Wink I'll try and be
complete. If I missed something, please let me know. I've googled and
found some information, but nothing *quite* relevant.

Running Fedora Core 6. Been using Samba for a long time, it's always
been problem free. Since the Fedora upgrade to 3.0.24-4.fc6 (I know
this is something specific to Fedora - Samba only has one 3.0.24
release), I'm having problems with Samba authentication.

I've learned:

1) If I compile/install 3.0.24 from source, or download the prebuilt
3.0.24 source, it works fine.
2) If I install 3.0.24-4.fc6 via 'yum update' in Fedora, Samba fails
3) If I either install the prebuilt 3.0.25rc1 binary or build/install
from source, 3.0.25rc1 fails

The problem:

On the Windows side (running either Windows XP SP1 or Windows 2003
Server), if I do something like:

net use x: \\miffy\dvd

Then I get a password prompt (I normally don't get a password prompt -
my Windows password and smb password is the same). If I give my
username and password, then the 'net use' fails. But it works fine with
3.0.24 (built from source or downloaded from samba.org).

Thinking it might be a configuration change, I reapplied my changes to
the distributed "smb.conf" file; this had no effect.

My Samba configuration file (/etc/samba/smb.conf) is set up for
"security = user", no guest account, "local master = no". The relevant
share is set up as:

[dvd]
comment = Music Directory
mangled names = no
path = /mnt/storage/mythdvd
writeable = yes
inherit owner = yes
admin users = jeff

In file smbd.log:

[2007/04/15 04:38:27, 1] smbd/server.c:open_sockets_smbd(408)
Reloading services after SIGHUP
[2007/04/19 08:40:21, 0] smbd/server.c:main(847)
smbd version 3.0.24-4.fc6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password
length), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must
logon to change password), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum
password age), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum
password age), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout
duration), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count
minutes), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout
attempt), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect
time), returning 0
[2007/04/19 08:40:21, 1] lib/account_pol.c:account_policy_get(332)
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse
machine password change), returning 0

I'm not 100% sure if these errors relate to my attempted mount or not
.... I tried the mount more than just once, but all these were logged at
the same point in time.

Finally, in the host specific log, I see things like:

[2007/04/19 08:56:49, 1] smbd/service.c:make_connection_snum(1033)
jcoffler-lap (192.168.1.97) connect to service dvd initially as user
jeff (uid=0, gid=500) (pid 31758)
[2007/04/19 08:56:59, 1] smbd/service.c:close_cnum(1230)
jcoffler-lap (192.168.1.97) closed connection to service dvd
[2007/04/19 09:26:00, 1] smbd/service.c:make_connection_snum(1033)
jcoffler-lap (192.168.1.97) connect to service dvd initially as user
jeff (uid=0, gid=500) (pid 30297)
[2007/04/19 09:26:10, 1] smbd/service.c:close_cnum(1230)
jcoffler-lap (192.168.1.97) closed connection to service dvd

But these appear to get logged even if I get the "password" prompt on
the Windows side.

Seems version related, but I'm not really sure why. Didn't find
anything relevant in the release notes. I did find issues with Vista,
but I'm not running Vista, I'm running XP (and Windows Server - I've
tried from both places).

Any suggestions?

Thanks,

-- Jeff
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] Samba works!: Samba, Kerberos, Win2K Active Direct.. - After some days, here is my personal cookbook for Samba in Solaris. I needed to share a folder in my Solaris server, but using my Windows Active Directory Account. Here are my proccess, if it can help to anyone or if anyone can make corrections or..

[Samba] authentication problems - Hello, I have set up a samba server 3.1.2. I want to run it as a PDC. Final target is to use it with LDAP and Kerberos. At the moment I use tdbsam as backend. I have authentication problems. Everything is running, I have set the root password, I have....

[Samba] samba with ADS. winbindd ignore for user authentic.. - Hello, I'm trying to set up samba using ADS for authentication. I can successfully join the samba machine to the domain. Windows hosts can "see" the samba machine. After successfully joining, doing: # wbinfo -u shows me ADS-defined users. S...

[Samba] Mutiple authentication databases with Samba in ADS.. - I have Samba with Kerberos in server = ads mode. I however, have a few odd accounts that only exist under Unix. Is it possible to get samba to "fall back" on the local smbpassword file for users not found in ADS? If so how? Thanks -- ...

[Samba] Authentication/name resolution with Samba print se.. - Hello~ I am setting up a Samba domain member server (on an Active Directory domain) that will act only as a print server, not an authentication server. So do I need any ID mapping services running, like winbind? Or any authentication services like..
       Linux (Home) -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact