Re: [Samba] Smbpasswd problem fine before but now ?

2004-09-15 Thread Igor Belyi
Ken Walker wrote:
I even used a previous smb.conf from before i upgraded to 2.2.8a,
which has no referance to ldap, but it still shows up in testparm as
ldap= local.
Did you try to specify smb.conf file on the command line to smbd with 
'-s' option to be sure that this is the file your samba uses? Just a 
thought.

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


Re: [Samba] Smbpasswd problem fine before but now ?

2004-09-15 Thread Ken Walker
I'm still trying to solve my problem below.

I have found that in my smb.conf file, all information relating to
ldap is either # or ; out, but when i run testparm it shows settings
for ldap which is pointed to locally.
I completely deleted all commented reverences to ldap, restarted
samba, run testparm but it insists that ldap is being called locally.

I even used a previous smb.conf from before i upgraded to 2.2.8a,
which has no referance to ldap, but it still shows up in testparm as
ldap= local.

My other machine that was also upgraded to 2.2.8a has no reference to
ldap or indications it is being called in testparm

I'm completely confused.

Can anybody help

Ken


On Tue, 14 Sep 2004 14:36:05 +0100, Ken Walker
<[EMAIL PROTECTED]> wrote:
> I set up a LM ( Linux Mandrake ) machine a 6 or 7 months ago with LM8.2 and
> samba 2.2.8a.
> 
> I set up a 5 disk software raid 5 and made 5 accounts and 5 entries into
> smbpasswd using
> 
> smbpasswd -an XX
> 
> All went fine, nothing out of the usual happened and all users could hammer
> the raid remotely to see if it died.
> 
> I have just resurrected the machine, which has been powered down for about 4
> months now.
> 
> When i now enter
> 
> smbpasswd -an 
> 
> i get the following !!
> 
> [EMAIL PROTECTED] mctkeaw]# smbpasswd -an mctssvw
> LDAPS option set...!
> ldap_connect_system: Binding to ldap server as ""
> Bind failed: Can't contact LDAP server
> LDAPS option set...!
> ldap_connect_system: Binding to ldap server as ""
> Bind failed: Can't contact LDAP server
> Failed to add entry for user mctssvw.
> Failed to modify password entry for user mctssvw
> [EMAIL PROTECTED] mctkeaw]#
> 
> I have looked in passwd and mctssvw is there.
> 
> allow null passwords is in the global settings of smb.conf
> 
> I have also looked in smb.conf and the ldap options are commented out.
> 
> I have no idea why this should start now, nothing has been added or changed
> since it was last powered down.
> 
> Can anybody help
> 
> Many thanks
> 
> Ken
> --
> 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


[Samba] Smbpasswd problem fine before but now ?

2004-09-14 Thread Ken Walker
I set up a LM ( Linux Mandrake ) machine a 6 or 7 months ago with LM8.2 and
samba 2.2.8a.

I set up a 5 disk software raid 5 and made 5 accounts and 5 entries into
smbpasswd using

smbpasswd -an XX

All went fine, nothing out of the usual happened and all users could hammer
the raid remotely to see if it died.

I have just resurrected the machine, which has been powered down for about 4
months now.

When i now enter

smbpasswd -an 

i get the following !!

[EMAIL PROTECTED] mctkeaw]# smbpasswd -an mctssvw
LDAPS option set...!
ldap_connect_system: Binding to ldap server as ""
Bind failed: Can't contact LDAP server
LDAPS option set...!
ldap_connect_system: Binding to ldap server as ""
Bind failed: Can't contact LDAP server
Failed to add entry for user mctssvw.
Failed to modify password entry for user mctssvw
[EMAIL PROTECTED] mctkeaw]#

I have looked in passwd and mctssvw is there.

allow null passwords is in the global settings of smb.conf

I have also looked in smb.conf and the ldap options are commented out.

I have no idea why this should start now, nothing has been added or changed
since it was last powered down.

Can anybody help

Many thanks 

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