Displaying 20 results from an estimated 10000 matches similar to: "Automatically running a script on Samba PDC when Windows user changes his password"
2007 Jun 26
20
Samba and LDAP: Trouble adding Win XP machines to the domain
Hi all,
I am doing some research on Samba+OpenLDAP (+DHCP+DNS) with the intention of
getting rid of the Micro$oft licenses necessary to maintain the Server
products from such company. One of the aims I have is to demonstrate other
people in my company that an open source alternative can work as well as (or
even better than) a propietary solution.
At the moment, I am getting desperated trying to
2008 Feb 18
3
Problem with samba+openldap with regard changing passwords from windows
I have implemented samba with LDAP backend, domain logins and roaming
profiles and everything is great - except for one thing.
Noone can change their passwords from windows - trying to change your
password results in windows telling you your not allowed to do that!
I did smbldap-show alan and among other information the line:
sambaPwdCanChange: 0 appeared.
From my understanding if I do
2007 Apr 13
4
smbldap-useradd not creating machine accounts in correct fashion
Hi,
I have OpenLDAP working here generally without problems for a variety of
applications including the management of Samba. Functioning user
accounts can be created via 'smbldap-useradd' with the proper samba
attributes being added in LDAP, however...
Something odd is happening when I (or samba) tries to create a machine
account with 'smbldap-useradd -w test1$' - an entry is
2008 May 17
7
SAMBA PDC with LDAP backend syncing unix/samba accounts ...
Hi all ,
I'm running Debian Etch . I just finished
configuring SAMBA
as PDC to authenticate against LDAP server which works.
The system in question uses default debian etch packages.
As My Linix/unix accounts can authenticate against it. The
LDAP works.
I Used the default shipped smbldap-populate script to
setup SAMBA.
Everything seems to work as Anonymous User or as
user
2007 Oct 29
3
Samba+LDAP problems
Hello there...
My name is Marcelo, i am new in this list.
I don't know if here is the right place for asking about samba + LDAP,
if not, sorry...
I am finishing to implement a samba server with ldap support but, when i
want to add some group to the samba domain i obtain the following error
messages:
- SMBLDAP_TOOLS
# smbldap-groupadd -a -g 10000 -s S-1-5-21-blablabla -t 2 domainadmins
2006 Oct 10
1
cannot join to domain
I am trying to set up Samba 3-0-22 as a PDC on Ubuntu server 6.0.6 LTS, this is
on a Sun Ultra 5. When I try to join the domain using root, I get a dialog box
with the following message
The following error occurred attempting to join the domain "domain name":
The user name could not be found.
When I looked inside /var/log/samba/log.hp-laptop I found this
[2006/10/10 19:07:02, 0]
2007 Apr 23
1
Change password from XP
Hello.
I've migrated samba to ldap, and everithing works fine except that when
a user changes the password from an xp client receives an error
indicating that the "old" password was wrong, but the password is
changed in the server, so the user gets confused.
Here http://lists.samba.org/archive/samba/2004-August/090254.html are a
thread about this same problem; it's says that
2007 Sep 05
1
Problems joining machine to domain
Our Samba server was recently the recipient of a major upgrade. I thought
all the kinks were worked out, but apparently not.
I think this is the first time I've tried to join a machine account to the
domain since the upgrade. I've tried using smbldap-tools and also just
using smbpasswd (I have my users in LDAP). I'll also say that 'net join'
works just fine from my Samba
2006 Jul 04
1
What the Administrator RID 500 is supposed to be able to do?
Hello.
I have a samba PDC using an LDAP backend and everything is working
perfectly. I'm using debian sarge as server with samba 3.0.14a and have
populated the LDAP backend with smbldap-tools (smbldap-populate).
I have readed the chapter 14 of TOSHARG, where it explains about
privileges, I can assign privileges and use them but not have understood
the part that says something
2008 Jan 20
3
need wins understanding
Here is my setup.
I have two samba domain controllers on the same subnet. It's a
172.16.12.0 subnet.
First domain "STAFF"
Second domain "PATRONS"
They both have wins enabled and all clients have broadcasting disabled.
Can someone tell me if I will have a problem? If so please give
some kind of example. I am really trying to learn why
2007 Jul 17
2
[Urgent] Cannot make changes via pdbedit
I have been having some problems since I updated from Samba 3.0.23 to
3.0.25b. I have installed the latest version of smbldap-tools but I am
still not able to make certain changes to a user's account. I have
created a new user named JROLFE.
After I set up a new user, I will set it so they are required to change
their password when they first login. I usually do this through LDAP
Account
2008 May 21
3
howto sync unix passwd & samba passwd?
Hi,
I'm using samba-3.0.28-0.fc8. I'm trying to build a file server for 100
users. I created a perl script that automatically adds the 100 users plus
their passwords with success. Now I'm having difficulty creating a script
using the smbpasswd command because passwords must be entered in stdin. I
also tried smbpasswd -s option but it asks passwd in stdin. Is there a way
that I can use
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
2006 Dec 04
4
LDAP, checkpwnam and PDC
Hiya,
I'm trying to set up a Samba PDC with an LDAP backend.
I experienced problems joining machines to domains, the machine account
was created, but Windows said user name cannot be found.
I resolved this by adding ldap to /etc/nsswitch.conf, but this has the
side effect of allowing ldap users to login to the server via SSH.
Whilst I can understand the need for LDAP users to be accessible
2006 Jul 04
1
Default behavior of setting SUID bit in directories.
Hello.
In the Samba by Example book theres a section called "Effect of
Setting File and Directory SUID/SGID Permissions Explained", that shows
an example of the effect of SUID/SGID bits.
The SGID bit when setted in directories makes the files inherit the
group owner, but I couldn't make the SUID bit on directories work,
making files inherit the owner.
The
2008 Feb 13
4
FreeBSD: Changing UNIX password - Password Chat?
I can't get my Samba PDC (FreeBSD 7,0-BETA3) changing UNIX passwords
from Windows clients (Ctrl-Alt-Del).
I now have the password chat debug active and I have loglevel 100.
I am not certain about the syntax in the password chat. But if I from
a console try to change the password of a given user (here testuser1),
I see these lines:
mflserver3# /usr/bin/passwd testuser1
Changing local password
2007 Oct 15
2
Samba as PDC with XP Client - Logon requires reboot - Help Please
Hi, I'm running the latest version of Samba with a tdbsam backend,
configured not to use roaming profiles. Two different XP clients (SP2)
are joined to the domain ok but users can only logon by rebooting before
entering their logon details. When users logoff and try to logon again
(or logon as a different user on the same machine) they get the standard
message 'windows cannot connect to
2006 Aug 14
4
append to path from login script?
I'm wondering if there is a way to add a network share (either UNC or
mapped drive) to the path of a user when they login?
for example have a directory \\smbserver\apps and put putty.exe in
there.. so that when I sit down at a machine I will always have putty in
the path..
Is that possible?
2006 Jun 28
2
Domain member against Samba+LDAP server configuration problem
Hi people,
I have a problem with my configuration. I'd like my debian box was client of
a Domain (Samba+LDAP)
my smb.conf is:
[global]
security = domain
workgroup = DOMAIN_NAME
netbios name = MYCOMPUTER
log level = 3 auth:10 winbind:10
idmap backend = ldap:ldap://xxx.xxx.xx.xxx
ldap suffix = dc=DOMAIN_NAME,dc=com
ldap idmap suffix = ou=Idmap
idmap uid = 10000-20000
2007 Oct 24
1
user == Administrator doesn't work
User in group Domain Admins hasnt superuser (Administrator) privileges.
For the first:
shell> adduser poweruser
shell> pdbedit -a -u poweruser
shell> id poweruser
uid=1004(poweruser) gid=1005(poweruser) groups=1005(poweruser)
shell> net groupmap add rid=512 ntgroup="Domain Admins" unixgroup=poweruser type=d
shell> pdbedit -vL poweruser
Unix username: poweruser
NT