Displaying 20 results from an estimated 9000 matches similar to: "Trying to add machine accounts on the fly,"
2005 Aug 26
3
On the fly Machine accounts
I have been trying for 2 months to get my samba server to add machine
accounts 'on the fly"
I have added both of these to my smb.conf
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
add machine script = /usr/sbin/useradd -d /dev/null -g 102 -s /bin/false
Neither of these seems to do anything.
I have around 250 computers to add, so adding the machine
2005 Oct 06
0
Re: Trying to add machine accounts on the fly
Hi,
try to add these scripts in your smb.conf file:
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
delete user from group script = /usr/sbin/userdel %g %u
set primary group script = /usr/sbin/usermod -g '%g'
2005 Aug 10
3
Joining XP SP2 to a Samba PDC
Hello and Thanks in advance.
I have a CentOS 4.1 Server and i have samba Version 3.0.10-1.4E
I have 2 users on this server right now: Root, Dsanchez.
I have also issued this command to set up these 2 users on the Samba
Server as well.
smbpasswd -a root
smbpasswd -a dsanchez
and i set up the password to match the linux account.
Here is my SMB.conf file:
# Global parameters
[global]
2014 May 16
1
User accounts not getting complete group membership (getent group / groups mismatch)
We recently added a new LDAP/AD group to our domain, but have found that
only some accounts on a Linux (Ubuntu 12.04.4, Samba 3.6.3) machine are
getting the membership: "getent group <groupname>" shows them as being in
the group, but "groups <username>" doesn't. I've tried restarting winbindd
with the "-n" option to bypass caching, and deleting the
2005 Oct 14
0
Logging into linux machine using AD account?
Greetings. I have just started scratching the surface of using Samba to
create a SSO environment for my network. I have been playing a bit with
both SuSE 9.3 and CentOS 4.1 to authenticate to an AD PDM (W2K).
I've made it the farthest with the CentOS server. I have joined it to
the domain and been able to verify AD users and groups using wbinfo
[-u|-g] and getent [passwd|group]. I have
2003 Sep 06
0
samba3 - On-the-Fly Machine Accounts - domain admin g roup?
Hi,
-----Original Message-----
From: John H Terpstra [mailto:jht@samba.org]
> "domain admin group" removed
>
> Because you now have something much more powerful that provides real NT
> Groups to your NT/200x/XP clients.
But if I use LDAP for both Samba and system auth.
The groups, what I added with base.ldif (idealx) exist in samba and system.
for example "getent
2004 Nov 19
0
Machine accounts disabled when created on the fly
Hi all
How can I prevent my Samba PDC from setting the D flag (Disabled) in
SambaAcctFlags of all machine accounts created on the fly?
smbldap-useradd -w from Idealx which is called by the add machine script
directive doesn't do that, so i must be Samba...
I use Samba 3.0.7, Debian Sarge, ldapsam Backend (OpenLDAP 2.1.30).
Here is my conf:
[global]
workgroup = UB
2006 Aug 07
2
On-the-Fly Creation of Machine Trust Accounts Problem
Using Samba 3.0.23a-1.fc5.1
When I try to add XP workstation to the domain using Network ID wizard (from XP) it fails.
add machine script is: /usr/sbin/useradd -d /dev/null -g 500 -s /bin/false -M %u
What happens is a unix account (in passwd file) is created with LOWER-CASE username.
Account is added to smbpasswd in UPPER-CASE.
XP reports error "A device attached to the system is not
2009 Jan 06
2
cluster member hangs during reboot
Hi All,
I inherited a 4-node ocfs2 cluster and recently 2 ocfs2 filesystems were added to be use as temp tablespace.?One of the four nodes rebooted during the ?creation of the tablespace and hanged at the message below...and it just sits there. If I put the server into rescue mode and comment out all the filesystems it boots up fine and than I can mount the ocfs2 filesystem manuelly but it cannot
2004 May 11
1
adding machine accounts on-the-fly - 3.0.4 and LDAP
Hi,
I want to achieve, that the IT staff could add machines (2000/XP) to samba-3
(LDAP backend) on the fly.
Creating a new machine account to LDAP requires special access to samba
(uid=0).
In samba-2.2.x was a great parameter called "domain admin group". So
everyone, who belonged to the specified group and root (uid=0) could modify
LDAP.
Others got message - "cannot access LDAP
2003 Sep 05
2
samba3 - On-the-Fly Machine Accounts - domain admin group?
Hi,
Could someone explain, why was parameter "domain admin group" removed from
samba3?
passdb/pdb_ldap got totally rewritten... but why remove an useful
variable...
# Removed Parameters (order alphabetically):
# * domain admin group
In 2.2.8 (with LDAP backend) I defined
domain admin group = @"Domain Admins"
and added several users to that group for creating machine
2013 Apr 29
1
how to add new rows in a dataframe?
Hi,
dat1<- read.table(text="
id??????????????? t???????????????????? scores
2???????????????? 0??????????????????????? 1.2
2???????????????? 2???????????????????????? 2.3
2???????????????? 3??????????????????????? 3.6
2???????????????? 4??????????????????????? 5.6
2???????????????? 6??????????????????????? 7.8
3???????????????? 0??????????????????????? 1.6
3????????????????
2005 Oct 27
1
Firewalling Samba server
I'm planning on firewalling my samba server, i understand that the ports for
samba are
137 139 445. Does anyone know if these are udp or tcp ports?
2007 Nov 14
0
problems with groups, winbind authenticating a centOS 4 machine to AD
WHY HELLO. i have a centOS 4.4 machine running samba 3.0.10-1.4E.9. my
goal is to log in to the machine using AD credentials. at the moment,
i'm successfully logging in, but i can't retrieve groups for AD users:
-bash-3.00$ groups
id: cannot find name for group ID 16777216
16777216 id: cannot find name for group ID 16777217
16777217 id: cannot find name for group ID 16777218
16777218 id:
2007 May 25
0
Status 58 trying to connect WinCE 4.1 to Samba 3.0.23c-2.el5.2
Hello everyone. I've recently replaced a file server
running Samba 2.2.8a on Solaris 8 with one running
3.0.23c-2.el5.2 on CentOS 5. I'm trying to set up a
WinCE 4.1 device (A V56 Makino milling center with a
Pro 5 controller) to work with the new configuration
and I can't get it figured out. When I try to do a
'net use share1 \\server\share', it responds with
'Command
2007 Oct 02
0
[ wxruby-Bugs-14374 ] TextCtrl TE_RICH and SUNKEN_BORDER (WxRuby1.9.1)
Bugs item #14374, was opened at 2007-10-02 12:13
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=14374&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Christopher Bludau (count_cb)
Assigned to: Nobody (None)
Summary: TextCtrl TE_RICH and SUNKEN_BORDER (WxRuby1.9.1)
Initial Comment:
When
2006 Aug 28
0
[Bug 507] New: tun99 don't trapped by tun+
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=507
Summary: tun99 don't trapped by tun+
Product: netfilter/iptables
Version: linux-2.6.x
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ip_tables (kernel)
AssignedTo: laforge@netfilter.org
2002 Aug 11
0
samba pdc redhat 7.3
Hi
I have too samba pdc each controlling it's own domain. My old Redhat 7.2
(samba 2.2.2) is working fine with logons fra win 2k machines. On the
redhat 7.3 (tried samba 2.2.3a, 2.2.2, 2.2.5) it ads the machine accounts,
are in /etc/password and /etc/samba/smbpassword with the $ where they
should be. The problem is that I can not log in to the domain comtrolled by
the 7.3 machine.
It
2005 Dec 14
0
Error when trying to view printer properties
I have a problem installing a printer shared to windows.
When I go to properties on the printer I have shared I get
Function address 0x606407fe caused a protection fault. (exception code
0xc0000005) Some or all property pages may not be displayed.
Using HP Inkjet 1200
samba-3.0.20b
edited mime.conv
and mime.types and uncomented lines
application/octet-stream application/vnd.cups-raw
2009 Mar 26
2
error when join my Centos machine to win2003 ADS server
Dear All,
I have succesfully managed to have my kerberos configured n working
without error when i say
kinit Administrator
and after entering password it works fine
my krb5.conf
--------------
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = BALADIA.LOCAL
dns_lookup_kdc = false