search for: groupdel

Displaying 20 results from an estimated 908 matches for "groupdel".

2007 Jan 30
2
Problem deleting user''s primary groups and the users themselves.
...mine a way to make sure that the users are deleted before the groups. For example: user { games: ensure => absent } group { games: ensure => absent } Now, sometimes everything goes fine, but other times, I get the error: "Could not delete group games: Execution of ''/usr/sbin/groupdel games'' returned 2048: groupdel: cannot remove user''s primary group." I understand this and I''ve tried the following: user { games: ensure => absent, before => Group[games] } but it still isn''t working consistently. Any suggestions? Thanks, Trevor...
2004 May 19
2
SAMBA 3.0.4 + LDAP + usrmgr
...rdel %u add user to group script = /var/lib/samba/scripts/smbldap-groupmod - m %u %g delete user from group script = /var/lib/samba/scripts/smbldap- groupmod -x %u %g add group script = /var/lib/samba/scripts/smbldap-groupadd -p %g delete group script = /var/lib/samba/scripts/smbldap-groupdel %g set primary group script = /var/lib/samba/scripts/smbldap-usermod -g %g %u Any idea?
2011 Apr 12
4
roaming profiles - one file can't be copied to server
...ed master = yes domain master = yes domain logons = yes add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s /bin/false 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' add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u logon path = \\%L\profile\%U logon script = logon.bat hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/...
2011 Aug 18
2
windows7 and samba 3.4.7 in Ubuntu 10.04 LTS
...client NTLMv2 auth = Yes log file = /var/log/samba/samba.%m max log size = 50 add user script = /usr/sbin/useradd -s /bin/bash %u delete user script = /usr/sbin/userdel %u add group script = /usr/sbin/groupadd %u delete group script = /usr/sbin/groupdel %g delete user from group script = /usr/sbin/deluser %u %g add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u logon script = %U.bat logon path = logon drive = M: logon home = \\hostname\%U domain logons = Yes...
2006 Mar 28
2
Linux-to-Linux Samba Migration
...= /usr/bin/passwd %u unix password sync = Yes time server = Yes load printers = No 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 add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u logon script = scripts\%U.bat logon drive = H: logon home = \\%N\%U\profile.w98 domain logons = Yes wins support = Ye...
2005 Nov 22
0
home drive mapping
...= wins lmhosts bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap 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' add machine script = /usr/sbin/useradd -s /sbin/nologin -d /dev/null '%m'$ domain logons = Yes os level = 65 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes name resolve order...
2007 Aug 23
1
Samba tuning - ldapsam:trusted
...d to put "ldapsam:trusted = yes" and "guest account = nobody" in my config file. Therefore, everytime that I start/restart samba server it complains about it (and remains stopped). So, I don't know what should I do... because I already tried these steps: # userdel nobody # groupdel nobody # smbldap-groupadd -g 65534 -o nobody # smbldap-useradd -a -u 65534 -g 65534 -n -s /bin/false -d / nobody and I still can't start samba. The user account nobody is used for a several applications as dhcpd and others services in my box. Can I use another account to set this?! I can...
2011 Jul 25
1
Can't rename win7 machine in samba domain
...dd %g add user to group script = /usr/bin/gpasswd -a %u %g add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u delete user script = /usr/sbin/userdel %u -r delete user from group script = /usr/bin/gpasswd -d %u %g delete group script = /usr/sbin/groupdel %g rename user script = /usr/sbin/usermod --login='%unew' '%uold' I can rename WinXP machines in domain without any problem, but if I try to rename Win7 machine in domain I getting error "The specified domain either does not exist or could not be contacted"
2010 Jul 06
3
Cross subnet browsing + OpenVPN
...ldap delete dn = Yes delete user script = /usr/sbin/smbldap-userdel "%u" add machine script = /usr/sbin/smbldap-useradd -t 0 -w "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" #delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u...
2004 Mar 11
1
Groups not listed in USERMGR.EXE
...add user script = /usr/sbin/useradd -n -d "/home/%u" -g users -c 'User Account' -s /sbin/nologin -m "%u" add machine script = /usr/sbin/useradd -n -d /dev/null -g users -c "Machine" -s /sbin/nologin -M "%u"$ delete group script = /usr/sbin/groupdel "%g" delete user script = /usr/sbin/userdel -r "%u" set primary group script = /usr/sbin/usermod -g "%g" "%u" add user to group script = /usr/sbin/usermod -G "%g" "%u" delete user from group script = /usr/bin/gpasswd -d &qu...
2011 Mar 16
8
Samba PDC adding new user, profile dir is not created
.../user dir is not created. Any hints on that? script commands i added: add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s /bin/false 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' add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u' -g machines this is running on Ubuntu 10.04-LTS server greetings Juergen.
2007 Sep 09
1
user / machine / group scripts, some work some don't
...dd a user. I tried to use adduser instead of useradd and came to these syntaxes: add user script = /usr/sbin/adduser --ingroup domusers --gecos samba '% u' delete user script = /usr/sbin/deluser '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/sbin/adduser '%u' '%g' add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u' now the adduser syntax gives me loads of this over and over again: Use of uninitialized value in chop at /usr/sbin/adduser line...
2008 Apr 01
2
renaming a computer fail on a samba domain using ldap backend
...nt" -g 515 -w -s /bin/false '%u' add group script = /usr/sbin/smbldap-groupadd '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user script = /usr/sbin/smbldap-userdel '%u' delete group script = /usr/sbin/smbldap-groupdel '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' ~~~~~~~~~~~~~~~~~~~~~~~~~~ So far, I can add a computer on a domain, but I can't rename it. I tried to r...
2003 Dec 26
1
User Manager For Domains - SAMBA 3.0.1-2
...t = /usr/bin/gpasswd -a "%u" "%g" delete user from group script = /usr/bin/gpasswd -d "%u" "%g" set primary group script = /usr/sbin/usermod -g "%g" "%u" delete user script = /usr/sbin/userdel "%u" delete group script = /usr/sbin/groupdel "%g" //--snip--// Best regards Erik Holst Trans
2003 Dec 11
2
USRMGR.EXE won't add user
...a User' -d /dev/null -g smbusers -s /bin/false "%u" | add machine script = /usr/sbin/useradd -c 'Machine' -d /dev/null -g machines -s /bin/false "%u" | add group script = /usr/local/samba/bin/mygroupadd "%g" | delete group script = /usr/local/samba/bin/mygroupdel "%g" | delete user script = /usr/sbin/userdel "%u" | delete user from group script = /usr/local/samba/bin/mydeleteuserfromgroupscript "%u" "%g" | delete user script = /usr/sbin/userdel "%u" | | map to guest = Bad User | passdb backend = tdbsam...
2004 Jul 13
3
posixAccount for Machines in LDAP?
Hello, I have a question about machine accounts. I using Samba 3.0, OpenLDAP 2.1.30 and Berkeley 4.2.52 on backend on RedHat machines. I also have 3 slave/BDC's and 1 master/PDC Right now all of my users and groups exist entirely in the LDAP directory. I have a few accounts in addition to the normal system accounts that are used for emergency access. All authention and group enumeration uses
2009 Feb 16
1
samba trouble with Vista
.../dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u' add group script = /usr/sbin/groupadd '%g' delete user script = /usr/sbin/userdel '%u' delete user from group script = /usr/sbin/userdel '%u' '%g' delete group script = /usr/sbin/groupdel '%g' add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u' machine password timeout = 120 idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /dev/null winbind use default domain =...
2004 Oct 21
3
smbldap-tools don't create machine account properlly
...-w "%u" add group script = /usr/local/sbin/smbldap-groupadd -p "%g" add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g" delete user script = /usr/local/sbin/smbldap-userdel "%u" delete group script = /usr/local/sbin/smbldap-groupdel "%g" delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u" while i try include the w2k machine in samba domain it create the ldap machine account en...
2005 Apr 13
1
Help with user/domain Management fm Windows side
...f: add user script = /usr/share/samba/scripts/smbldap-useradd.pl -a -m '%u' delete user script = /usr/share/samba/scripts/smbldap-userdel.pl '%u' add group script = /usr/share/samba/scripts/smbldap-groupadd.pl -p '%g' delete group script = /usr/share/samba/scripts/smbldap-groupdel.pl '%g' add user to group script = /usr/share/samba/scripts/smbldap-groupmod.pl - -m '%u' '%g' delete user from group script = /usr/share/samba/scripts/smbldap-groupmod.pl -x '%u' '%g' set primary group script = /usr/share/samba/scripts/smbldap-usermod.pl...
2004 Mar 26
2
add machine script wont add Postfix account
...add user script = /usr/sbin/smbldap-useradd.pl -a -m %u add machine script = /usr/sbin/smbldap-useradd.pl -w %u delete user script = /usr/sbin/smbldap-userdel.pl -r %u add group script = /usr/sbin/smbldap-groupadd.pl %g delete group script = /usr/sbin/smbldap-groupdel.pl %g add user to group script = /usr/sbin/smbldap-usermod.pl -G %g %u domain logons = Yes os level = 34 preferred master = Yes domain master = Yes wins support = Yes ldap suffix = o=T3E,c=nl ldap admin dn = cn=Manager,o=T3E,c=nl...