Re: [Samba] reseting password and policy; /etc/passwd; /var/lib/samba/

2011-10-13 Thread pesek
Hi list, I'am just refreshing this thread in case somebody who knows
answers/can help overlooked it... 

Thanks for any comment/answer.

Rado.

On Fri, 2011-09-23 at 10:37 +0100, Quinn Fissler wrote:
> in the past, I've used a wrapper script round smbldap-passwd to
> enforce policy for complexity.
> 
> 
> I'd be interested to know if there's another way these days.
> 
> 
> 
> 
> 
> 


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


[Samba] reseting password and policy; /etc/passwd; /var/lib/samba/

2011-09-22 Thread pesek
Hi all, 

this is my setup

OS: Debian Squeeze (6.0.2)
Samba: 3.5.6
LDAP: 2.4.23

and I have few questions about things I dont really understand and
havent found clear answer using google and searching mailng list till
now:

1) is there a way to get some password changing tool (smbpasswd,
ldappasswd, smbldap-passwd, etc.) obey account policy, which I set using
pdbedit (and works fine when I try to change password from Windows, but
not using those utilities) without knowing old password? I need reset
userses passwords. Here is, how those tools work for me:

smbpasswd - obeys account policy when run as non root, but I need to
know old password; as root it bypasses smbd afaik, so no policy (?)...

ldappasswd -x -S -W -D "admin dn" "user dn" - does not change
sambaNTPassword (creates/changes userPassword)

smbldap-passwd -s user - no policy

Is there some other tool which can accomplish this task?

2) do I need /etc/passwd if I use LDAP as a backend, or is it sufficient
to have posixAccount and shadowAccount in LDAP? 

3) when I use LDAP as a backend, is it safe to delete .tdb files
in /var/lib/samba/ and leave only passdb.tdb (which is required for
storing ldap password, afaik)? Or else, can I delete
whole /var/lib/samba/ dir and store the password somewhere else? (Is
that password even stored there?)

Could you please clarify it to me?


Thanks a lot in advance, Rado.

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


[Samba] smbclient stops getting files

2002-12-05 Thread Wolfgang Pesek
Dear Lists,
some weird problem:

i use smbclient withhin a script that fetches the complete harddisks from
some of our MS-Servers.

When using 2.2.1a and also 2.2.7 only the first share is downloaded, then
the script stops with smbclient on the prompt awaiting further instructions.
Fortunately the whole scripts works fine when using 2.2.3a (havent tested
any other version till now..)

Anybody else encountered this problem ?

kind regards

Wolfgang Pesek

net informationstechnologie
mmc kommunikationstechnologie
http://www.net-it.at
http://www.mmc.at
fon +43 2236 3903
fax +43 2236 3903-13



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