Displaying 20 results from an estimated 10000 matches similar to: "add|delete user / group / machine ... scripts, is the "API" somewhere documented?"
2007 Sep 09
1
user / machine / group scripts, some work some don't
Hi List,
I have some issues with user manager for domains (srvtools.exe from MS)
and the scripts mentioned in the subject. The examples from the samba
howto collection seem to cause serious issues here. I am on debian etch
and tried to create my own scripts but till now to now avail. With the
examples from the docs I could add groups, but could not add users to
groups. There was the option -A
2004 Jan 23
0
Debian add user etc scripts & usrmgr.exe
Hi All,
I have just joined this list, and this is my first post - so please bear
with me.
I am running debian testing (sarge) with a 2.4.23-1-686 kernel, and a self
compiled samba-3.0.0final (--with-quotas), deployed from self built *.debs.
It is running as a PDC (smb.conf at bottom of post), and I have successfully
mapped "Domain Users" to unixgroup users, "Domain Admins"
2005 Nov 25
1
USRMGR Not adding users properly
I'm having problems adding users with usrmgr. I can run the scripts
from my smb.conf fine from command line and do what I need to. But,
when adding users with usrmgr, the login script and path statements are
not identified and I have to go in and edit them manually. Does adding
a user with usrmgr not use the add user script from Samba? Or must the
user environment variables be added
2004 Jan 16
1
creating users from w2k with usrmgr and samba 3.0.1
Hello everybody!
New to Samba (and the list) I am trying to set up a Samba PDC for a small
enterprise network on a Debian Woody (3.0) system with a vanilla 2.4.24
kernel and the Debian package of Samba 3.0.1 and Swat (Debian Versions
3.0.1-2).
I ran into various problems and could solve most of them during the past two
weeks (hooray!). Most of the problems were related to congestions of user
2003 Aug 17
0
Fw: usrmgr samba 3 rc1 delete user script update
win 2000 serv pack 4 german gives the same failure
rpc_server/srv_samr_nt.c:_samr_unknown_2d(4291)
> _samr_unknown_2d: Not yet implemented.
for
delete user script = /usr/sbin/userdel -r %u
all other stuff work like charme
regards
----- Original Message -----
From: "rruegner" <robowarp@gmx.de>
To: <samba@lists.samba.org>
Sent: Sunday, August 17, 2003 1:05 PM
Subject:
2003 Aug 17
0
usrmgr samba 3 rc1 delete user script
Update
i finally got
add user script = /usr/sbin/useradd -m %u
to work ( it was a permisson task)
delete user script = /usr/sbin/userdel -r %u
does not work anyway
log says
rpc_server/srv_samr_nt.c:_samr_unknown_2d(4291)
_samr_unknown_2d: Not yet implemented.
as it always did since i tested samba 3
this i the very last funktion i missed
to admin samba 3 with usrmgr.....it should work
before
2003 Aug 16
0
Report: NT4PDC to Samba3beta3 working
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Heyya all.
I have posted here in the last few weeks with various questions regarding
samba 3, so I thought you'd all like to know, i've got it working.
The setup is:
Samba 3.0beta3 running on a Debian Woody box (with a few tools backported from
testing)
with an LDAP backend (OpenLDAP 2.1)
Samba is setup:
* with posix file attributes (see
2005 Sep 15
1
delete user script
Does anyone know what the unix UID is deleting a user in USRMGR?
I'm using Samba with ldap and while I can create users just fine with usrmgr (logged in as myself, but when I delete a user, it
seems to have trouble running my "delete user script"
My samba log shows:
[2005/09/15 10:19:42, 1] lib/smbldap.c:another_ldap_try(1011)
Connection to LDAP server failed for the 15 try!
2004 May 26
0
Phantom workgroup
I have a Samba 3.0.4 server configured as a PDC. NetBIOS name of the
server is "SERVER"; name of the workgroup is "AEC".
Problem is that there's now a phantom workgroup called "SERVER" when I
try to browse the network. Since there's no clients configured in this
workgroup, any attempts to browse this workgroup fail.
When I attempt to use User Manager for
2004 May 12
0
Server name appears as domain name
I've got a Samba 3.0.4 server running on RedHat 8.0 as a PDC. It's the
only domain controller on the network, and the only WINS server on the
network.
The problem is, when I browse the network neighborhood, I see the
NetBIOS name of the server ("SERVER") appear as a workgroup/domain
(though there are no hosts listed in this phantom domain). It also
appears as a computer under
2003 Jun 23
1
delete user script is not working from usrmgr
Hi @ll,
now i am able to login samba 3 beta pdc, have homes mapped with read and
write permission
on the home ( this troubled too )
now i tested funktions from usrmgr ( old nt prog for create user and groups
)
i can create user on the fly,
i can create groups on the fly
i can delete groups on the fly
add and delete users to groups
but if i want to dlete users with
delete user script =
2006 Sep 10
1
Roaming profiles and USRMGR.EXE
I'm using Samba 3.0.22 on Ubuntu 6.06.1 as PDC for our Windows
workstations. The passdb backend is tdbsam.
I want to employ roaming profiles and due to the fact that we have a
mixed Windows environment (Windows 2000 Pro and Windows XP Pro) I have
the following entry in my smb.conf:
logon path = \\%L\profiles\%U\%a
Basically, this works fine. If a user is working on a W2k workstation,
his
2006 Dec 01
1
Adding users with usrmgr/smbldap-useradd
Samba 3.0.23d, on Debian Sarge - using the samba.org packages
smbldap-tools 0.9.2
Greetings all,
I am trying to set up a new PDC using LDAP, etc.
Adding/deleting/modifying users in LDAP works fine using phpldapadmin.
These users also work just fine logging in/out.
I am trying to get the usrmgr tool to also work, so im working on the
scripts on the server.
I am getting this error however when
2009 Apr 01
0
Question about USRMGR.EXE and user profiles.
Hello,
I am trying to find and easy way for end users to add Samba accounts to a
Linux server. Some of my end users are schoot teachers, and they have to add
tens of students to their Samba servers.
I have a running Linux with Samba, configured upon the directions of Samba-3
by example, chapter 3, "Secure Office Networking", this is Samba with
tdbsam, not LDAP.
I can create accounts
2005 Dec 06
2
User Primary group problem
How do I establish both a user's primary NTgroup and Unixgroup when
creating a new user?
Depending on the tool, I can set his NTgroup or his Unix group, but I
don't seem to be able to establish both with one tool.
I'm having a little difficulty with creating users with the proper
groups. My login scripts are based on the user's primary group. When I
create a new user with
2009 Jul 08
1
scary fill_share_mode_lock failed message
I'm still working on figuring out why some accesses to profile data
are failing.
We are running 3.3.2-0.33.fc11 (the latest release for FC11).
I saw this in the log file
stat_cache_lookup: lookup succeeded for name [USER/STARTMENU] ->
[user/StartMenu]
[2009/07/08 17:39:59, 3] locking/locking.c:fetch_share_mode_unlocked(857)
fill_share_mode_lock failed
I saw Volker had a fix
2007 Jan 03
4
prevent "delete user script" to delete special Samba user
Hello,
OS: FreeBSD 6.1
Samba: 3.0.23c
What kind of exit code do the "delete user script" need, to
prevent Samba from deleting a user in tdbsam database?
I'm testing Windows "User Manager for Domain" (usrmgr.exe) and
I'm trying to convince Samba to NOT delete special users like
"administrator" etc.
Whenever I delete such a user within User Manager for
2005 Apr 21
1
Windows XP fails to load Desktop Profile on Samba 3 PDC
Hello,
I'm currently trying to implement samba 3.0.14a as PDC in our
office.
I've allready managed to join the first trial workstations to the
Domain. Now I have the following problem:
I've created an Administrator-account for joining the machines
and doing maintenance work. This account seems to have no
problem to store its personal settings (Desktop, startmenu) on
the PDC.
2004 Apr 05
0
Problem managing user accounts by usermgr
Hi,
I'm using samba 3.0.2 PDC with LDAP backend.
I'd like to be able to manage user accounts by Microsoft's usrmgr tool (from
srvtools package).
In my smb.conf are configured functional IDEALX scripts. Additionally I
added debug output to start of all scripts which prints current time and
parameters of script.
When I use usrmgr.exe for creating a new user account I get strange error
2004 Sep 15
1
Re: Samba3 - LDAP - USRMGR.EXE
passdb appears a lot of times in smba logs, even if it uses LDAP as a
backend, as in my config.
Maybe the log message should be changed in the code for something easier to
debug... But this error message you said, only appears if you try to add or
delete the user twice from LDAP, so you should remove "-a" from the add user
script and comment out the user delete script if you intend to